Design Secure Architectures

A customer application needs managed user registration and multifactor authentication, and its API Gateway REST API must validate user tokens before invoking Lambda. Customers must not receive AWS credentials. Which design meets these requirements?

Show the answer

Correct answerD. Use a Cognito user pool with a user pool authorizer.

AWhy not this: IAM Identity Center primarily manages workforce access, not customer registration and API user-token validation.

BWhy not this: Secrets Manager does not provide customer registration, MFA, or user-token issuance.

CWhy not this: Identity pools provide temporary AWS credentials and do not independently supply a managed customer user directory.

DWhy this is right: User pools manage customer authentication, and an API Gateway authorizer validates their tokens without issuing AWS credentials.

A Cognito user pool provides customer registration, sign-in, MFA, and tokens that an API Gateway user pool authorizer can validate. An identity pool exchanges identities for temporary AWS credentials, which the application does not require.