A developer must create an API Gateway endpoint at /auth to test JWT authorization using API Gateway's built-in authorizer (no custom authorizer code). Which configuration satisfies this requirement?
Choose an answer
Tap an option to check your answer.
Correct answer: Create an HTTP API with a /auth route, configure the JWT authorizer, attach the JWT authorizer to the /auth route, and deploy..
Why this is the answer
The correct option is "Create an HTTP API with a /auth route, configure the JWT authorizer, attach the JWT authorizer to the /auth route, and deploy." This is because API Gateway's built-in JWT authorizers are exclusively supported by HTTP APIs, not WebSocket APIs. The question specifically states "API Gateway's built-in authorizer (no custom authorizer code)," which refers to the native JWT authorizer functionality. Lambda authorizers, while valid for both HTTP and REST APIs, involve custom code, which the question explicitly excludes. Therefore, creating an HTTP API and configuring its built-in JWT authorizer for the /auth route is the only solution that meets all requirements.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed