Prepare and test your skills
Prepare and test your skills
Free sample question, answered and explained below. The Professional Cloud DevOps Engineer practice bank has 1,455 more like it. Try 10 free: instant score, no account.
An enterprise organization manages multi-tier application environments across development, staging, and production in Google Cloud. The DevOps and security teams must implement a robust, auditable CI/CD workflow to manage environment-specific IAM policies according to the principle of least privilege.
The proposed process must satisfy the following criteria:
Which combination of Google Cloud services and practices should the team implement?
This option focuses on resolving API concurrency collisions (HTTP 409 ABORTED) via exponential backoff during policy updates and using Data Access audit logs to track access.
SetIamPolicy modifications, are captured in Admin Activity audit logs.The question focused purely on API client implementation strategies for retrying failed programmatic IAM policy updates due to concurrent modifications.
This option attempts to use Privileged Access Manager (PAM) for just-in-time service account elevation, Policy Troubleshooter for automated approvals, and IAM System Event audit logs for auditing.
SetIamPolicy API calls.The goal was strictly to provide temporary, time-bound emergency access elevation to on-call operators responding to active production incidents with ticket-based approvals.
Policy Troubleshooter is reactive (diagnosing past access failures), whereas Policy Simulator is proactive (evaluating future policy updates before rollout).
This option relies on imperatively executing gcloud CLI read-modify-write scripts during deployment stages, leveraging Event Threat Detection for role recommendations, and exporting database-specific Cloud SQL audit logs for tracking.
gcloud projects set-iam-policy scripts directly applies changes without evaluating whether existing workloads will lose critical permissions.The primary requirement was to monitor runtime environments for compromised accounts executing malicious privilege escalation attacks.
This solution establishes a declarative GitOps workflow for managing IAM policies as code across all environment tiers. It integrates IAM Recommender for continuous least-privilege analysis, Policy Simulator (part of Policy Intelligence) to test proposed access changes prior to production deployment, and Cloud Audit Logs (specifically IAM Admin Activity audit logs) routed to a centralized log bucket for security compliance.
Alternative approaches rely on reactive troubleshooting or manual verification, which either introduce severe risk of production outages or fail to enforce least-privilege systematically. Combining IAM Recommender, Policy Simulator, and IAM Admin Activity audit logs provides an end-to-end preventative and detective security pipeline natively integrated with Google Cloud.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated