DVA-C02 exam dumps

DVA-C02 practice question 320 of 399

AWS Certified Developer - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

DVA-C02 Question 320

Single answer

A developer is troubleshooting an issue where a Lambda function periodically fails when processing messages from an Amazon SQS queue. The error logs indicate a 'ProvisionedThroughputExceededException'. Which action should the developer take to identify the root cause of this issue?

  1. A

    Check the Amazon CloudWatch Metrics for the Lambda function's concurrent executions.

  2. B

    Verify the IAM role permissions assigned to the Lambda function.

  3. C

    Inspect the DLQ (Dead-Letter Queue) attached to the SQS queue for any failed messages.

  4. D

    Analyze the Lambda function's memory usage and increase the memory allocation.

Show answer and explanation

Correct answer: A

Explanation

To identify the root cause of the 'ProvisionedThroughputExceededException', the developer needs to investigate whether the Lambda function's concurrency limit is being exceeded. Amazon CloudWatch Metrics provide detailed data on the function's concurrent executions, which can confirm or rule out concurrency issues. Other options, like inspecting IAM permissions or memory usage, do not address the specific error described.

  • A. Correct.

    Correct. The 'ProvisionedThroughputExceededException' often occurs when the Lambda function exceeds its concurrency limits. Checking the Amazon CloudWatch Metrics for concurrent executions can help determine if the Lambda function is hitting its limit.

  • B. Incorrect.

    Incorrect. While IAM role permissions are critical for Lambda execution, they are unrelated to a 'ProvisionedThroughputExceededException'.

  • C. Incorrect.

    Incorrect. Reviewing the DLQ might help identify messages that failed processing, but it does not directly address throughput or concurrency issues.

  • D. Incorrect.

    Incorrect. Memory allocation is unrelated to a 'ProvisionedThroughputExceededException', which is primarily caused by hitting concurrency limits or exceeding provisioned throughput.

Timed practice exam

Take a DVA-C02 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam