DVA-C02 · Question #434
A company is developing a publicly accessible single-page application. The application makes calls from a client web browser to backend services to provide a user interface to customers. The applicati
The correct answer is D. Use Amazon API Gateway to create a REST API. Create an AWS Lambda proxy integration.. https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-proxy- integrations.html
Question
A company is developing a publicly accessible single-page application. The application makes calls from a client web browser to backend services to provide a user interface to customers. The application depends on a third-party web service exposed as an HTTP API. The web client must provide an API key to the third-party web service by using the HTTP header as part of the HTTP request. The company's API key must not be exposed to the users of the web application. Which solution will meet these requirements MOST cost-effectively?
Options
- AUse Amazon API Gateway to create a private REST API. Create an HTTP integration to integrate
- BUse Amazon API Gateway to create a private REST API. Create an AWS Lambda proxy
- CUse Amazon API Gateway to create a REST API. Create an HTTP integration to integrate with
- DUse Amazon API Gateway to create a REST API. Create an AWS Lambda proxy integration.
How the community answered
(19 responses)- A5% (1)
- B21% (4)
- C11% (2)
- D63% (12)
Explanation
https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-proxy- integrations.html
Community Discussion
No community discussion yet for this question.