
Answer-first summary for fast verification
Answer: Increase the number of processing units.
When addressing high CPU utilization in a Cloud Spanner instance, the first step should be to analyze the root cause of the performance issue. Increasing the number of processing units (Option A) is a direct approach to handle higher loads and can provide immediate relief to CPU performance issues by allowing more parallel operations. Modifying the database schema and adding additional indexes (Option B) can optimize query performance but may not immediately address high CPU utilization. Sharding data (Option C) is a more complex solution and not typically the first step. Decreasing the number of processing units (Option D) would likely exacerbate the issue. Therefore, the most appropriate first action is to increase the number of processing units to handle the current load more effectively.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
What is the first recommended action to address high CPU utilization in a multi-region Cloud Spanner instance supporting a consumer inventory application with reported slow response times?
A
Increase the number of processing units.
B
Modify the database schema, and add additional indexes.
C
Shard data required by the application into multiple instances.
D
Decrease the number of processing units.