RDS Flashcards

1
Q

Why might you install a DB on EC2 rather than use RDS?

A

Full control over database, or database that AWS doesn’t offer with RDS.

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

Why is it generally a bad idea to install a DB on EC2 rather than use RDS?

A

No RDS features, single A Z, not easy to scale.

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

How is access to an RDS instance controlled?

A

Security Group

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

In Multi A Z, why can’t the standby instance be used for scaling?

A

The standby instance can only be accessed on failover.

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

In Multi A Z, can standby instances live in another region?

A

No.

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

In multi A Z, about how long does it take for the CNAME to start pointing to the standby instance?

A

1-2 minutes.

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

How long does it take for a manual snapshot to expire?

A

It doesn’t, must be manually deleted

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

How long is an automatic backup available for?

A

0-35 days.

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

Where are backups stored?

A

AWS Managed S3 buckets

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

How often do automated backups occur?

A

Every 5 minutes

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

When a restore is created from a backups, do you have to update applications that point to the database?

A

Yes, because the RDS instance will have a new address

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

How can you improve an application’s database reads from RDS?

A

Use read replicas

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

Why are read replicas good for disaster recovery?

A

Have near 0 RPO and can be promoted quickly (low RTO)

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

In what situation would a read replica not be good for DR?

A

data corruption

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

What is the maximum size of the database cluster used by Amazon Aurora?

A

128 TB

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

How is Aurora made to be highly available?

A

Its cluster is replicated across several A Z’s

17
Q

What are the advantages of Aurora Serverless?

A

Scales easier for unpredictable or variable workloads workloads. Also removes complexity of management.

18
Q

What is the main functionality given by using Aurora Global Databases?

A

Allow data to be replicated globally

19
Q

What are two advantages given by Aurora Global Databases?

A

Global read scaling and cross region disaster recovery.

20
Q

How can Aurora Multi Master be used to build a fault tolerant application?

A

Aurora Multi Master allows for multiple r/w replicas, so if one master fails another can be used immediately.

21
Q

True or False: DMS can be used to migrate data between two on premises databases.

A

False, one database MUST be on AWS.

22
Q

When is Schema Conversion Tool used in DMS?

A

When migrating from one instance type to another e.g. MySQL -> MSSQL