Database Flashcards

1
Q

The DynamoDB single item storage limit that can be added to a DynamoDB table is:

A

400kb

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

Is DynamoDB is a NoSQL database?

A

Yes

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

DynamoDB does or does not support interface endpoints

A

Does not

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

Your company has created a data warehouse using Redshift that is used to analyze data from Amazon S3. From the usage pattern, you have detected that after 30 days, the data is rarely queried in Redshift and it’s not “hot data” anymore. You would like to preserve the SQL querying capability on your data and get the queries started immediately. Also, you want to adopt a pricing model that allows you to save the maximum amount of cost on Redshift.

What does Athena do?
Glacier or Standard IA after 30 days? and why?

A

athena allows for sql queries to be run on s3 buckets

standard IA because data must remain readibly availalble unlike with glacier that takes time to recover

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

A company has noticed several provisioned throughput exceptions on its DynamoDB database due to major spikes in the writes to the database. The development team wants to decouple the application layer from the database layer and dedicate a worker process to writing the data to DynamoDB.

Which middleware do you recommend on using that can scale infinitely and meet these requirements?

Why not Kinesis data streams?

A

kinesis data streams cannot scale infinitely, but SQS can.

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

Why is this statement wrong:

Provision EC2 with Windows OS, attach multiple EBS volumes, and move all media files

A

multiple EBS volumes are supported only for linux, not Windows

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

When RDS applies OS changes, what is the sequence?

standby upgraded first, primary upgraded first, both upgraded at same time…?

A

the standby is upgraded, then promoted to primary
then old primary is upgraded as secondary.

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