Which TWO AWS services can be used to decouple microservices in a distributed application? (Choose TWO.)
Amazon SNS is a fully managed publish/subscribe messaging service that effectively decouples microservices by allowing publishers to send messages to a central topic. This topic then fans out those messages to multiple subscribed endpoints or services asynchronously, ensuring that the publisher does not need to know about or directly interact with the consumers. This pattern promotes loose coupling, independent scaling, and fault tolerance across the system.
Why this answer
Amazon Simple Notification Service (SNS) is a fully managed pub/sub messaging service that enables microservices to communicate asynchronously by broadcasting messages to multiple subscribers (e.g., SQS queues, Lambda functions, HTTP endpoints). This decouples the producer from the consumers, allowing each microservice to scale and fail independently without blocking the sender.
Exam trap
The trap here is that candidates confuse Elastic Load Balancer (ELB) with a message broker, but ELB operates at the transport layer (TCP/HTTP) for synchronous load balancing, not for asynchronous decoupling via queues or pub/sub messaging.