Deployments & Managing Infrastructure at Scale Flashcards

1
Q

What is CloudFormation?

A

A declarative way of outlining your AWS Infrastructure, for any resources (most of them are supported).
Then CloudFormation creates those for you in the right order with the exact configuration that you specify

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

What are the benefits of AWS CloudFormation?

A
  1. No resources are manually created, which is excellent for control
  2. Changes to infrastructure are reviewed through code
  3. Each resource within the stack is tagged with an identifier so you can easily see how much a stack cost you
  4. You can estimate the costs of your resources using the CloudFormation template
  5. Savings strategy: In Dev, you could automation deletion of templates at 5PM and recreate at 8AM, safely
  6. Ability to destroy and re-create an infrastructure on the cloud on the fly
  7. Automated generation of Diagram for your templates
  8. Declarative programming (no need to figure out ordering and orchestration)
  9. Leverage existing templates on the web
  10. Leverage the documentation
  11. You can use ‘custom resources’ for resources that are not supported
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is CloudFormation Stack Designer?

A

A graphic tool for creating, viewing, and modifying AWS CloudFormation templates.

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

What is AWS Cloud Development Kit (CDK)?

A

Lets you define your cloud infrastructure using a familiar language. Code is then compiled into a CloudFormationTemplate(JSON/YAML)

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

What is AWS Elastic Beanstalk?

A

A developer centric view of deploying an application on AWS. Beanstalk = Platform as a Service (PaaS)

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

How much does Beanstalk cost?

A

It is free, though its underlying services are not.

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

What does AWS do for you with Elastic Beanstalk since it is a managed service?

A
  1. Instance configuration / OS is handled
  2. Deployment strategy is configurable but performed by Beanstalk
  3. Capacity provisioning
  4. Load balancing & auto-scaling
  5. Application health-monitoring & responsiveness
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is your responsibility when it comes to Elastic Beanstalk?

A

Just the application code

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

What are the architecture models for Elastic Beanstalk?

A
  1. Single Instance deployment: good for dev
  2. LB + ASG: great for production or pre-production web applications
  3. ASG only: great for non-web apps in production
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Elastic Beanstalk - Health Monitoring?

A
  1. Health agent pushes metics to CloudWatch

2. Checks for app health, publishes health events

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

What is AWS CodeDeploy?

A

We want to deploy our application automatically. Works with:
1. EC2 Instances
2. On-Premises Servers
making it a hybrid service

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

What must you do before you can deploy code with AWS CodeDeploy?

A

Servers / Instances must be provisioned and configured ahead of time with the CodeDeploy Agent

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

What is AWS CodeCommit?

A

AWS version of Github. Git based repositories

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

What is AWS CodeBuild?

A

Code building service in the cloud. Compiles source code, run tests, and produces packages that are ready to be deployed (by CodeDeploy for example)

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

How do you pay for AWS CodeBuild?

A

Pay-as-you-go pricing. Only pay for the build time

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

What is AWS CodePipeline?

A

Orchestrate the different steps to have the code automatically pushed to production. Basis for CICD

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

Is AWS CodeBuild fully managed?

A

Yes

18
Q

Is AWS CodePipeline fully managed?

A

Yes

19
Q

What is AWS CodeArtifact?

A

A secure, scalable, and cost-effective artifact management for software development

20
Q

What is artifact management?

A

Storing and retrieving code dependencies

21
Q

What is AWS CodeStar?

A

Unified UI to easily managed software development in one place. Quick way to get started to correctly setup CodeCommit, CodePipeline, CodeBuild, CodeDeploy, Elastic Beanstalk, EC2, etc…

22
Q

What is AWS Cloud9?

A

A cloud IDE for writing, running, and debugging code

23
Q

What is AWS Systems Manager (SSM)?

A

Helps you manage your EC2 and On-Premises systems at scale. Is a hybrid service. Get operational insights about the state of your infrastructure.

24
Q

What are some things you can do with SSM?

A
  1. Patching automation for enhanced compliance
  2. Run commands across an entire fleet of servers
  3. Store parameter configuration with the SSM Parameter Store
25
Q

How does Systems Manager work?

A
  1. Install SSM agent on to the systems we control

2. Can run commands, patch, and configure servers all at once

26
Q

If you have a problem with an instance not being able to be controlled with SSM what should you do?

A

It is likely an issue with the SSM agent

27
Q

What is AWS OpsWorks?

A

Managed Chef & Puppet, an alternative to AWS SSM

28
Q

What is Chef & Puppet?

A

Third party services that help you perform server configuration automatically, or repetitive actions

29
Q

CodeStar can be used to monitor and check the health of an environment?

  1. True
  2. False
A

False

30
Q

Which AWS managed service allows to automate software deployments to a hybrid mix of EC2 Instances and On-Premises servers?

A

CodeDeploy

31
Q

A developer team would like to collaborate on code with versioning support. Which AWS service can help the developers?

  1. CodeDeploy
  2. CodeCommit
  3. CodePipeline
  4. Cloud9
A

CodeCommit

32
Q

You need a unified user interface that gives you visibility, control, and patching capabilities for your EC2 Instances on AWS, as well as for your servers running in your on-premises data centers. Which service should you use?

  1. Storage Gateway
  2. OpsWorks
  3. Elastic Container Service
  4. Systems Manager
A

Systems Manager

33
Q

You need to use Chef or Puppet. Which AWS service should you use?

  1. CloudFormation
  2. CodeDeploy
  3. OpsWorks
  4. CodeCommit
A

OpsWorks

34
Q

Which of the following allows you to deploy any AWS Infrastructure as Code?

  1. Elastic Beanstalk
  2. OpsWorks
  3. CloudFormation
  4. Systems Manager
A

CloudFormation

35
Q

A new startup would like an online integrated development environment (IDE) to write, run, and debug code. Which AWS service can help with this task?

  1. Cloud9
  2. OpsWorks
  3. CodeArtifact
  4. CodeStart
A

Cloud9

36
Q

Which service is referred to as a Platform as a Service (PaaS)?

  1. Elastic Beanstalk
  2. OpsWorks
  3. CloudFormation
  4. EC2
A

Elastic Beanstalk

37
Q

What is called the declaration of the AWS resources that make up a stack?

  1. CloudFormation Schemas
  2. CloudFormation Diagrams
  3. CloudFormation Templates
  4. CloudFormation Models
A

CloudFormation Templates

38
Q

Which of the following services can a developer use to store code dependencies?

  1. CodeBuild
  2. CodeCommit
  3. Cloud9
  4. CodeArtifact
A

CodeArtifact

39
Q

CodeStar can orchestrate the different steps to have code automatically pushed to production, while CodePipeline is a unified UI to easily manage software development activities in one place.

  1. True
  2. False
A

False

40
Q

Which server-less service can be used to build code and run tests?

  1. CodeStar
  2. Systems Manager
  3. CodePipeline
  4. CodeBuild
A

CodeBuild

41
Q

CloudFormation and Elastic Beanstalk are free to use?

  1. True
  2. False
A

True