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 17 discussion

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

A developer is implementing user authentication and authorization for a web application that is hosted on an Amazon EC2 instance. The developer needs to ensure that the user credentials are encrypted and secure when they are stored and transmitted.
Which solution will meet these requirements?

  • A. Activate web server modules for authentication and authorization on the instance. Use HTTP basic authentication for the user login.
  • B. Deploy a custom authentication and authorization API over HTTP. Store the user credentials on Amazon ElastiCache for Redis.
  • C. Use Amazon Cognito to configure a user pool. Use the Amazon Cognito API to authenticate and authorize the users.
  • D. Create IAM users. Assign the users to different IAM groups. Use AWS Single Sign-On to authenticate and authorize each user.
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
sidvic
Highly Voted 2 years, 7 months ago
Selected Answer: C
Use Amazon Cognito is the best Solution. I vote for c
upvoted 8 times
...
sumanshu
Most Recent 4 months, 1 week ago
Selected Answer: C
A) Eliminated - HTTP basic authentication is inherently insecure if not used over HTTPS. B) Eliminated: using HTTP instead of HTTPS would expose user credentials during transmission. C) Correct - Amazon Cognito provides a fully managed, secure solution for user authentication and authorization D) Eliminated: IAM users and groups are intended for managing permissions for AWS resources, not for end-user authentication in applications.
upvoted 2 times
...
JonasKahnwald
5 months, 2 weeks ago
I excluded A and B because HTTP is not HTTPS, and D because end users are not IAM users.
upvoted 1 times
...
gilleep_17
1 year, 3 months ago
for sure C
upvoted 1 times
...
AsmaZoheb
1 year, 3 months ago
Selected Answer: C
for sure C
upvoted 1 times
...
rcaliandro
1 year, 10 months ago
Selected Answer: C
Of course C. Amazon Cognito User Pools for authentication Amazon Cognito Identity Pools for authorization
upvoted 1 times
...
pancman
2 years, 1 month ago
Saw this question in the exam today (Feb 2023)
upvoted 3 times
...
eversonzs
2 years, 1 month ago
Selected Answer: C
C is the best solution.
upvoted 1 times
...
Krt5894
2 years, 2 months ago
Selected Answer: C
Voting for C
upvoted 1 times
...
Pratham111
2 years, 3 months ago
Selected Answer: C
pretty straight forward, use cognito.
upvoted 1 times
...
dark_cherrymon
2 years, 5 months ago
Selected Answer: C
C, just vote C
upvoted 1 times
...
andregri
2 years, 6 months ago
Selected Answer: C
To assure in-transit encryption you can't use HTTP. I vote for C
upvoted 2 times
...
habros
2 years, 6 months ago
End User side authentication - Cognito SSO and IAM are for managing AWS resources. And, doesn’t make sense storing credentials in in-memory storages…
upvoted 1 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