Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
AWS logo

AWSCertified DevOps Engineer - Professional

Domain 1Objective 2

Task Statement 1.2: Integrate Automated Testing into CI/CD Pipelines. DOP-C02 Practice Questions (Page 4)

Part of the Content Domain 1: SDLC Automation domain, which accounts for 22% of the DOP-C02 exam. AWS does not publish an official question count, but from its 180-minute exam (~70–120 total, ~15–26 in this domain), expect 4–7 from this objective — we provide 26 practice questions to prepare you well beyond it. (estimate)

26questions here
6free pages
8concepts
22%of the exam

Questions 16–20

  1. 16foundation · easy

    A DevOps engineer needs to run application tests across a fleet of EC2 instances to verify that the application behaves consistently in a distributed environment. Which approach is most appropriate?

    Select an answer first
  2. 17application · medium

    A DevOps engineer is writing the buildspec.yaml file for a CodeBuild project that runs a suite of automated tests. The test command is `./run-tests.sh`. The engineer wants the build to be marked as FAILED if the tests fail, and SUCCEEDED if they pass. What is the correct way to handle the exit code in the buildspec?

    Select an answer first
  3. 18application · medium

    A team wants to enforce a minimum code coverage threshold of 80% for all new code merged into their main branch. They use AWS CodeBuild for their CI pipeline. What is the most effective way to enforce this policy?

    Select an answer first
  4. 19application · medium

    A team is developing a REST API. They have comprehensive unit tests for the individual functions. They now want to add a test that verifies the API endpoints correctly handle requests and responses, including authentication and error handling, when deployed. What type of test should they add?

    Select an answer first
  5. 20foundation · easy

    A DevOps engineer wants AWS CodeBuild to automatically run a build and test suite whenever a pull request is created in AWS CodeCommit. Which configuration should the engineer use?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by AWS. “DOP-C02” is a trademark of its owner, used for identification only.