Google Cloud Professional Cloud Database Engineer — Question 97
You work for a financial services company that wants to use fully managed database services. Traffic volume for your consumer services products has increased annually at a constant rate with occasional spikes around holidays. You frequently need to upgrade the capacity of your database. You want to use Cloud Spanner and include an automated method to increase your hardware capacity to support a higher level of concurrency. What should you do?
Answer options
- A. Use linear scaling to implement the Autoscaler-based architecture
- B. Use direct scaling to implement the Autoscaler-based architecture.
- C. Upgrade the Cloud Spanner instance on a periodic basis during the scheduled maintenance window.
- D. Set up alerts that are triggered when Cloud Spanner utilization metrics breach the threshold, and then schedule an upgrade during the scheduled maintenance window.
Correct answer: A
Explanation
The correct answer is A because linear scaling allows for seamless adjustment of resources to meet increased demand, especially during traffic spikes. Options B, C, and D do not provide the same level of automated scaling and efficiency in handling concurrency as linear scaling does with Autoscaler.