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 12 discussion

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

You are designing an augmented reality game for iOS and Android devices. You plan to use Cloud Spanner as the primary backend database for game state storage and player authentication. You want to track in-game rewards that players unlock at every stage of the game. During the testing phase, you discovered that costs are much higher than anticipated, but the query response times are within the SLA. You want to follow Google-recommended practices. You need the database to be performant and highly available while you keep costs low. What should you do?

  • A. Manually scale down the number of nodes after the peak period has passed.
  • B. Use interleaving to co-locate parent and child rows.
  • C. Use the Cloud Spanner query optimizer to determine the most efficient way to execute the SQL query.
  • D. Use granular instance sizing in Cloud Spanner and Autoscaler.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
dynamic_dba
Highly Voted 1 year, 1 month ago
D. A is nonsense. Using interleaved tables can help speed up queries, but the question says query response times are OK. So B is wrong. C is wrong for the same reason. That leaves D. The question is about which factors determine the cost of running Spanner. They include region vs. multi-region, compute unit (nodes or processing units), how much storage and how much backup space. From the Google docs, it says “When you create a Cloud Spanner instance, you choose the number of compute capacity nodes or processing units to serve your data. However, if the workload of an instance changes, Cloud Spanner doesn't automatically adjust the size of the instance. This document introduces the Autoscaler tool for Cloud Spanner (Autoscaler), an open source tool that you can use as a companion tool to Cloud Spanner. This tool lets you automatically increase or reduce the number of nodes or processing units in one or more Spanner instances based on how their capacity is being used.” https://cloud.google.com/spanner/docs/autoscaling-overview
upvoted 8 times
...
ewelaz
Most Recent 7 months ago
Selected Answer: B
It’s D
upvoted 1 times
...
goodsport
7 months, 1 week ago
Selected Answer: D
Autoscaling is the way to go here. D.
upvoted 3 times
...
CloudKida
10 months, 1 week ago
Selected Answer: D
Granular instance is available in Public Preview. With this feature, you can run workloads on Spanner at as low as 1/10th the cost of regular instances, https://cloud.google.com/blog/products/databases/get-more-out-of-spanner-with-granular-instance-sizing
upvoted 3 times
...
BenMS
1 year, 1 month ago
Selected Answer: D
As the others say - use autoscaling to rightsize the cluster
upvoted 3 times
...
pk349
1 year, 4 months ago
D: Use granular instance sizing in Cloud Spanner and Autoscaler.
upvoted 4 times
...
GCP72
1 year, 4 months ago
Selected Answer: D
D is the correct answer, https://cloud.google.com/architecture/autoscaling-cloud-spanner
upvoted 4 times
...
jitu028
1 year, 4 months ago
Selected Answer: D
Correct answer - D
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