Databases Flashcards

1
Q

Is S3 a database?

A

Yes. For big objects, backups, archives.

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

What are Joins in databases and what kind of database is good for this feature?

A

A JOIN is a SQL instruction. used to query combined data from different tables by using values common to both tables.

If you need to use joins, you need a relational database.

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

What are good databases for performing JOINS or online transactions?

A

SQL DBs: RDS, Aurora.

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

What kind of database you need if you need a more flexible option to store data?

A

A no SQL database like DynamoDB.

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

What are good options of databases for caching?

A

DAX to use with DynamoDB.
Elasticache for caching other databases, like RDS, etc.

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

What are great databases for data warehouses?

A

Redshift, Athena, EMR.

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

What database is great when database usage has sudden big spikes?

A

DynamoDB

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

What database is great when you have rapidly evolving schemas?

A

DynamoDB

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

What is a great database that can work as a serverless cache?

A

DynamoDB

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

What is a great database for very big objects?

A

S3.

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

How does AWS implement mongodb?

A

With DocumentDB

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

What kind of db is mongodb?

A

noSQL.

AWS Managed similar to aurora. It doesn’t have a serverless option.

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

What is a great database to store, query and index json data?

A

MongoDB

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

How does documentdb work?

A

Very similar to aurora, but for mongodb.

Managed db.
HA across 3 AZ.
Auto scaling storage and throughput.

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

What is a great database for graphs or charts?

A

Neptune.

Great for creating databases for interconnected data. Like for example a use case would be a social network.

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

What are neptune streams?

A

A history of all changes made to your neptune graph, in order.

Useful to send notifications.
Stream data is accessible through rest api.

17
Q

Which AWS Services uses Apache Cassandra?

A

Amazon Keyspaces

18
Q

What is a great database for a ledger?

A

Amazon QLDB (Quantum ledger Database).

19
Q

What are the general characteristics of QLDB?

A

Its immutable.
For Ledgers.
Fully managed.
Serverless.
HA 3 AZ.

20
Q

Use cases pf QLDB?

A

To review the history of all changes made to your application data.

21
Q

What is a great service for storing time series data?

A

Amazon Timestream.

Time series is data that has a year related to it.

22
Q

What is the main advantage of using timestream instead of a relational database?

A

1000s times faster and 1/10th the cost of a relational database.

Handles time-stamped data better.

23
Q

Which database is redis compatible?

A

Elasticache

24
Q

You want to migrate an on-premises MongoDB NoSQL database to AWS. You don’t want to manage any database servers, so you want to use a managed NoSQL Serverless database, that provides you with high availability, durability, and reliability, and the capability to take your database global. Which database should you choose?

Amazon RDS
Amazon DynamoDB
Amazon DocumentDB
Amazon Aurora

A

Amazon DynamoDB

DocumentDB is not serverless.

25
Q

What is the best database for Online Transaction Processing (OLTP)?

A

Postgre. For aws its RDS or Aurora.