Databases Flashcards
Which databases support Read Replicas?
MySQL
MariaDB
PostgreSQL
Aurora
Which external databases are supported with RDS?
SQL Server
MySQL
Oracle
PostgreSQL
Can Read Replicas have Multi-AZ enabled?
No, but a source database with Multi-AZ enabled can have Read Replicas
If a database is restored from either an automated backup or a snapshot, what happens to its end point?
The restored database will be a new RDB instance with a new end point
What makes Redshift’s advanced compression so efficient?
Because Redshift data is stored in columns, it can be compressed more than traditional databases
What are database snapshots?
User-initiated backupd of a database which are stored in S3 and retained even if the database is deleted
What is DynamoDB Reserved Capacity?
Similar to Resered Instances in EC2, it offers discounted throughput capacity for DynamoDB data, when entering into a 1 or 3 year contract.
Explain Redshift Massive Parallel Processing
Redshift automatically distributes data and query load across all compute nodes. It is easy to add nodes to the warehouse, maintaining fast query performance
True or false: You can create a Read Replica from another Read Replica
True
What is Elasticache?
AWS’s in-memory caching service that provides low-latency cahed data for applications that need it, such as recommendation engines, gaming, or social media
If a database is under a lot of load, what database service would be a good choice to relieve this?
Elasticache
What is DMS?
Database Migration Service allows you to migrate production database to AWS. AWS manages type transformation, compression and parallel transfer
If managment is running a lot of OLAP queries on a database, what service is a good choice?
Redshift. Possibly also Read Replicas in RDS
True or False: A Redshift database can span multiple availability zones
False. Redshift is intended for back office analytics and high performance, so it is not built to span AZs
True or false: If an RDS is deleted, its database snapshots are retained
True
What is RDS?
AWS’s Relational Database Service, which allows you to set up, operate and scale relational databases
How is Redshift encrypted?
In-transit using SSL
At rest using AES-256
What is Multi-AZ?
It allows you to have an exact syncronous replica of a database in another availability zone. AWS automatically fails over to the replica database if needed
What is the data consistency model for DynamoDB?
Users can specify whether they want strongly consistent or eventually consistent.
What is Aurora?
A MySQL-compatible relational database engine, much faster than regular MySQL, much chepaer than commercial databases
Can existing unencrypted RDS databases become encrypted?
Not directly. To encrypt an existing RDS database, first create a snapshot, copy the snapshot and enable enxryption, then restore the encrypted database