DOP-C02 exam dumps

DOP-C02 practice question 29 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 29

Select 3

Your team is building a CI/CD pipeline for a microservices-based application deployed on AWS. The pipeline must ensure that API endpoints work as expected when multiple services interact, verify the security of the application, and confirm that new features meet customer requirements. Which types of tests should be included in the pipeline to meet these goals?

  1. A

    Integration tests

  2. B

    Unit tests

  3. C

    Acceptance tests

  4. D

    User interface (UI) tests

  5. E

    Security scans

Show answer and explanation

Correct answers: A, C, E

Explanation

To meet the stated goals, integration tests are needed to validate API interactions between microservices, security scans ensure the application is secure, and acceptance tests confirm that new features meet customer requirements. Unit and UI tests are not as directly relevant to the specific objectives outlined in this scenario.

  • A. Correct.

    Integration tests are essential for verifying that API endpoints and interactions between different services in the microservices architecture work as expected. This matches the requirement of ensuring API endpoints function correctly in a multi-service interaction.

  • B. Incorrect.

    Unit tests are used to test individual components or functions in isolation and do not directly address the requirements of validating service interactions, security, or feature acceptance.

  • C. Correct.

    Acceptance tests confirm whether new features meet customer requirements. These tests are crucial for ensuring that the application aligns with business needs and user expectations.

  • D. Incorrect.

    User interface (UI) tests focus on validating the visual and interactive aspects of the application but are not directly relevant to API interactions or security testing requirements in this scenario.

  • E. Correct.

    Security scans are necessary to ensure the application is free from vulnerabilities and meets security compliance. These tests are directly aligned with the requirement of verifying the security of the application.

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