RDS: Relational Database Service Flashcards
What does the ACID database transaction model focus on?
Consistency.
A = Atomic
C = Consistent
I = Isolated
D = Durable
What does the BASE database transaction model focus on?
Availability.
BA = Basically Available
S = Soft State
E = Eventually Consistent
What type of transaction model does RDS use?
ACID.
What does the ACID transaction model (and thus, RDS) limit?
Scaling.
What does RDS provide “as a service”?
Database Server as a Service (DBSaaS). It’s not just a database as a service; you can have multiple databases on one instance.
What types of administrator access are disallowed on RDS?
Operating system access and SSH access (except in RDS Custom).
What is a Subnet Group as it relates to RDS?
A Subnet Group specifies the subnets that RDS can use and run in.
Can you configure RDS with a public IP address?
Yes, but it is not recommended.
What provides storage for RDS instances?
Dedicated EBS storage per RDS instance.
When using multi-AZ RDS, what type of replication takes place between the Primary and the Standby?
Synchronous replication. Data is replicated to the Standby immediately.
In RDS, what type of replication takes place between the Primary and Read Replicas?
Asynchronous replication.
Where are RDS backups stored?
In an AWS-managed S3 bucket. You cannot see the backups in S3, only in the backup manager.
On which instance are RDS backups run on?
The Standby instance.
What factors determine the cost of an RDS instance?
- Instance Size and Type
- Multi-AZ or not
- Storage type and amount used
- Data transferred
- Backups and Snapshots
- Licensing, if applicable
In RDS, when a failure occurs on the Primary, how does AWS promote the Standby?
By changing the Database CNAME to point to the Standby instead of the primary.
How many RDS Standby replicas are available in Multi-AZ - Instance mode?
Only one.
How does Multi-AZ - Cluster mode differ from Multi-AZ - Instance mode?
Cluster Mode uses a MAXIMUM of two Reader instances in separate AZs whereas Instance Mode uses a single Standby instance.
Cluster Mode allows reads from the Reader instances whereas Instance Mode does not allow reads from the Standby instance (except for backups).
When is data considered “committed” in RDS Multi-AZ - Cluster Mode?
When at least one reader finishes writing the data.