DVA-C02 exam dumps

DVA-C02 practice question 133 of 399

AWS Certified Developer - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

DVA-C02 Question 133

Select 3

Your company is building a web application where users can sign up, log in, and access various resources based on their roles. You also need to integrate social identity providers (like Google and Facebook) and provide temporary AWS credentials for the users to access an S3 bucket. Which service(s) in Amazon Cognito would you use to achieve this?

  1. A

    Cognito User Pools to handle user authentication and securely manage user sign-up and sign-in.

  2. B

    Cognito Identity Pools to provide temporary AWS credentials for accessing AWS resources.

  3. C

    Cognito User Pools to provide temporary AWS credentials for accessing AWS resources.

  4. D

    Cognito Identity Pools to handle user authentication and manage user sign-up and sign-in.

  5. E

    Cognito User Pools to integrate with social identity providers like Google and Facebook.

Show answer and explanation

Correct answers: A, B, E

Explanation

To implement the described scenario, you would use Cognito User Pools for user authentication, handling sign-up and sign-in processes, and integrating with social identity providers like Google and Facebook. To provide temporary AWS credentials for accessing AWS resources such as an S3 bucket, you would use Cognito Identity Pools. These two components of Amazon Cognito work together to meet the use case requirements.

  • A. Correct.

    Correct. Cognito User Pools are designed for user authentication and managing sign-up and sign-in processes.

  • B. Correct.

    Correct. Cognito Identity Pools are used to provide temporary AWS credentials to authenticated users, enabling access to AWS resources like an S3 bucket.

  • C. Incorrect.

    Incorrect. Cognito User Pools do not provide temporary AWS credentials for accessing AWS resources. This is a function of Cognito Identity Pools.

  • D. Incorrect.

    Incorrect. Cognito Identity Pools are not designed to handle user authentication or manage sign-up and sign-in. This is a function of Cognito User Pools.

  • E. Correct.

    Correct. Cognito User Pools support integration with social identity providers for user authentication.

Timed practice exam

Take a DVA-C02 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam