PRODUCTION SCENARIO
An application on Amazon EC2 calls one approved Amazon Bedrock model. It currently runs with an IAM role that has the AdministratorAccess policy attached.
Which change follows the principle of least privilege?
Answering here is anonymous. Nothing is saved unless you sign in.
Show answer and explanation
Answer: Attach a policy allowing model invocation on the approved model.
Least privilege means granting only the permissions required for a task, defined as specific actions on specific resources, so narrowing both the action and the resource is what applies it. Allowing invocation across the account's models scopes the action but leaves every model reachable. Allowing Bedrock management actions on that model scopes the resource but grants permissions the application never uses. AWS warns that managed policies might not grant least privilege for a specific use case.