Posted by: Pdfprep
Post Date: October 30, 2020
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
B . Trust policy
C . Inline policy
D . Service control policy (SCP)
Answer: B
Explanation:
Reference: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-service.html#rolescreatingrole-service-cli
Leave a Reply