AWS - API GatewayYou want to secure your REST API so only users with a valid JWT token can access it. Which AWS feature should you configure in API Gateway?AEnable API Gateway cachingBUse a Cognito user pool authorizerCSet up a MOCK integrationDUse a Lambda function URLCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand JWT token validationJWT tokens are validated by authorizers in API Gateway.Step 2: Choose Cognito user pool authorizerCognito user pools provide JWT tokens and integrate as authorizers.Final Answer:Use a Cognito user pool authorizer -> Option BQuick Check:JWT validation = Cognito authorizer [OK]Quick Trick: Cognito authorizer validates JWT tokens in API Gateway [OK]Common Mistakes:MISTAKESConfusing caching with securityUsing MOCK integration for securityUsing Lambda URL instead of authorizer
Master "API Gateway" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes API Gateway - CORS configuration - Quiz 7medium API Gateway - API deployment and stages - Quiz 3easy AWS Lambda - Why serverless matters - Quiz 3easy AWS Lambda - Lambda execution model - Quiz 7medium CloudWatch - CloudWatch alarms - Quiz 13medium DynamoDB - Secondary indexes (GSI, LSI) - Quiz 2easy Elastic Load Balancing - Target groups concept - Quiz 11easy Elastic Load Balancing - SSL/TLS termination - Quiz 8hard RDS and Relational Databases - RDS supported engines - Quiz 7medium RDS and Relational Databases - RDS security (encryption, security groups) - Quiz 6medium