AWS Architectural Patterns and Global Infrastructure Flashcards

1
Q

What are three ways to instantiate a business system application quickly for EC2, EBS and RDS

A

EC2: Use a golden AMI, user data bootstrap scripts for dynamic config, or use a hybrid of both (Beanstalk)
RDS: Restore from DB snapshots
EBS: Restore from snapshot

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

What are the benefits of container with respect to the cost optimisation pillar (Choose 2)?
A: Can launch Quickly
B: Deliver increases Server Density
C: Easy to replicate server environments
D: Can run using less memory than physical servers

A

B and D. Both of these go to sever density and therefore getting most from your compute. Being able to replicate server environment is nice from a setup perspective, but has nothing to do with cost - same with A.

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

What is EMR and how does it manage cost/resources

A

EMR is Elastic Map Reduce and is used for big data processing i.e HADOOP clusters. EMR will take care of provisioning and configuration of clusters. It supports auto-scaling and integration with spot instances.

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

Why would you choose to use AWS OpsWorks over AWS Systems manager?

A

AWS Systems manager performs actions against AWS resources only - such as automating management tasks.
OpsWorks uses chef and puppet to accomplish the same thing but can be used across clouds

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

When you delete a cloud formation template, what happens to resources created by the template in the stack?

A

All resources provisioned by the template will be deleted

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

What does the name of an AZ always end in?

A

A letter - I.e us-northeast-1a

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

Are availability zones located in the same or multiple data centres

A

AZ’s are spread over multiple AZ’s isolated from each other but close enough for low latency.

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

In a multizone RDS deployment, does this benefit performance or availability?

A

Availability. Deploying RDS in a multizone model provides HA, not performance benefits. Deploying read replicas benefits performance of read heavy workloads.
RDS scales vertically. Multizone HA also allows for auto-fail over.

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

Which AWS service would allow me to see service limits that apply to my account?

A

Trusted advisor

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

What is AWS codebuild and what stage of the devops pipeline does it apply to?

A

Codebuild is a fully managed build tool which compiles code and can be used to run tests. It applies to the build/test phase.

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

Which stage in the devops cycle would you use AWS code commit? What is Code Commit?

A

AWS Code commit is a fully managed Git source control system used in the code/build stage.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
Assuming a CI/CD environment with the following steps:
CODE
BUILD/TEST
DEPLOY & Provision
Which AWS services fit for each stage?
A

CODE: AWS Code Commit
Build/Test: AWS Code Build
Deploy & Provision: Elastic Beanstalk (severless)
Cloud Formation/Code Deploy if you are provisioning your own instances

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

For AWS budgets - How long can it take for a cost allocation tag to appear in the billing and cost management dash board? Can a tag be applied to a resource that was launched before a tag was created?

A

24 hours and No.

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