Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
AWS Certified Solutions Architect - Associate · AWS
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
The answer is D. There are 2 ways to control user access to the API gateway REST API. That is through Lambda authorizers and Cognito user pools. Use Lambda authorizers if you want complete control over the authorization process. This allows you to customize what IAM policies a user is assigned. Use Cognito if your authorization needs are basic.
you can use an Amazon Cognito user pool to control who can access your API in Amazon API Gateway
Control access to a REST API using Amazon Cognito user pools as authorizer https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-integrate-with-cognito.html