AWS Certification: Amazon API Gateway Questions

Amazon API Gateway

Overview
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. APIs act as the “front door” for applications to access data, business logic, or functionality from your backend services. Using API Gateway, you can create RESTful APIs and WebSocket APIs that enable real-time two-way communication applications. API Gateway supports containerized and serverless workloads, as well as web applications.
1. A company owns an API which currently gets 1000 requests per second. The company wants to host this in a cost effective manner using AWS. Which one of the following solution is best suited for this?

A. Use API Gateway with the backend services as it is.

B. Use the API Gateway along with AWS Lambda

C. Use CloudFront along with the API backend service as it is.

D. Use ElastiCache along with the API backend service as it is.

Answer
B. Use the API Gateway along with AWS Lambda

2. A company wants to build a brand new application on the AWS Cloud. They want to ensure that this application follows the Microservices architecture. Which of the following services can be used to build this sort of architecture? Choose 3 answers from the options given below.

A. AWS Lambda

B. AWS ECS

C. AWS API Gateway

D. AWS Config

Answer
A., B. & C.

3. You currently have a set of Lambda functions which have business logic embedded in them. You want customers to have the ability to call these functions via HTTPS. How can this be achieved?

A. Use the API Gateway and provide integration with the AWS Lambda functions.

B. Enable HTTP access on the AWS Lambda functions.

C. Add EC2 Instances with an API server installed. Integrate the server with AWSLambda functions.

D. Use S3 websites to make calls to the Lambda functions

Answer
A. Use the API Gateway and provide integration with the AWS Lambda functions.