Login with Google
AWS Practitioner Chapter 11
Questions from the book AWS Certified Cloud Practitioner Study Guide by Ben Piper and David Clinton.
1.- Which of the following is an advantage of using CloudFormation?
1.
It uses the popular Python programming language.
2.
It prevents unauthorized manual changes to resources.
3.
It lets you create multiple separate AWS environments using a single template.
4.
It can create resources outside of AWS.
2.- What formats do CloudFormation templates support? (Select TWO.)
1.
XML
2.
YAML
3.
HTML
4.
JSON
3.- What’s an advantage of using parameters in a CloudFormation template?
1.
Allow customizing a stack without changing the template.
2.
Prevent unauthorized users from using a template.
3.
Prevent stack updates.
4.
Allow multiple stacks to be created from the same template.
4.- Why would you use CloudFormation to automatically create resources for a development environment instead of creating them using AWS CLI commands? (Select TWO.)
1.
Resources CloudFormation creates are organized into stacks and can be managed as a single unit.
2.
CloudFormation stack updates help ensure that changes to one resource won’t break another.
3.
Resources created by CloudFormation always work as expected.
4.
CloudFormation can provision resources faster than the AWS CLI.
5.- What are two features of CodeCommit? (Select TWO.)
1.
Versioning
2.
Automatic deployment
3.
Differencing
4.
Manual deployment
6.- In the context of CodeCommit, what can differencing accomplish?
1.
Allowing reverting to an older version of a file
2.
Understanding what code change introduced a bug
3.
Deleting duplicate lines of code
4.
Seeing when an application was last deployed
7.- What software development practice regularly tests new code for bugs but doesn’t do anything else?
1.
Differencing
2.
Continuous deployment
3.
Continuous delivery
4.
Continuous integration
8.- Which CodeBuild build environment compute types support Windows operating systems? (Select TWO.)
1.
build.general2.large
2.
build.general1.medium C. build.general1.small D. build.general1.large
3.
build.windows1.small
9.- What does a CodeBuild environment always contain? (Select TWO.)
1.
An operating system
2.
A Docker image
3.
The Python programming language
4.
.NET Core
5.
The PHP programming language
10.- Which of the following can CodeDeploy do? (Select THREE.)
1.
Deploy an application to an on-premises Windows instance.
2.
Deploy a Docker container to the Elastic Container Service.
3.
Upgrade an application on an EC2 instance running Red Hat Enterprise Linux.
4.
Deploy an application to an Android smartphone.
5.
Deploy a website to an S3 bucket.
11.- What is the minimum number of actions in a CodePipeline pipeline?
1.
1
2.
2
3.
3
4.
4
5.
0
12.- You want to predefine the configuration of EC2 instances that you plan to launch manually and using Auto Scaling. What resource must you use?
1.
CloudFormation template
2.
Instance role
3.
Launch configuration
4.
Launch template
13.- What Auto Scaling group parameters set the limit for the number of instances that Auto Scaling creates? (Select TWO.)
1.
Maximum
2.
Group size
3.
Desired capacity
4.
Minimum
14.- An Auto Scaling group has a desired capacity of 7 and a maximum size of 7. What will Auto Scaling do if someone manually terminates one of these instances?
1.
It will not launch any new instances.
2.
It will launch one new instance.
3.
It will terminate one instance.
4.
It will change the desired capacity to 6.
15.- What Auto Scaling feature creates a scaling schedule based on past usage patterns?
1.
Predictive scaling
2.
Scheduled scaling
3.
Dynamic scaling
4.
Pattern scaling
16.- What type of AWS Systems Manager document can run Bash or PowerShell scripts on an EC2 instance?
1.
Run document
2.
Command document
3.
Automation document
4.
Script document
17.- What type of AWS Systems Manager document can take a snapshot of an EC2 instance?
1.
Command document
2.
Run document
3.
Script document
4.
Automation document
18.- Which of the following OpsWorks services uses Chef recipes?
1.
AWS OpsWorks for Puppet Enterprise
2.
AWS OpsWorks Stacks
3.
AWS OpsWorks Layers
4.
AWS OpsWorks for Automation
19.- What configuration management platforms does OpsWorks support? (Select TWO.)
1.
SaltStack
2.
Puppet Enterprise
3.
CFEngine
4.
Chef
5.
Ansible
20.- Which of the following OpsWorks Stacks layers contains at least one EC2 instance?
1.
EC2 Auto Scaling layer
2.
Elastic Container Service (ECS) cluster layer
3.
OpsWorks layer
4.
Relational Database Service (RDS) layer
5.
Elastic Load Balancing (ELB) layer
Submit the answers