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

The two policies that you attach to an IAM role are the access policy and the trust policy. The trust policy identifies who can assume the role and grants the permission in the AWS Lambda account principal by adding the _______ action.

  • A. aws:AssumeAdmin
  • B. lambda:InvokeAsync
  • C. sts:InvokeAsync
  • D. sts:AssumeRole
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
The two policies that you attach to an IAM role are the access policy and the trust policy. Remember that adding an account to the trust policy of a role is only half of establishing the trust relationship. By default, no users in the trusted accounts can assume the role until the administrator for that account grants the users the permission to assume the role by adding the Amazon Resource Name (ARN) of the role to an Allow element for the sts:AssumeRole action.
Reference:
http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_manage_modify.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
Exam_boy
Highly Voted 3 years, 7 months ago
The administrator for the newly trusted account must grant the users the permission to assume the role. To do that, the administrator must create or edit a policy that is attached to the user to allow the user access to the sts:AssumeRole action. https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-managingrole-editing-console.html
upvoted 5 times
...
amministrazione
Most Recent 8 months, 3 weeks ago
D. sts:AssumeRole
upvoted 1 times
...
wsyh
3 years ago
Selected Answer: D
I will go with D
upvoted 1 times
...
cldy
3 years, 5 months ago
D. sts:AssumeRole
upvoted 1 times
...
01037
3 years, 6 months ago
D is correct
upvoted 2 times
...
Mkumar
3 years, 7 months ago
Answer D
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