Google Cloud Professional Cloud Database Engineer — Question 61
Your company is developing a global ecommerce website on Google Cloud. Your development team is working on a shopping cart service that is durable and elastically scalable with live traffic. Business disruptions from unplanned downtime are expected to be less than 5 minutes per month. In addition, the application needs to have very low latency writes. You need a data storage solution that has high write throughput and provides 99.99% uptime. What should you do?
Answer options
- A. Use Cloud SQL for data storage.
- B. Use Cloud Spanner for data storage.
- C. Use Memorystore for data storage.
- D. Use Bigtable for data storage.
Correct answer: B
Explanation
Cloud Spanner is the correct choice because it is designed for high availability and scalability, ensuring very low latency writes and a 99.99% uptime guarantee. Cloud SQL, while reliable, may not handle the required write throughput and scalability for a global ecommerce application. Memorystore is primarily for caching and would not meet the durability requirements, while Bigtable, although great for large volumes of data, doesn't provide the same level of transactional consistency as Cloud Spanner.