Section 11 - Deployments & Managing Infrastructure at Scale Flashcards

1
Q

Which service does this describe?

a service that gives developers and businesses an easy way to create a collection of related AWS and third-party resources, and provision and manage them in an orderly and predictable fashion

A

CloudFormation

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

What service does this describe?

A manner of outlining your AWS infrastructure, for any resources (most of them are supported by AWS)

A

CloudFormation

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

From an exam perspective, what service will be used when we have Infrastructure as Code?

A

Cloud Formation

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

From an exam perspective, what service will be used when we need to repeat an architecture in different environments, regions or AWS accounts

A

Cloud Formation

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

Which are advantages to CloudFormation (select two):
1. Costs
2. Helps to automate the building of static web sites
3. Helps to determine how to form a cloud?
4. Infrastructure as a Code

A
  1. Costs
  2. Infrastructure as a Code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

With Infrastructure as a Code, changes to the infrastructure are (manually processed through the resource/reviewed through code)

A

Reviewed through code

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

Which are Costs benefits of CloudFormation (choose three)
1. It’s a free service, so there’s no associated costs to use it.
2. stacks are tagged with identifier so you can see how much each stack costs
3. CloudFormation is income driven so, the less profitable you are, the less the associated costs will be
4. can estimate the costs using Cloud Formation template
5. You can setup templates for when resources are created/terminated, thus saving you from paying for down time

A

2,4,5

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

Which are Productivity benefits of CloudFormation? (choose three)
1. CloudFormat will get up and punch you in the throat if you’re not staying productive
2. ability to destroy and re-create infrastructure on the fly
3. automated generation of Diagram for your templates
4. assists in manual generation of Diagram for your templates
5. declarative programming (no need to figure out ordering and orchestration)

A

2,3,5

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

CloudFormation - in addition to using templates in AWS, where else can they be found?

A

on the web

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

Does CloudFormation support all resources?

A

It supports, almost all, resources

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

If you need to use a non-supported AWS resource with Cloud Formation, you can use cus___ res______?

A

custom resources

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

This tool is a graphic tool for creating, viewing, and modifying AWS CloudFormation templates. With ________, you can diagram your template resources using a drag-and-drop interface, and then edit their details using the integrated JSON and YAML editor.

A

CloudFormation Designer

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

What are the two formats for CloudFormation templates?

A

JSON and YAML

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

What are the two formats for CloudFormation templates?

A

JSON and YAML

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

When using CloudFormation to create infrastructure, how do you later delete the resources created from that process?

A

Deleting the “stack” will then delete all of the resources that were created for the stack

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

When using CloudFormation to create infrastructure, what name of the “item” created by CloudFormation?

A

stack

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

This service allows you to code your infrastructure using a programming language other than what’s native to CloudFormation

A

AWS Cloud Development Kit

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

This service will compile a template from your language of choice (Python, javascript etc) into a CloudFormation JSON or YAML template that can be used by CloudFormation

A

Amazon Cloud Development Kit

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

what is meant by “Web App 3-tier” architecture

A

when uploading a web application in AWS, a user is directed to an Elastic Load Balancer ==> Auto Scaling Group of EC2 instances ==> database (or in-memory …ie ElastiCache)

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

As a developer on AWS, there’s really only one simple thing they actually want to utilize AWS for. What would that be?

A

to run their code

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

Most websites would have this architecture built into their web applications.

A

A load balancer combined with an auto scaling group

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

what service is considered a developer centric view of deploying an application on AWS

A

AWS Elastic Beanstalk

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

AWS Elastic Beanstalk is considered what type of service (Iaas, Saas, Paas)?

A

PaaS (platform as a service)

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

How much is using Beanstalk?

A

It’s free but you will pay for the underlying instances.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Elastic Beanstalk is a (managed/non managed) service.
Managed
25
What are the three architecture models for Elastic Beanstalk?
1. Single Instance only (good for dev) 2. Load Balancer & Auto Scaling Group - for production or pre-production web applications 3. auto scaling group only - good for non-web apps in production
26
Elastic Beanstalk can support (one/just a couple/many) platforms.
many
27
How does Beanstalk handle health monitoring?
Beanstalk has a full monitoring suite within the service itself, there will be health agents on each instance that will push metrics to CloudWatch.
28
CloudFormation is utilized by what code-centric service?
Elastic Beanstalk
29
What is an important distinction between Beanstalk and CloudFormation?
Beanstalk is more "application" focused whereas CloudFormation is more "infrastructure" focused
30
What is another service that offers code deployment that is not related to Elastic Beanstalk nor CloudFormation?
CodeDeploy
31
a service that automates code deployments to any instance, including Amazon EC2 instances and instances running on-premises. This service makes it easier for you to rapidly release new features, helps you avoid downtime during deployment, and handles the complexity of updating your applications.
CodeDeploy
32
If you're trying to update your software from version 1 to version 2, what two things does CodeDeploy work with?
EC2 instances On-prem servers
33
Given that CodeDeploy work for EC2 instances and on-prem, it is considered to be a (public/private/hybrid) service.
hybrid
34
With the CodeDeploy Agent, servers and EC2 instances must be provisioned and configured (on demand/with a morning Batch file/ahead of time)
ahead of time
35
If you want to update your application from version 1 to version 2 for both EC2 instances and on-prem servers, all from a single interface, what service would be used for this?
CodeDeploy
36
An AWS offering that's a competing product to GitHub
CodeCommit
37
If you want to store your code in AWS using a version controlled repository, what AWS service would you use?
CodeCommit
38
CodeCommit hosts G__ based repositories.
Git
39
What is a benefit to using CodeCommit
the code changes are fully versioned
40
CodeCommit is (managed by the user/fully managed by AWS), (not scalable nor highly available/scalable and highly available), and (open/private)
managed by AWS, scalable and highly available, private
41
CodeCommit is integrated with which AWS services?
all of them
42
AWS Code building service in the cloud
CodeBuild
43
CodeBuilder is (non managed/managed) and non serverless/serverless)
managed and serverless
44
True or False CodeBuilder is scalable and highly available
True
45
This service compile source code from CodeCommit, runs tests and produces packages that are ready to be deployed
CodeBuild
46
This service orchestrates the different steps to have the code automatically pushed to production
CodePipeline
47
CodePipeline is a (non managed/fully managed) service
fully managed
48
From an exam perspective, if you see "orchestration of code", think of this service
AWS CodePipeline
49
1 - CodeBuild A - build code in the cloud 2 - CodeCommit B - deploys code in hybrid manner (to AWS and on-prem) 3 - CodeArtifact C - orchestrates the deployment of code 4. - CodeStar D - AWS repository of code, similar to GitHub 5 - CodeDeploy E - effective artifact management service 6 - CodePipeline F - UI to manage software development
1A 2D 3E 4F 5B 6C
50
orchestrates steps to have code pushed to production
CodePipeline
51
code building service in the cloud
CodeBuild
52
deploys code to hybrid ... AWS & on-prem servers
CodeDeploy
53
AWS code repository, similar to GitHub
CodeCommit
54
C___ D___________ is the term for software packages depending on one another to be built
code dependencies
55
which is the term applied to storing and retrieving code dependencies
artifact management
56
This service is a secure, scalable, and cost-effective artifact management for software development
CodeArtifact
57
this service works with common dependency management tools
CodeArtifact
58
from an exam perspective, if a team needs a artifact management system or a place to store their code dependencies
CodeArtifact
59
unified UI with dashboard to allow a developer to easily manage software development activities in one place
CodeStar
60
this service is a cloud IDE (integrated development environment) for writing, running and debugging code
Cloud9
61
Cloud9 run in the (desktop/cloud) compared to a classic IDE (integrated development environment) that runs in (the desktop/cloud)
cloud / desktop
62
which is an example of a classic IDE
Visual Studio Code
63
the service allows for code development in the cloud and code collaboration at the same time
Cloud9
64
Which service is primarily used for software version control?
CloudCommit
65
which service is this? allows you to store artifacts using popular package managers and build tools like Maven, Gradle, npm, Yarn, Twine, pip, and NuGet. CodeArtifact can automatically fetch software packages on demand from public package repositories so you can access the latest versions of application dependencies.
CodeArtifact
66
AWS CodeS___ provides a unified user interface, enabling you to easily manage your software development activities in one place. With AWS CodeS____, you can set up your entire continuous delivery toolchain in minutes, allowing you to start releasing code faster.
CodeStar
67
This service helps you manager your fleet of EC2 and On-prem systems at scale
AWS Systems Manager (SSM)
68
AWS Systems Manager is a (private/hybrid/public) service. Why?
hybrid, because it manages both AWS and on-prem
69
This service provides operational insights about the state of your infrastructure
Amazon Systems Manager (SSM)
70
about how many products are included in the Amazon Systems Manager (SSM) service
10+
71
If you want to do automatic patching of all your services and instances for enhanced compliance OR run commands across an entire fleet of servers (similar to SCCM for Windows), what service would you use?
Amazon Systems Manager (SSM)
72
If you want to store parameter configuration using Amazon Systems Manager, what SSN product would you use?
SSM Parameter Store
73
Amazon Systems Manager (SSM) works for servers running which OS (choose two) Windows Mac OS Linux
Windows Linux
74
From an exam perspective, if you come across a question about patching all of your instances and services OR running commands on all servers, you would choose what instance?
Amazon Systems Managers (SSM)
75
How does the Amazon Systems Manager perform it's magic on EC2 instances and servers?
Just like with SCCM, you would install an SSM agent which then communicates with SSM
76
Which AMIs have an SSM agent installed by default?
Linux AMI and some Ubuntu AMIs
77
You're running an EC2 instance that has an SSM agent installed on it. When you use SSM to run commands and patches, you notice nothing is happening on your server. What is the first point of failure that you would consider?
the SSM agent
78
this service allows you to start a secure shell on your EC2 or on-prem server w/o the need for SSH access, bastion hosts, or SSH keys
Amazon Systems Manager (SSM) Session Manager
79
When using Amazon System Manger (SSM) Session Manager, port 22 is (open/closed)
disabled
80
Which OS are supported by Amazon Systems Manager (SSM) Sessions Manager?
Windows, Mac OS, and Linux
81
How does an EC2 instance or on-prem server connect to SSM Session Manager?
through the Amazon Systems Manager (SSM) agent
82
When using SSM Session Manager, log data can be sent to the following two places?
S3 and CloudWatch logs
83
What are three ways of accessing an EC2 instance?
1 Open port 22 and use SSH keys with a terminal 2.Use EC2 instance connect (SSH keys are required) 3. Session Manager
84
An Amazon Service created to work with "Chef" and "Puppet"
AWS OpsWorks
85
AWS OpWorks is an alternative to what AWS service?
AWS Systems Manager (SSM)