Databases Flashcards

1
Q

What is the retention period for automated backups?

A

Between 1 - 35 days

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

What are the differences between automated backups and snapshots?

A

Automated backups are enabled by default
DB snapshots are done manually
DB snapshots remain after the RDS instance has been deleted

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

What happens when you restore an automated backup or snapshot?

A

The restored version of the DB will be the new RDS instance with a new endpoint.

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

Why would you use Multi-AZ?

A

For Disaster Recovery

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

How could you resolve connectivity issues between EC2 and RDS instances?

A

Add an inbound rule in the security group of the RDS for MySQL on port 3306 and whitelist EC2 security group

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

How do you encrypt an unencrypted RDS instance?

A

Create a snapshot
Make a copy of snapshot
Choose Encryption

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

What is Redshift?

A

Data Warehousing service

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

What is ElastiCache?

A

AWS in-memory cache

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

What 5 databases support Multi-AZ?

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

Why would you use Read Replica?

A

For high read databases

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

Can you encrypt EBS root volumes?

A

Yes but not default AMIs. First, copy the AMI and encrypt in process

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

What are the lowest cost EBS options?

A

ST1 - Throughput Optimized

SC1 - Cold

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

What is a RAID array?

A

Redundant Array of Independent Disks

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

What 4 types of EBS Volumes are there?

A

GP2 - General Purpose SSD
Io1 - Provisioned IOPS SSD
SC1 - Cold HDD
ST1 - Throughput Optimized HDD

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

What type of storage is EFS?

A

Block Based

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

How do you move an EBS volume from one AZ to another?

A

Create a snapshot

Create a new volume from the snapshot in a new AZ

17
Q

What kind of volume can you NOT upgrade/modify after instance launch?

A

Magnetic

18
Q

What does a Read Replica do?

A

Allows for a read-only copy of your prod database, which uses async replication.

19
Q

Can you SSH into an RDS instance to see whats going on?

A

No

20
Q

What port does MySQL default to?

A

3306

21
Q

What 4 databases support Read Replicas?

A

PostgreSQL
Aurora
MySQL
MariaDB