nerdexam
Amazon

SAP-C02 · Question #779

A company is using AWS to develop and manage its production web application. The application includes an Amazon API Gateway HTTP API that invokes an AWS Lambda function. The Lambda function…

The correct answer is A. Integrate the company's third-party identity provider with API Gateway. Configure an API. The company needs to implement user authorization for its Amazon API Gateway HTTP API using an existing third-party identity provider that issues OAuth tokens.

Submitted by akirajp· Mar 6, 2026Continuous Improvement for Existing Solutions

Question

A company is using AWS to develop and manage its production web application. The application includes an Amazon API Gateway HTTP API that invokes an AWS Lambda function. The Lambda function processes and then stores data in a database. The company wants to implement user authorization for the web application in an integrated way. The company already uses a third-party identity provider that issues OAuth tokens for the company's other applications. Which solution will meet these requirements?

Options

  • AIntegrate the company's third-party identity provider with API Gateway. Configure an API
  • BIntegrate the company's third-party identity provider with AWS Directory Service. Configure
  • CIntegrate the company's third-party identity provider with AWS IAM Identity Center. Configure API
  • DIntegrate the company's third-party identity provider with AWS IAM Identity Center. Configure IAM

How the community answered

(24 responses)
  • A
    79% (19)
  • B
    4% (1)
  • C
    13% (3)
  • D
    4% (1)

Why each option

The company needs to implement user authorization for its Amazon API Gateway HTTP API using an existing third-party identity provider that issues OAuth tokens.

AIntegrate the company's third-party identity provider with API Gateway. Configure an APICorrect

Option A correctly identifies that API Gateway can integrate with a third-party identity provider and validate OAuth tokens directly through its built-in authorization mechanisms, such as JWT authorizers for HTTP APIs or custom (Lambda) authorizers, providing a seamless and integrated authorization solution.

BIntegrate the company's third-party identity provider with AWS Directory Service. Configure

AWS Directory Service is primarily for managing directory services and is not the direct, integrated solution for authorizing API Gateway requests with OAuth tokens from an external IdP.

CIntegrate the company's third-party identity provider with AWS IAM Identity Center. Configure API

AWS IAM Identity Center (successor to AWS SSO) is for centralized access management to AWS accounts and applications, but API Gateway does not directly use it as an authorizer for API requests.

DIntegrate the company's third-party identity provider with AWS IAM Identity Center. Configure IAM

IAM Identity Center focuses on user access to AWS resources and applications, but configuring IAM roles alone would not directly integrate with the third-party OAuth tokens for API Gateway request authorization.

Concept tested: API Gateway authorization (Lambda authorizers, JWT authorizers) with external identity providers

Source: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html

Community Discussion

No community discussion yet for this question.

Full SAP-C02 Practice