exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 276 discussion

A company has implemented an ordering system using an event-driven architecture. During initial testing, the system stopped processing orders. Further log analysis revealed that one order message in an Amazon Simple Queue Service (Amazon SQS) standard queue was causing an error on the backend and blocking all subsequent order messages. The visibility timeout of the queue is set to 30 seconds, and the backend processing timeout is set to 10 seconds. A solutions architect needs to analyze faulty order messages and ensure that the system continues to process subsequent messages.

Which step should the solutions architect take to meet these requirements?

  • A. Increase the backend processing timeout to 30 seconds to match the visibility timeout.
  • B. Reduce the visibility timeout of the queue to automatically remove the faulty message.
  • C. Configure a new SQS FIFO queue as a dead-letter queue to isolate the faulty messages.
  • D. Configure a new SQS standard queue as a dead-letter queue to isolate the faulty messages.
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
SkyZeroZx
Highly Voted 1 year, 3 months ago
Selected Answer: D
It's D - can't be C because the queue is standard queue. "The dead-letter queue of a FIFO queue must also be a FIFO queue. Similarly, the dead-letter queue of a standard queue must also be a standard queue." https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
upvoted 17 times
...
7f6aef3
Most Recent 5 months, 4 weeks ago
ANS: D https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-dead-letter-queue.html
upvoted 1 times
...
ram8
9 months, 1 week ago
C is the ans, The dead-letter queue of a FIFO queue must also be a FIFO queue. Similarly, the dead-letter queue of a standard queue must also be a standard queue. in the question, we have SQS standard queue. hence ans is C https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
upvoted 1 times
ram8
9 months, 1 week ago
sry typo its "D"
upvoted 1 times
...
...
duriselvan
10 months, 3 weeks ago
ANS c Configure a new SQS FIFO queue as a dead-letter queue to isolate the faulty messages. Fault isolation: A dead-letter queue (DLQ) provides a dedicated location for storing messages that cannot be processed successfully. This isolates the faulty message from the main queue, allowing subsequent messages to be processed without interruption. FIFO processing: Since the faulty message is causing an error on the backend, it's crucial to retain the original order of messages. A FIFO queue preserves the order in which messages were received, ensuring proper processing order after resolving the issue with the faulty message. Message analysis: Placing the faulty message in the DLQ facilitates further analysis to identify the cause of the error and update the backend to handle such messages in the future.
upvoted 2 times
...
career360guru
11 months, 2 weeks ago
Selected Answer: D
Option D is most logical right answer. This question description looks little confusing. Why in a standard SQS one faulty message can block other message processing. It must be a FIFO queue. Processing logic should continue reading other arriving messages that are not faulty. One faulty message may keep failing after every 30 sec of visibility timeout.
upvoted 4 times
...
enk
11 months, 2 weeks ago
Selected Answer: C
It is C. In an ordering system, it is important to receive the orders in order, so FIFO. Both C and D are new SQS queues - doesn't matter what the original was.
upvoted 2 times
...
Selected Answer: D
Somehow I read the option D as create a new queue (to replace the current one) and so confused of what's going on. Wording for this exam is really disaster.
upvoted 4 times
...
ggrodskiy
1 year, 3 months ago
Correct D.
upvoted 1 times
...
NikkyDicky
1 year, 3 months ago
Selected Answer: D
it's a D
upvoted 2 times
...
rxhan
1 year, 3 months ago
Selected Answer: D
The dead-letter queue of a FIFO queue must also be a FIFO queue. Similarly, the dead-letter queue of a standard queue must also be a standard queue.
upvoted 3 times
...
Jonalb
1 year, 4 months ago
Selected Answer: C
Configuring a new SQS standard queue as a dead-letter queue (option D) is not the best choice in this scenario because a standard queue does not provide the strict ordering and exactly-once processing semantics needed for isolating faulty messages. The use of a FIFO queue ensures that the ordering of messages is preserved, which is crucial for troubleshooting and analysis.
upvoted 2 times
...
Jonalb
1 year, 4 months ago
Selected Answer: C
C its a C
upvoted 1 times
...
SmileyCloud
1 year, 4 months ago
Selected Answer: D
It's D - can't be C because the queue is standard queue. "The dead-letter queue of a FIFO queue must also be a FIFO queue. Similarly, the dead-letter queue of a standard queue must also be a standard queue." https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
upvoted 4 times
...
SkyZeroZx
1 year, 4 months ago
Selected Answer: D
D dead letter queu
upvoted 2 times
...
shree2023
1 year, 4 months ago
Selected Answer: D
D indeed C incorrect FIFO will slow down the process
upvoted 3 times
...
gd1
1 year, 4 months ago
Selected Answer: D
SQS - dead letter queue is designed for failures and needs to be addressed by the developers. We use it all teh time.
upvoted 3 times
...
i_am_robot
1 year, 4 months ago
Selected Answer: D
Amazon Simple Queue Service (SQS) allows you to set up Dead-Letter Queues (DLQs) to isolate messages that can't be processed correctly. This option is useful when you want to set aside and isolate messages that can't be processed (consumed) successfully to examine them later. When using standard queues, the DLQ should also be a standard queue.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago