GA.IV · Google Cloud ACE practice question
A Compute Engine VM uses a user-managed service account 'app-vm-sa' that has 'roles/storage.objectViewer' on bucket 'config-bucket'. If you remove 'roles/storage.objectViewer' from 'app-vm-sa', what happens to the VM?
Check answer and explanation
Correct answer: Processes on the VM using 'app-vm-sa' lose read access to objects in 'config-bucket'.
Explanation
Removing the IAM role revokes the permissions granted through that binding for identities using 'app-vm-sa'.
Common trap
Removing the IAM role revokes the permissions granted through that binding for identities using 'app-vm-sa'.
Source: Original unofficial practice; not an official Google Cloud exam item
Checked against the cited text on 2026-11-30.