0
0
AWScloud~5 mins

Read replicas for performance in AWS - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
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?
ATo process write operations faster
BTo store backups of the database
CTo replace the primary database permanently
DTo handle read requests and reduce load on the primary database
Can you write data directly to a read replica?
AYes, always
BOnly during maintenance
CNo, writes must go to the primary database
DOnly if replication lag is zero
What is replication lag?
AThe delay between data updates on primary and replicas
BThe time it takes to create a read replica
CThe speed of the primary database
DThe network speed between users and database
How can read replicas help during a primary database failure?
AThey can be promoted to primary to restore service
BThey stop serving any requests
CThey delete all data to prevent errors
DThey automatically become the new primary without any action
Which workload benefits most from read replicas?
AHeavy write operations
BHeavy read operations
CBackup storage
DData encryption
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.