Question 20
A platform team designs IAM permissions for an application maintenance role. The team confirms that a policy change must be tested before rollout without executing destructive APIs. What should the solution architect recommend?
Explanation
Correct Answer
The scenario identifies this requirement: A policy change must be tested before rollout without executing destructive APIs. Select Evaluate the proposed request using IAM policy simulation and policy review as the specified technical mechanism. Simulation exposes expected allow and deny decisions without the real operation. This response addresses the problem described rather than a different design goal.
Incorrect Answers
The option Use supported IAM condition keys to constrain requested operations and resource tags addresses a separate condition: a human operator must perform reads but not writes on tagged staging resources. IAM conditions can restrict requests beyond action and resource lists. The actual requirement is a policy change must be tested before rollout without executing destructive APIs. Recommended corrective action: Evaluate the proposed request using IAM policy simulation and policy review. Simulation exposes expected allow and deny decisions without the real operation.
Replace wildcard permissions with exact actions and resource ARNs would help if a broad wildcard policy lets a role delete resources outside its support scope. Narrow action and resource scopes enforce least privilege. That is not the symptom described here: a policy change must be tested before rollout without executing destructive APIs. The matching response is Evaluate the proposed request using IAM policy simulation and policy review, because simulation exposes expected allow and deny decisions without the real operation.
Require a permissions boundary on IAM roles created by that developer solves a different operational problem where a developer is allowed to create roles but may attach broader permissions than approved. A boundary limits the maximum permissions of newly created roles. It does not directly address a policy change must be tested before rollout without executing destructive APIs. The case calls for Evaluate the proposed request using IAM policy simulation and policy review, since simulation exposes expected allow and deny decisions without the real operation.