Question 300
A scheduled AWS Glue job must write into one S3 prefix but should never be able to administer IAM. What should the solutions architect recommend?
Explanation
Correct Answer
Service roles apply least privilege to automated workloads rather than granting full administration. In this situation, the job writes the intended prefix and an IAM mutation attempt is denied. The decision can be verified by that concrete result.
Incorrect Answers
Time-dependent grants reduce standing privilege outside the approved window. That relates to a different need: a user can access a sensitive account only during a scheduled maintenance shift using temporary credentials.
Presigned URLs delegate one time-limited S3 request using the signer's permissions. That relates to a different need: a team wants to grant a contractor a single S3 object read without an AWS account identity for the contractor.
Identity Center federates workforce authentication and centrally provisions account role permissions. That relates to a different need: employees from a corporate directory require one AWS sign-in experience across many accounts without separate IAM users everywhere.