A solutions architect needs to design a new microservice for a company’s application. Clients must be able to call an HTTPS endpoint to reach the microservice. The microservice also must use AWS Identity and Access Management (IAM) to authenticate calls. The solutions architect will write the logic for this microservice by using a single AWS Lambda function that is written in Go 1.x. Which solution will deploy the function in the MOST operationally efficient way?
Choose an answer
Tap an option to check your answer.
Correct answer: Create an Amazon API Gateway REST API. Configure the method to use the Lambda function and enable IAM authentication on the API..
Why this is the answer
Creating an Amazon API Gateway REST API and configuring it with a Lambda integration and IAM authentication is the most operationally efficient solution. API Gateway provides a fully managed HTTPS endpoint, handles request routing to the Lambda function, and natively supports IAM authentication, offloading these concerns from the microservice logic. A Lambda function URL with AWSIAM authentication is a valid option but offers less flexibility and features compared to API Gateway, such as request validation, throttling, and caching, which are often needed for production microservices. Using
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed