A developer has built an application using Amazon Cognito for authentication and authorization. After a user is successfully logged in to the application, the application creates a user record in an Amazon DynamoDB table. What is the correct flow to authenticate the user and create a record in the DynamoDB table?
A) Authenticate and get a token from an Amazon Cognito user pool. Use the token to access DynamoDB.
B) Authenticate and get a token from an Amazon Cognito identity pool. Use the token to access DynamoDB.
C) Authenticate and get a token from an Amazon Cognito user pool. Exchange the token for AWS credentials with an Amazon Cognito identity pool. Use the credentials to access DynamoDB.
D) Authenticate and get a token from an Amazon Cognito identity pool. Exchange the token for AWS credentials with an Amazon Cognito user pool. Use the credentials to access DynamoDB.
Correct Answer:
Verified
Q423: A developer is building a new application
Q424: A developer is creating a serverless ecommerce
Q425: A developer wants to secure sensitive configuration
Q426: A company is adding stored value (or
Q427: A company processes incoming documents from an
Q429: A company has an Amazon S3 bucket
Q430: Which of the following are good use
Q431: A developer is working on an ecommerce
Q432: A developer is adding a feature to
Q433: A company maintains an application that uses
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents