3. AWS Databases Flashcards
What are the Relational Databases on AWS?
The Relational Databases on AWS are:
- SQL Server
- Oracle
- MySQL Server
- PostgreSQL
- Aurora
- MariaDB
What are the two key features of Relational Databases on AWS?
The two key features of AWS Relational Databases are:
- Multi-AZ for DR
- Read replicas for performance
What is Data Warehousing?
Data Warehousing is used for business intelligence.
It is used to pull in very large and complex data sets in order to perform management queries.
Are Databases best suited to OLTP or OLAP processes?
Databases are best suited to OLTP processes
Are Datawarehouses better suited to OLTP or OLAP processes?
Datawarehouses are better suited to OLAP processes
What is Elasticache?
Elasticache is a web service to deploy, operate and scale an in-memory cache in the Cloud.
What does Elasticache do?
Elasticache improves the performance of web applications by allowing you to retrieve information from fast memory caches rather than from slower disk-based databases.
What is the name of AWS own Relational Database?
RDS is the name of the AWS own Relational Database
Can you access the RDS VMs?
No, the RDS VMs are totally inaccessible
What are the two types of RDS backup?
Automated backups and Database snapshots are the two ways to back-up RDS
How do RDS automated backups work?
Automated backups take a daily snapshot and also transaction logs throughout the day.
This gives a point in time recovery of the RDS to within a second.
Where are RDS automated backups stored?
RDS automated backups are stored in S3
When might you expect increased latency with your RDS instance?
You may expect increased latency during the backup window as I/O may be suspended.
What are RDS DB Snapshots?
RDS DB Snapshots are user initiated and persist even after the original RDS is deleted (unlike automated backups).
What happens when you restore either an Automated backup or DB Snapshot?
When you perform a restore, the restored version will be a new RDS instance with a new DNS endpoint
What is Multi-AZ?
Multi-AZ means that you can have an exact copy of your DB in another AZ.
For what DBs is Multi-AZ available?
Multi-AZ is available for:
- SQL Server
- Oracle
- MySQL Server
- PostgreSQL
- MariaDB
What is a Read Replica?
Read Replicas allow you to have a read-only copy of your database.
These help with performance for read-heavy databases.
What are Read Replicas used for?
Read Replicas are used to help with scaling and performance, not DR
What must be enabled in order to use Read Replicas?
Automated Backups must be enabled to use Read Replicas
Can Read Replicas be promoted to their own database?
Read Replicas can be promoted to their own database but this breaks the replication
Can Read Replicas be across different regions?
Yes Read Replicas can be across different regions
How is ‘encryption at rest’ performed on AWS databases?
Encryption is done using the AWS Key Management Service (KMS)
What is DynamoDB?
DynamoDB is a fast and flexible NoSQL database.
Instead of creating tables and rigid schema, populating those tables and using SQL to query and return results, with DynamoDB you create tables with attributes and store data.
What are Eventual Consistent Reads?
Eventual Consistent Reads is when consistency across all copies of the data is achieved within a second
What are Strongly Consistent Reads?
When you request a strongly consistent read, DynamoDB returns a response with the most up-to-date data, reflecting the updates from all prior write operations that were successful