Question 900
During an infrastructure change review, two requirements are being evaluated together. The two controls belong to distinct workload environments. They must ensure that a compromised service account key must stop authenticating. Separately, they must ensure that a Cloud Run revision fails API calls with permission denied. Which option assigns the right action to the first requirement and then the second?
Explanation
Correct Answer
Revoking a key removes that credential from use. API authorization depends on runtime identity and target IAM.
Incorrect Answers
Both requirements remain unmet: DNS description changes cannot revoke issued credentials; Ingress firewall ports cannot grant Google API permissions.
The first action is valid: Revoking a key removes that credential from use. But the second fails: Ingress firewall ports cannot grant Google API permissions.
The second action is valid: API authorization depends on runtime identity and target IAM. But the first fails: DNS description changes cannot revoke issued credentials.