AWS Database Flashcards
1
Q
Amazon RDS
A
- Managed RDMS Service
- Mysql, postgres, oracle, sqlserver, mariadb
- Encrypted during creation only
2
Q
AWS Dynamo DB
A
- No SQL DB
- Sync replicated across 3 AZs in a Region
3
Q
AWS Dynamo DB Read Models
A
- Eventual - Default
- Strongly
4
Q
AWS Dynamo DB Global Tables
A
- read and write locally
- Allows Cross Region Replication
- Multi-Region and Multi-Master
- Specify the Regions - AWS does it all for you
5
Q
Dynamo DB Accelerator (DAX)
A
- Fully managed & Highly available Cache
- In memory
- In proves performance on both reads and writes
6
Q
Dynamo DB Transactions
A
- Used to achieve ACID compliance
-
7
Q
AWS RDS Multi-AZ
A
- Used for DR option
- Highly Durable
- Only Primary is active
- Auto Failover - 1 to 2 mins
- Sync Replication
- Backup on Standby
- maintenance on standby
- Upgrade Engine on Primary/Standby together with downtime
8
Q
Dynamo DB Streams
A
- Ordered Sequence of item level modifications
- Stored in a Log for 24 hours
9
Q
Aurora Global Database
A
- For global applications
- Cross Region Cluster with Read scaling
- Can remove secondary and promote
- uses storage replication
- 1 primary regions / 5 secondary regions
- 16 Read Replicas per regions
- RTO < 1 min
10
Q
Aurora Serverless
A
- On-Demand Serverless DB
- Does not support Read Replicas
- Infrequent, intermittent, or unpredictable workloads
- Can migrate between Standard and Serverless via console
11
Q
Aurora Serverless Use Cases
A
- Infrequently used apps
- new applications
- variable workloads
- unpredictable workloads
- development and test
- multi-tenant apps
12
Q
Aurora MySQL Replicas
A
- Cross Regions cluster with read scalling
- Failover target with mins of data loss
- Up to 5
- Performance impact is high
13
Q
Aurora Multi-Master
A
- High Avail and ACID transactions in a single Region
- Scales our writes within a region
- All Nodes are reads and writes
- Open a connection to another writer on failure
14
Q
RDS Read Replicas
A
- Used for Heavy Read workloads
- same AZ, cross AZ, or cross region - up to 5
- Async Replication
- Each has a unique endpoint
- Can promote to Standalone instance
- Not for MS SQL Server
15
Q
RDS Multi-AZ vs Read-Replicas
A
- Sync vs Async
- Only Primary is active vs all replicas are active
- Backups from Standby vs no backups by default
- Always spans 2 AZs vs Same, Different, or Diff region
- Auto failover vs can be promoted to Standalone
16
Q
Aurora Machine Learnign
A
- Add ML-Based predictions to your apps via sql
- Simple integration between DB and ML
17
Q
Amazon Aurora
A
- Mysql or prostres compatible RDBMS for Cloud
- Distributed fault tolerant self-healing Storage sytems
- 6 copies in 3 AZs
- 4 Writes / 3 Reads
18
Q
AWS Redshift
A
- SQL Based Data warehouse for OLAP UseCases
- complex queries against PBs of structured data
19
Q
How can RDS Read Replicas increase availablity
A
- Multi-AZ