Databases Flashcards Preview

AWS solutions Architect > Databases > Flashcards

Flashcards in Databases Deck (54)
Loading flashcards...
1
Q

What is a relational database?

A

A database made up of tables, uses keys to relate certain tables to other tables

2
Q

What is each entry in a relational database called

A

a row

3
Q

What is Amazon Auraura

A

A relational database engine designed to be compatible with mySQL.

4
Q

How many AZs does Auraura place your dbs in

A

3

5
Q

What happens if a database in Aurara fails

A

its automatically replaced.

6
Q

What is Aurara managed by?

A

RDS

7
Q

Are you billed for creating Aurora snapshots?

A

yes

8
Q

Are you billed for sharing Aurora snapshots?

A

no

9
Q

Is there a limit to the number of Aurora replicas you can have?

A

yes 15

10
Q

What configuration can you launch Aurora in to be secure?

A

VPC - and only VPC

11
Q

What is RDS

A

managed service for setting up, operating, and scaling a relational database in the cloud

12
Q

How do you back up databases and keep software up to date on your data base with RDS

A

this is done automatilally with RDS

13
Q

Can you deploy a database across multiple AZs with RDS?

A

yes, it’s an option you can select

14
Q

[RDS] what is a database instance?

A

a db environment in the cloud with the compte and storage resources you specify.

15
Q

what is the API and cli command for tetrieving db instance descriptions?

A

DescribeDBInstances (API)

describe-db-instances (cli)

16
Q

How do you partition and re-partition data on Dynamo as your datastore grows?

A

You dont, it’s done automatically

17
Q

What is the I/O performance and latency of DynamoDB?. what helps achieve this

A

high I/O, low latency. SSDs help achieve this

18
Q

Is dynamo a good choice for petabytes of data with moderate reads and frequent writes?

A

not the best. Stoarge cost per GB is high.

19
Q

is dynamo a good choice for gigabytes of data and very frequent reads and writes?

A

yes

20
Q

What is the difference between DynamoDB and SimpleDB?

A

SimpleDB has a storage limit, limited request capacity it can achieve, and unmanaged partitioning and respartitioning of data to addiditonal SimpleDB servers. Dynamo is all managed and auto scaling

21
Q

What is the size limit on a dynamoDB item?

A

400KB

22
Q

what is the consistency of dynamoDB Scans?

A

Eventual consistency, however, you can modify scans to be consistent reads using the optional ConsistendRead parameter

23
Q

What is a collection in dynamodb

A

a table

24
Q

what is a document in dynamodb

A

a row

25
Q

what is a key/value pair in dynamodb

A

a field

26
Q

What is Data Wharehousing

A

used for bisiness intelligence. Fro pulling in very large complex data sets. It allows you to run OLAP queries by essentially copying production data into an archive.

27
Q

What is ElasticCache

A

a web service that makes it easy to deploy, operate, and scale an in-memory cache in the claud.
It can cache the most frequently access queries, and takes that load off of your db

28
Q

What is DMS

A

Database Migration Service. Allows you to migrate your prod database to AWS. Can do datatype transformation, compression, and parallel transfer.

29
Q

What is the DMS schema conversion tool

A

allows you to convert one type of data to another. Such as oracle database and convert to free mysql database

30
Q

What are the 2 types of backups for AWS RDS

A

Automated Backups and Database snapshot

31
Q

whats an Automatied Backup

A

Allow you to recover your database to any point in time within a “retention period” (1-35 days)

32
Q

What impacts happen on the database when an automate backup is being taken

A

storage io may be suspended and elevated latency might occur.

33
Q

Whats a DB Snapshot

A

Done manually and stored even after RDS instance deleted.

34
Q

What can help Disastar Recovery in RDS

A

Multi-AZ

35
Q

can you use multi-AZs for performance increase?

A

No, it’s for Disaster Recovery only

36
Q

How is a read replica different from multi-az

A

read replica copies your db for additional reads from instances, can boost performance. multi-az only does failover to the copied az and is for disaster recovery.

37
Q

Do read replica share dns point with its parent db?

A

no

38
Q

Does RDS need to scale manually

A

yes

39
Q

Whats the best db pick for autoscaling of db?

A

DynamoDB

40
Q

What are the two types of DynamoDB read consistency

A
Eventual consistency (defalut) less than a sec for all writes to return updated doc.
Strong consistency - returns a result that reflects all writes that received a successful response prior to the read
41
Q

how many units is dynamo write through put charged

A

10

42
Q

read throughput charged every how many units?

A

50

43
Q

What is dynamo pricing

A

read/write throughput plus amount of data

44
Q

dynamo - how many reads per what unit can a write or read capacity unit handle

A

one read/write per second.

45
Q

Is dynamo more expensive for reads, writes, or storage,

A

expensive for writes, cheap for the other p much

46
Q

What is Redshift

A

fast and powerful fully managed, petabyte-scale data data-warehouse service

47
Q

What types of nodes are on Redshift

A

Leader Node - manages client and connections and receives queries, and compute notes, that performs queries and computation.

48
Q

How is redshift storing data and what is the advantage of that

A

stores in columns and sequentially. It requires less io, and supports advanced compression.

49
Q

is redshift multi-az?

A

no, 1 az only

50
Q

What is Elasticache

A

makes it easy to deploy operate and scale an in-memory cache in the cloud. Most frequent information asked for can be cached in the front end.

51
Q

What is Memcached

A

a widely adopted memory abject caching system

52
Q

What is Redis

A

popular open source key-value store that supports data structures such as stored sets and lists

53
Q

If a database is too read heavy, whats a good service to aleviate that?

A

Elasticache

54
Q

If theres lots of managment OLAP transactions, or other heavy batch read/writes adding stress to a db, what is a good service to alleviate that?

A

Redshift