exam questions

Exam AWS Certified Security - Specialty All Questions

View all questions & answers for the AWS Certified Security - Specialty exam

Exam AWS Certified Security - Specialty topic 1 question 46 discussion

Exam question from Amazon's AWS Certified Security - Specialty
Question #: 46
Topic #: 1
[All AWS Certified Security - Specialty Questions]

The Security Engineer for a mobile game has to implement a method to authenticate users so that they can save their progress. Because most of the users are part of the same OpenID-Connect compatible social media website, the Security Engineer would like to use that as the identity provider.
Which solution is the SIMPLEST way to allow the authentication of users using their social media identities?

  • A. Amazon Cognito
  • B. AssumeRoleWithWebIdentity API
  • C. Amazon Cloud Directory
  • D. Active Directory (AD) Connector
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
Reference:
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-provider.html

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
chaudh
Highly Voted 3 years, 7 months ago
A is correct B is not correct (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_oidc.html): For most scenarios, we recommend that you use Amazon Cognito because it acts as an identity broker and does much of the federation work for you. For details, see the following section, Using Amazon Cognito for Mobile Apps. If you don't use Amazon Cognito, then you must write code that interacts with a web IdP, such as Facebook, and then calls the AssumeRoleWithWebIdentity API to trade the authentication token you get from those IdPs for AWS temporary security credentials. If you have already used this approach for existing apps, you can continue to use it.
upvoted 44 times
Firststack
3 years, 7 months ago
I thought the answer was A. The answer is actually B. B is the correct answer - here is the link to the full article - https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_oidc.html
upvoted 3 times
deegadaze1
3 years, 6 months ago
How B? When the link you sent said: For most scenarios, we recommend that you use Amazon Cognito because it acts as an identity broker and does much of the federation work for you. For details, see the following section, Using Amazon Cognito for mobile apps.
upvoted 2 times
...
skipbaylessfor3
3 years, 6 months ago
Yeah not sure how it's B... The article you linked it says "If you DON'T use Amazon Cognito, then you must write code that interacts with a web IdP, such as Facebook, and then calls the AssumeRoleWithWebIdentity API to trade the authentication token you get from those IdPs for AWS temporary security credentials..." So that seems to indicate you would use this particular API when you are not using Cognito, but here we have Cognito as an option
upvoted 1 times
...
acloudguru
3 years, 6 months ago
think like AWS, if it has cognito, why they want you to choose something else? This is AWS exam, not developer's exam. Just choose A, simple question.
upvoted 4 times
...
...
...
bLk
Highly Voted 3 years, 7 months ago
After many articles I believe the Answer should be A. The B answer is also competent. But the question states that the users should Save their Progress - you need cognito for this (https://aws.amazon.com/blogs/mobile/using-amazon-cognito-to-sync-data-in-unity-games/) The question also states that MOST of people are part of a social media website - not ALL. So with all that in mind, I will go with the answer A - AWS Cognito and with a honest FU to whomever designed this question
upvoted 12 times
...
ITGURU51
Most Recent 1 year, 11 months ago
Amazon Cognito is an authentication and authorization solution that offers several benefits to developers. It allows developers to quickly and easily set up user authentication and authorization with minimal effort. A
upvoted 3 times
...
G4Exams
2 years ago
Selected Answer: A
The SIMPLEST is definitely Cognito.
upvoted 1 times
...
lotfi50
2 years, 11 months ago
Selected Answer: A
A is correct
upvoted 1 times
...
acloudguru
3 years, 6 months ago
I WISH I CAN GET MANY SUCH SIMPLE QUESTION IN MY EXAM
upvoted 1 times
...
hk436
3 years, 6 months ago
A is my answer.!
upvoted 1 times
...
Gustava6272
3 years, 6 months ago
This is questions of WebIdentity v/s Cognito . The difference is Cognito benefits: • Support for anonymous users • Support for MFA • Data synchronization Frankly , this is a stupid question as both provide same solution A and B, but Cognito is preferred . Hence A .
upvoted 4 times
...
awscerti
3 years, 6 months ago
A is the answer - " Simplest way" ( It's tricky) is setup Cognito.
upvoted 1 times
...
Mikeclue
3 years, 6 months ago
I'll go with A
upvoted 1 times
...
sanjaym
3 years, 6 months ago
Ans: A 100%
upvoted 1 times
...
certking
3 years, 6 months ago
User authentication is what we want to achieve here. Option B is to authorize already-authenticated users with proper roles, so the users can utilize some AWS services.
upvoted 2 times
...
Stpn2me
3 years, 6 months ago
Guys, it mentions "mobile" games. What's cognito for again? Answer is A.
upvoted 1 times
...
EricR17
3 years, 6 months ago
Answer: A https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-provider.html <snip> We recommend using Amazon Cognito for all mobile apps that call AWS services. If you have an existing app that uses web identity federation it will continue to work, but you might want to consider modifying it to use Amazon Cognito to take advantage of the additional benefits. </snip>
upvoted 3 times
...
devjava
3 years, 6 months ago
Ans > A AssumeRoleWithWebIdentity returns a set of temporary security credentials for users who have been authenticated in a mobile or web application with a web identity provider. Example providers include Amazon Cognito, Login with Amazon, Facebook, Google, or any OpenID Connect-compatible identity provider. So the AssumeRoleWithWebIdentity API call is 'authorization' and not 'authentication' as is the requirement in the question. For authentication, Cognito is the only option mentioned in the question.
upvoted 2 times
...
AfricanCloudGuru
3 years, 6 months ago
Ans (B) https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html
upvoted 1 times
1awssec
3 years, 6 months ago
key word "SIMPLEST"
upvoted 1 times
...
...
thePerfect
3 years, 6 months ago
Ans : A it's Congnito :Simple way to setup & use for mobile application authentication for Identity provider like openID. if you want to use AssumeRoleWithWebIdentity , you will need Identity broker . it's long route to reach solution
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