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
Q

Elastic Beanstalk is a (managed/non managed) service.

A

Managed

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

What are the three architecture models for Elastic Beanstalk?

A
  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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

Elastic Beanstalk can support (one/just a couple/many) platforms.

A

many

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

How does Beanstalk handle health monitoring?

A

Beanstalk has a full monitoring suite within the service itself, there will be health agents on each instance that will push metrics to CloudWatch.

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

CloudFormation is utilized by what code-centric service?

A

Elastic Beanstalk

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

What is an important distinction between Beanstalk and CloudFormation?

A

Beanstalk is more “application” focused whereas CloudFormation is more “infrastructure” focused

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

What is another service that offers code deployment that is not related to Elastic Beanstalk nor CloudFormation?

A

CodeDeploy

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

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.

A

CodeDeploy

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

If you’re trying to update your software from version 1 to version 2, what two things does CodeDeploy work with?

A

EC2 instances
On-prem servers

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

Given that CodeDeploy work for EC2 instances and on-prem, it is considered to be a (public/private/hybrid) service.

A

hybrid

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

With the CodeDeploy Agent, servers and EC2 instances must be provisioned and configured (on demand/with a morning Batch file/ahead of time)

A

ahead of time

35
Q

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?

A

CodeDeploy

36
Q

An AWS offering that’s a competing product to GitHub

A

CodeCommit

37
Q

If you want to store your code in AWS using a version controlled repository, what AWS service would you use?

A

CodeCommit

38
Q

CodeCommit hosts G__ based repositories.

A

Git

39
Q

What is a benefit to using CodeCommit

A

the code changes are fully versioned

40
Q

CodeCommit is (managed by the user/fully managed by AWS), (not scalable nor highly available/scalable and highly available), and (open/private)

A

managed by AWS, scalable and highly available, private

41
Q

CodeCommit is integrated with which AWS services?

A

all of them

42
Q

AWS Code building service in the cloud

A

CodeBuild

43
Q

CodeBuilder is (non managed/managed) and non serverless/serverless)

A

managed and serverless

44
Q

True or False
CodeBuilder is scalable and highly available

A

True

45
Q

This service compile source code from CodeCommit, runs tests and produces packages that are ready to be deployed

A

CodeBuild

46
Q

This service orchestrates the different steps to have the code automatically pushed to production

A

CodePipeline

47
Q

CodePipeline is a (non managed/fully managed) service

A

fully managed

48
Q

From an exam perspective, if you see “orchestration of code”, think of this service

A

AWS CodePipeline

49
Q

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

A

1A
2D
3E
4F
5B
6C

50
Q

orchestrates steps to have code pushed to production

A

CodePipeline

51
Q

code building service in the cloud

A

CodeBuild

52
Q

deploys code to hybrid … AWS & on-prem servers

A

CodeDeploy

53
Q

AWS code repository, similar to GitHub

A

CodeCommit

54
Q

C___ D___________ is the term for software packages depending on one another to be built

A

code dependencies

55
Q

which is the term applied to storing and retrieving code dependencies

A

artifact management

56
Q

This service is a secure, scalable, and cost-effective artifact management for software development

A

CodeArtifact

57
Q

this service works with common dependency management tools

A

CodeArtifact

58
Q

from an exam perspective, if a team needs a artifact management system or a place to store their code dependencies

A

CodeArtifact

59
Q

unified UI with dashboard to allow a developer to easily manage software development activities in one place

A

CodeStar

60
Q

this service is a cloud IDE (integrated development environment) for writing, running and debugging code

A

Cloud9

61
Q

Cloud9 run in the (desktop/cloud) compared to a classic IDE (integrated development environment) that runs in (the desktop/cloud)

A

cloud / desktop

62
Q

which is an example of a classic IDE

A

Visual Studio Code

63
Q

the service allows for code development in the cloud and code collaboration at the same time

A

Cloud9

64
Q

Which service is primarily used for software version control?

A

CloudCommit

65
Q

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.

A

CodeArtifact

66
Q

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.

A

CodeStar

67
Q

This service helps you manager your fleet of EC2 and On-prem systems at scale

A

AWS Systems Manager (SSM)

68
Q

AWS Systems Manager is a (private/hybrid/public) service. Why?

A

hybrid, because it manages both AWS and on-prem

69
Q

This service provides operational insights about the state of your infrastructure

A

Amazon Systems Manager (SSM)

70
Q

about how many products are included in the Amazon Systems Manager (SSM) service

A

10+

71
Q

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?

A

Amazon Systems Manager (SSM)

72
Q

If you want to store parameter configuration using Amazon Systems Manager, what SSN product would you use?

A

SSM Parameter Store

73
Q

Amazon Systems Manager (SSM) works for servers running which OS (choose two)
Windows
Mac OS
Linux

A

Windows
Linux

74
Q

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?

A

Amazon Systems Managers (SSM)

75
Q

How does the Amazon Systems Manager perform it’s magic on EC2 instances and servers?

A

Just like with SCCM, you would install an SSM agent which then communicates with SSM

76
Q

Which AMIs have an SSM agent installed by default?

A

Linux AMI and some Ubuntu AMIs

77
Q

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?

A

the SSM agent

78
Q

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

A

Amazon Systems Manager (SSM) Session Manager

79
Q

When using Amazon System Manger (SSM) Session Manager, port 22 is (open/closed)

A

disabled

80
Q

Which OS are supported by Amazon Systems Manager (SSM) Sessions Manager?

A

Windows, Mac OS, and Linux

81
Q

How does an EC2 instance or on-prem server connect to SSM Session Manager?

A

through the Amazon Systems Manager (SSM) agent

82
Q

When using SSM Session Manager, log data can be sent to the following two places?

A

S3 and CloudWatch logs

83
Q

What are three ways of accessing an EC2 instance?

A

1 Open port 22 and use SSH keys with a terminal
2.Use EC2 instance connect (SSH keys are required)
3. Session Manager

84
Q

An Amazon Service created to work with “Chef” and “Puppet”

A

AWS OpsWorks

85
Q

AWS OpWorks is an alternative to what AWS service?

A

AWS Systems Manager (SSM)