Question 940
During an infrastructure change review, two requirements are being evaluated together. Each requirement refers to its own target workload. They must ensure that a service account was accidentally overprivileged. Separately, they must ensure that a compromised service account key must stop authenticating. Which option assigns the right action to the first requirement and then the second?
Explanation
Correct Answer
Least-privilege IAM binding cleanup reduces permissions. Revoking a key removes that credential from use.
Incorrect Answers
The first action is valid: Least-privilege IAM binding cleanup reduces permissions. But the second fails: DNS description changes cannot revoke issued credentials.
The second action is valid: Revoking a key removes that credential from use. But the first fails: Publishing an identity name does not reduce its permissions.
Both requirements remain unmet: Publishing an identity name does not reduce its permissions; DNS description changes cannot revoke issued credentials.