Database Flashcards

1
Q

DynamoDB 101:

A

NoSQL, fast and flexible, consistent, single-digit millisecond latency at any scale. Stored on SSD; Spread Across 3 Geo distinct datacentres;

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

DynamoDB Consistency Mode:

A

Eventual Consistency Reads (Best read performance) and Strong Consistency Reads

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

DynamoDB Pricing:

A

Storage,Provisioned Capacity Unit(Read and Write, Write is much more expensive)

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

Redshift 101:

A

fast,powerful,fully managed, petabyte-scale OLAP service; scalable from $0.25 per hour to $1000 per terabyte*year. less than 1/10 of the cost for other datawarehousing solutions.

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

Redshift Configuration:

A

Single Node 160Gb; Multi-Node:LeaderNode(manages client connections and receives queries),Compute Node(up to 128 in qty to store data and perform queries and computations.)

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

Redshift Performance and Features:

A

(10 times faster)Columnar Data Storage;Advanced Compression (Columnar based data easily compressed much more by automatic sampleing data and select most suitable compression scheme);Massive Parallel Processing(MPP,automatic distribution across all nodes)

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

Redshift Pricing:

A

Compute Node Hours(leader node free);backup;Data Transfer(only within a VPC, not outside it);

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

Redshift Security:

A

Encrypt in transit using SSL;Encryted at rest using AES-256;Default cover key management with other options such as HSM and AWS KMS

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

Redshift Availability:

A

currently only available in 1 AZ as it does not needs redundancy and you outage recovery could be achieved from snapshot.

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

Elasticache 101:

A

a web-based in-memory cloud cache service that is easy to deploy,operate and scale;It helps to take loads off of your disk-based databses.

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

Elasticache Scenario:

A

significantly improve latency and throughput for read-heavy application workloads(social media networking, gaming, media sharing and Q&A portals);compute-intensive workloads(recommendation engine etc.)

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

Elasticache Types:

A

Memcached and Redis(open-source,sorted set and lists,Master/Slave appplication and Multi-AZ)

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

Elasticache Exam Tips:

A

good for read heavy not prone to frequent changing;allevite database from heavy loads OLAP transactions

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

Aurora 101:

A

MySQL-compatible high-end commercial database solution provides up to five performance or similar performance and availablity at 1/10 price.

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

Aurora Scaling:

A

Start with 10GB and autoscaling with a step of 10GB increments to 64TB;Compute resources up to 32vCPUs and 244GB Memory;

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

Aurora Availability:

A

2 copy per AZ*3 AZ = 6 copies; tolerant of 2 copies loss for write availablity and 3 copies loss for read availablity

17
Q

Aurora Replicas:

A

up to 15 Aurora Replicas and 5 MySQL Read Replicas(NOT support automatic failover)