
Answer-first summary for fast verification
Answer: 1. Implement a Cloud Monitoring alert that triggers a webhook for CPU usage thresholds. 2. Deploy a Cloud Function to automatically resize Spanner resources in response to alerts.
Option A is inefficient as it relies on periodic checks rather than real-time traffic response. Option B introduces manual intervention, delaying scalability. Option C is impractical as it outsources infrastructure management to Google Cloud Support. Option D is optimal, leveraging automation through Cloud Functions for real-time scaling based on alerts, ensuring efficient resource management without manual delays. For further insights, explore the official autoscaler repository for Cloud Spanner: [GitHub](https://github.com/cloudspannerecosystem/autoscaler).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your online multiplayer RPG game utilizes Cloud Spanner as its database to manage player points, experiencing predictable traffic patterns. What is the most efficient method to automatically adjust the number of Spanner nodes in response to traffic changes?
A
B
C
D
No comments yet.