Knowledge CheckModule 10

Quiz: Module 10: Containers and Amazon ECS

Test your understanding of the concepts covered in this module.

8 questions

  1. 1

    Which of the following correctly describes a key difference between containers and virtual machines?

  2. 3

    A developer needs to push a locally built Docker image to Amazon Elastic Container Registry (Amazon ECR). Place the following steps in the correct order:

  3. 4

    Which of the following are valid rules you can define in an ECR lifecycle policy? (Select TWO.)Select multiple

  4. 5

    In Amazon ECS, what is the relationship between a task definition and a task?

  5. 6

    A team is configuring a Fargate task definition for a web application. Which of the following parameters must they specify at the task level for Fargate compatibility? (Select TWO.)Select multiple

  6. 7

    Your company runs a containerized microservices application on Amazon ECS. The development team wants to minimize infrastructure management, avoid patching operating systems, and scale individual services independently. The application does not require GPU access or custom kernel configuration. Which launch type should the team choose, and why?

  7. 9

    A startup deploys a containerized API on Amazon ECS with Fargate behind an Application Load Balancer. The ALB target group is configured with target type `instance` and health checks on port 80. After deployment, the ALB reports all targets as unhealthy, and no traffic reaches the containers. The containers are confirmed to be running and listening on port 3000. Which TWO configuration errors are most likely causing this issue?

  8. 10

    A company is evaluating AWS compute services for three different workloads: (1) a long-running web API that serves thousands of requests per minute and needs consistent performance, (2) a batch job that processes uploaded images and requires GPU acceleration, and (3) a webhook handler that receives 50 requests per day, each completing in under 2 seconds. Which combination of services best fits these requirements?