Which of the following AWS services can be used as target(s) while configuring a Dead Letter Queue? (Select Two)
Click on the arrows to vote for the correct answer
A. B. C. D. E.Answer: A and C.
https://docs.aws.amazon.com/lambda/latest/dg/dlq.html?shortFooter=true.
The Dead Letter Queue (DLQ) is a feature that allows you to set up a queue or topic to receive messages that cannot be delivered to their intended destination. When a message fails to be processed or delivered, the message is sent to the DLQ, which can be configured to trigger an action or notification, such as sending an email or alert.
To configure a Dead Letter Queue, you need to specify the target where the failed messages will be delivered. The target can be a queue or a topic in AWS. Therefore, the correct answer to this question is A and C - AWS SQS and AWS SNS.
AWS SQS (Simple Queue Service) is a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications. It allows you to send, store, and receive messages between software components, without losing messages or requiring other services to be available.
AWS SNS (Simple Notification Service) is a fully managed pub/sub messaging service that enables you to decouple microservices, distributed systems, and serverless applications. It allows you to send messages or notifications to multiple recipients or subscribers, such as email, SMS, mobile push, and HTTP/S endpoints.
AWS Kinesis, AWS CloudWatch, and AWS X-Ray are not valid targets for a Dead Letter Queue.
AWS Kinesis is a platform for real-time data processing and analysis of streaming data at scale. It is not a message queuing service, and therefore, it is not a valid target for a Dead Letter Queue.
AWS CloudWatch is a monitoring and observability service that enables you to collect, analyze, and act on metrics, logs, and traces from AWS services, applications, and resources. Although it can trigger alarms and notifications based on metric thresholds or log patterns, it is not a message queuing service, and therefore, it is not a valid target for a Dead Letter Queue.
AWS X-Ray is a distributed tracing service that enables you to visualize, analyze, and debug the performance of your applications and microservices. It is not a message queuing service, and therefore, it is not a valid target for a Dead Letter Queue.