exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 311 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 311
Topic #: 1
[All AWS Certified Developer Associate Questions]

A company uses the AWS SDK for JavaScript in the Browser to build a web application and then hosts the application on Amazon S3. The company wants the application to support 10,000 users concurrently. The company selects Amazon DynamoDB to store user preferences in a table. There is a requirement to uniquely identify users at any scale.

Which solution will meet these requirements?

  • A. Create a user cookie. Attach an 1AM role to the S3 bucket that hosts the application.
  • B. Deploy an Amazon CloudFront distribution with an origin access identity (OAI) to access the S3 bucket.
  • C. Configure and use Amazon Cognito. Access DynamoDB with the authenticated users.
  • D. Create an IAM user for each user. Use fine-grained access control on the DynamoDB table to control access.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
rcaliandro
1 year, 10 months ago
Selected Answer: C
I will go with C as well, Amazon Cognito gives us the possibility to manage users without adding additional business logic. Furthemor we can store user data by using the unique key and store the information in DynamoDB.
upvoted 1 times
...
mrbig00
2 years, 4 months ago
Selected Answer: C
The correct solution is to configure and use Amazon Cognito. This will allow the application to support 10,000 users concurrently and will provide a unique identifier for each user. By using Amazon Cognito, the company can authenticate users and then access DynamoDB with the authenticated users to store their preferences in a table. This approach will allow the company to control access to the DynamoDB table and to scale to any number of users. Creating a user cookie or deploying an Amazon CloudFront distribution with an OAI would not solve the problem because these solutions do not provide a way to uniquely identify users or control access to DynamoDB. Creating an IAM user for each user and using fine-grained access control on the DynamoDB table would not be practical or scalable because it would require the company to manage and maintain a large number of IAM users.
upvoted 4 times
...
k1kavi1
2 years, 5 months ago
Selected Answer: C
Choosing C
upvoted 1 times
...
DrCloud
2 years, 5 months ago
Ans: C When dealing with user profiles in serverless applications we often turn to Cognito for managing their credentials while the app itself will store user entities. https://www.sorenandersen.com/manage-user-profile-data-between-cognito-and-dynamodb/
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago