exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 149 discussion

An organization (account ID 123412341234) has configured the IAM policy to allow the user to modify his credentials.
What will the below mentioned statement allow the user to perform?

  • A. Allow the IAM user to update the membership of the group called TestingGroup
  • B. The IAM policy will throw an error due to an invalid resource name
  • C. The IAM policy will allow the user to subscribe to any IAM group
  • D. Allow the IAM user to delete the TestingGroup
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
AWS Identity and Access Management is a web service which allows organizations to manage users and user permissions for various AWS services. If the organization (account ID 123412341234) wants their users to manage their subscription to the groups, they should create a relevant policy for that. The below mentioned policy allows the respective IAM user to update the membership of the group called MarketingGroup.
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow", "Action": [ "iam:AddUserToGroup",
"iam:RemoveUserFromGroup", "iam:GetGroup"
],
"Resource": "arn:aws:iam:: 123412341234:group/ TestingGroup " }]
Reference:
http://docs.aws.amazon.com/IAM/latest/UserGuide/Credentials-Permissions-examples.html#creds-policies-credentials

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
Smart
Highly Voted 3 years, 6 months ago
Extra space in front of Account ID in Resource ARN will throw error during creation. Answer is B
upvoted 13 times
01037
3 years, 6 months ago
I saw the space, I thought it's a typo, isn't it
upvoted 1 times
...
manoj101
3 years, 6 months ago
Yes that's correct. Otherwise question looks very simple.
upvoted 3 times
...
viet1991
3 years, 6 months ago
Detail error message: An error occurred Your request has a problem. Please see the following details. The policy failed legacy parsing
upvoted 2 times
...
user0001
2 years, 11 months ago
i do not believe they are stupid enough to try and use space as an error to find , B is wrong A is right
upvoted 2 times
...
...
amministrazione
Most Recent 8 months, 3 weeks ago
A. Allow the IAM user to update the membership of the group called TestingGroup
upvoted 1 times
...
SkyZeroZx
1 year, 10 months ago
Selected Answer: A
Answer is A
upvoted 1 times
...
junehc
2 years, 10 months ago
A is correct if the extra space is an erroneous typo.
upvoted 1 times
...
cldy
3 years, 5 months ago
A. Allow the IAM user to update the membership of the group called TestingGroup
upvoted 1 times
...
BillyC
3 years, 6 months ago
B is correct
upvoted 2 times
...
miracle
3 years, 7 months ago
Answer is A. any other idea?
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