Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 52 Topic 6 Discussion

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 52 Topic 6 Discussion

DVA-C02 Exam Topic 6 Question 52 Discussion:
Question #: 52
Topic #: 6

A developer maintains an AWS Lambda function that is invoked synchronously through an API Gateway API. The Lambda function processes payments by calling a third-party platform. The Lambda function includes retry logic that will make five attempts for each invocation.

The third-party platform occasionally experiences outages that last 10–20 minutes. During outages, the Lambda function makes five retry attempts for each incoming request before failing. The request retry process generates thousands of wasted API calls and increases Lambda compute costs.

The developer needs a solution to detect third-party platform outages and to ensure that invocations of the Lambda function stop when a platform outage is detected. The developer must also ensure that the invocations resume when the platform is operational and accessible.

Which solution will meet these requirements?


A.

Configure a dead-letter queue to capture events after the Lambda function ' s five retry attempts are exhausted.


B.

Increase the Lambda function ' s timeout allocation and memory allocation so that retry attempts run longer.


C.

Add exponential backoff to the Lambda function ' s retry logic to space out retry attempts during failures.


D.

Implement a circuit breaker that stops invocations after failures exceed a threshold.


Get Premium DVA-C02 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.