ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 379 - DVA-C01 discussion

Report
Export

A developer is creating a role to access Amazon S3 buckets To create the role, the developer uses the AWS CLI create-role command. Which policy should be added to allow the Amazon EC2 service to assume the role?

A.
Managed policy
Answers
A.
Managed policy
B.
Trust policy
Answers
B.
Trust policy
C.
Inline policy
Answers
C.
Inline policy
D.
Service control policy (SCP)
Answers
D.
Service control policy (SCP)
Suggested answer: B

Explanation:

A JSON policy document in which you define the principals that you trust to assume the role. A role trust policy is a required resource-based policy that is attached to a role in IAM. The principals that you can specify in the trust policy include users, roles, accounts, and services.

https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html

asked 16/09/2024
Trung Phan
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first