nerdexam
Google

PROFESSIONAL-CLOUD-DATABASE-ENGINEER · Question #175

PROFESSIONAL-CLOUD-DATABASE-ENGINEER Question #175: Real Exam Question with Answer & Explanation

The correct answer is A. Use read replicas for query offloading, configure automatic failover, and test failover procedures. Using read replicas for query offloading combined with automatic failover and tested failover procedures is the correct and most comprehensive answer. Read replicas absorb read-heavy analytics and reporting traffic that typically dominates ecommerce peak loads, directly relieving

Optimizing Database Performance and Ensuring High Availability

Question

Your company's rapidly growing ecommerce application uses Cloud SQL for MySQL. Performance issues are surfacing during peak traffic periods. You need to ensure that the database can handle the load while minimizing downtime. What should you do-

Options

  • AUse read replicas for query offloading, configure automatic failover, and test failover procedures
  • BVertically scale the primary instance by significantly increasing compute resources, such as
  • CIncrease storage size on the existing instance and implement client-side caching for frequently
  • DMigrate to a Cloud SQL for PostgreSQL database for better performance during high load.

Explanation

Using read replicas for query offloading combined with automatic failover and tested failover procedures is the correct and most comprehensive answer. Read replicas absorb read-heavy analytics and reporting traffic that typically dominates ecommerce peak loads, directly relieving pressure on the primary instance. Automatic failover ensures high availability during outages, and testing failover procedures validates that the HA setup works before a real incident occurs - minimizing actual downtime. Vertically scaling the primary instance (B) increases capacity but does not distribute read load; it also requires an instance restart which introduces downtime, and vertical scaling has an upper ceiling. Increasing storage and adding client-side caching (C) addresses storage constraints and reduces some database calls, but does not solve compute or query throughput bottlenecks during traffic spikes. Migrating to Cloud SQL for PostgreSQL (D) does not inherently improve performance for MySQL workloads and introduces significant migration risk, testing effort, and potential downtime - it is not an appropriate solution for a performance problem that can be addressed at the infrastructure level.

Topics

#Database Scaling#High Availability#Read Replicas#Cloud SQL

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DATABASE-ENGINEER Practice
Your company's rapidly growing ecommerce application uses Cloud... | PROFESSIONAL-CLOUD-DATABASE-ENGINEER Q#175 Answer | NerdExam