A developer is designing a new web application and needs to implement user sign-up, sign-in, and directory management capabilities. Which Amazon Cognito component should the developer use to meet these requirements?
- AAmazon Cognito Identity Pools
- Amazon Cognito User PoolsAnswer
- CAmazon API Gateway Lambda Authorizers
- DAWS Identity and Access Management (IAM) Roles
Answer
Amazon Cognito User Pools
The correct answer is Amazon Cognito User Pools because they function natively as a user directory, offering built-in workflows for user registration, user authentication, password recovery, and directory management.
Step-by-Step Solution
Key Concept
Amazon Cognito User Pools are user directories used for authentication (sign-up, sign-in, password reset), whereas Cognito Identity Pools are used for authorization (granting temporary AWS credentials).