ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 780 - SAP-C01 discussion

Report
Export

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
Answers
A.
aws:AssumeAdmin
B.
lambda:InvokeAsync
Answers
B.
lambda:InvokeAsync
C.
sts:InvokeAsync
Answers
C.
sts:InvokeAsync
D.
sts:AssumeRole
Answers
D.
sts:AssumeRole
Suggested answer: D

Explanation:

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

asked 16/09/2024
Guilherme Silva
27 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first