Bird
0
0

You want to allow users to sign in with social providers like Google using AWS Cognito. Which setup is required?

hard📝 Best Practice Q15 of 15
AWS - Serverless Architecture
You want to allow users to sign in with social providers like Google using AWS Cognito. Which setup is required?
AUse only an identity pool without a user pool
BCreate only a user pool client without identity providers
CConfigure a user pool with identity providers and set up an identity pool for AWS credentials
DSet up Lambda triggers to handle social login manually
Step-by-Step Solution
Solution:
  1. Step 1: Understand social login with Cognito

    Social login requires configuring user pools with external identity providers like Google.
  2. Step 2: Connect user pool to identity pool for AWS credentials

    Identity pools provide AWS credentials after authentication; both are needed for full setup.
  3. Final Answer:

    Configure a user pool with identity providers and set up an identity pool for AWS credentials -> Option C
  4. Quick Check:

    Social login = user pool + identity pool setup [OK]
Quick Trick: Social login needs user pool + identity pool configured [OK]
Common Mistakes:
  • Skipping identity providers in user pool
  • Using only identity pool without user pool
  • Trying to handle social login only with Lambda

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes