Data Security and Governance

A role needs only to start one existing AWS Glue job. Which custom policy permission follows least privilege?

Show the answer

Correct answerA. Allow glue:StartJobRun on that job's ARN

AWhy this is right: It grants the required start action only for the specified job.

BWhy not this: The resource scope permits starting jobs beyond the required job.

CWhy not this: The action wildcard grants unnecessary permissions for the job.

DWhy not this: GetJob retrieves job information but does not permit starting a job run.

Least privilege limits both the action and the resource to what is required. Allowing all Glue actions on the specified job grants unnecessary capabilities even though the resource is restricted.