DOP-C02 exam dumps

DOP-C02 practice question 31 of 411

AWS Certified DevOps Engineer - Professional. Professional level, Amazon Web Services. Free question with the correct answer and a full explanation.

DOP-C02 Question 31

Select 2

Your team is building a CI/CD pipeline for a microservices-based application deployed on AWS. The pipeline must ensure code quality, detect integration issues early, and verify that the application meets customer requirements before deployment. Which combination of test types should be included in the pipeline to meet these objectives?

  1. A

    Unit tests and integration tests

  2. B

    Integration tests and acceptance tests

  3. C

    User interface (UI) tests and security scans

  4. D

    Unit tests, integration tests, and acceptance tests

  5. E

    Unit tests, UI tests, and security scans

Show answer and explanation

Correct answers: A, D

Explanation

To build a robust CI/CD pipeline that ensures code quality, detects integration issues early, and verifies customer requirements, the pipeline should include unit tests for individual component validation, integration tests for service interaction, and acceptance tests to ensure the application meets customer expectations. A combination of these three types of tests provides comprehensive coverage for the given objectives.

  • A. Correct.

    Unit tests and integration tests are critical for ensuring that individual components work as expected and that there are no integration issues between services. This partially meets the requirements but does not address customer requirements validation.

  • B. Incorrect.

    Integration tests and acceptance tests ensure that services work well together and that the application meets customer requirements, making this a valid option for the pipeline.

  • C. Incorrect.

    While UI tests and security scans are valuable, they do not directly address code quality or integration issues, which are part of the stated objectives.

  • D. Correct.

    Combining unit tests, integration tests, and acceptance tests covers all aspects: code quality validation, integration issue detection, and customer requirements verification. This is an optimal choice.

  • E. Incorrect.

    Unit tests, UI tests, and security scans address code quality and security but do not sufficiently cover integration issues or customer requirements.

Timed practice exam

Take a DOP-C02 practice test under exam conditions

75 questions in 180 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam