DOP-C02 · Question #330
DOP-C02 Question #330: Real Exam Question with Answer & Explanation
Sign in or unlock DOP-C02 to reveal the answer and full explanation for question #330. The question stem and answer options stay visible for context.
Question
A DevOps engineer manages an AWS CodePipeline pipeline that builds and deploys a web application on AWS. The pipeline has a source stage, a build stage, and a deploy stage. When deployed properly, the web application responds with a 200 OK HTTP response code when the URL of the home page is requested. The home page recently returned a 503 HTTP response code after CodePipeline deployed the application. The DevOps engineer needs to add an automated test into the pipeline. The automated test must ensure that the application returns a 200 OK HTTP response code after the application is deployed. The pipeline must fail if the response code is not present during the test. The DevOps engineer has added a CheckURL stage after the deploy stage in the pipeline. What should the DevOps engineer do next to implement the automated test?
Options
- AConfigure the CheckURL stage to use an Amazon CloudWatch action. Configure the action to
- BCreate an AWS Lambda function to check the response code status of the URL and to report a
- CConfigure the CheckURL stage to use an AWS CodeDeploy action. Configure the action with an
- DDeploy an Amazon API Gateway HTTP API that checks the response code status of the URL and
Unlock DOP-C02 to see the answer
You've previewed enough free DOP-C02 questions. Unlock DOP-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.