Exam 04 DB Flashcards

1
Q

What is Aurora? (4)

A

Amazon’s RDS service

5x faster than MySQL

Easy migration from MySQL

Default 6 copies across multi AZs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the most scalable and highest performance RDS offering?

A

Aurora

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the two key features of RDS Services in AWS?

A

Multi-AZ - disaster recovery

Read Replicas - Performance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do Read Replicas work? (4)

A

Exact Copies of DB

Different AZs

No failover

Caching for read intensive loads

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How does the multi-AZ feature work in AWS RDS? (2)

A

Primary DB goes down in AZ1

DNS points traffic to the replica in AZ2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

With AWS RDS, how does an EC2 instance connect to the DB instance / Replica and why? (2)

A

Using a DNS address

Amazon handles the DNS changes for you

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Can multi-AZ and Read Replicas be used together?

A

Yes. If a failover occurs, the DB in the second AZ will start to sync to the Read Replicas

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Given a news site how would you arrange an infrastructure with one EC2 instance, a primary RDS and 5 read replicas? (3)

A

EC2 connects to DNS

Read traffic gets spreas evenly over 5 replicas

writes go directly to the primary DB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How many read replicas can exist for one DB?

A

Max 5

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the conceptual components of a non relational DB and what are they analogous to in the RDS world? (3)

A

Collection = Table

Document (JSON) = Row

Key Value Pairs (Objects) = Fields

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the characteristics of DynamoDB (3)

A

NoSQL

AWS Service

Single Digit millisecond latency at any scale

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Given an exam question about the need for automatic scaling but no indication of a relational or non-relational DB, what do you choose?

A

DynamoDB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

For exam questions about business intelligence or data warehousing, what should you choose?

A

Redshift

How well did you know this?
1
Not at all
2
3
4
5
Perfectly