DVA-C02 Question 236
Single answerYou are a developer working on a containerized application. You need to store and manage your container images securely and ensure they are available for deployment across multiple AWS accounts and regions. Which AWS service should you use?
- A
Amazon Elastic Container Registry (ECR)
- B
Amazon Simple Storage Service (S3)
- C
AWS CodeCommit
- D
Amazon Elastic Kubernetes Service (EKS)
Show answer and explanation
Correct answer: A
Explanation
Amazon Elastic Container Registry (ECR) is the correct choice because it is a fully managed service specifically designed for storing, managing, and deploying container images. Using ECR ensures secure access, integration with AWS services like ECS and EKS, and cross-account and cross-region availability. Other options like S3, CodeCommit, and EKS do not provide the required functionality for managing container images.
- A. Correct.
Amazon Elastic Container Registry (ECR) is a fully managed container image registry service that allows you to store, manage, and deploy container images securely. It is specifically designed for use with containerized applications and supports integration with AWS services.
- B. Incorrect.
Amazon S3 is a general-purpose object storage service. While you could technically store container images here, S3 is not optimized for managing container images or integrating with container orchestration tools like EKS or ECS.
- C. Incorrect.
AWS CodeCommit is a fully managed source control service for hosting private Git repositories. It is not designed for storing or managing container images.
- D. Incorrect.
Amazon Elastic Kubernetes Service (EKS) is a managed Kubernetes service for deploying and managing containerized applications. However, it does not provide functionality to store or manage container images.