AWS Certified Developer – Associate — Question 211

A company is building a serverless microservice for an existing application that uses AWS Lambda functions and Amazon API Gateway. The microservice needs to automate an on-premises identity provider (IdP) that supports the OpenID Connect (OIDC) standard.

What should the company do to implement the API authorization mechanism with the LEAST operational overhead?

Answer options

Correct answer: D

Explanation

Option D is correct because it utilizes Amazon Cognito, which simplifies the integration with the on-premises IdP while providing built-in authorization features. The other options either do not leverage Cognito for federation or use HTTP APIs, which do not support the same level of authorization features as REST APIs.