AWS Architectural Patterns and Global Infrastructure Flashcards
What are three ways to instantiate a business system application quickly for EC2, EBS and RDS
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
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
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.
What is EMR and how does it manage cost/resources
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.
Why would you choose to use AWS OpsWorks over AWS Systems manager?
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
When you delete a cloud formation template, what happens to resources created by the template in the stack?
All resources provisioned by the template will be deleted
What does the name of an AZ always end in?
A letter - I.e us-northeast-1a
Are availability zones located in the same or multiple data centres
AZ’s are spread over multiple AZ’s isolated from each other but close enough for low latency.
In a multizone RDS deployment, does this benefit performance or availability?
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.
Which AWS service would allow me to see service limits that apply to my account?
Trusted advisor
What is AWS codebuild and what stage of the devops pipeline does it apply to?
Codebuild is a fully managed build tool which compiles code and can be used to run tests. It applies to the build/test phase.
Which stage in the devops cycle would you use AWS code commit? What is Code Commit?
AWS Code commit is a fully managed Git source control system used in the code/build stage.
Assuming a CI/CD environment with the following steps: CODE BUILD/TEST DEPLOY & Provision Which AWS services fit for each stage?
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
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?
24 hours and No.