Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon DVA-C02 Exam - Topic 2 Question 69 Discussion

Posted by Pete on Jul 21, 2026 at 04:43 AM

A developer at a company recently created a serverless application to process and show data from business reports. The application's user interface (UI) allows users to select and start processing the files. The Ul displays a message when the result is available to view. The application uses AWS Step Functions with AWS Lambda functions to process the files. The developer used Amazon API Gateway and Lambda functions to create an API to support the UI.

The company's Ul team reports that the request to process a file is often returning timeout errors because of the see or complexity of the files. The Ul team wants the API to provide an immediate response so that the Ul can deploy a message while the files are being processed. The backend process that is invoked by the API needs to send an email message when the report processing is complete.

What should the developer do to configure the API to meet these requirements?

Suggested Answer: A

This solution allows the API to invoke the Lambda function asynchronously, which means that the API will return an immediate response without waiting for the function to complete. The X-Amz-Invocation-Type header specifies the invocation type of the Lambda function, and setting it to 'Event' means that the function will be invoked asynchronously. The function can then use Amazon Simple Email Service (SES) to send an email message when the report processing is complete.


Get Premium DVA-C02 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
12 comments · newest first
TH
Theola 1 month ago
Option C could work too, but it won't solve the timeout issue effectively.
YU
Yuette 1 month ago
I agree, A makes sense. Immediate response is crucial for the UI.
BR
Bronwyn 1 month ago
I think option A is the best choice. It allows for asynchronous processing.
CE
Cecily 2 months ago
Option D sounds interesting, but I haven't seen that used before.
PR
Precious 2 months ago
I like option B, but I'm not sure about the max age setting.
NI
Nickie 2 months ago
Wait, can the API really handle that many requests at once?
KA
Kattie 2 months ago
I disagree, I think option C is more straightforward.
LO
Louvenia 2 months ago
Option A seems like the best choice for async processing.
ER
Eric 2 months ago
I think adding the X-Amz-Target header might be a red herring. It sounds familiar, but I can't recall if it actually helps with the timeout errors we're seeing.
MA
Maia 3 months ago
I feel like we practiced a question similar to this where we had to adjust the API Gateway timeout. But I’m not convinced that’s the best solution for this specific issue.
LA
Lauran 3 months ago
I'm not entirely sure, but I think changing the Lambda function's configuration to handle events asynchronously could also work. It seems like a viable option.
AN
Angelo 3 months ago
I remember we discussed how using the X-Amz-Invocation-Type header can help with asynchronous processing in our last study session. That might be the right approach here.
0/2000 characters

Save Cancel