exam questions

Exam Professional Cloud Database Engineer All Questions

View all questions & answers for the Professional Cloud Database Engineer exam

Exam Professional Cloud Database Engineer topic 1 question 32 discussion

Actual exam question from Google's Professional Cloud Database Engineer
Question #: 32
Topic #: 1
[All Professional Cloud Database Engineer Questions]

You support a consumer inventory application that runs on a multi-region instance of Cloud Spanner. A customer opened a support ticket to complain about slow response times. You notice a Cloud Monitoring alert about high CPU utilization. You want to follow Google-recommended practices to address the CPU performance issue. What should you do first?

  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
887ad17
1 week, 6 days ago
Selected Answer: A
not good answers ;) a think A+B correct
upvoted 1 times
...
honeymania23
4 months ago
A seems to be the first go to choice, if that does not resolve we can move to other options, But first A.
upvoted 2 times
...
njda
10 months, 4 weeks ago
Selected Answer: A
In case of high CPU utilization like, mentioned in question, refer: https://cloud.google.com/spanner/docs/identify-latency-point#:~:text=Check%20the%20CPU%20utilization%20of%20the%20instance.%20If%20the%20CPU%20utilization%20of%20the%20instance%20is%20above%20the%20recommended%20level%2C%20you%20should%20manually%20add%20more%20nodes%2C%20or%20set%20up%20auto%20scaling. "Check the CPU utilization of the instance. If the CPU utilization of the instance is above the recommended level, you should manually add more nodes, or set up auto scaling." Indexes and schema are reviewed post identifying query with slow performance. Refer : https://cloud.google.com/spanner/docs/troubleshooting-performance-regressions#review-schema
upvoted 3 times
...
learnazureportal
11 months, 1 week ago
I surprised with the chosen answer. The correct answer is B. When addressing high CPU utilization in a Google Cloud Spanner instance, you should first consider B. Modify the database schema, and add additional indexes. High CPU utilization in a database often occurs due to inefficient queries or lack of appropriate indexes.
upvoted 3 times
ArtistS
7 months, 3 weeks ago
So, any words mentioned the schema is not right? or it lacks index?
upvoted 1 times
...
...
KennyHuang
1 year, 2 months ago
Selected Answer: D
By modifying the database schema and adding additional indexes, you can optimize query performance and potentially reduce the CPU utilization in Cloud Spanner. This approach focuses on improving the efficiency of the database and aligning it with the specific requirements of the consumer inventory application. It is important to monitor the impact of these changes and make further optimizations as needed.
upvoted 1 times
...
dynamic_dba
1 year, 4 months ago
A. B is wrong since that would increase CPU utilization even further and the question does not mention anything being wrong with index design. D is wrong since that would reduce CPU capacity and thus increase the load on the remaining CPUs. Cloud Spanner does not autoscale. It’s up to you to allocate the number of nodes or processing units to keep CPU utilization under 65%. So add more processing units.
upvoted 3 times
...
pk349
1 year, 7 months ago
Compute capacity defines amount of server and storage resources that are available to the databases in an instance. When you create an instance, you specify its compute capacity as a number of processing ***** units or as a number of nodes, with 1000 processing units being equal to 1 node. range9005
upvoted 2 times
...
pk349
1 year, 7 months ago
A: Increase the number of processing units.
upvoted 1 times
...
GCP72
1 year, 7 months ago
Selected Answer: A
A is correct answer B is not correct because modifying schema is not a correct option
upvoted 2 times
...
range9005
1 year, 7 months ago
Selected Answer: A
Increase the number of processing units.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago