A consumer application needs self-service registration and sign-in, with JWTs that its API can validate. Customers do not need credentials for direct AWS service access; which solution best meets these requirements?
Show the answer
Correct answerB. An Amazon Cognito user pool
AWhy not this: Identity pools issue AWS credentials rather than provide the required customer registration and JWT authentication service.
BWhy this is right: User pools support self-service registration, sign-in, and JWTs for application authentication.
CWhy not this: A managed directory provides directory services, not a customer-facing registration and JWT issuance service.
DWhy not this: IAM Identity Center serves workforce access rather than consumer self-registration and application token issuance.
An Amazon Cognito user pool provides customer registration, authentication, and JWT issuance. An identity pool exchanges supported identities for temporary AWS credentials, which the application does not require.