exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 19 discussion

A company is offering APIs as a service over the internet to provide unauthenticated read access to statistical information that is updated daily. The company uses Amazon API Gateway and AWS Lambda to develop the APIs. The service has become popular, and the company wants to enhance the responsiveness of the APIs.
Which action can help the company achieve this goal?

  • A. Enable API caching in API Gateway.
  • B. Configure API Gateway to use an interface VPC endpoint.
  • C. Enable cross-origin resource sharing (CORS) for the APIs.
  • D. Configure usage plans and API keys in API Gateway.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Bibay
Highly Voted 1 year, 8 months ago
Selected Answer: A
A. Enable API caching in API Gateway can help the company enhance the responsiveness of the APIs. By enabling caching, API Gateway stores the responses from the API and returns them for subsequent requests instead of forwarding the requests to Lambda. This reduces the number of requests to Lambda, improves API performance, and reduces latency for users.
upvoted 29 times
...
sumanshu
Most Recent 2 weeks, 1 day ago
Selected Answer: A
A) Cached data reduces calls to the backend (in this case, Lambda) and serves responses directly from the cache. Since the data updates only once per day, caching is highly effective B) Eliminated - This is useful for securing private APIs inside a VPC, but the scenario involves public, unauthenticated APIs over the internet C) Eliminated - CORS is related to resolving client-side browser compatibility issues D) Eliminated - Usage plans and API keys manage access control and rate limiting, which are useful for monetization
upvoted 1 times
...
trieudo
3 weeks, 2 days ago
Selected Answer: A
keyword: updated daily, enhance the responsiveness => A
upvoted 1 times
...
ahadh7621
5 months, 2 weeks ago
Selected Answer: A
Answer is A
upvoted 1 times
...
65703c1
7 months, 2 weeks ago
Selected Answer: A
A is the correct answer.
upvoted 1 times
...
badsati
9 months ago
Selected Answer: A
Answer is A. Caching will enhance the responsiveness of the APIs.
upvoted 1 times
...
leonardoliveros
1 year, 1 month ago
Selected Answer: A
Caching the request is the best option because the request don't forwared to Lambda Function and this reduces latency and also recude costs
upvoted 2 times
...
Tony88
1 year, 4 months ago
Selected Answer: A
Go with A. A. Caching is the general solution to improve performance of non-frequently change data. (in this case, daily, not really frequent) B. interface endpoint is a VPC concept, in this architect we don't need to concern with VPC. For those who are interested, go check with interface endpoint and gateway endpoint. C. CORS is short for cross origin resource share. it is a distractor here. You may consider CORS when your client cannot access to your API Gateway resource, not when you want to improve the performance. D. usage plan is used when your API client's behaviour is predictable, and it can avoid anormal usage.
upvoted 4 times
...
yuruyenucakc
1 year, 4 months ago
A-> Caching frequently accessed api calls allows reducing process time every time api is called. B-> You shloud configure VPC if you want to change network security of your application. So it does not neccessarily increase the performance. C-> CORS (Cross Origin Resource Sharing), allows you to proccess the api calls that comes from outside of your AWS organization. Again nothing to do with the performance. One of the use case of this feature is if you want to keep your web app apis reachable from public internet you should enable CORS for it. D→ This is mainly for throttling and controlling who can access the API and at what rate. While it's useful for controlling and metering access, it doesn't enhance the responsiveness of the API
upvoted 1 times
...
svrnvtr
1 year, 9 months ago
Selected Answer: A
I vote for A
upvoted 3 times
...
Untamables
1 year, 9 months ago
Selected Answer: A
A https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago