Professional Cloud DevOps 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.
Your enterprise organization is establishing baseline security and lifecycle standards for Identity and Access Management (IAM) across its Google Cloud resource hierarchy. The DevOps engineering team is tasked with defining standard operating procedures for provisioning new workload identities, managing default service accounts, and retiring decommissioned service accounts.
The strategy must satisfy the following architectural requirements:
Which strategy should the DevOps team implement?
This solution implements an enterprise-grade Identity and Access Management (IAM) governance framework by combining organization policy enforcement, least-privilege workload identity provisioning, standardized naming conventions, and staged lifecycle deprovisioning.
iam.automaticIamGrantsForDefaultServiceAccounts at the organization or folder level disables the automatic assignment of the basic roles/editor role to default service accounts when APIs like Compute Engine or App Engine are enabled.vm-[app-name]) provides clear traceability in Cloud Audit Logs. Maintaining documentation and contact metadata in the description field prevents identity sprawl and aligns workload access with least privilege.uniqueId) or reapplying lost permission bindings.vm-) clearly associate operational logs with specific infrastructure resources and workloads.This strategy aligns directly with Google Cloud security best practices. Deleting a service account immediately breaks all IAM bindings permanently because recreating an account with the identical email generates a completely new unique ID. Disabling first provides a safety buffer while maintaining compliance across the resource hierarchy.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.