ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 404 - SCS-C01 discussion

Report
Export

Your team is experimenting with the API gateway service for an application. There is a need to implement a custom module which can be used for authentication/authorization for calls made to the API gateway. How can this be achieved? Please select:

A.
Use the request parameters for authorization
Answers
A.
Use the request parameters for authorization
B.
Use a Lambda authorizer
Answers
B.
Use a Lambda authorizer
C.
Use the gateway authorizer
Answers
C.
Use the gateway authorizer
D.
Use CORS on the API gateway
Answers
D.
Use CORS on the API gateway
Suggested answer: B

Explanation:

The AWS Documentation mentions the following

An Amazon API Gateway Lambda authorizer (formerly known as a custom authorize?) is a Lambda function that you provide to control access to your API methods. A Lambda authorizer uses bearer token authentication strategies, such as OAuth or SAML. It can also use information described by headers, paths, query strings, stage variables, or context variables request parameters. Options A,C and D are invalid because these cannot be used if you need a custom authentication/authorization for calls made to the API gateway For more information on using the API gateway Lambda authorizer please visit the URL:

https://docs.aws.amazon.com/apisateway/latest/developerguide/apieateway-use-lambdaauthorizer.htmllThe correct answer is: Use a Lambda authorizerSubmit your Feedback/Queries to our Experts

asked 16/09/2024
Bogdan Paun
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first