ASSOCIATE-CLOUD-ENGINEER · Question #251
Your company has 5 TB of testing data stored in the production database of a testing tool name Quality Center. The data is being used to create a real-time analytics system which is causing the slow r
The correct answer is B. Set up a read replica. To alleviate performance issues caused by real-time analytics queries impacting a production database, a read replica should be set up to offload the read-heavy analytics workload from the primary instance.
Question
Options
- ASet up Multi-AZ
- BSet up a read replica
- CScale the database instance
- DRun the analytics query only weekends
How the community answered
(28 responses)- A4% (1)
- B93% (26)
- C4% (1)
Why each option
To alleviate performance issues caused by real-time analytics queries impacting a production database, a read replica should be set up to offload the read-heavy analytics workload from the primary instance.
Multi-AZ (Multi-Availability Zone) provides high availability and disaster recovery, but it does not directly offload read workloads from the primary database to improve performance under heavy read traffic.
Setting up a read replica allows the real-time analytics system to query the replica instead of the primary production database, thereby offloading the read workload and improving response times for testers using the main application.
Scaling the database instance might offer some relief but is often a more expensive solution and may not fully separate the analytics workload from the transactional workload, making a read replica a more targeted approach.
Running analytics queries only on weekends would prevent the 'real-time analytics system' requirement and only postpones the problem without solving the concurrent load issue during business hours.
Concept tested: Database read replicas for separating workloads
Source: https://cloud.google.com/sql/docs/mysql/replication/configure-read-replicas
Topics
Community Discussion
No community discussion yet for this question.