Professional Cloud Security Engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
An enterprise is deploying an automated data processing service on Compute Engine instances in Google Cloud. The application requires read-only access to files in a dedicated Cloud Storage bucket (company-data-prod) and permission to publish messages to a specific Pub/Sub topic (data-processed-topic).
The security architect must adhere to the following governance requirements:
Which configuration meets these requirements?
This architecture employs a dedicated user-managed service account configured with fine-grained, resource-level IAM bindings and utilizes role-scoped impersonation permissions for operational deployment.
roles/editor role).roles/storage.objectViewer directly on the company-data-prod bucket and roles/pubsub.publisher directly on the data-processed-topic Pub/Sub topic restricts API access to only the specific target resources and operations required, completely avoiding broad project-wide roles.https://www.googleapis.com/auth/cloud-platform (full API access) delegates authorization entirely to IAM allow policies rather than relying on coarse-grained, bucket-agnostic OAuth access scopes.roles/iam.serviceAccountUser directly on the resource level of the custom service account (rather than project-wide) allows DevOps engineers to attach only this specific identity to instances without exposing other project identities to unauthorized impersonation.Binding predefined least-privilege roles directly at the target resource level and scoping the roles/iam.serviceAccountUser binding to the service account resource itself enforces zero trust and least-privilege governance across both the runtime environment and administrative workflows.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.