DOP-C02 exam dumps

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

Select 3

Your organization is implementing a CI/CD pipeline for an application that is deployed on Amazon ECS using Fargate. The goal is to automate the deployment process, including building the container image, storing it in a repository, and updating the ECS service. Which combination of AWS services and features should you use to achieve this?

  1. A

    AWS CodePipeline to orchestrate the CI/CD process

  2. B

    AWS CodeBuild to build the container image

  3. C

    Amazon S3 to store the container image

  4. D

    Amazon Elastic Container Registry (ECR) to store the container image

  5. E

    Amazon EventBridge to trigger ECS service updates

Show answer and explanation

Correct answers: A, B, D

Explanation

To automate a CI/CD pipeline for an ECS Fargate deployment, AWS CodePipeline is used to orchestrate the workflow, AWS CodeBuild is used to build the container image, and Amazon ECR is used to store the container image. Amazon S3 and Amazon EventBridge are not suitable for this specific workflow, as S3 is not designed for container images, and EventBridge is not necessary for this pipeline.

  • A. Correct.

    AWS CodePipeline is a fully managed service that automates the CI/CD workflow. It helps orchestrate the process of building, testing, and deploying applications.

  • B. Correct.

    AWS CodeBuild is a fully managed build service that can compile source code, run tests, and produce software packages, including container images.

  • C. Incorrect.

    Amazon S3 is a general-purpose storage service, but it is not optimized or intended for storing container images. ECR is the proper service for this use case.

  • D. Correct.

    Amazon Elastic Container Registry (ECR) is a fully managed container image registry service that integrates seamlessly with ECS and Fargate. It is the correct service for storing container images.

  • E. Incorrect.

    Amazon EventBridge is used for event-driven architectures and triggering workflows, but it is not required for automating ECS service updates in a CI/CD pipeline.

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