DOP-C02 exam dumps

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

Select 2

You are a DevOps Engineer tasked with automating the deployment of a custom application across multiple environments. The application requires a specific configuration baked into the operating system image to meet compliance requirements. What combination of AWS services should you use to automate the creation of the images and distribute the application code to the instances?

  1. A

    AWS CodeDeploy and EC2 Image Builder

  2. B

    AWS Elastic Beanstalk and Amazon ECS

  3. C

    AWS CodePipeline and AWS CodeBuild

  4. D

    EC2 Image Builder and Systems Manager Distributor

  5. E

    AWS OpsWorks and AWS CodeDeploy

Show answer and explanation

Correct answers: A, D

Explanation

To address the requirements, you need a service to create a custom AMI with the required configurations (EC2 Image Builder) and a mechanism to deploy or distribute the application code to the instances. AWS CodeDeploy fulfills this role by automating deployments, or alternatively, Systems Manager Distributor can distribute the application. Both combinations provide a robust solution.

  • A. Correct.

    Correct: AWS CodeDeploy can be used to deploy the application code, while EC2 Image Builder automates the creation of custom AMIs with the required configurations baked in.

  • B. Incorrect.

    Incorrect: AWS Elastic Beanstalk and Amazon ECS are more suitable for containerized and managed application deployments rather than creating custom AMIs.

  • C. Incorrect.

    Incorrect: AWS CodePipeline and AWS CodeBuild are CI/CD tools but do not directly automate the creation of custom images or handle application deployment.

  • D. Correct.

    Correct: EC2 Image Builder automates the creation of custom images, and Systems Manager Distributor can distribute application packages to instances.

  • E. Incorrect.

    Incorrect: AWS OpsWorks is for configuration management and orchestration, which is not directly relevant to automating image creation or application code distribution.

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