DOP-C02 exam dumps

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

Select 3

Your organization is using an AWS-based CI/CD pipeline to deploy a serverless application. The development team wants to automate the testing and deployment process, ensuring that the application passes predefined integration tests before being deployed to production. Which combination of AWS services and features should you use to achieve this automation?

  1. A

    AWS CodePipeline with CodeBuild to run integration tests and deploy the application

  2. B

    Amazon EventBridge to trigger the CI/CD pipeline upon changes to the application code

  3. C

    AWS Lambda to run integration tests directly during the build stage

  4. D

    AWS CodeDeploy to deploy the application to production

  5. E

    AWS Config to enforce compliance and automatically trigger deployments

Show answer and explanation

Correct answers: A, B, D

Explanation

The correct combination of services involves using AWS CodePipeline with CodeBuild to automate integration testing and deployment, EventBridge to trigger the pipeline upon code changes, and CodeDeploy for deploying the application to production. This setup ensures a fully automated CI/CD process tailored for serverless applications.

  • A. Correct.

    Correct: AWS CodePipeline integrates with AWS CodeBuild to create a CI/CD pipeline that can automate the execution of integration tests and deployment processes.

  • B. Correct.

    Correct: Amazon EventBridge can trigger the CI/CD pipeline in response to events such as changes to the application code, enabling an automated workflow.

  • C. Incorrect.

    Incorrect: AWS Lambda is not typically used to run integration tests directly as part of a CI/CD pipeline. Instead, AWS CodeBuild is designed for such tasks.

  • D. Correct.

    Correct: AWS CodeDeploy is a service used to automate the deployment of applications to production environments, including serverless applications.

  • E. Incorrect.

    Incorrect: AWS Config is primarily used for governance, compliance, and resource monitoring. It is not used to trigger or manage CI/CD deployments.

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