
Answer-first summary for fast verification
Answer: 1. Establish a Cloud Monitoring alert for when high-priority CPU utilization reaches 65%. 2. When this threshold is surpassed, expand the instance by adding more nodes.
Option C is correct because Google recommends a maximum CPU utilization of 65% for single-region Spanner instances. By setting an alert at this threshold and adding nodes when exceeded, you leverage Spanner's horizontal scalability to manage increased workloads efficiently, thereby improving query performance. Options A and B suggest actions at a 45% utilization threshold, which is below the recommended maximum and may not be the most efficient use of resources. Option D focuses on query optimization, which, while beneficial, may not always be feasible or as immediately effective as scaling resources in a production environment.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Your photo-sharing application is hosted on Google Cloud Platform (GCP). You've been tasked with managing a Cloud Spanner instance in production to ensure optimal query performance. The instance is currently running in a single Google Cloud region. Following Google's recommended practices for service configuration, what is the most effective and quickest action to enhance performance?
A
B
C
D