Q1 — IAM roles for EC2

A company wants to allow its EC2 instances to access S3 buckets without embedding credentials in the application code. What is the recommended approach?


Q2 — Explicit deny

An admin needs to grant a developer all S3 actions on a specific bucket but must ensure s3:DeleteBucket can never be executed regardless of any other permissions. Which configuration achieves this?


Q3 — IAM policy elements

Which IAM policy element specifies which AWS service actions are permitted or denied?