SAP-C02 exam dumps

SAP-C02 practice question 504 of 678

AWS Certified Solutions Architect - Professional. Professional level, Amazon Web Services. Free question with the correct answer and a full explanation.

SAP-C02 Question 504

Single answer

Your company is running a serverless data processing pipeline on AWS that uses Amazon S3, AWS Lambda, and Amazon DynamoDB. During a recent deployment, the pipeline started failing intermittently. Upon investigation, you discover that AWS Lambda is throwing errors related to throttling. Which action should you take to resolve the issue?

  1. A

    Increase the concurrency limit for AWS Lambda in the AWS Service Quotas console.

  2. B

    Enable provisioned concurrency for your Lambda function.

  3. C

    Request a service quota increase for the Amazon DynamoDB table used in the pipeline.

  4. D

    Adjust the retry logic in your pipeline to handle throttling errors gracefully.

Show answer and explanation

Correct answer: A

Explanation

AWS Lambda functions have default concurrency limits, which can cause throttling errors if exceeded. If your Lambda function needs to handle higher workloads, you can request a quota increase for the concurrency limit through the AWS Service Quotas console. Other options, such as enabling provisioned concurrency or adjusting retry logic, address different issues and do not directly resolve concurrency limit-related throttling.

  • A. Correct.

    This is the correct answer. AWS Lambda has default concurrency limits, and if your function exceeds the allowed concurrency, it can cause throttling errors. Increasing the concurrency limit in the AWS Service Quotas console is the appropriate step to resolve this issue.

  • B. Incorrect.

    While provisioned concurrency can help with cold start latency for specific Lambda functions, it does not address concurrency limits or throttling errors caused by exceeding service quotas.

  • C. Incorrect.

    Requesting a quota increase for an Amazon DynamoDB table would only be relevant if the throttling errors were related to DynamoDB. In this scenario, the issue is explicitly related to AWS Lambda.

  • D. Incorrect.

    Adjusting the retry logic can help mitigate throttling errors, but it does not resolve the root cause of exceeding the concurrency limit for AWS Lambda.

Timed practice exam

Take a SAP-C02 practice test under exam conditions

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

Start timed exam