Questions 31 to 33

Explanations for questions 31 to 33

We'll cover the following

Question 31

A mobile app uploads usage information to a database. Amazon Cognito is being used for authentication, authorization, and user management, and users sign-in with Facebook IDs.

In order to securely store data in DynamoDB, the design should use temporary AWS credentials. Which feature of Amazon Cognito is used to obtain temporary credentials to access AWS services?

  1. User pools
  2. Identity pools
  3. Key pairs
  4. SAML Identity Providers

Correct Answer: 2

Explanation: Amazon Cognito identity pools provide temporary AWS credentials for users who are guests (unauthenticated) and for users who have been authenticated and have received a token. An identity pool is a store of user identity data specific to your account.

With an identity pool, users can obtain temporary AWS credentials to access AWS services, such as Amazon S3 and DynamoDB.

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.