Performant Architectures Flashcards

1
Q

Best practices for performant architecture

A

performant storage and databases
apply caching
for elasticity and scalability

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

static content

A

offload to s3 instead of keeping it on servers. takes the load off your websever. EBS only used to serve dynamic content

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

Use cases for Amazon RDS

A

Complex transactions
medium to high query or wite rate
no more than a single worker node(master) per shard
high durability(also available in dynamo DB)

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

Do not use RDS when

A

Massive read write rates
sharding
simple get put
RDBMS customization

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

Dynamo DB is suited for

A

key value access patterns

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

Dynamo DN

A

You don’t specify how much space you need. It grows as your data footprint changes

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

What throughput do you configure in Dynamo DB

A

RCU and WCU.
Read capacity unit. ( 1 RCU = 1 strongly consistent per second, 2 eventually consistent read per second) 4KB in size
1 WCU 1KB in size
Dynamo DB scales the table as per the requirement

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

cloudfront can be used for both static and dynamic

A

You can seve with TTL of zero. It is not for caching . The read and write is happnning over AWS backbone network and not on internet.

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

cloudfront dynamic content origin

A

ELB or EC2, http servers

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

cloudfront static content origin

A

S3

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

Implement elasticity with ASG, ELB and cloudwatch

A

Cloudwatch monitor instances
raise alarms when metrics exceed threashold
SNS intercepted by ASG.

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

What can cloudwatch monitor

A

CPU, queue size, network utilization

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

storage solution for unstructured data that is generally preferred

A

S3

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