0
0
GCPcloud~5 mins

Read replicas in GCP - 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 a database that handles read-only queries. It helps reduce the load on the main database by serving read requests separately.
Click to reveal answer
beginner
Why use read replicas in Google Cloud SQL?
Read replicas improve performance by distributing read traffic, increase availability, and help with backup and reporting without affecting the main database.
Click to reveal answer
intermediate
How does data stay updated in a read replica?
Data is copied asynchronously from the main database to the read replica, meaning there might be a small delay before changes appear in the replica.
Click to reveal answer
beginner
Can you write data directly to a read replica?
No, read replicas are read-only. All write operations must go to the main database to keep data consistent.
Click to reveal answer
intermediate
What happens if the main database fails when using read replicas?
Read replicas can be promoted to become the new main database, helping to restore service quickly.
Click to reveal answer
What is the main purpose of a read replica?
ATo handle read-only queries and reduce load on the main database
BTo store backups of the database
CTo process write operations faster
DTo replace the main database permanently
How is data copied from the main database to a read replica?
AAsynchronously with possible delay
BSynchronously with no delay
CManually by the user
DOnly during backups
Can you write data directly to a read replica in Google Cloud SQL?
AYes, anytime
BOnly during maintenance
CNo, read replicas are read-only
DOnly if promoted to main
What benefit do read replicas provide during high traffic?
AThey increase write speed
BThey distribute read traffic to improve performance
CThey reduce storage costs
DThey automatically delete old data
What can happen if the main database fails when using read replicas?
ARead replicas become read-write automatically
BThe system stops working immediately
CData is lost permanently
DRead replicas can be promoted to main to restore service
Explain what a read replica is and why it is useful in cloud databases.
Think about how copying data helps with many users reading at the same time.
You got /4 concepts.
    Describe how data replication works between a main database and its read replicas.
    Consider how changes travel from the main to the copies.
    You got /4 concepts.