RDS Flashcards

1
Q

What is RDS?

A

Managed DB Service

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

How do backups work in RDS?

How often are the logs backed up?

What is the most recent restore time for RDS instances?

How long are the logs retained for RDS?

A

Full backup nightly.

Log backup every 5 min.

Restore from any point in time from oldest backup to 5 min ago

7-35 day retention

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

Talk about Storage Autoscaling in RDS and kind of workloads is it good for?

What must you set for Storage auto-scaling?

A

RDS allows you to enable storage autoscaling.

Must set a max amount. You can also set autoscale threshold

Useful for applications with unpredictable workloads
Supported by all rds db engines

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

What are the features of RDS Read replicas (Read only)?

How many read replicas can there be?

Where can these replicas be located?

Is replication async or sync?

Can a read replica be promoted to it’s own DB?

What is a good use case for a read replica?

Is there any cost for a read replica in the same region?

A

Up to 5 read replicas

Within AZ, Cross AZ or Cross Region

Replication is async (Eventually consistent)

Yes

Good for reporting

No cost for read replicas within the same region.

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

How Does RDS MultiAZ (Disaster Recovery) work?

Can a Single AZ RDS be moved to MultiAZ with zero down time?

What is the use-case for RDS MultiAZ?

A

Synchronous replication
One DNS Name
Automatic failover
Not used for scaling

Yes, just modify the DB in the console

Disaster recovery

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

How does RDS Encryption work?

A

At-Rest (AWS KMS- AES256)

If master is not encrypted replicas are not encrypted

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

When is RDS encryption defined?

A

Encryption has to be defined at launch

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

In RDS what is available specially for Oracle and SQL Server?

A

Transparent Data Encryption (TDE) available for Oracle and SQL Server

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

In RDS what must be forced on Postgres and MySQL?

A

SSL Encryption must be forced on Postgres and MySQL

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

How is security encryption enabled/disabled in RDS?

A

Encryption cannot be added by configuration after the DB has been created. A snapshot must be created and copied as encrypted, then restored
Un-encrypted dbs are snapshotted as unencrypted by default and vice versa

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

What do IAM policies control in RDS

What is IAM based authentication used for in RDS?

A

Who can manage AWS RDS through the RDS API and console

Logging into RDS, MySQL and Postgres

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

What are the benefits of IAM authentication?

A

Works with MySQL and Postgres
No password needed just a token obtained through RDS service
Network traffic encrypted using SSL
IAM to centrally manage users instead of DB
Can leverage IAM Roles and EC2 instance profiles for easy integration

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

What are your responsibilities when it comes to security for RDS?

A

Check ports, IP, Security groups inbound rules
In database user creation and permissions or manage through IAM
Creating a database with or without public access
Assure parameter groups or DB is configured to allow only SSL connections

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

What are the responsibilities of AWS when it comes to security for RDS?

A

No SSH access
No manual DB patching
No manual OS patching
No way to audit the underlying instance.

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