RDS: Relational Database Service Flashcards
(46 cards)
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.
What type of replication is used for Reader instances in RDS Multi-AZ - Cluster mode?
Synchronous replication.
Where does the Cluster Endpoint point in RDS Multi-AZ - Cluster Mode?
At the Writer instance. This allows reads, writes, and administration.
Where does the Reader Endpoint point in RDS Multi-AZ - Cluster Mode?
At any available reader. This includes Reader instances and the Writer instance.
What do you use the Instance Endpoint for in RDS Multi-AZ - Cluster Mode?
Testing and troubleshooting a specific instance. Don’t use it for normal database operations as it doesn’t switch over if there is an instance failure.
In RDS Multi-AZ - Cluster Mode, where is data written?
Data is written to local storage (fast) and then flushed to EBS.
At what level are Snapshot taken for RDS?
The full RDS instance. All databases on that instance are backup in the Snapshot.