DVA-C02 exam dumps

DVA-C02 practice question 233 of 399

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

DVA-C02 Question 233

Single answer

You are developing a microservices-based application on AWS. The application consists of multiple containerized services, and you want to host these services in Amazon ECS using the Fargate launch type. To ensure that the container images used by ECS are securely stored and easily accessible, which AWS service should you use to store and manage the container images?

  1. A

    Amazon Elastic File System (EFS)

  2. B

    Amazon Elastic Container Registry (ECR)

  3. C

    AWS CodeCommit

  4. D

    Amazon S3

Show answer and explanation

Correct answer: B

Explanation

Amazon ECR is the most suitable service for storing and managing container images in AWS. It is specifically designed for this purpose and integrates natively with Amazon ECS, making it easy to manage containerized workloads. Other services like Amazon EFS, AWS CodeCommit, and Amazon S3 serve different purposes and are not ideal for storing container images.

  • A. Incorrect.

    Amazon EFS is a fully managed file storage service that is primarily used for persistent file storage for applications. It is not designed for storing container images.

  • B. Correct.

    Amazon ECR is a fully managed container image registry that allows you to store, manage, and deploy container images securely. It integrates seamlessly with Amazon ECS and is the correct choice for storing container images.

  • C. Incorrect.

    AWS CodeCommit is a version control service for source code and not intended for storing or managing container images.

  • D. Incorrect.

    Amazon S3 is a general-purpose object storage service and, while it can store container images, it is not specifically designed for this purpose. It lacks native integration with ECS for container image management.

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