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.
Your enterprise enforces strict data residency requirements mandating that all compute, storage, and database resources reside exclusively within authorized European regions (europe-west1 and europe-west3) under designated folder hierarchies.
As a Cloud DevOps Engineer, you need to establish an automated governance strategy that:
Which combination of architectural controls should you implement?
OASValidation policy to intercept internal Google Cloud console traffic; configure Active Assist Recommender daily scans to flag misconfigured regions in the Cloud Run service list.This option proposes placing an Apigee API proxy in front of Cloud Console users and relying on Active Assist Recommender to detect region-based misconfigurations.
You needed to validate incoming JSON/REST payloads against OpenAPI specifications for developer-facing APIs while gathering optimization recommendations for Cloud Run services.
This option attempts to use Binary Authorization on source repositories and Cloud Armor edge security policies at the network ingress layer to govern data residency of cloud resources.
The scenario focused specifically on preventing untrusted, unverified container images from deploying to production GKE clusters and filtering external web attacks against public application endpoints.
gcloud asset analyze-iam-policy during the Cloud Build build step to block non-compliant deployments; schedule nightly BigQuery export queries on Cloud Logging audit sinks to alert compliance officers of geographic drift via email.This option uses Cloud Asset Inventory's IAM policy analysis command during build execution and relies on batch queries over BigQuery audit log exports for post-deployment drift tracking.
gcloud asset analyze-iam-policy analyzes existing IAM access permissions and effective policies on deployed cloud assets. It does not evaluate unapplied local Terraform plans or validate prospective resource location configuration prior to provisioning.The goal was to conduct periodic compliance auditing of IAM role bindings and generate scheduled analytical reports on administrative user actions across projects.
terraform-validator (or gcloud beta terraform vet) with a shared policy library into the Cloud Build pipeline to evaluate Terraform plans against resource location policies; configure Cloud Asset Inventory real-time feeds for resource changes subscribed to a Pub/Sub topic to trigger automated Cloud Functions for drift detection and remediation.This approach combines preventative policy-as-code validation in continuous integration (shifting left) with continuous detective and reactive controls using Cloud Asset Inventory feeds and event-driven automation in Google Cloud.
terraform-validator or gcloud beta terraform vet against compiled Terraform plan files (tfplan.json) in Cloud Build, the pipeline evaluates proposed infrastructure against declarative Rego or constraint framework policies (such as constraints/gcp.resourceLocations). If a resource specifies an unauthorized region, the CI/CD job fails immediately, preventing terraform apply from executing.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