nerdexam
AmazonAmazon

DVA-C02 · Question #717

DVA-C02 Question #717: Real Exam Question with Answer & Explanation

Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #717. The question stem and answer options stay visible for context.

Submitted by deeparc· Mar 5, 2026Troubleshooting and Optimization

Question

A developer deploys an Amazon SNS topic and creates a subscription for an Amazon SQS queue. An AWS Lambda function processes messages in the SQS queue. The Lambda function deserializes each message body and processes the resulting object. When the developer tests the solution, a JSON object is published to the SNS topic. However, the Lambda function returns an error when the function attempts to deserialize the message body. The error states that the message is not valid JSON. The developer must resolve the error. Which solution will meet this requirement?

Options

  • AAdd an access policy to the SQS queue to allow the SNS topic to perform the sqs:SendMessage
  • BEnable raw message delivery on the SQS subscription.
  • CAdd an access policy to the SNS topic to allow the SNS topic to perform the sqs:SendMessage
  • DSet a RawMessageDelivery attribute on the SNS message.

Unlock DVA-C02 to see the answer

You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full DVA-C02 PracticeBrowse All DVA-C02 Questions