AWS Certified Developer Associate DVA-C01 – Question424

A company is using an Amazon SQS standard queue to store messages sent from the front-end tier to the ackend tier of an application. The backend tier parses the message and saves an entry to an Amazon DynamoDB table. A developer discovers that duplicate entries are being stored in the DynamoDB table, ven though AWS CloudTrail records only a single Amazon SQS message per entry.
What change needs to be made to resolve this issue?

A.
Enable queue de-duplication to prevent duplicate messages.
B. Modify the front-end tier to use the MessageGroupID argument.
C. Modify the application logic to use Amazon SNS between Amazon SQS and the front-end tier.
D. Change the Amazon SQS queue type to first-in, first-out (FIFO).

Correct Answer: B