RDS Flashcards
What’s the difference between an options group and a parameter group in RDS?
Options group specifies the use of specific features within the RDMS - such as TDE for oracle.
A parameter group defines the configuration of the DB itself, such as min and max resource settings
There are 6 databases supported by RDS. What are they?
MSSQL, Oracle, PostGRESQL, MySQL, Aurora, MariaDb
What storage type backs RDS?
EBS Storage - either GP2 or IO1
Over what time period do full backups of RDS occur? Over what time period are transaction logs taken?
Full backup occurs daily - 24hrs. Transaction logs are persisted every 5 minutes.
How long are RDS automatic backups retained for?
7 Days by default up to 35 days.
Can you ssh onto an RDS instance?
No., its a managed instance you won’t get access to the underlying OS or vm
Are read replicas AZ or Region locked? How many replicas can you have for RDS (not Auroa)
No. Read Replicas can be within the same AZ, across AZ’s or across regions. You can have 5 read replicas within an AZ, spread across AZ’s or regions .
For a read replica, is the replication synchronous or asynchronous? What is the consistency implication of this?
Asynchronous. Read replicas will be eventually consistent
What is the use case for a read replica?
Read heavy workloads which you don’t want to impact your master database - such as data analytics or reporting
Is there a network cost for a multi AZ read replica?
Yes. Data for read replicas crossing AZ’s will incur a cost
What is the key use case difference between using read replicas and Multi-AZ RDS?
Read Replicas are for increasing performance for read related workloads. Multi-AZ is for DR.
What form of replication is used for a multi AZ RDS deployment? What must occur for a write to the master to be deemed successful?
Synchronous. For a write to the master to be successful, it MUST be replicated to the standby
In event of a failure in the master for a multi-az RDS deployment, what happens?
Failover occurs automatically as the DNS CNAME record is updated to point to the standby
For a multi AZ RDS deployment, how many DNS entries need to be exposed to your application to allow it to communicate with RDS?
Just one. In event of failure of the master, this DNS record is updated automatically to point to the secondary
Do you need to specify an instance class for an RDS instance
Yes.