Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon Exam DVA-C02 Topic 6 Question 33 Discussion

Actual exam question for Amazon's DVA-C02 exam
Question #: 33
Topic #: 6
[All DVA-C02 Questions]

A developer is designing a serverless application for a game in which users register and log in through a web browser The application makes requests on behalf of users to a set of AWS Lambda functions that run behind an Amazon API Gateway HTTP API

The developer needs to implement a solution to register and log in users on the application's sign-in page. The solution must minimize operational overhead and must minimize ongoing management of user identities.

Which solution will meet these requirements'?

Show Suggested Answer Hide Answer
Suggested Answer: A

Amazon Cognito User Pools:A managed user directory service, simplifying user registration and login.

Social Identity Providers:Cognito supports integration with external providers (e.g., Google, Facebook), reducing development effort.

IAM Roles for Authorization:Cognito-managed IAM roles grant fine-grained access to AWS resources (like Lambda functions).

Operational Overhead:Cognito minimizes the need to manage user identities and credentials independently.


Amazon Cognito Documentationhttps://docs.aws.amazon.com/cognito/

Cognito User Pools for Web Applications:https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-app-integration.html

Contribute your Thoughts:

Doretha
4 months ago
Wait, you guys are actually considering anything other than Cognito? What is this, 2010? Cognito is the only sensible choice for a modern serverless app.
upvoted 0 times
Tamra
2 months ago
D) Configure the sign-in page to register and store the users and their passwords in an Amazon DynamoDB table with an attached IAM policy.
upvoted 0 times
...
Sena
2 months ago
B) Program the sign-in page to create users' 1AM groups with the 1AM roles attached to the groups
upvoted 0 times
...
Lacey
3 months ago
A) Create Amazon Cognito user pools for external social identity providers Configure 1AM roles for the identity pools.
upvoted 0 times
...
...
Elly
4 months ago
Ha! Imagine trying to manage an RDS database for user auth in a serverless app. Talk about overkill. Cognito is the clear winner here, folks.
upvoted 0 times
...
Van
4 months ago
Hmm, I'm not sure about Option D. Storing passwords in DynamoDB? That seems like a security nightmare waiting to happen. Cognito is definitely the way to go.
upvoted 0 times
Leah
3 months ago
Definitely, Cognito user pools with external identity providers is the best choice for user registration and login.
upvoted 0 times
...
Celeste
3 months ago
I agree, storing passwords in DynamoDB is risky. Cognito provides a more secure solution.
upvoted 0 times
...
...
Goldie
4 months ago
That's a valid point, but I still think using Amazon Cognito for user management is more secure and easier to manage in the long run.
upvoted 0 times
...
Marylou
4 months ago
I disagree, I believe option D is better as storing user information in DynamoDB with IAM policies provides a scalable and low operational overhead solution.
upvoted 0 times
...
Goldie
4 months ago
I think option A is the best choice because Amazon Cognito user pools can handle user registration and authentication efficiently.
upvoted 0 times
...
Ranee
4 months ago
I'm with Talia on this one. Cognito is the easiest and most secure way to handle authentication. Plus, you get all those social identity provider integrations out of the box!
upvoted 0 times
...
Talia
4 months ago
Option A is the way to go! Cognito user pools are the perfect solution for managing user identities in a serverless app. Minimizes overhead and no need to manage users ourselves.
upvoted 0 times
Danica
3 months ago
Definitely, Cognito user pools make user registration and login a breeze for serverless applications.
upvoted 0 times
...
Alesia
3 months ago
It's a great way to minimize operational overhead and management of user identities.
upvoted 0 times
...
Matthew
3 months ago
I agree, using external social identity providers with Cognito is a smart move.
upvoted 0 times
...
Marisha
4 months ago
Option A is definitely the best choice. Cognito user pools handle user identities seamlessly.
upvoted 0 times
...
...

Save Cancel