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 145 discussion

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

An application team has three environments for their application: development, pre-production, and production. The team recently adopted AWS CodePipeline. However, the team has had several deployments of misconfigured or nonfunctional development code into the production environment, resulting in user disruption and downtime. The DevOps engineer must review the pipeline and add steps to identify problems with the application before it is deployed.

What should the engineer do to identify functional issues during the deployment process? (Choose two.)

  • A. Use Amazon Inspector to add a test action to the pipeline. Use the Amazon Inspector Runtime Behavior Analysis Inspector rules package to check that the deployed code complies with company security standards before deploying it to production.
  • B. Using AWS CodeBuild to add a test action to the pipeline to replicate common user activities and ensure that the results are as expected before progressing to production deployment.
  • C. Create an AWS CodeDeploy action in the pipeline with a deployment configuration that automatically deploys the application code to a limited number of instances. The action then pauses the deployment so that the QA team can review the application functionality. When the review is complete, CodeDeploy resumes and deploys the application to the remaining production Amazon EC2 instances.
  • D. After the deployment process is complete, run a testing activity on an Amazon EC2 instance in a different region that accesses the application to simulate user behavior. If unexpected results occur the testing activity sends a warning to an Amazon SNS topic. Subscribe to the topic to get updates.
  • E. Add an AWS CodeDeploy action in the pipeline to deploy the latest version of the development code to pre-production Add a manual approval action in the pipeline so that the QA team can test and confirm the expected functionality. After the manual approval action, add a second CodeDeploy action that deploys the approved code to the production environment.
Show Suggested Answer Hide Answer
Suggested Answer: BE 🗳️

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
Dimidrol
Highly Voted 2 years, 3 months ago
Selected Answer: BE
B E for me
upvoted 6 times
...
ParagSanyashiv
Most Recent 2 years ago
Selected Answer: BE
B and E makes more sense, according to what is given in the question
upvoted 1 times
...
daheck
2 years, 1 month ago
Selected Answer: BC
Deploying to pre-production before deploying to production is a good practice, but for the purpose of identifying functional issues during the deployment process, options B and C are the best choices. Option B allows you to test the application before it is deployed to pre-production or production, ensuring that the code changes have not introduced any functional issues that can cause user disruption or downtime. Option C allows you to deploy the application code to a limited number of instances in the production environment and pause the deployment so that the QA team can review the application functionality. Once the review is complete, CodeDeploy resumes and deploys the application to the remaining production instances. This approach allows you to catch any functional issues during the deployment process, preventing them from causing user disruption or downtime.
upvoted 1 times
daheck
2 years, 1 month ago
In option C, the functional testing occurs during the deployment process, before the application is deployed to the entire production environment. This approach allows for the quick identification and resolution of any issues, reducing the risk of user disruption or downtime. In option E, the functional testing occurs after the application has been deployed to the pre-production environment and manual approval has been granted. Although the QA team can still identify and resolve any issues before approving the deployment to the production environment, this approach does not provide the same level of risk reduction as option C because the application has already been deployed to a live environment
upvoted 1 times
...
daheck
2 years, 1 month ago
In option B, the testing occurs within AWS CodeBuild as part of the pipeline, and it involves replicating common user activities and ensuring that the results are as expected before progressing to production deployment. This type of testing is typically referred to as "unit testing" and focuses on verifying the individual components of the application. In option C, the testing occurs during the deployment process using AWS CodeDeploy, and it involves functional testing of the entire application on a limited number of instances in the production environment. This type of testing is typically referred to as "integration testing" and focuses on verifying that the components of the application work together correctly in a live environment.
upvoted 1 times
...
...
Mark1000
2 years, 2 months ago
B and E
upvoted 1 times
...
Piccaso
2 years, 2 months ago
Selected Answer: AC
C is better than E. In E, "a second CodeDeploy" action is not a good practice. Since "the team has had several deployments of misconfigured or nonfunctional development code into the production environment ....", we need to detect existing problems. A is better than B.
upvoted 1 times
Mark1000
2 years, 2 months ago
"Instances".... where in the statement does it talk about instances? why should we assume that they are involved? I vote for A and E
upvoted 1 times
...
...
ospherenet
2 years, 3 months ago
Yes, B and E are the correct answers. Option B involves using AWS CodeBuild to add a test action to the pipeline and replicate common user activities to ensure that the results are as expected before progressing to production deployment. Option E involves adding an AWS CodeDeploy action in the pipeline to deploy the latest version of the development code to pre-production, a manual approval action in the pipeline so that the QA team can test and confirm the expected functionality, and a second CodeDeploy action that deploys the approved code to the production environment. These two options help to ensure that functional issues are identified and addressed before the application is deployed to the production environment, reducing the risk of user disruption and downtime.
upvoted 1 times
...
Bulti
2 years, 3 months ago
B and E are correct
upvoted 1 times
...
saeidp
2 years, 3 months ago
Selected Answer: BE
B E are correct
upvoted 1 times
...
romidan
2 years, 3 months ago
B, E are seems correct
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