Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
How can a developer securely transfer files from an EC2 instance to an S3 bucket?
A
By creating an IAM user and storing its access key in the application's environment variables.
B
By creating an IAM role with an access key and storing it in the application's environment variables.
C
By creating an IAM role with permissions for required S3 API calls and associating it with the EC2 instance.
D
By configuring an S3 bucket policy to grant access to the EC2 instance ID.