A company is developing a mobile application. The mobile app needs to allow users to sign up and sign in using their email addresses, and it also needs to store custom user profile attributes in a managed user directory. Which Amazon Cognito component should the developer use to implement this user directory and handle user authentication?
- AAmazon Cognito Identity Pools
- Amazon Cognito User PoolsAnswer
- CAWS IAM Identity Center
- DAmazon API Gateway Lambda Authorizers
Answer
Amazon Cognito User Pools
Amazon Cognito User Pools is the correct service because it functions as a user directory that manages user registration, authentication, and profile attributes. It provides built-in sign-up and sign-in pages and can scale to millions of users without requiring database management.
Step-by-Step Solution
Key Concept
Distinction between Amazon Cognito User Pools (authentication and user directory) and Amazon Cognito Identity Pools (authorization and temporary AWS credentials).