AWS Certified Developer Associate DVA-C01 – Question323

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)