RDS Flashcards
(35 cards)
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.
How many read replicas does MySQL RDS Support?
up to 5.
What do you need to do to enable fail over in Aurora?
Nothing, fail over is automatic
What is the typical recovery point objective (RPO) for RDS?
RPO for recovery with an RDS Single-AZ instance failure is typically 5 minutes
If you take a manual snapshot of an RDS database, how long is the snap shot retained?
Indefinitely - until you delete it.
When using read replicas do you need to update your application?
Yes, the connection string to the database will need to be changed
When do you need to enable encryption at rest for RDS
Encryption must be defined at launch time/creation
What service is responsible for RDS encryption and what is the scheme
AWS KMS - aes256
If the master database in an RDS setup is not encrypted - can you encrypt the read replicas?
No. Read replicas CANNOT be encrypted if the master is not encrypted
Which RDS database type requires rds.forceSSL=1 via an options group to enable SSL encryption in flight?
Postgres