Amazon API Gateway | Proxy and API Management Functionality

Proxy and API Management Functionality

Question

The Developer team is planning to build a new application using the HTTPS endpoint with Amazon API Gateway.

New API should incorporate API management functionality along with proxy functionality. Which API can be used with Amazon API Gateway for this purpose?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer: B.

Rest APIs offer API management features like usage plans, API keys, publishing, and monetizing APIs.

REST API supports this management functionality along with proxy functionality.

Option A is incorrect as API Management functionality is not currently supported by HTTP API.

Option C is incorrect as WebSocket API is used to establish a persistent connection between clients and applications.

Option D is incorrect as SOAP API is not supported by the Amazon API gateway.

For more information on API types supported by Amazon API Gateway, refer to the following URL,

https://aws.amazon.com/api-gateway/faqs/

Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. It can be used to create APIs that can handle HTTPS traffic, which is the secure version of HTTP.

There are two types of APIs that can be created with Amazon API Gateway: REST APIs and HTTP APIs.

REST APIs are ideal for building APIs that adhere to the RESTful architectural style. They support a variety of HTTP methods, including GET, POST, PUT, DELETE, and PATCH. REST APIs are flexible and customizable, and they can integrate with a wide range of backend services, including AWS Lambda functions, Amazon EC2 instances, and HTTP endpoints.

HTTP APIs are a newer, lightweight option for building APIs with Amazon API Gateway. They offer a more streamlined and cost-effective way to build and run APIs that primarily handle HTTP traffic. HTTP APIs support a subset of the functionality of REST APIs, but they are simpler to configure and offer faster performance.

In this case, the Developer team is planning to build a new application using the HTTPS endpoint with Amazon API Gateway, and they want to incorporate both API management functionality and proxy functionality.

Both REST APIs and HTTP APIs can be used to build APIs with Amazon API Gateway that support HTTPS traffic. However, API management functionality and proxy functionality are more commonly associated with REST APIs.

Therefore, the best answer to this question is B. REST API. With REST APIs, developers can use Amazon API Gateway to manage their APIs and handle proxy functionality, as well as integrate with backend services and perform other advanced tasks.

WebSocket APIs are designed for real-time, bidirectional communication between clients and servers over WebSocket connections. They are not a good fit for the use case described in the question. Similarly, SOAP APIs are not commonly used with Amazon API Gateway, as they are associated with a different architectural style for building web services.