RDS Flashcards

1
Q

How to improve high availability for an RDS instance?

A

Multi-AZ: You can force a failover; Single endpoint

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

How to improve performance?

A

Add a read-replica; In case the primary is lost, the application needs to be manually updated in terms of database JDBC string/endpoint

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

Explain automated backups VS DB snapshots

A

Automated backups: Stored for free (DB size) in S3; Allow point in time recovery. A full backup is restored and multiple transactional log backups are applied; May experience latency for I/O
DB Snapshot: Manually triggered

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

What happens with the endpoint in case of restore?

A

The restore will bring a new RDS instance with a NEW endpoint

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

For what engines the Multi-AZ is availble?

A
ALL, but Aurora:
MySQL
Postgres
SQL Server
Oracle
MariaDB
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

For what engines the Read-Replica is available?

A
ALL, but SQL Server:
MySQL
Postgres
Oracle
MariaDB
Aurora

Automated backups turned ON is a requirement;
Up to 5 read-replicas can be configured;
The read-replica can be promoted to its own database, but this breaks the replication

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

How can a MySQL be migrated to Aurora?

A

From RDS perspective, click on Actions->Create Aurora read-replica

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

How can you easily migrate one RDS instance to another region?

A

Create a read-replica on another region and promote it ;)

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