Databases Flashcards

1
Q

Which relational databases are available through AWS? (6)

A
  • SQL Server
  • Oracle
  • MySQL Server
  • PostgreSQL
  • Aurora
  • MariaDB
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the two key features of the Relational Database Services? (2)

A
  • Multi-AZ, for disaster recovery

- Read Replicas, for performance

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

On what does RDS run?

A

Virtual machines

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

Whose responsibility is the patching of the RDS operating system and database?

A

Amazon’s

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

Is RDS serverless?

A

No, except for Aurora Serverless

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

What is DynamoDB?

A

Amazon’s NoSQL solution

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

If you have a restored version of a database, does its DNS endpoint stay the same or change?

A

With any type of backup (automated/snapshot), the restored version of the database will be a new RDS instance with a new DNS endpoint

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

What level of recovery do automated backups allow you?

A

Allow you to recover your database to any point in time within a retention period of 1-35 days

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

How often do automated backups take a full backup? (2)

A
  • A full backup each day

- Also store transaction logs throughout the day

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

How do automated backups allow point in time recovery down to the second? (2)

A
  • AWS first chooses the most recent daily back up

- Then applies transaction logs relevant to that day

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

Are automated backups enabled by default?

A

Yes

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

Where is the backup data from automated backups stored?

A

In S3

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

How much free storage space do you have with automated backups?

A

Free storage space equal to the size of your database

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

What occurs during a backup window for automated backups? (2)

A
  • Storage input/output may be suspended

- May experience elevated latency

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

Are database snapshots conducted manually or automatically?

A

Database snapshots are done manually

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

Are database snapshots and automated backups stored after you delete the original RDS instance? (2)

A
  • Database snapshots are stored even after you delete the original RDS instance
  • Automated backups are not stored even after you delete the original RDS instance
17
Q

What does a Multi-AZ backup allow you to have?

A

A Multi-AZ backup allows you to have an exact copy of your production database in another Availability Zone

18
Q

What are examples of incidents which trigger the use of Multi-AZ protection? (4)

A
  • Primary database goes down
  • Planned database maintenance
  • DB instance failure
  • Availability Zone failure
19
Q

Describe the connections of the primary database and secondary database within a Multi-AZ backup setup (2)

A
  • Primary database in an AZ DNS address EC2 instance

- Secondary database in an AZ DNS address EC2 instance

20
Q

What occurs should the primary database go down, but Multi-AZ backups are enabled? (2)

A
  • The DNS address will update automatically and direct to the secondary database
  • Amazon RDS will automatically failover to the standby