A developer is building a mobile fitness tracking app. The app requires users to create an account, sign in with a username and password, and manage their profile data. The application does not need to access other AWS services directly from the mobile client. Which Amazon Cognito feature should the developer implement to provide the user directory and authentication services?
- AAmazon Cognito Identity Pools
- Amazon Cognito User PoolsAnswer
- CAPI Gateway Lambda Authorizers
- DAWS Identity and Access Management (IAM) access keys hardcoded in the app code
Answer
Amazon Cognito User Pools
Amazon Cognito User Pools provide a fully managed user directory that handles user registration, authentication (sign-up/sign-in), and profile management. Since the application does not require direct access to other AWS services from the mobile client, a User Pool alone satisfies the requirements.
Step-by-Step Solution
Key Concept
Cognito User Pools vs. Identity Pools
Estimated Time:45s