RDS & Using Read Replicas Flashcards
What are read replicas?
Read-only copies of your DB that allow you to scale out for performance.
How can a read replica be created?
- Management console
2. CreateDBInstanceReadReplica API
Can you have a read replica of a read replica?
Yes, but there may be latency.
Would you use a read replica to scale beyond your primary DB’s capacity?
Yes
Would you use a read replica to serve traffic while the primary DB is unavailable?
Yes
True or False: When running business reports, and performing data warehousing operations, it is best practice to use your primary DB instance?
False. Utilize read replicas for data-intensive workloads so the application is not affected.
True or false: You could also import your data into RedShift for data warehousing operations to prevent load on the application DB?
True.
Read replicas are supported on which non-Aurora databases?
MySQL
PostgreSQL
MariaDB
True or False: Amazon uses a proprietary replication engine for read-replicas?
False. Amazon uses the native replication engines built into their supported DBs for read-replicas.
True or False: Aurora uses SSD-Backed virtualized storage layer built for database workloads?
True
What does AWS do when a read replica is created?
Takes a snapshot of your DB
When creating a read replica, if multi-AZ is not enabled, what will the snapshot be of?
The primary DB.
True or False: When a snapshot is made of the primary DB, there is a suspension of I/O for 1 minute?
True
When creating a read replica, if multi-AZ is enabled, what will the snapshot be of?
Of the secondary database
True or False: When a snapshot is made of the secondary DB, there is a suspension of I/O for 30 seconds?
False. Since the snapshot is not being made of the primary (production) DB, there is no I/O suspension