Databases Flashcards

1
Q

What are the RDS Database types?

A

1) SQL Server
2) Oracle
3) MySQL
4) PostgreSQL
5) MariaDB
6) Amazon Aurora

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

What workloads is RDS used for?

A

OLTP (Online Transaction Processing)

A transactional or OLTP (online transaction processing) workload is a workload typically identified by a database receiving both requests for data and multiple changes to this data from a number of users over time where these modifications are called transactions.

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

What workloads is Redshift best for?

A

OLAP (Online Analytical Processing)

OLAP systems retrieve and manipulate data through complex queries and scans, organizing the data into different multidimensional views or reports for in-depth analysis.

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

What is a Read Replica?

A

Is a read only copy of your database

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

Can a read replica be in a separate AZ or region?

A

Yes

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

Can you use a Read Replica for disaster recovery?

A

No

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

Can you upgrade a Read Replica do be its own database?

A

Yes

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

When you upgrade a Read Replica database to its own database does it still get replication from the original database?

A

No

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

Do Read replicas require automatic backup?

A

Yes

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

What is the max number of read replicas you can have per Database instance?

A

5

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

Can you use a Multi-AZ backup DB as a read replica?

A

No, the database is only a copy of the main one and on standby if there is a failure from the first one.

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

What is Amazon Aurora?

A

A MySQL and Postgres compatible relational database engine

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

How much better performance does Aurora have over MySQL

A

5x

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

How much better performance does Aurora have over Postgres?

A

3x

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

Whats the starting size of an Aurora DB?

A

10gb

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

What size increments does aurora scale in?

A

10gb

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

What is the max size of Aurora storage autoscaling?

A

128TB

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

What is the max scale of compute resources for Aurora?

A

96vCPUs and 768 GB of memory

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

How many copies of your data are there in total with Aurora by default?

A

6
2 in every availability zone with a minimum of 3 availability zones

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

Can you share Aurora snapshots across accounts?

21
Q

What are the three types of replicas available to Aurora?

A

Aurora, Mysql, Postgress

22
Q

Is automatic failover available for all Aurora replica types?

A

No, only Aurora Replicas and not Mysql and Postgres

23
Q

Does Aurora have automated snapshots?

24
Q

Is Dynomo DB Data stored on HDD or SSD?

25
How many geographically distinct data centers is Dynamo DB data spread across?
3
26
By default what read type does Dynamo DB have?
Eventually consistent reads
27
Can you have strongly consistent reads configured in Dynamo DB?
Yes
28
What is eventually consistent reads?
Consistency across all copies of data is usually reached within a second. Repeating a read after a short time should return the updated data. best for read performance
29
What is strongly consistent reads?
A strongly consistent read returns a result that reflects all writes that received a successful response prior to the read
30
What does ACID stand for?
Atomicity, Consistency, Isolation, and Durability
31
If Dynamo DB has ACID Requirements what do you need to configure?
DynamoDB Transactions
32
What does ACID basically mean?
All-or-Nothing transactions.
33
Is Point-in-time-recover (PITR) Enabled by default for Dynamo DB?
No
34
What is the latest restorable time for a PITR in DynamoDB?
5 minutes
35
How far back can you go in a PITR for DynamoDB?
35 days
36
What does PITR protect from?
Accidental writes or deletes
37
What do DynamoDB Global tables do?
It gives multi master multi region replication.
38
Do you need to enable dynamoDB streams for global tables to work?
Yes
39
How long is Replication latency for DynamoDB Global Tables?
Under 1 second
40
What is Amazon DocumentDB?
A way of running MongoDB workloads on an AWS environment.
41
What is Cassandra?
A distributed database that uses noSQL
42
What is Amazon Keyspaces?
Allows you to run your Cassandra services on AWS that managed by AWS
43
What is a Graph Database?
A database that stores nodes and relationships instead of tables or documents
44
What is Amazon Neptune?
AWS's Graph database offering
45
What is Amazon Neptune?
AWS's Graph database offering
46
What is a Ledger DB?
NoSQL Database that is immutable, transparent, and a cryptographically verified transaction log that is owned by one authority. You can not update a record in a ledger database. instead, an update adds a new record to the database.
47
What is QLDB?
Quantum Ledger Database Amazons way of doing a ledger database.
48
What is time-series data?
Datapoints logged over time
49
What is Amazon TImestream?
AWS's timeseries DB solution