Recall & Review
beginner
What is a read replica in cloud databases?
A read replica is a copy of the main database that handles read requests to reduce load on the main database and improve performance.
Click to reveal answer
beginner
How do read replicas improve application performance?
By directing read queries to replicas, the main database can focus on writes, reducing delays and improving overall speed.
Click to reveal answer
beginner
Can read replicas be used for write operations?
No, read replicas are designed only for read operations. All writes must go to the primary database to keep data consistent.
Click to reveal answer
intermediate
What happens if the primary database fails when using read replicas?
You can promote a read replica to become the new primary database to maintain availability and reduce downtime.
Click to reveal answer
intermediate
Why is replication lag important in read replicas?
Replication lag is the delay between the primary database and replicas. High lag means replicas may serve outdated data, affecting accuracy.
Click to reveal answer
What is the main purpose of a read replica?
✗ Incorrect
Read replicas handle read requests to improve performance and reduce load on the primary database.
Can you write data directly to a read replica?
✗ Incorrect
Read replicas are read-only; all writes must be done on the primary database to keep data consistent.
What is replication lag?
✗ Incorrect
Replication lag is the delay between when data is updated on the primary and when it appears on the read replicas.
How can read replicas help during a primary database failure?
✗ Incorrect
Read replicas can be promoted to primary to maintain availability if the original primary fails.
Which workload benefits most from read replicas?
✗ Incorrect
Read replicas improve performance mainly for workloads with many read operations.
Explain how read replicas improve database performance and availability.
Think about how splitting reads and writes helps.
You got /4 concepts.
Describe the limitations and considerations when using read replicas.
Consider what read replicas cannot do and what to watch out for.
You got /4 concepts.