Databases Flashcards

1
Q

What databases are available on RDS?

A

MySQL, SQL Server, PostgreSQL, Oracle, Aurora, MariaDB

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

Which database service would you choose for OLTP?

A

RDS

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

Which database service would you choose for OLAP?

A

Redshift

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

What caching services does Elasticache use?

A

Redis and Memcached

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

What can you provision for higher performance in RDS?

A

RDS Read Replicas to scale reads

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

What disaster recover solution is available for RDS?

A

Multi-AZ RDS deployments are perfect for DR; you can manually trigger a failover, too

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

What two types of backups are available for RDS?

A

Automatic (which are enabled by default and are stored for free in S3) and Snapshots, which are manual and incremental and ar stored even after you delete your RDS

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

What is the default retention period for RDS backups?

A

35 days

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

How many availability zones is DynamoDB available in by default?

A

3 AZs

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

What is the default read model for DynamoDB?

A

Eventual Consistent reads, which consistency is reached by 1 second

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

What kind of consistency can be enabled to reach consistency in less than 1 second?

A

Strongly consistent reads

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

How many tables can you have per AWS Account for DynamoDB?

A

256/region

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

What is the maximum item size in DynamoDB

A

400KB

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

What is the maximum item size in DynamoDB

A

400KB

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

What are the primary cost components of DynamoDB

A

Pay for reads and writes by the mullion request units and for data storage above 25GB/month

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

True or False: you pay for DynamoDB Data transfer to AWS services within the same region?

A

False

17
Q

How many copies of your data does Aurora store by default?

A

6: 2 copies in 3 availability zones

18
Q

True or False: You can share RDS Aurora snapshots across AWS accounts?

A

True

19
Q

How many availability zones can you have with Redshift?

A

Only available in 1 AZ

20
Q

What is the max retention for Redshift backups?

A

35 days

21
Q

How many copies of data will Redshift attempt to maintain?

A

3: the original, one is S3 and the replica

22
Q

What scale of data can Redshift handle?

A

Up to Petabytes

23
Q

What advantages does Redshift have over traditional data warehouse technologies

A

Columnar data storage, advanced compression, no need for indices, scalability, massively parallel processing, and Redshift Spectrum for unstructured data in S3

24
Q

Which service can you use to sync your on-premise database to an AWS database?

A

AWS Database Migration Service, which can perform homogenous and heterogenous migrations (and not just to databases, but also to S3, Elasticsearch, Kinesis, DynamoDB, DocumentDB and EC2)