Question 190
An architect is validating an enterprise AWS migration plan, the decisive constraint is: A team must detect wildcard permissions newly granted to production roles. Which approach meets the stated objective with the least unnecessary complexity?
Explanation
Correct Answer
Use IAM Access Analyzer policy checks and least-privilege review to narrow actions and resources. The choice follows from the service boundary and operational constraint stated in the scenario.
Incorrect Answers
For the separate situation An organization requires MFA for human console access while backend EC2 services run unattended, Enforce strong workforce MFA through federated identity and use roles for service workloads could be useful. Human sign-in controls and machine roles are separate identity responsibilities.
Attach an execution role policy scoped to the table ARN and required actions solves the related scenario A Lambda function needs to read only one named DynamoDB table and no other table; resource-scoped role permissions limit data access to the intended table.
Configure execution identity and the Lambda resource-based invoke permission for the trusted principal would address a different requirement: A service in one account needs to invoke a private Lambda function in a second account. Cross-account Lambda invocation requires the function policy to authorize the caller.