
Ultimate access to all questions.
An e-commerce application operates on an EC2 instance and is responsible for processing customer orders every night. These orders are stored in an Amazon S3 bucket. Given the requirement for secure access, what method would you recommend for the EC2 instance to connect to the S3 bucket to retrieve the orders?
A
Create an S3 bucket policy that authorises public access
B
Create an IAM programmatic user and store the access key and secret access key on the EC2 ~/.aws/credentials file.
C
Use an IAM role
D
Use EC2 User Data