RDS / Dynamo DB Essentials Flashcards

1
Q

RDS (Acronym definition)

A

Relational Database Service

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

Describe the difference between RDS and DynamoDB

A

RDS databases store data in tables using columns and rows, while DynamoDB stores data in JSON-like, name-value documents.

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

T/F - Amazon Aurora offers free tier usage.

A

False

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

T/F - Amazon RDS databases do not have a GUI in the AWS console.

A

True

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

What term describes the practice of using SSH to access a resource without a public IP address via a resource with a public IP address (inside of a VPC)

A

SSH tunneling.

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

Does RDS allow access to the underlying OS?

A

No - It is a fully-managed service

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

What RDS databases support Read Replicas?

A

MySQL
PostgreSQL
Aurora

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

How do Relational databases store data

A

Tables (columns and rows) - associated tables have a defined relationship.

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

Databases supported by RDS

A
MySQL
MariaDB
PostgreSQL
Oracle
MS SQL Server
Aurora (AWS home grown relational DB)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Benefits of RDS

A
Full managed
Automatic minor updates
Automatic backups
Not required to manage OS
Multi A-Z with a single click
Automatic recovery
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Are read replicas Synchronous or Asynchronous?

A

Asynchronous

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

Can you have multiple read replicas of a primary database?

A

Yes.

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

T/F - Read replicas can be created from other read replicas.

A

True.

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

How can you monitor replication lag of read replicas?

A

CloudWatch

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

Benefits of Read Replicas

A

Allow Read traffic to be redirected from primary db to read replica (increased performance).

Read replicas allow for elasticity - Can add more read replicas as demand increases.

A read replica can be promoted to a primary instance.

MySQL - Replicate for import/export data to RDS. Can replicate across regions.

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

When should you use Read Replicas?

A

High volume, non-cached database read traffic (elasticity).

Running business function such as data warehousing.

Import/Export data into RDS.

Rebuilding indexes.

17
Q

T/F - AWS provides automated point-in-time backups against the RDS database instance.

A

True

18
Q

What does MySQL require for reliable backups?

A

InnoDB

19
Q

What happens to automated backups when the database instance is deleted?

A

The backups are deleted and cannot be recovered.

20
Q

How can you ensure you have a backup of your database data when the db instance is deleted.

A

Create your own snapshots / backups before deleting the primary instance.

21
Q

Multi-AZ failover replicates data to a backup database instance located in another AZ zone (same region) using - Asynchronous or Synchronous.

A

Synchronously

22
Q

When does RDS multi-az failover occur?

A
  1. service outage in an AZ.
  2. Primary DB instance failure.
  3. Instance server type is changed.
  4. Manual failover initiated.
  5. Updating software version.
  6. AWS will automatically switch the CNAME DNS record from the primary instance to the stand-by instance.
23
Q

What instance are RDS backups taken against?

A

stand-by instance to reduce I/O freezes and slow down if Multi-AZ is enabled.

24
Q

T/F - In order for Multi AZ to work your primary db instance must be launched into a subnet group.

A

True.