ECS Services
ECS services are responsible for running and maintaining a specified number of task instances to ensure that your application is always available and can either scale up or down based on demand. An ECS service defines the desired state of a task and is created within a specified ECS cluster. Servic…
AWS Certified Solutions Architect - ECS Services Example Questions
Test your knowledge of ECS Services
Question 1
Your team is deploying an Amazon ECS service on the EC2 launch type using the bridge network mode. You plan to run multiple tasks of the same service on each EC2 instance and place the service behind an Application Load Balancer. How should you configure port mappings so the ALB can route traffic to all tasks on the same host without port conflicts?
Question 2
You need an Amazon ECS service to automatically adjust the number of running tasks to maintain a specified average CPU utilization (for example, 60%). Which ECS service scaling policy should you configure?
Question 3
Your application has been deployed on Amazon ECS, and you want to continuously monitor its performance. Which AWS service should you use to collect logs and metrics from your ECS containers?