
Ultimate access to all questions.
A media company is planning to migrate its video editing service to Amazon EC2 instances. They aim to follow security best practices during this migration. The video files, which are to be edited, are stored in a non-public Amazon S3 bucket.
As an AWS Certified Developer Associate, which of the following solutions would you recommend to securely access the video files in the S3 bucket from the EC2 instances?
A
Set up an S3 service role with read-only permissions for the S3 bucket and attach the role to the EC2 instance profile
B
Set up an EC2 service role with read-only permissions for the S3 bucket and attach the role to the EC2 instance profile
C
Set up an IAM user with read-only permissions for the S3 bucket. Configure AWS credentials for this user via AWS CLI on the EC2 instance
D
Set up an IAM user with read-only permissions for the S3 bucket. Configure the IAM user credentials in the user data of the EC2 instance