Databases on AWS Flashcards

1
Q

What is RDS?

A

AWS’s relational database service.

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

What is RDS primarily used for?

A

OLTP- Online Transaction Processing

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

What is DynamoDB primarily used for?

A

OLAP- Online Analytics Processing

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

What are the 6 engines currently supported on RDS?

A

1) mySQL
2) Amazon Aurora
3) PostgreSQL
4) MariaDB
5) Oracle
6) SQL server

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

What is Redshift?

A

AWS’s data warehousing solution.

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

What is ElastiCache?

A

Service used to cache frequently used queries to improve performance of existing databases:

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

Name 2 ElastiCache engines?

A

1) Redis- Advanced multi AZ or backups

2) Memcached- Basic caching

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

What does RDS run on?

A

VMs

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

Can you access a RDS?

A

No, you cannot SSH into a RDS vm

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

Who is responsible for patching RDS OSs?

A

AWS is responsible for patching underlying VM of an RDS instance

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

Is RDS serverless?

A

No, but Amazon’s Aurora is serverless

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

Is DynamoDB serverless?

A

Yes

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

What are the 2 types of backups available on RDS?

A

1) Automated backups

2) Database snapshots

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

What is a read replica and why would you use one?

A

Read replica is the process of replicated an RDS instance and using one copy for read only and the primary RDS instance as the read/write instance. It is used to improve the performance of a database.

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

Can read replicas be multi AZ?

A

Yes

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

What must be turned on to activate read replicas?

A

Backups must be turned on to use read replicas

17
Q

Which 5 database engines can use read replicas?

A

1) MySQL
2) PostreSQL
3) MariaDB
4) Oracle
5) Aurora

18
Q

What is RDS multi AZ used for?

A

Disaster recovery

19
Q

Can Encryption be used for an RDS?

A

Yes, this can be done using the AWS key management service

20
Q

What are the 2 key features of RDS?

A

1) Stored on SSD storage

2) Spread across 3 geographically distinct data centers

21
Q

What is the default back up duration for redshift?

A

1 day, but can be changed to 35 days

22
Q

By default how many copies does AWS keep of your Redshift data?

A

3 –> Original, replica on compute node and a back up on S3 (DR)

23
Q

How many copies of you data does Aurora keep by default?

A

Aurora automatically maintains 6 copies of your data across 3 Availability Zones and will automatically attempt to recover your database in a healthy AZ with no data loss

24
Q

Can you share Aurora snapshots with other AWS accounts?

A

Yes

25
Q

Does aurora have auto-back up switched on by default?

A

Yes

26
Q

How many AZ is data spread over by default with DynamoDB

A

1

27
Q

What are the 3 data formats supported by Athena?

A

1) Apache Paraquet
2) JSON
3) Apache ORC

28
Q

How would you run a database from an EC2 instance?

A

Create EC2 instance and use EBS for storage of the database