exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 134 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 134
Topic #: 1
[All AWS Certified Developer Associate Questions]

A company created an application to consume and process data. The application uses Amazon Simple Queue Service (Amazon SQS) and AWS Lambda functions. The application is currently working as expected, but it occasionally receives several messages that it cannot process properly. The company needs to clear these messages to prevent the queue from becoming blocked.
A developer must implement a solution that makes queue processing always operational. The solution must give the company the ability to defer the messages with errors and save these messages for further analysis.
What is the MOST operationally efficient solution that meets these requirements?

  • A. Configure Amazon CloudWatch Logs to save the error messages to a separate log stream.
  • B. Create a new SQS queue. Set the new queue as a dead-letter queue for the application queue. Configure the Maximum Receives setting.
  • C. Change the SQS queue to a FIFO queue. Configure the message retention period to 0 seconds.
  • D. Configure an Amazon CloudWatch alarm for Lambda function errors. Publish messages to an Amazon Simple Notification Service (Amazon SNS) topic to notify administrator users.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Chhotu_DBA
Highly Voted 2 years, 10 months ago
Selected Answer: B
I think its B
upvoted 6 times
...
SD_CS
Most Recent 1 year, 5 months ago
Selected Answer: B
B is the most logical option
upvoted 1 times
...
AswinDe
1 year, 11 months ago
How can it be C? Is answer correct? I am not sure, please correct it for confusion
upvoted 1 times
RaidenKurosaki
1 year, 11 months ago
Yeah, its definitely B.
upvoted 1 times
...
...
rcaliandro
2 years ago
Selected Answer: B
It is possible to create another SQS Queue to send failed and error messages. This Queue is called DLQ (Dead-Letter-Queue). We can also set the maximum number of messages that can be read from the queue given the issues. For me is B
upvoted 1 times
...
MrTee
2 years, 2 months ago
B. Create a new SQS queue. Set the new queue as a dead-letter queue for the application queue. Configure the Maximum Receives setting is the MOST operationally efficient solution that meets these requirements. By creating a new SQS queue and setting it as a dead-letter queue for the application queue, messages that cannot be processed successfully by the application will be automatically sent to the dead-letter queue. This allows the application to continue processing other messages in the main queue without being blocked.
upvoted 1 times
...
pancman
2 years, 4 months ago
Selected Answer: B
B dead-letter queue
upvoted 1 times
...
Sidhusaab
2 years, 4 months ago
How can C be a correct answer!!! Are these dumps years old and answers are not updated!!
upvoted 2 times
...
sichilam
2 years, 5 months ago
Dead letter queue for later analysis B
upvoted 1 times
...
aws_leo
2 years, 7 months ago
Selected Answer: B
The main keywords here are "save these messages for further analysis" so DLQ is always a good option in this kind of question
upvoted 1 times
...
G4Exams
2 years, 7 months ago
Selected Answer: B
It's B.
upvoted 1 times
...
cloud_collector
2 years, 8 months ago
Selected Answer: B
Dead-letter queues are useful for debugging your application or messaging system because they let you isolate unconsumed messages to determine why their processing doesn't succeed.
upvoted 2 times
...
szhang2004
2 years, 10 months ago
B is the answer
upvoted 1 times
...
LEHUY
2 years, 10 months ago
B.........
upvoted 3 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 ...