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 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 (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
bunnychip
Highly Voted 2 years, 1 month ago
Selected Answer: D
*ensure that all notifications are eventually processed*
upvoted 16 times
...
Help2023
Highly Voted 1 year, 10 months ago
Selected Answer: D
This is why https://docs.aws.amazon.com/sns/latest/dg/sns-message-delivery-retries.html
upvoted 6 times
...
PaulGa
Most Recent 2 months, 1 week ago
Selected Answer: D
Ans D - using SQS ensure the data is captured and not lost for processing
upvoted 2 times
...
ChymKuBoy
6 months ago
Selected Answer: D
D for sure
upvoted 2 times
...
Guru4Cloud
1 year, 4 months 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 4 times
...
CaoMengde09
1 year, 10 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, 10 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 4 times
...
SilentMilli
1 year, 11 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 2 times
...
Buruguduystunstugudunstuy
1 year, 11 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 4 times
...
techhb
1 year, 12 months ago
Selected Answer: D
Option D to ensure that all notifications are eventually processed you need to use SQS.
upvoted 3 times
...
career360guru
2 years 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
2 years 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 8 times
Gajendr
12 months 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
2 years ago
Selected Answer: D
Is correct.
upvoted 1 times
...
NikaCZ
2 years ago
If you want to ensure that all notifications are eventually processed you need to use SQS.
upvoted 2 times
...
Wajif
2 years ago
Selected Answer: D
C isnt specific. Hence D
upvoted 1 times
...
LeGloupier
2 years, 1 month 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
2 years 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 3 times
...
...
Wpcorgan
2 years, 1 month ago
D is correct
upvoted 1 times
...
ds0321
2 years, 1 month ago
Selected Answer: D
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago