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

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

You are designing for a write-heavy application. During testing, you discover that the write workloads are performant in a regional Cloud Spanner instance but slow down by an order of magnitude in a multi-regional instance. You want to make the write workloads faster in a multi-regional instance. What should you do?

  • A. Place the bulk of the read and write workloads closer to the default leader region.
  • B. Use staleness of at least 15 seconds.
  • C. Add more read-write replicas.
  • D. Keep the total CPU utilization under 45% in each region.
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
sp57
Highly Voted 1 year, 3 months ago
Selected Answer: A
https://cloud.google.com/spanner/docs/instance-configurations#multi-region-best-practices Best practices For optimal performance, follow these best practices: Design a schema that prevents hotspots and other performance issues. For optimal write latency, place compute resources for write-heavy workloads within or close to the default leader region. For optimal read performance outside of the default leader region, use staleness of at least 15 seconds. To avoid single-region dependency for your workloads, place critical compute resources in at least two regions. A good option is to place them next to the two different read-write regions so that any single region outage will not impact all of your application. Provision enough compute capacity to keep high priority total CPU utilization under 45% in each region.
upvoted 11 times
...
Pime13
Most Recent 5 months, 3 weeks ago
Selected Answer: A
For optimal performance, follow these best practices: Design a schema that prevents hotspots and other performance issues. For optimal write latency, place compute resources for write-heavy workloads within or close to the default leader region. For optimal read performance outside of the default leader region, use staleness of at least 15 seconds. To avoid single-region dependency for your workloads, place critical compute resources in at least two regions. A good option is to place them next to the two different read-write regions so that any single region outage will not impact all of your application. Provision enough compute capacity to keep high priority total CPU utilization under 45% in each region. For the amount of throughput per Spanner node, see performance for multi-region configurations.
upvoted 2 times
...
dynamic_dba
1 year, 1 month ago
A. For optimal read (not write) performance outside of the default leader region, use staleness of at least 15 seconds. Eliminate B. CPU capacity is not mentioned as an issue. Eliminate D. When you create a Spanner instance, u can choose to add additional read-only replicas. Once the instance is created, you can change the instance name and add processing units. You can’t add more read-write replicas. Eliminate C. That leaves A. The link provided by sp57 is spot on.
upvoted 2 times
...
SandyZA
1 year, 3 months ago
A. For optimal write latency, place compute resources for write-heavy workloads within or close to the default leader region B is applicable to reads C will add load/latency D is only applicable to "high priority" tasks
upvoted 2 times
...
chelbsik
1 year, 4 months ago
Selected Answer: D
https://cloud.google.com/spanner/docs/instance-configurations#multi-region-best-practices
upvoted 2 times
...
pk349
1 year, 4 months ago
D: Keep the total CPU utilization under 45% in each region. For optimal performance, follow these best practices: • Design a schema that prevents hotspots and other performance issues. • Place critical compute resources within the same region as your Spanner instance. • Provision enough compute capacity to keep high priority total CPU utilization ***** under 65%.
upvoted 3 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