1
AWS CERTIFIED DEVOPS ENGINEER
PROFESSIONAL TEST [SOFTWARE
ENGINEERING] QUESTIONS WITH CORRECT
ANSWERS
Why don't we use CodeCommit to store/version large files,
database, backups, many number of branches?--ANS--Git
repositories grow larger over time and getting slower.
The ways to clone and using CodeCommit repos? (2)--ANS--1.
HTTPS users using Git credentials.
2. HTTPS connections with git–remote–codecommit.
How to Configure notifications for events in an AWS
CodeCommit repository?--ANS--Create notifications rule to send
to SNS.
How build notifications are sent?--ANS--Codebuild –> Cloudwatch
–> SNS topic –> down streams.
Why do we need to enable caching for AWS CodeBuild?--ANS--
Downloading dependencies is a critical phase in the build
process. These dependent files can range in size from a few KBs
to multiple MBs. Because most of the dependent files do not
change frequently between builds, you can noticeably reduce
your build time by caching dependencies.
What do we do with CloudWatch alarms for Codebuild?--ANS--
You can specify any of the actions supported by CloudWatch
,2
when a threshold is exceeded. For example, you can specify
that an Amazon SNS notification is sent when more than three
builds in your account fail within fifteen minutes.
Deployment types of CodeDeploy?--ANS--1. In–place deployment.
2. Blue/green deployment.
How blue/green deployment works for AWS Lambda or
Amazon ECS compute platform with CodeDeploy?--ANS--
Traffic is shifted in increments according to a canary, linear,
or
all–at–once deployment configuration.
Which 2 compute services CodeDeploy does not support with
In–place deployment?--ANS--Lambda and ECS.
What areCodeDeploy primary components?--ANS--1. Application.2.
Compute platform.
3. Deployment configuration.
4. Deployment group.
5. Deployment type.
6. IAM instance profile.
, 3
7. Revision.
8. Service role.
9. Target revision.
10. Other components.
Think about CloudFormation stack for single EC2 and
elastic IP?--ANS--
https://images.cram.com/images/upload-
flashcard/72/66/80/36726680_m.png
What is CloudFormation Stack and CloudFormation change sets?-
-ANS--– Stack: When you use CloudFormation, you manage
related resources as a single unit called a stack. You create,
update, and delete a collection of resources by creating,
updating, and deleting stacks.– Change sets: Change sets allow
you to see how your changes might impact your running
resources, especially for critical resources, before implementing
them.
How does AWS CloudFormation work in diagram?--
ANS--https://images.cram.com/images/upload-
flashcard/72/67/02/36726702_m.png
Does CloudFormation grant permissions during provision the
resources?--ANS--No, we need to manage it throughIAM.
The formats that CloudFormation supports?--ANS--.json, .yaml, or
.txt.
What if we upload the CloudFormation stack to the region for
AWS CERTIFIED DEVOPS ENGINEER
PROFESSIONAL TEST [SOFTWARE
ENGINEERING] QUESTIONS WITH CORRECT
ANSWERS
Why don't we use CodeCommit to store/version large files,
database, backups, many number of branches?--ANS--Git
repositories grow larger over time and getting slower.
The ways to clone and using CodeCommit repos? (2)--ANS--1.
HTTPS users using Git credentials.
2. HTTPS connections with git–remote–codecommit.
How to Configure notifications for events in an AWS
CodeCommit repository?--ANS--Create notifications rule to send
to SNS.
How build notifications are sent?--ANS--Codebuild –> Cloudwatch
–> SNS topic –> down streams.
Why do we need to enable caching for AWS CodeBuild?--ANS--
Downloading dependencies is a critical phase in the build
process. These dependent files can range in size from a few KBs
to multiple MBs. Because most of the dependent files do not
change frequently between builds, you can noticeably reduce
your build time by caching dependencies.
What do we do with CloudWatch alarms for Codebuild?--ANS--
You can specify any of the actions supported by CloudWatch
,2
when a threshold is exceeded. For example, you can specify
that an Amazon SNS notification is sent when more than three
builds in your account fail within fifteen minutes.
Deployment types of CodeDeploy?--ANS--1. In–place deployment.
2. Blue/green deployment.
How blue/green deployment works for AWS Lambda or
Amazon ECS compute platform with CodeDeploy?--ANS--
Traffic is shifted in increments according to a canary, linear,
or
all–at–once deployment configuration.
Which 2 compute services CodeDeploy does not support with
In–place deployment?--ANS--Lambda and ECS.
What areCodeDeploy primary components?--ANS--1. Application.2.
Compute platform.
3. Deployment configuration.
4. Deployment group.
5. Deployment type.
6. IAM instance profile.
, 3
7. Revision.
8. Service role.
9. Target revision.
10. Other components.
Think about CloudFormation stack for single EC2 and
elastic IP?--ANS--
https://images.cram.com/images/upload-
flashcard/72/66/80/36726680_m.png
What is CloudFormation Stack and CloudFormation change sets?-
-ANS--– Stack: When you use CloudFormation, you manage
related resources as a single unit called a stack. You create,
update, and delete a collection of resources by creating,
updating, and deleting stacks.– Change sets: Change sets allow
you to see how your changes might impact your running
resources, especially for critical resources, before implementing
them.
How does AWS CloudFormation work in diagram?--
ANS--https://images.cram.com/images/upload-
flashcard/72/67/02/36726702_m.png
Does CloudFormation grant permissions during provision the
resources?--ANS--No, we need to manage it throughIAM.
The formats that CloudFormation supports?--ANS--.json, .yaml, or
.txt.
What if we upload the CloudFormation stack to the region for