Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C03 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C03 exam

Exam AWS Certified Solutions Architect - Associate SAA-C03 topic 1 question 489 discussion

An ecommerce company runs an application in the AWS Cloud that is integrated with an on-premises warehouse solution. The company uses Amazon Simple Notification Service (Amazon SNS) to send order messages to an on-premises HTTPS endpoint so the warehouse application can process the orders. The local data center team has detected that some of the order messages were not received.

A solutions architect needs to retain messages that are not delivered and analyze the messages for up to 14 days.

Which solution will meet these requirements with the LEAST development effort?

  • A. Configure an Amazon SNS dead letter queue that has an Amazon Kinesis Data Stream target with a retention period of 14 days.
  • B. Add an Amazon Simple Queue Service (Amazon SQS) queue with a retention period of 14 days between the application and Amazon SNS.
  • C. Configure an Amazon SNS dead letter queue that has an Amazon Simple Queue Service (Amazon SQS) target with a retention period of 14 days.
  • D. Configure an Amazon SNS dead letter queue that has an Amazon DynamoDB target with a TTL attribute set for a retention period of 14 days.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
pentium75
Highly Voted 10 months, 3 weeks ago
Selected Answer: C
"Configuring an Amazon SNS dead-letter queue for a subscription ... A dead-letter queue is an Amazon SQS queue that an Amazon SNS subscription can target for messages that can't be delivered to subscribers successfully", this is exactly what C says. https://docs.aws.amazon.com/sns/latest/dg/sns-configure-dead-letter-queue.html B, an SQS queue "between the application and Amazon SNS" would change the application logic. SQS cannot push messages to the "on-premises https endpoint", rather the destination would have to retrieve messages from the queue. Besides, option B would eventually deliver the messages that failed on the first attempt, which is NOT what is asked for. The goal is to retain undeliverable messages for analysis (NOT to deliver them), and this is typically achieved with a dead letter queue.
upvoted 9 times
...
osmk
Most Recent 10 months, 1 week ago
A dead-letter queue is an Amazon SQS queue that an Amazon SNS subscription can target for messages that can't be delivered to subscribers successfully.https://docs.aws.amazon.com/sns/latest/dg/sns-dead-letter-queues.html
upvoted 2 times
...
awsgeek75
10 months, 2 weeks ago
Selected Answer: C
LEAST development effort! A: Custom dead letter queue using Kinesis Data Stream (laughable solution!) so lots of coding B: Change app logic to put SQS between SNS and the app. Also too much coding D: Same as A, too much code change C: SNS dead letter queue is by default a SQS que so no coding required
upvoted 4 times
...
Mikado211
11 months, 1 week ago
Selected Answer: C
Problem here SNS dead letter queue is a SQS queue, so technically speaking both B and C are right. But I suppose that they want us to speak about SNS dead letter queue, that nobody do... meh, frustrating.
upvoted 3 times
Mikado211
11 months, 1 week ago
Aaaah ok. So with B == you place the SQS queue between the application and the SNS topic with C == you place the SQS queue as a DLQ for the SNS topic Of course it's C !
upvoted 5 times
...
...
aws94
11 months, 2 weeks ago
Selected Answer: C
https://docs.aws.amazon.com/sns/latest/dg/sns-configure-dead-letter-queue.html
upvoted 2 times
...
daniel1
1 year ago
Selected Answer: C
GPT4 to the rescue: The most appropriate solution would be to configure an Amazon SNS dead letter queue with an Amazon Simple Queue Service (Amazon SQS) target with a retention period of 14 days (Option C). This setup would ensure that any undelivered messages are retained in the SQS queue for up to 14 days for analysis, with minimal development effort required.
upvoted 1 times
ealpuche
11 months, 3 weeks ago
ChatGPT is not a reliable source.
upvoted 9 times
...
...
Wayne23Fang
1 year, 1 month ago
Selected Answer: B
I like (B) since it is put SQS before SNS so we could prepare for retention. (C) dead letter Queue is kind of "rescue" effort. Also (C) should mention reprocessing dead letter.
upvoted 1 times
pentium75
10 months, 3 weeks ago
"Reprocessing dead letters" is not desired here. They want to "retain messages that are not delivered and analyze the messages for up to 14 days", which is what C does.
upvoted 1 times
...
...
thanhnv142
1 year, 1 month ago
C is correct. It used a combination of SNS and SQS so it better than B.
upvoted 1 times
...
iwannabeawsgod
1 year, 1 month ago
Selected Answer: C
C is the answer
upvoted 1 times
...
Devsin2000
1 year, 2 months ago
B is correct Answer. SQS Retain messages in queues for up to 14 days C is incorrect because there is nothing called Amazon SNS dead letter queue
upvoted 2 times
RDM10
1 year, 2 months ago
https://docs.aws.amazon.com/sns/latest/dg/sns-configure-dead-letter-queue.html
upvoted 6 times
...
pentium75
10 months, 3 weeks ago
C "Configure an Amazon SNS dead letter queue" AWS "Configuring an Amazon SNS dead-letter queue" https://docs.aws.amazon.com/sns/latest/dg/sns-configure-dead-letter-queue.html
upvoted 1 times
...
...
lemur88
1 year, 2 months ago
Selected Answer: C
https://docs.aws.amazon.com/sns/latest/dg/sns-dead-letter-queues.html
upvoted 1 times
...
Guru4Cloud
1 year, 3 months ago
Selected Answer: C
C. Configure an Amazon SNS dead letter queue that has an Amazon Simple Queue Service (Amazon SQS) target with a retention period of 14 days. By using an Amazon SQS queue as the target for the dead letter queue, you ensure that the undelivered messages are reliably stored in a queue for up to 14 days. Amazon SQS allows you to specify a retention period for messages, which meets the retention requirement without additional development effort.
upvoted 1 times
...
mtmayer
1 year, 3 months ago
Selected Answer: B
Dead Letter is a SQS feature not SNS. A dead-letter queue is an Amazon SQS queue that an Amazon SNS subscription can target for messages that can't be delivered to subscribers successfully. Messages that can't be delivered due to client errors or server errors are held in the dead-letter queue for further analysis or reprocessing. For more information, see Configuring an Amazon SNS dead-letter queue for a subscription and Amazon SNS message delivery retries. https://docs.aws.amazon.com/sns/latest/dg/sns-dead-letter-queues.html
upvoted 3 times
pentium75
10 months, 3 weeks ago
"See Configuring an Amazon SNS (!) dead-letter queue", exactly, thus C.
upvoted 1 times
...
...
xyb
1 year, 3 months ago
Selected Answer: B
In SNS, DLQs store the messages that failed to be delivered to subscribed endpoints. For more information, see Amazon SNS Dead-Letter Queues. In SQS, DLQs store the messages that failed to be processed by your consumer application. This failure mode can happen when producers and consumers fail to interpret aspects of the protocol that they use to communicate. In that case, the consumer receives the message from the queue, but fails to process it, as the message doesn’t have the structure or content that the consumer expects. The consumer can’t delete the message from the queue either. After exhausting the receive count in the redrive policy, SQS can sideline the message to the DLQ. For more information, see Amazon SQS Dead-Letter Queues. https://aws.amazon.com/blogs/compute/designing-durable-serverless-apps-with-dlqs-for-amazon-sns-amazon-sqs-aws-lambda/
upvoted 2 times
pentium75
10 months, 3 weeks ago
"Configuring an Amazon SNS dead-letter queue for a subscription A dead-letter queue is an Amazon SQS queue that an Amazon SNS subscription can target for messages that can't be delivered to subscribers successfully. "
upvoted 1 times
...
...
TariqKipkemei
1 year, 4 months ago
C is best to handle this requirement. Although good to note that dead-letter queue is an SQS queue. "A dead-letter queue is an Amazon SQS queue that an Amazon SNS subscription can target for messages that can't be delivered to subscribers successfully. Messages that can't be delivered due to client errors or server errors are held in the dead-letter queue for further analysis or reprocessing." https://docs.aws.amazon.com/sns/latest/dg/sns-dead-letter-queues.html#:~:text=A%20dead%2Dletter%20queue%20is%20an%20Amazon%20SQS%20queue
upvoted 1 times
...
Felix_br
1 year, 5 months ago
C - Amazon SNS dead letter queues are used to handle messages that are not delivered to their intended recipients. When a message is sent to an Amazon SNS topic, it is first delivered to the topic's subscribers. If a message is not delivered to any of the subscribers, it is sent to the topic's dead letter queue. Amazon SQS is a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications. Amazon SQS queues can be configured to have a retention period, which is the amount of time that messages will be kept in the queue before they are deleted. To meet the requirements of the company, you can configure an Amazon SNS dead letter queue that has an Amazon SQS target with a retention period of 14 days. This will ensure that any messages that are not delivered to the on-premises warehouse application will be stored in the Amazon SQS queue for up to 14 days. The company can then analyze the messages in the Amazon SQS queue to determine why they were not delivered.
upvoted 2 times
...
Yadav_Sanjay
1 year, 6 months ago
Selected Answer: C
https://docs.aws.amazon.com/sns/latest/dg/sns-dead-letter-queues.html
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...