DVA-C02 exam dumps

DVA-C02 practice question 277 of 399

AWS Certified Developer - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

DVA-C02 Question 277

Select 2

You are a developer responsible for deploying an application on AWS using CI/CD services. Your application is stored in an AWS CodeCommit repository, and you need to automate the build and deployment process. The deployment target is an Amazon ECS cluster with a Fargate launch type. Which combination of services can you use to achieve this?

  1. A

    AWS CodePipeline, AWS CodeBuild, and AWS CodeDeploy

  2. B

    AWS CodePipeline and AWS Elastic Beanstalk

  3. C

    AWS CodePipeline, Jenkins, and AWS Lambda

  4. D

    AWS CodePipeline, AWS CodeBuild, and Amazon ECS

Show answer and explanation

Correct answers: A, D

Explanation

To deploy an application to an Amazon ECS cluster using AWS CI/CD services, you need a combination of tools for orchestration (AWS CodePipeline), building (AWS CodeBuild), and deployment (AWS CodeDeploy or ECS directly). Both combinations 1 and 4 meet the criteria. AWS Elastic Beanstalk and Jenkins are not directly suitable for this specific scenario.

  • A. Correct.

    Correct: AWS CodePipeline can orchestrate the CI/CD flow, AWS CodeBuild can handle the build process, and AWS CodeDeploy can automate deployments to your ECS cluster.

  • B. Incorrect.

    Incorrect: AWS Elastic Beanstalk is a PaaS solution, not suitable for directly deploying to an ECS cluster. This combination does not meet the requirement.

  • C. Incorrect.

    Incorrect: While Jenkins can be integrated with AWS services, using AWS Lambda in this scenario is unnecessary for ECS deployments, and CodePipeline with Jenkins alone does not fulfill the ECS deployment requirement.

  • D. Correct.

    Correct: AWS CodePipeline can manage the CI/CD workflow, AWS CodeBuild can build the application, and Amazon ECS is the target deployment platform. This combination is valid for deploying to an ECS cluster.

Timed practice exam

Take a DVA-C02 practice test under exam conditions

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

Start timed exam