Bird
0
0

You want to secure your API Gateway endpoint integrated with Lambda so only authenticated users can invoke it. Which AWS service should you use?

hard📝 Application Q8 of 15
AWS - API Gateway
You want to secure your API Gateway endpoint integrated with Lambda so only authenticated users can invoke it. Which AWS service should you use?
AAWS IAM roles and policies
BAmazon S3 bucket policies
CAWS Cognito user pools
DAWS CloudTrail
Step-by-Step Solution
Solution:
  1. Step 1: Identify authentication service

    AWS Cognito provides user authentication and authorization.
  2. Step 2: Connect Cognito with API Gateway

    API Gateway can use Cognito user pools to restrict access to authenticated users.
  3. Final Answer:

    AWS Cognito user pools -> Option C
  4. Quick Check:

    Authenticated API access = Use Cognito [OK]
Quick Trick: Use Cognito for user authentication on API Gateway [OK]
Common Mistakes:
MISTAKES
  • Using IAM roles for user auth
  • Confusing S3 policies with API security

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes