Google Professional Cloud Database Engineer Question 28
Single answerGoogle Cloud PlatformYou are designing a database architecture for a global e-commerce platform on Google Cloud. The platform must provide low-latency access to users worldwide, ensure high availability, and maintain data consistency across multiple regions. Which database deployment strategy should you choose?
- A
Multi-region deployment
- B
Regional deployment
- C
Zonal deployment
- D
Hybrid deployment with regional and zonal databases
Show answer and explanation
Correct answer: A
Explanation
Multi-region deployment is the best strategy for global e-commerce platforms with users distributed worldwide. It ensures high availability by replicating data across multiple regions and provides low-latency access for users in different locations. With Google Cloud databases like Spanner, it also supports strong consistency, which is critical for e-commerce transactions.
- A. Correct.
Multi-region deployment is ideal for global applications requiring low-latency access for users in different locations and high availability. It also supports strong consistency in certain Google Cloud database offerings, such as Spanner.
- B. Incorrect.
Regional deployment is typically used for applications where all users are located in the same region, or where latency is less critical. It may not meet the requirements for global low-latency access and multi-region availability.
- C. Incorrect.
Zonal deployment is the least resilient option as it places all database resources within a single zone. If a zone failure occurs, the database becomes unavailable, making it unsuitable for high-availability global applications.
- D. Incorrect.
Hybrid deployment with regional and zonal databases is not a standard deployment strategy and would add significant complexity without necessarily addressing the requirements for global low-latency access and high availability.