ECS Service Discovery

5 minutes 5 Questions

Amazon ECS Service Discovery provides a mechanism for ECS services to locate and communicate with each other using DNS names. Instead of using hard-coded IP addresses, which can change as tasks scale, you can use service discovery to map a friendly DNS name to a service's tasks. AWS Cloud Map creat…

Test mode:
AWS Certified Solutions Architect - ECS Service Discovery Example Questions

Test your knowledge of ECS Service Discovery

Question 1

You are deploying microservices on Amazon ECS. You need a managed, ECS-native service discovery solution that automatically registers and deregisters tasks as they start and stop, provides DNS-based discovery within the VPC, and optionally supports API-based lookups for service attributes. Which AWS service should you choose?

Question 2

You run multiple microservices on Amazon ECS in a private VPC. The services must discover and call each other using private DNS names that automatically update as tasks scale in and out, without exposing endpoints to the internet or provisioning a separate load balancer for each service. What is the best way to implement service discovery?

Question 3

You have a containerized web application running in AWS ECS. You need to direct incoming traffic to the appropriate ECS service. What should you use?

More ECS Service Discovery questions
15 questions (total)