Which policy should be added to allow the Amazon EC2 service to assume the role?

Posted by: Pdfprep Category: DVA-C01 Tags: , ,

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#roles­creatingrole-service-cli

Leave a Reply

Your email address will not be published.