AWS Certified Cloud Practitioner Practice Questions

AWS Certified Cloud Practitioner (CLF-C02) exam preparation

AWS Certified Cloud Practitioner practice questions in English: 180 questions with explanations. The mock exam has 65 questions and 90 minutes.

AWS Certified Cloud Practitioner free question 7 / 10 · Domain 3: Cloud Technology and Services

A development team wants a place to store the container images it builds and to distribute them to production. It does not want to operate the registry servers or worry about their scale, and it wants to assign IAM permissions per repository. Which service fits?

  1. Amazon ECS
  2. Amazon EKS
  3. AWS App2Container
  4. Amazon ECR
Show the answer and explanation

Answer: D

Why this is correct
The page describes Amazon ECR as a fully managed container registry that makes it easy for developers to store, manage, and deploy Docker container images. It eliminates the need to operate your own container repositories or worry about scaling the underlying infrastructure, and it hosts your images in a highly available and scalable architecture. With IAM integration, you get resource-level control over each repository.

Why the other options are wrong
"Amazon EKS" … Amazon EKS is a service for deploying, managing, and scaling containerized applications using Kubernetes. It is not a registry for storing container images.
"Amazon ECS" … Amazon ECS is an orchestration service for running and scaling containers. The page says ECR is integrated with ECS, so the division is that images live in ECR and are run by ECS.
"AWS App2Container" … App2Container is a tool that analyzes existing .NET and Java applications and packages them into container images. It is not a place that stores and distributes the resulting images.

Key point
ECR has no upfront fees or commitments, and you pay only for the amount of data you store in repositories and for data transferred to the internet. To keep the three roles of containers apart (storing images, deciding where they run, and providing compute), match them to ECR, ECS/EKS, and EC2/Fargate respectively.

Go to the AWS Certified Cloud Practitioner practice app (10 free questions; purchase unlocks all questions)

See the full practice set