Sample question 1 — Trust and Security with Google Cloud
A media analytics platform gives one shared service account owner-level permissions that several batch jobs reuse. A review found the account can delete production data. The platform team wants each job to receive only the permissions it needs and to make accountability clear. Which change should be made first?
- A. Give each job a dedicated service account with a narrowly scoped predefined
- B. Rotate the shared account's key every week and restrict who knows the passphrase.
- C. Rename the shared account so logs clearly show that it is used by batch work.
- D. Keep one account but require approval before any destructive operation is run.
Answer: A. Option A is correct because a dedicated identity with a narrow predefined role applies least privilege and makes each job's granted capabilities and audit trail distinct. Option B is incorrect because rotating the key of a shared, over-privileged account still leaves the destructive permissions in place. Option C is incorrect because a clearer name improves readability but does not reduce the granted capabilities. Option D is incorrect because adding an approval step slows misuse without removing the excessive permissions that caused the finding.
