Solved

A Developer Has Built an Application Using Amazon Cognito for Authentication

Question 74

Multiple Choice

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions