Design Performant Architecture Flashcards

1
Q

3 design pillar

A
  1. Performant storage and database
  2. Caching
  3. Design for elasticity and scalability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Where to store static content?

A

S3

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

S3 bucket is always belongs to …

A

a single region

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

On S3 you have to pay for 3 things

A
  1. Storage GB/month
  2. Transfer out of the region
  3. API(PUT,COPY,POST,LIST,GET) requests
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

On S3 you don’t have to pay for

A
  1. Transfer into S3

2. Transfer out to CloudFront or into the same region

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

3 database offering

A
  1. Amazon Relational Database
  2. DynamoDB
  3. Redshift
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Redshift is designed to

A

analytics queries (it gives you an sql interface)

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

Amazon RDS

A

is a managed relational database

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

Use Amazon RDS if you need

A
  1. Complex queries/join operations

2. Transactions

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

Amazon RDS will not scale …

A

beyond a single master instance

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

For high volume read/write, the database is …

A

DynamoDB

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

2 Scaling options for RDS

A
  1. Larger master instance

2. Read replicas

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

Which Amazon RDS database engines support read replicas?

A
  1. MySQL
  2. MariaDB
  3. PostgreSQL
  4. Aurora
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

2 ElasticCache Engines

A
  1. Memcached

2. Redis

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

Why use CloudFront to dynamic content?

A

Use the Amazon infrastructure instead of public internet

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

What can be origin for static content for CloudFront?

A

S3

17
Q

What can be origin for dynamic content for CloudFront?

A

EC2, ELB, (some) HTTP server