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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

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

A company has a data ingestion workflow that includes the following components:
An Amazon Simple Notification Service (Amazon SNS) topic that receives notifications about new data deliveries
An AWS Lambda function that processes and stores the data
The ingestion workflow occasionally fails because of network connectivity issues. When failure occurs, the corresponding data is not ingested unless the company manually reruns the job.
What should a solutions architect do to ensure that all notifications are eventually processed?

  • A. Configure the Lambda function for deployment across multiple Availability Zones.
  • B. Modify the Lambda function's configuration to increase the CPU and memory allocations for the function.
  • C. Configure the SNS topic’s retry strategy to increase both the number of retries and the wait time between retries.
  • D. Configure an Amazon Simple Queue Service (Amazon SQS) queue as the on-failure destination. Modify the Lambda function to process messages in the queue.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
bunnychip
Highly Voted 1 year, 6 months ago
Selected Answer: D
*ensure that all notifications are eventually processed*
upvoted 12 times
...
Guru4Cloud
Most Recent 8 months, 3 weeks ago
Selected Answer: D
Configure an Amazon Simple Queue Service (Amazon SQS) queue as the on-failure destination. Modify the Lambda function to process messages in the queue.
upvoted 2 times
...
Help2023
1 year, 2 months ago
Selected Answer: D
This is why https://docs.aws.amazon.com/sns/latest/dg/sns-message-delivery-retries.html
upvoted 3 times
...
CaoMengde09
1 year, 3 months ago
C is not the right answer since after several retries SNS discard the message which doesn't align with the reqirement. D is the right answer
upvoted 4 times
...
CaoMengde09
1 year, 3 months ago
Best solution to process failed SNS notifications is using sns-dead-letter-queues (SQS Queue for reprocessing) https://docs.aws.amazon.com/sns/latest/dg/sns-dead-letter-queues.html
upvoted 3 times
...
SilentMilli
1 year, 3 months ago
Selected Answer: D
To ensure that all notifications are eventually processed, the best solution would be to configure an Amazon Simple Queue Service (SQS) queue as the on-failure destination for the SNS topic. This will allow the notifications to be retried until they are successfully processed. The Lambda function can then be modified to process messages in the queue, ensuring that all notifications are eventually processed. Option D, "Configure an Amazon Simple Queue Service (Amazon SQS) queue as the on-failure destination. Modify the Lambda function to process messages in the queue," is the correct answer.
upvoted 1 times
...
Buruguduystunstugudunstuy
1 year, 4 months ago
Selected Answer: D
I choose Option D as the correct answer. To ensure that all notifications are eventually processed, the solutions architect can set up an Amazon SQS queue as the on-failure destination for the Amazon SNS topic. This way, when the Lambda function fails due to network connectivity issues, the notification will be sent to the queue instead of being lost. The Lambda function can then be modified to process messages in the queue, ensuring that all notifications are eventually processed.
upvoted 3 times
...
techhb
1 year, 4 months ago
Selected Answer: D
Option D to ensure that all notifications are eventually processed you need to use SQS.
upvoted 2 times
...
career360guru
1 year, 4 months ago
Selected Answer: C
Option C is right option. SNS does not have any "On Failure" delivery destination. One need to configure dead-letter queue and configure SQS to read from there. So given this option D is incorrect.
upvoted 2 times
JayBee65
1 year, 4 months ago
I don't think that's right "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" from https://docs.aws.amazon.com/sns/latest/dg/sns-dead-letter-queues.html. This is pretty much what is being described in D. Plus C will only retry message processing, and network problems could still prevent the message from being processed, but the question states "ensure that all notifications are eventually processed". So C does not meet the requirements but D does look to do this.
upvoted 7 times
Gajendr
4 months, 1 week ago
+ https://docs.aws.amazon.com/sns/latest/dg/sns-message-delivery-retries.html "“To keep the message after the retries specified in the delivery policy are exhausted, configure your subscription to move undeliverables messages to a dead-letter queue (DLQ). For more information”" So D
upvoted 1 times
...
...
...
NikaCZ
1 year, 4 months ago
Selected Answer: D
Is correct.
upvoted 1 times
...
NikaCZ
1 year, 4 months ago
If you want to ensure that all notifications are eventually processed you need to use SQS.
upvoted 1 times
...
Wajif
1 year, 5 months ago
Selected Answer: D
C isnt specific. Hence D
upvoted 1 times
...
LeGloupier
1 year, 5 months ago
Selected Answer: C
"on-failure destination" doesn't exist, only dead letter queue exist. that's why I am leaning for C
upvoted 1 times
Wajif
1 year, 5 months ago
Dead letter queue doesnt exist in SNS. They are specifically saying a new queue will be configured for failures from SNS. Hence D
upvoted 2 times
...
...
Wpcorgan
1 year, 5 months ago
D is correct
upvoted 1 times
...
ds0321
1 year, 5 months ago
Selected Answer: D
D is the answer
upvoted 1 times
...
ArielSchivo
1 year, 5 months ago
Selected Answer: D
Option C could work but the max retries attempts is 23 days. After that messages are deleted. And you do not want that to happen! So, Option D.
upvoted 4 times
...
SimonPark
1 year, 6 months ago
Selected Answer: D
imho, D is the answer
upvoted 1 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 ...