Database Flashcards

1
Q

What is OLAP

A

Online Analytical Processing Redshift

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

Which of the following data formats does Amazon Athena support?

A

Apache ORC Apache Parquet JSON

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

If you want your application to check RDS for an error, have it look for an __ code in the response from the Amazon RDS API.

A

Error

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

MySQL installations default to port number ____.

A

3306

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

RDS Reserved instances are available for multi-AZ deployments.

A

True

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

In RDS, changes to the backup window take effect ____.

A

Immediately

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

what is the maximum size RDS volume you can have by default

A

16TB

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

With new RDS DB instances, automated backups are enabled by default?

A

True

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

Which set of RDS database engines is currently available?

A

Oracle, SQL Server, MySQL, PostgreSQL

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

OLTP

A

(Online Transactional Processing) RDS

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

Which AWS DB platform is most suitable for OLTP?

A

RDS

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

How many copies of my data does RDS - Aurora store by default?

A

6

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

In RDS, what is the maximum value I can set for my backup retention period?

A

35 Days

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

You are hosting a MySQL database on the root volume of an EC2 instance. The database is using a large number of IOPS, and you need to increase the number of IOPS available to it. What should you do?

A

Add 2 additional EBS SSD volumes and create a RAID 0 volume to host the database. Why is this incorrect? CloudFront does not increase IOPS, CloudFront is a Content Delivery Network that helps deliver content closer to the consumers of the content. Correct Answer: B Why is this correct? RAID 0 provides performance improvements compared with a single volume as data can be read and written to multiple disks simultaneously. 2 disks, each with a bandwidth of 4,000 IOPS will provide a combined bandwidth of 8,000 IOPS.

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

Which of the following DynamoDB features are chargeable, when using a single region?

A

Read and Write Capacity Storage of Data

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

RDS and Elasticache

A

You should consider; using ElastiCache, using RDS Read Replicas Scaling up may also resolve the contention, however it may be more expensive than offloading the read activities to cache or Read-Replicas. RDS Multi-AZ is for resilience only.

Boosting MySQL database performance with Amazon ElastiCache for Redis

Relational databases are a cornerstone of most applications. When it comes to scalability and low latency though, there’s only so much you can do to improve performance. Even if you add replicas to scale reads, there’s a physical limit imposed by disk based storage. The most effective strategy for coping with that limit is to supplement disk-based databases with in-memory caching.

https://aws.amazon.com/getting-started/hands-on/boosting-mysql-database-performance-with-amazon-elasticache-for-redis/

17
Q

Which of the following strategies does AWS use to deliver the promised levels of DynamoDB performance?

A

Data is stored on Solid State Disks.

The Database is partitioned across a number of nodes.

DynamoDB makes use of parallel processing to achieve predictable performance. You visualise each partition as an independent DB server of fixed size. Each responsible for a defined block of data. In SQL terminology it is called sharding. The documentation is specific about the SSDs, but makes no mention of read-replicas or EBS-Optimised. Caching in-front of DDB is an option (DAX), but it is not inherent to DDB.

18
Q

You have a database-style application that frequently has multiple reads and writes across the data set. Which of the following AWS storage services are capable of hosting this application?

thumb_upthumb_down

A

Elastic File Service (EFS)

EBS

NOT S3