18.1k views
2 votes
Which of the following list three ways to add access controls or authorizers for a REST API in Amazon API Gateway? A. IAM, Client-side SSL certificate and Key Management Service B. Lambda authorizer, VPC endpoint policy, Cognito User Pool C. Resource policy, cross-origin resource sharing and Secrets Manager D. Usage plan, AWS WAF and Security Group

User Atabouraya
by
8.7k points

1 Answer

4 votes

Final answer:

The three ways to add access controls or authorizers for a REST API in Amazon API Gateway are Lambda authorizer, VPC endpoint policy, and Cognito User Pool. The correct answer is B.

Step-by-step explanation:

Lambda authorizer, VPC endpoint policy, and Cognito User Pool. These are three ways to add access controls or authorizers for a REST API in Amazon API Gateway.

  • Lambda Authorizer: This is a custom authorization function that you can create using AWS Lambda. It allows you to implement custom authorization logic for your API.
  • VPC Endpoint Policy: This is a policy that allows you to control access to your API Gateway from resources within your Amazon Virtual Private Cloud (VPC).
  • Cognito User Pool: This is a fully managed user service that can handle user registration, sign-in, and access control for your API. It integrates with API Gateway to provide authentication and authorization capabilities.

Therefore the correct answer is B.

User Yomaris
by
8.5k points