RDS & DynamoDB Flashcards

1
Q

eventually consistent vs strongly consistent reads

A

“Strongly consistent returns the most up to date data but may take longer to get >1sec
eventually consistent returns whatever is currently in the system which may not include recent updates”

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

What is a CNAME used for?

A

“Canonical Name
Points one domain address to another
often a sub domain (ft.mydomain.com) to it’s main domain(www.mydomain.com)”

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

What is the failover mechanism feature?

A

A safety feature that automatically changes the DNS CNAME record of DB instances to point to backup instances in the event of failure

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

What is Aurora?

A

“A MySQL and PostreSQL compatible relational database built for the cloud
High performance and availability at 1/10th the cost”

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

What is provisioned throughput capacity?

A

“A setting that needs to be configured when creating a DynamoDB
Writes are more expensive than reads
Because of this read heavy applications work well on DynamoDB”

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

What is a primaryKey in DynamoDB?

A

“Primary Key is either
Partition key
Partition key and sort key (essentialy a way to improve look up potential)”

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

What causes DynamoDB to reject requests?

A

“Tables are aranged poorly so that queries overburden one partition too much
Adaptive capacity is a feature that borrows capacity from other partitions, mitigating poor table design for most cases”

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

What is the RCU and WCU limits per partition?

A

“Read capacity units - 3000

Write capacity units - 1000”

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

In DynamoDB what is a GSI?

A

“Global Secondary Index
A feature to reduce the use of scan and filerExpression on the data
Allows you to query a table by a row that is not the primary key
GSI clones your primary table using your new Partition Key, but keeps these two tables in sync”

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

Which database service supports schema changes?

A

Aurora

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

What is the Elasticache Service?

A

Caches all th ecommon queries so data sets will be fetched from the cache rather than the database

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

Standby vs Read Replica

A

“uses synchronous replication between primary and standby systems
read replicas use asynchronous replication”

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

What is Multi-region replication or Global tables?

A

“AWS managed multi-region, multi-master database
Every region has their own table and AWS ensures that they are synced within 3 seconds
Only enabled on tabels with
no data (empty table)
tables with the same name and structure”

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

transporting from redshift to S3 within VPC

A

create and configure S3 VPC endpoint. enable redshift enhanced VPC routing feature.

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

What is Redshift?

A

An AWS columnar datastore

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

What feature creates copies of Redshift in other regions

A

“Cross-Region Snapshot

copies can be created automatically or manually”

17
Q

What feature provides enhanced availability an durability for RDS?

A

“RDS multi-az deployment
Amazon automatically creates a primary DB instance and synchronously replicates the data to a standby instance in a different AZ”

18
Q

What is DynamoDB streams?

A

An ordered flow of information about changes to items in a DynamoDB table

19
Q

process of automated backup of Amazon RDS

A

“storage volume snapshot of database instance is created once daily
for restoring at a specific point in time best practice is to capture transaction logs every 5 minutes in an S3 bucket”

20
Q

What Redshift feature ensures all traffic to and from it are within the VPC?

A

Enhanced VPC routing