Q90 — AWS DVA-C02 Ch.3

Question 90 of 100 | ← Chapter 3

A company has an analytics application that uses AWS Lambda functions to process transaction data asynchronously. Developers notice that asynchronous Lambda function invocations sometimes fail. When a Lambda function invocation fails, developers want to invoke a second Lambda function to handle the error and log detailed information. Which solution meets these requirements?

Correct Answer: A. Configure a Lambda function destination and specify failure conditions. Set Lambda function as the destination type and specify the Amazon Resource Name (ARN) of the error-handling Lambda function as the resource.

Explanation

Using Lambda function destinations with failure conditions allows specifying an error-handling Lambda function to be invoked automatically when the initial Lambda function invocation fails. This approach ensures automatic, reliable error-handling logic execution without manual intervention.