You are requested to expose your serverless application implemented with AWS Lambda to HTTP clients.
( using HTTP Proxy ) Which of the following AWS services can you use to accomplish the task? (Select TWO)
Click on the arrows to vote for the correct answer
A. B. C. D. E.Answer: A and C.
Option A is CORRECT because AWS documentation mentions that "Application Load Balancers now support invoking Lambda functions to serve HTTP(S) requests." This enables users to access serverless applications from any HTTP client, including web browsers.
Option B is INCORRECT because Route53 is a Domain Name System and not an HTTP proxy.
Option C is CORRECT because API Gateway + Lambda is a common pattern for exposing serverless functions via HTTP/HTTPS.
AWS documentation mentions that "Creating, deploying, and managing a REST application programming interface (API) to expose backend HTTP endpoints, AWS Lambda functions, or other AWS services."
Option D is INCORRECT because AWS Lightsail has a completely different goal.
It is a service to speed up the provisioning of AWS resources.
Option E is INCORRECT because AWS Elastic Beanstalk has a completely different goal.
It is a service that makes it easier for developers to deploy and manage applications in the AWS Cloud quickly.
Developers simply upload their applications, then Elastic Beanstalk automatically handles the deployment details of capacity provisioning, load balancing, auto-scaling, and application health monitoring.
Diagram: none.
References:
ELB:
https://aws.amazon.com/elasticloadbalancing/faqs/?nc=sn&loc=6API Gateway:
https://aws.amazon.com/api-gateway/faqs/To expose a serverless application implemented with AWS Lambda to HTTP clients using HTTP proxy, two AWS services that can be used are:
AWS API Gateway: AWS 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 allows developers to create RESTful APIs that can be used to expose Lambda functions to HTTP clients. API Gateway also provides features like throttling, caching, and authentication to help manage traffic and ensure security.
AWS Elastic Load Balancing (ELB): AWS Elastic Load Balancing (ELB) is a service that automatically distributes incoming traffic across multiple targets, such as EC2 instances, containers, or Lambda functions, in one or more Availability Zones. ELB supports multiple load balancing algorithms and provides features like SSL termination, connection draining, and health checks. By configuring ELB to use Lambda functions as targets, you can expose your serverless application to HTTP clients.
AWS Route53 and AWS Elastic Beanstalk are not directly related to exposing serverless applications to HTTP clients. AWS Route53 is a domain name system (DNS) service that routes internet traffic to the resources that you specify, while AWS Elastic Beanstalk is a platform as a service (PaaS) that makes it easy to deploy and run web applications. AWS Lightsail is a simplified version of AWS services that provide easy-to-use, preconfigured, and cost-effective virtual private servers (VPS) that can be used to deploy web applications, but it does not provide the ability to expose serverless applications to HTTP clients.