exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C03 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C03 exam

Exam AWS Certified Solutions Architect - Associate SAA-C03 topic 1 question 239 discussion

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?

  • A. Create an Amazon API Gateway REST API. Configure the method to use the Lambda function. Enable IAM authentication on the API.
  • B. Create a Lambda function URL for the function. Specify AWS_IAM as the authentication type.
  • C. Create an Amazon CloudFront distribution. Deploy the function to Lambda@Edge. Integrate IAM authentication logic into the Lambda@Edge function.
  • D. Create an Amazon CloudFront distribution. Deploy the function to CloudFront Functions. Specify AWS_IAM as the authentication type.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
mhmt4438
Highly Voted 1 year, 11 months ago
Selected Answer: A
A. Create an Amazon API Gateway REST API. Configure the method to use the Lambda function. Enable IAM authentication on the API. This option is the most operationally efficient as it allows you to use API Gateway to handle the HTTPS endpoint and also allows you to use IAM to authenticate the calls to the microservice. API Gateway also provides many additional features such as caching, throttling, and monitoring, which can be useful for a microservice.
upvoted 22 times
...
FlyingHawk
Most Recent 3 weeks, 5 days ago
Selected Answer: B
Use Lambda Function URLs for simplicity, low cost, and direct integration with IAM for authentication. If your microservice evolves to require more complex features, you can later integrate with API Gateway as needed. API Gateway can integrate with Lambda and enable IAM authentication, but it introduces more operational overhead and cost compared to a Lambda Function URL. It's unnecessary unless the application requires additional features like request validation, throttling, or custom authorizers.
upvoted 1 times
...
LeonSauveterre
1 month ago
Selected Answer: B
Why is B better than A: Both options meet the requirements, but Lambda function URLs are simpler and involve less operational overhead compared to setting up and managing an API Gateway, so B for sure.
upvoted 1 times
...
OlehKom
3 months, 3 weeks ago
The question specifically asks for the solution that is most operationally efficient, not necessarily the one with the most features (which is A). Option B—using a Lambda function URL with AWS_IAM authentication—is indeed the most operationally efficient because: 1) Minimal Configuration: Lambda function URLs are designed to quickly create HTTPS endpoints without the need for additional AWS services like API Gateway. 2) Built-in IAM Authentication: You can easily specify AWS_IAM as the authentication type directly, fulfilling the requirement without extra setup. 3) No Extra Overhead: Unlike API Gateway, there’s no need to manage complex API configurations, throttling settings, or additional API management features unless specifically required.
upvoted 4 times
...
maryam_sh
4 months, 2 weeks ago
Selected Answer: B
B is the most operationally efficient solution. It provides the necessary functionality with minimal setup and cost, directly supports IAM authentication, and avoids the additional complexity and overhead associated with other options. This approach is particularly suitable for scenarios where the API requirements are straightforward and do not need the advanced features provided by API Gateway or CloudFront.
upvoted 2 times
...
hro
9 months, 1 week ago
I think from a decoupllng and separation of concerns A is the answer. You dont want to have a heavy reliance on the Lambda function with you have specific services for what is being required. there is operationally efficient incorrect and operationally efficient correct. So A is the best answer.
upvoted 1 times
...
bujuman
10 months ago
Selected Answer: B
According to this statement "MOST operationally efficient way" and the following link related to Lambda Function URL security: https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html
upvoted 2 times
...
awsgeek75
11 months, 1 week ago
I originally voted B but after reading this article, I am not sure if A is wrong or is just badly worded. If A actually said "Configure the [authorization] method to use the Lambda function" then it would be way more logical than B but this could be intentional. Although I think this is AWS test not IELTS so picking right answers based on small word mistakes is not the intention! https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html
upvoted 3 times
...
upliftinghut
11 months, 3 weeks ago
Selected Answer: B
A& B are all good. The requirement is most operationally efficient so B is faster. In real life, I won't risk B for production, dev & test makes sense but no production please
upvoted 1 times
upliftinghut
11 months, 3 weeks ago
Reference link why B is here: https://aws.amazon.com/blogs/aws/announcing-aws-lambda-function-urls-built-in-https-endpoints-for-single-function-microservices/
upvoted 3 times
...
...
awsgeek75
11 months, 3 weeks ago
Selected Answer: B
I think this question has 2 answers as both A and B will work. However, B is more operationally efficient due to Lambda function URL and direct support for AWS_IAM as the auth type for this setup. https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html#urls-auth-iam C, D are not operationally efficient and GO is not supported on Lambda@Edge or CloudFront functions. Even if AWS start supporting it, the operational efficiency with increase because of CloudFront
upvoted 1 times
awsgeek75
11 months, 3 weeks ago
* meant to say "operational efficiency will decrease" because of CloudFront
upvoted 2 times
...
...
pentium75
12 months ago
Selected Answer: B
We know that the application provides "an HTTPS endpoint" but we don't even know whether it is a REST API. The question is not mentioning any other requirements besides IAM authentication, which can be handled by Lambda alone. A would work, but would be an additional processing step (lowering operational efficiency). It would also provide benefits but none of those is asked for in the question. C and D is wrong because Lambda@Edge does not support Go.
upvoted 2 times
...
meowruki
1 year ago
Selected Answer: A
Options B, C, and D involve using Lambda function URLs or CloudFront, but they lack the full set of features provided by API Gateway, such as built-in IAM authentication, throttling, and other API management capabilities.
upvoted 3 times
...
google_platform_team
1 year, 1 month ago
Selected Answer: B
I think it is B - most operationally efficient. A is a better answer, but more complicated.
upvoted 1 times
...
swap001
1 year, 2 months ago
Selected Answer: B
There is no need of an additional API gateway when Lambda itself can support the need. This is more operationally efficient.
upvoted 2 times
...
OlehKom
1 year, 2 months ago
Why not B? I agree that A is a nice choice, but it clearly says "MOST operationally efficient way", there is nothing said about API. B in this case suits absolutely fine, it's simpler and cheaper.
upvoted 2 times
LeonSauveterre
1 month ago
I totally agree. The answer should be B instead of A. I'm sure of it.
upvoted 1 times
...
...
TariqKipkemei
1 year, 3 months ago
Selected Answer: A
Create an Amazon API Gateway REST API. Configure the method to use the Lambda function. Enable IAM authentication on the API
upvoted 2 times
...
Guru4Cloud
1 year, 3 months ago
Selected Answer: A
A. Create an Amazon API Gateway REST API. Configure the method to use the Lambda function. Enable IAM authentication on the API. This option is the most operationally efficient as it allows you to use API Gateway to handle the HTTPS endpoint and also allows you to use IAM to authenticate the calls to the microservice. API Gateway also provides many additional features such as caching, throttling, and monitoring, which can be useful for a microservice.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago