ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 99 - Professional Cloud Database Engineer discussion

Report
Export

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.
Answers
A.
Place the bulk of the read and write workloads closer to the default leader region.
B.
Use staleness of at least 15 seconds.
Answers
B.
Use staleness of at least 15 seconds.
C.
Add more read-write replicas.
Answers
C.
Add more read-write replicas.
D.
Keep the total CPU utilization under 45% in each region.
Answers
D.
Keep the total CPU utilization under 45% in each region.
Suggested answer: A

Explanation:

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.

asked 18/09/2024
Kareem Dadoul
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first