AWS Certified Developer Associate DVA-C02 Practice Question
When granting an EC2 instance the necessary permissions to access S3 buckets, which AWS feature should you primarily use?
Using Amazon Cognito user pools
Attaching an IAM role to the instance
Generating access keys for the root account
Creating a new IAM user for the instance