Exam 04 DB Flashcards
What is Aurora? (4)
Amazon’s RDS service
5x faster than MySQL
Easy migration from MySQL
Default 6 copies across multi AZs
What is the most scalable and highest performance RDS offering?
Aurora
What are the two key features of RDS Services in AWS?
Multi-AZ - disaster recovery
Read Replicas - Performance
How do Read Replicas work? (4)
Exact Copies of DB
Different AZs
No failover
Caching for read intensive loads
How does the multi-AZ feature work in AWS RDS? (2)
Primary DB goes down in AZ1
DNS points traffic to the replica in AZ2
With AWS RDS, how does an EC2 instance connect to the DB instance / Replica and why? (2)
Using a DNS address
Amazon handles the DNS changes for you
Can multi-AZ and Read Replicas be used together?
Yes. If a failover occurs, the DB in the second AZ will start to sync to the Read Replicas
Given a news site how would you arrange an infrastructure with one EC2 instance, a primary RDS and 5 read replicas? (3)
EC2 connects to DNS
Read traffic gets spreas evenly over 5 replicas
writes go directly to the primary DB
How many read replicas can exist for one DB?
Max 5
What are the conceptual components of a non relational DB and what are they analogous to in the RDS world? (3)
Collection = Table
Document (JSON) = Row
Key Value Pairs (Objects) = Fields
What are the characteristics of DynamoDB (3)
NoSQL
AWS Service
Single Digit millisecond latency at any scale
Given an exam question about the need for automatic scaling but no indication of a relational or non-relational DB, what do you choose?
DynamoDB
For exam questions about business intelligence or data warehousing, what should you choose?
Redshift