nerdexam
Amazon

DVA-C02 · Question #648

A developer needs to build a solution in which an AWS Lambda function processes notifications from an Amazon SQS queue. Notifications for each user must be processed in the order that the notification

The correct answer is D. Create a single FIFO queue. Set the FIFO queue as the event source for the Lambda function.. A FIFO queue preserves the order of messages within a MessageGroupId, allowing ordered processing per user. By setting the MessageGroupId to the user ID, the Lambda function processes messages for each user in order while still allowing parallel processing across different

Submitted by thandi_sa· Mar 5, 2026Development with AWS Services

Question

A developer needs to build a solution in which an AWS Lambda function processes notifications from an Amazon SQS queue. Notifications for each user must be processed in the order that the notifications arrive in the queue. Notifications for different users can be processed in parallel. Which solution will meet these requirements?

Options

  • ACreate a single FIFO queue. Set the FIFO queue as the event source for the Lambda function.
  • BCreate a single standard queue. Set the standard queue as the event source for the Lambda
  • CCreate a standard queue for each user. Set each standard queue as an event source for the
  • DCreate a single FIFO queue. Set the FIFO queue as the event source for the Lambda function.

How the community answered

(43 responses)
  • A
    9% (4)
  • B
    7% (3)
  • C
    2% (1)
  • D
    81% (35)

Explanation

A FIFO queue preserves the order of messages within a MessageGroupId, allowing ordered processing per user. By setting the MessageGroupId to the user ID, the Lambda function processes messages for each user in order while still allowing parallel processing across different

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice