Fundamentals-RDS,Aurora,ElastiCache Flashcards
Amazon ____ is a managed DB service that allows you to create databases in the cloud that are managed by AWS.
RDS
List 7 database engines that are supported by Amazon RDS
Postgres, MySQL, MariaDB, Oracle, Microsoft SQL Server, IBM DB2, Aurora
Advantage of RDS vs deploying DB on EC2:
Because RDS is a managed service:
- automated provisioning, OS patching
- continous backups and restore to specific timestamp (Point in Time Restore)
- monitoring dashboards
- read replicas for improved read performance
- multi AZ setup for disaster recovery
- maintenance windows for upgrades
- scaling capability (vertical and horizontal)
- storage backed by EBS
One disadvantage of Amazon RDS is that you cannot ____ into your instances. Since they are managed services, you don’t have access to the underlying EC2 instance.
SSH
What RDS feature can help you increase storage on your RDS DB instance automatically when it detects you are running out of free database storage?
RDS - Storage Auto Scaling
When configuring RDS Storage Auto Scaling, you need to set a ____ that will be the maximum limit for DB storage.
Maximum Storage Threshold
Amazon RDS Storage Auto Scaling will automatically modify storage if:
- free storage is less than ____% of allocated storage
- low-storage lasts at least ____ minutes
- ____ hours have passed since the last modification
10
5
6
Amazon RDS Storage Auto Scaling is useful for applications with ____ workloads.
unpredictable
Which RDS database engines are supported with the Storage Auto Scaling feature?
all of them
Postgres, MySQL, MariaDB, Oracle, Microsoft SQL Server, IBM DB2, Aurora
You can have up to ____ read replicas when using Amazon RDS.
15
This provides read scalability.
Read replicas with Amazon RDS can be Within AZ, Cross AZ or Cross Region.
Amazon RDS replication is ____, so the reads are eventually consistent.
async
Amazon RDS read replicas can be ____ to their own DB.
promoted
In order to use Amazon RDS read replicas, the application must update the ____ to leverage the read replicas.
connection string
Use case for RDS Read Replicas:
- You have a production database for the normal load
- You want to run a reporting application for analytics
- You create the read replica to run the reporting against and the production database is not impacted.
Normally, there is a network cost when data goes from one AZ to another.
For RDS read replicas within the same ____, you don’t pay that fee.
region
RDS Multi AZ is used for disaster recovery by using ____ replication to a standby RDS DB instance.
This standby instance is not used/accessible unless there is a failover to it.
sync
No manual intervention in the apps.
Not used for scaling.
RDS Multi AZ provides automatic app failover by using one ____ name.
DNS
RDS Multi AZ ____ can be triggered in the case an AZ loss, network loss, instance or storage failure.
failover
An alternative RDS Multi AZ disaster recovery setup to using a standby DB instance, is to use your RDS ____ if they are located in separate AZs.
read replicas
With RDS, to convert from a Single-AZ to Multi-AZ, there is no need to stop the DB. It is a zero downtime operation.
You simply click the “modify” option for the database.
Behind the scenes, how does it work:
- A snapshot is taken of the RDS DB instance
- A new DB is restored from the snapshot in a new AZ
- Synchronization is started between the two databases
With RDS ____, you have access to the OS and database customization.
Which two database engines are support by this feature?
Custom
Oracle and Microsoft SQL Server
RDS Custom allows access to the underlying database and OS so you can:
- configure settings
- install patches
- enable native features
- access the underlying EC2 instance using SSH or SSM Session Manager
When using RDS Custom, before you customize anything it is recommended that you do what two things?
deactivate automation mode
take a DB snapshot