M8: Databases Flashcards

Module 8

1
Q

Amazon Relational database service

A

Database instance which can contain multiple user created databases
You manage your application optimization
AWS manages installing and patching OS, DB software, automatic backups and high availability. Scales resources, manages power and servers, performs maintenance.

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

Multi AZ deployment of RDS

A

Automatically generates a standby copy of database in another AZ within same region
Synchronously replicates to standby copy

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

When to use RDS

A

Good for Web and mobile applications that need a DB with high throughput, massive storage scalability and high availability
When need complex transactions or complex queries
Medium to high query rate
No more than a single worker node or shard
High durability

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

When not to use RDS

A

If application requires
Massive read / write rates
Sharding due to high data size or throughput demands
Simple GET or PUT requests and queries that a NoSQL DB can handle
Or needs relational DB management system customization

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

RDS pricing

A
Consider clock hours of service time
Database characteristics
Capacity of database
Database engine
Number of databases instances
Database purchase type
Provisioned storage
Data transfer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Amazon DynamoDB

A

Fast and flexible NoSQL database service for all applications that need consistent, single digit latency at any scale
Partitions data and has table storage
Stored on solid state drives
Replicate across AWS regions, encryption at rest, set item time to live

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

Core DynamoDB components

A

Tables: collections of data
Items: groups of attributes
Attributes: fundamental data element

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

DynamoDB primary keys types

A

Partition key

Sort key

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

DynamoDB use cases

A

Good for mobile, Web, gaming, as tech and iot applications

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

Amazon Redshift

A

Fast, fully managed data warehouse
Can use standard SQL
Designed to consistently deliver high performance
Uses columnar storage and massively parallel processing architecture
Automatically backs up data, can be encrypted

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

Amazon Redshift working

A

Leader node manages communications with client programs and compute nodes
Plans
Compiles code for individual elements of the execution plan and assigns the code to individual compute nodes
Can run queries against exabytes of data directly in S3

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

Amazon Aurora

A

MySQL and PostgreSQL compatible relational database
Fully managed
Highly available: multiple copies in AZs and continuous backups
Reduces restart time after crash to less than 60 seconds
Straighforward to set up
Fast, distributed storage subsystem

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

Retrieving data from DynamoDB

A

Query operation: uses partitioning to effectively locate items using the primary key
Scan: locate items in table by matching conditions on non key attributes

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