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 Exam DVA-C02 Topic 7 Question 17 Discussion

Actual exam question for Amazon's DVA-C02 exam
Question #: 17
Topic #: 7
[All DVA-C02 Questions]

A company developed an API application on AWS by using Amazon CloudFront, Amazon API Gateway, and AWS Lambd

a. The API has a

minimum of four requests every second. A developer notices that many API users run the same query by using the POST method. The developer

wants to cache the POST request to optimize the API resources.

Which solution will meet these requirements?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Billye
24 days ago
Agreed, Melodie. And option D, using Systems Manager Parameter Store? That seems overkill for this use case. Let's stick with the CloudFront caching solution.
upvoted 0 times
Rebecka
5 days ago
B) Override the cache method in the selected stage of API Gateway. Select the POST method.
upvoted 0 times
...
Ceola
6 days ago
Yeah, I agree. Let's go with the simpler solution.
upvoted 0 times
...
Filiberto
7 days ago
A) Configure the CloudFront cache. Update the application to return cached content based upon the default request headers.
upvoted 0 times
...
Garry
8 days ago
But wouldn't that be more complicated than just using CloudFront caching?
upvoted 0 times
...
Yun
9 days ago
B) Override the cache method in the selected stage of API Gateway. Select the POST method.
upvoted 0 times
...
Carin
10 days ago
I think that's the best option to optimize the API resources.
upvoted 0 times
...
Selma
11 days ago
A) Configure the CloudFront cache. Update the application to return cached content based upon the default request headers.
upvoted 0 times
...
...
Melodie
25 days ago
Ah, good point, Remona. Option C is definitely not the way to go. Storing request responses in the Lambda /tmp directory? That's just asking for trouble.
upvoted 0 times
...
Remona
25 days ago
Haha, imagine if the developer tried to cache the requests in the Lambda /tmp directory. That would be a disaster waiting to happen!
upvoted 0 times
...
Fanny
26 days ago
Alright, I think we've got it. Option A is the way to go. Time to move on to the next question and hope the rest of the exam is just as straightforward!
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77