Databases Flashcards

1
Q

What 6 relational databases are available with AWS RDS?

A

SQL server, PostregreSQL, Oracle, MariaDB, MySQL, Aurora

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

What does OLTP stand for?

A

Online transaction processing

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

What is OLTP?

A

OLTP is the processing of data from transactions in real time

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

What does OLAP stand for?

A

Online analytical processing

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

What is OLAP?

A

OLAP is the processing of complex queries to analyze historical data

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

What does Multi-AZ RDS do?

A

Creates an exact copy of production database in another AZ

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

What is a read replica?

A

a read-only copy of your database

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

Can read replicas be cross region?

A

Yes

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

Why don’t read replicas have its own DNS end point?

A

It does

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

Can read replicas be promoted to their own databases?

A

Yes

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

What specific setting is required for read replicas to be enabled?

A

Automatic backup

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

How many read replicas can you have per database?

A

5

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

What is Amazon Aurora?

A

a MySQL and PostgreSQL compatible relational database engine that combines the speed and agility of high end commercial databases with the simplicity and cost effectiveness of open source databases

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

How much space does Aurora start with?

A

10 GB

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

How many copies are of your data are guaranteed with Aurora? How is this composed?

A

6 copies. 2 copies in 3 AZ

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

Is the Aurora database self-healing?

A

Yes

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

In what platforms can you have replicas?

A

Aurora, MySQL, PostgreSQL

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

Are backups automated for Aurora?

A

Yes

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

How much do backups impact Aurora database performance?

A

Not at all

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

What is Aurora serverless?

A

An on-demand auto scaling configuration for the MySQL and PostgreSQL compatible editions of Aurora.

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

What are the benefits of Aurora Serverless DB Cluster?

A

An Aurora DB cluster automatically starts up, shuts down, and scales capacity up or down based on your applications needs

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

What are Aurora serverless use cases?

A

When you need a relatively simple, cost effective option for infrequent or unpredictable workloads

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

Can you share your Aurora snapshots with other accounts?

A

Yes

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

Are automated backups default for Aurora?

25
What is DynamoDB?
A fast and flexible NoSQL database service
26
What data models does DynamoDB support?
document and key-value data models
27
Is DynamoDB fully managed?
Yes
28
What are some examples where DynamoDB would be a great fit?
Mobile, web, gaming, ad-tech, IoT
28
What is the latency for DynamoDB?
Single digit millisecond
29
What storage service type does DynamoDB use?
SSD
30
Where is DynamoDB spread across?
3 geographically distinct data centers
31
Is strongly consistent reads or eventually consistent reads default?
eventually consistent
32
What is DAX?
DynamoDB Accelerator is a fully managed, highly available, in-memeory cache service for DynamoDB
33
By what factor does DAX improve DynamoDB?
10x
34
How is pricing structured for DynamoDB?
Pay per request
35
What is the encryption type at rest for DynamoDB?
KMS
36
What does ACID stand for?
ATOMIC, Consistent, isolated, durable
37
What does atomic in ACID mean?
All changes to data must be successful or no changes at all
38
What offering makes DynamoDB ACID?
DynamoDB transactions
39
What is DynamoDB Backups?
An on demand backup and restore service
40
What does DynamoDB Global Tables give you?
Manger multi master multi regional replication
41
What needs to be enabled for DynamoDB global tables?
DynamoDB streams
42
What is MongoDB?
A document database that allows for scalability and flexibility with your data as well as robust querying and indexing features
43
What is Amazon DocumentDB?
Allows you to run MongoDB on the AWS cloud. It’s a managed database service that scales with your workloads and safely and durably stores your database information
44
What is the advantage of AmazonDB over MongoDB?
Get rid of operational overheads like cluster management software, configuring backups, monitoring workloads
45
What is Cassandra?
A distributed database (ie it runs on many machines) that uses NoSQL
46
When is Cassandra typically used?
For big data solutions
47
What is Amazon keyspaces?
Amazons Apache Cassandra database service. Allows you to run Cassandra workloads on AWS.
48
What is the advantage of AWS keyspaces over Cassandra?
It is fully managed database. No need to worry about managing servers, software patching, etc.
49
Is Amazon keyspaces serverless?
Yes
50
What is Amazons graph database service?
Neptune
51
What is a ledger database?
It is a NoSQL database that is immutable, transparent, and has a cryptographically verifiable transaction log that is owned by one authority
52
What is Amazon Quantum Ledger Database?
QLDB is a fully managed ledger database that provides a transparent immutable and cryptographically verifiable transition log
53
What is Amazon timestream?
A fully managed database service for time series data
54
Is RDS suitable for OLAP or OLTP?
OLTP
55
What are read replicas meant to improve?
Scaling (improves read performance) not distasteful recovery
56
What is DynamoDB PITR?
Point in time recovery protects against accidental writes or deletes. Can restore any point in the last 35 days
57
What are the 4 ways you can scale an RDS in AWS?
Vertical scaling, scaling storage, creating read replicas, aurora serverless
58
What is the big thing you should be wary of when scaling storage?
it cant't be scaled back down