exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 205 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 205
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

A company runs an application on Amazon EC2 instances. The company uses a series of AWS CloudFormation stacks to define the application resources. A developer performs updates by building and testing the application on a laptop and then uploading the build output and CloudFormation stack templates to Amazon S3. The developer’s peers review the changes before the developer performs the CloudFormation stack update and installs a new version of the application onto the EC2 instances.

The deployment process is prone to errors and is time-consuming when the developer updates each EC2 instance with the new application. The company wants to automate as much of the application deployment process as possible while retaining a final manual approval step before the modification of the application or resources.

The company already has moved the source code for the application and the CloudFormation templates to AWS CodeCommit. The company also has created an AWS CodeBuild project to build and test the application.

Which combination of steps will meet the company's requirements? (Choose two.)

  • A. Create an application group and a deployment group in AWS CodeDeploy. Install the CodeDeploy agent on the EC2 instances.
  • B. Create an application revision and a deployment group in AWS CodeDeploy. Create an environment in CodeDeploy. Register the EC2 instances to the CodeDeploy environment.
  • C. Use AWS CodePipeline to invoke the CodeBuild job, run the CloudFormation update, and pause for a manual approval step. After approval, start the AWS CodeDeploy deployment.
  • D. Use AWS CodePipeline to invoke the CodeBuild job, create CloudFormation change sets for each of the application stacks, and pause for a manual approval step. After approval, run the CloudFormation change sets and start the AWS CodeDeploy deployment.
  • E. Use AWS CodePipeline to invoke the CodeBuild job, create CloudFormation change sets for each of the application stacks, and pause for a manual approval step. After approval, start the AWS CodeDeploy deployment.
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ParagSanyashiv
2 years ago
Selected Answer: AD
AD is more suitable for the required achievement.
upvoted 1 times
...
daheck
2 years ago
Selected Answer: AD
A- https://docs.aws.amazon.com/codedeploy/latest/userguide/codedeploy-agent.html D - This option correctly utilizes AWS CodePipeline to invoke the CodeBuild job and create CloudFormation change sets. It adds a manual approval step before executing the change sets and starting the AWS CodeDeploy deployment. This ensures that the deployment process is automated while retaining the final manual approval step.
upvoted 1 times
...
asfsdfsdf
2 years ago
Selected Answer: AD
B - cannot be a correct since it must have a codedeploy agent before registering C - cannot be a correct since according to the question both CF stack changes and code deployment must be reviewed. this answer suggest to commit CF changes before. E - Cannot be correct since it skips the part for applying CF change sets. Therefore only AD can be correct - for A not sure why need Application group and not a regular application.
upvoted 1 times
...
bgc1
2 years, 2 months ago
Confused between D and E. Isn't "run the CloudFormation change sets" same as executing change sets which is same as starting deoployment?
upvoted 1 times
...
harrura
2 years, 2 months ago
the discussion part is the most useless part of the portal as consistently there are folks who are dividing the split between answers in a ratio that you end up in a jeopardy deciding what the actual answer is! horrible value add by the discussion session.
upvoted 1 times
SHoKMaSTeR
2 years, 2 months ago
FMPOV Moderators should remove answers without pieces of evidence
upvoted 3 times
...
easytoo
2 years ago
And yet here you are.
upvoted 1 times
...
...
Eah1
2 years, 2 months ago
Selected Answer: AD
Think it is AD
upvoted 2 times
...
saeidp
2 years, 2 months ago
Selected Answer: AD
Maybe A and D
upvoted 2 times
...
saeidp
2 years, 2 months ago
It is a strange question
upvoted 2 times
...
CloudFloater
2 years, 2 months ago
Selected Answer: BD
A. Incorrect - CodeDeploy is not needed and installing the agent on each EC2 instance is not an efficient approach. B. Correct - Creates an application revision and a deployment group in AWS CodeDeploy, creates an environment in CodeDeploy, registers the EC2 instances to the CodeDeploy environment. C. Incorrect - This approach does not use AWS CodeDeploy, which is necessary for the final manual approval step. D. Correct - Creates a CloudFormation change set for each application stack, pauses for a manual approval step, and runs the CloudFormation change sets and starts the AWS CodeDeploy deployment. E. Incorrect - Similar to D, but starts the AWS CodeDeploy deployment before running the CloudFormation change sets, which is not necessary.
upvoted 1 times
daheck
2 years ago
Of course CodeDeploy agent is needed for EC2. It is not needed if you deploy app on Amazon ECS or AWS Lambda: https://docs.aws.amazon.com/codedeploy/latest/userguide/codedeploy-agent.html
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago