Databases Flashcards
How to implement synchronous data replication for the RDS database to help meet the RTO?
When creating a database enable Multi-AZ
How to implement asynchronous data replication for the RDS database?
Create Read Replica
AWS Database that can run complex analytic queries against terabytes of structured data, using sophisticated query optimization, columnar storage on high-performance storage, and massively parallel query execution
Redshift
How long will a failover of an RDS database typically complete if Multi-AZ is enabled?
1-2 minutes
Database type that is great for transactional data
Relational Database
How to setup Automatic Failover in RDS
Turn on MultiAZ
Can you change the instance size of RDS
Yes, but you may have downtime
Automated Backups Default for RDS
7 days
Automated Backup range for RDS
0 - 35 days
Aurora compatible Databases
MySQL PostgresQL
Max Read Replicas with Arurora
15
Aurora Serverless compatible Databases
MySQL
ACID compliant Document Databases
DynamoDB
DynamoDB Consistency
Eventually Consistently by default
Strong Consistent Available
Request Throughput of DynamoDB
1 RCU 1 item 4 KB/sec
1 WCU 1 item 1 KB/sec
Does DynamoDB scale automatically
Yes
You can also schedule automatically and set a max and min throughput
DynamoDB Streams are kept for up to what length of time
24 hrs
How to help a read heavy DynamoDB table to reduce latency of reads
Enable DAX caching
If you have customers in multiple regions, and app uses DynamoDB how to make it so customers are not impacted by latency
DynamoDB global tables
Consistency of DynamoDB Global Tables
Eventually Consistency ONLY across regions, for Strong consistent have to be in same region
How to expire items in DynamoDB
Set a TTL
If you turn on PITR in DynamoDB how long does this data go back?
35 days