Topic 1 Question 471
A company has an application that uses an Amazon Cognito user pool for authentication. A developer needs to add a new REST API that will use the user pool to authenticate requests.
Which solution will meet this requirement with the LEAST development effort?
Create a new API key and a new usage plan. Associate the API key and the REST API with the usage plan.
Create a Cognito authorizer for the correct user pool. Reference the header that contains the Cognito token.
Create an AWS Lambda token authorizer. Reference the authorization token in the event payload. Authenticate requests based on the token value.
Create an AWS Lambda request authorizer. Reference the authorization header in the event payload. Authenticate requests by using the header value in a request to the Cognito API.
ユーザの投票
コメント(1)
- 正解だと思う選択肢: B👍 1ShakthiGCP2024/12/12
シャッフルモード