A Cantrill - RDS Flashcards

1
Q

What type of database model is DynamoDB?

A

DDB is a Wide Column model of database.

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

What type of database model is Redshift?

A

Column database

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

What are characteristics of ACID dbs in AWS exam terms?

A

Atomic Consistent Isolated Durable.

RDS typically. Structured. Not great at scaling

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

What are characteristics of BASE dbs in AWS exam terms?

A

BasicallyAvailable SoftState Eventually Consistent

DynamoDB. Highly scalable, NoSQL

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

Running DBs on an EC2 is considered a bad practice, t or f?

A

Running DBs on EC2 is NOT best practice. Lots of overhead.

Use case: DB vendor specific requirements. OR need more control of DB at OS level

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

Can one RDS instance have multiple databases on it?

A

Yes, multiple dbs can run on one RDS Instance.

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

Are snapshots automatically deleted by AWS?
Are automated backups automatically deleted by AWS?

A

-No, Snapshots are not automatically deleted. Must be manually deleted.
-Yes, Automated backups are deleted according to the retention period.

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

What happens when you restore from a snapshot in RDS?

A

A new RDS instance is created when you restore from a snapshot. You will need to update with the new instance name in your database

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

In RDS, what HA setup is used for both Synchronous and Asynchronous replications?

A

In RDS the following are the setups for each type of replication:

Synchronous replication = multi AZ
Asynchronous replication = Read replicas

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

If you are running a single instance RDS, how do you add a standby instance to this setup?

A

-Select your RDS database
-Modify
-Select create a standby database instance

RDS then creates the instance and DB in another AZ. Data is synchronously replicated from the primary to the new standby.

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

What happens when a primary RDS instance fails in a primary/standby scenario?

A

Upon failure, the CNAME of the db will change to point at the standby db instance. Standby then becomes the primary.

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

What are some use cases for Aurora Serverless?

A

Infrequently used applications, New Applications, Variable or unpredictable workloads, Test and DEV databases.

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

What is RDS Proxy?

A

A fully managed, DB proxy for RDS that handles connections between application and DB. Helps with connection load stress directly on the DB.

Auto scaled and HA. Provides connection pooling. Only accessible from VPC.

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

When should you use RDS proxy?

A

-When your DB is getting too many connection errors
-When using Lambda functions to your DB
-RDS can be used to reduce failover time for the DB

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

What is Database Migration Service (DMS) ?

A

The Database Migration Service (DMS) is a managed service which allows for 0 data loss, low or 0 downtime migrations between 2 database endpoints.

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

What are the 2 ways to use SSL to connect to your SQL Server DB instance in AWS?

A

-Force SSL for all connections
-Encrypt specific connections

17
Q

What AWS feature can be used to authenticate to your DB with an auth token and not a password?

What DB engines is it compatible with?

A

IAM DB Authentication works with MySQL and PostgreSQL to allow DB authentication using an auth token

18
Q

In order to encrypt traffic from APP to DB using specific connections, what must be done in the environment?

A

To use SSL from a specific client, you must obtain certificates for the client computer, import certificates on the client computer, and then encrypt the connections from the client computer.

-Example: Download the Root CA certificate, import the cert to your server and configure the application to use SSL to encrypt connects to your DB (RDS)

19
Q

If you have a single Aurora instance (no Aurora replica), what happens during failover for the single instance ?

A

Aurora will attempt to create a new DB Instance in the same Availability Zone as the original instance and is done on a best-effort basis.