Prepare and test your skills

Prepare and test your skills

Free sample question, answered and explained below. The Professional Data Engineer practice bank has 1,353 more like it. Try 10 free: instant score, no account.
Your enterprise data engineering team is designing a CI/CD pipeline in Google Cloud to automate the promotion of Dataflow batch processing pipelines and Cloud Composer DAGs from a development project to a production project.
The deployment pipeline must satisfy several security and governance constraints:
Which CI/CD and Infrastructure as Code (IaC) promotion strategy should you implement?
This option relies on the default Compute Engine service account to deploy Dataflow templates sourced from public base image registries, relying on post-deployment OS configuration policies to scan for compliance issues.
The workload consisted purely of unmanaged standalone Compute Engine virtual machines where runtime OS drift remediation was the primary operational requirement.
This architecture establishes an automated, secure CI/CD deployment and promotion pipeline using Cloud Build, Artifact Registry, Container Analysis, Binary Authorization, and VPC Service Controls. It manages the transition of containerized Dataflow jobs and Cloud Composer orchestration assets from development into a protected production boundary while strictly enforcing policy-as-code and vulnerability mitigation.
containersecurity.googleapis.com), Dataflow, and Cloud Storage, mitigating unauthorized external data exfiltration.This approach provides an end-to-end automated promotion pipeline that enforces automated vulnerability validation, strict network boundaries, and granular IAM permissions without creating administrative bypasses or misusing internal service agents.
This option attempts to run the promotion pipeline by binding the internal Cloud Build Service Agent (roles/cloudbuild.serviceAgent) role to a user-managed service account and using local image scanning scripts within the container runtime rather than native cloud security services.
This pattern would only be considered in isolated on-premises sandbox environments lacking access to Google Cloud managed services, where managed IAM and Container Analysis APIs are unavailable.
This option assigns broad service agent roles (Dataflow Service Agent and Composer API Service Agent) to the CI/CD pipeline identity to provide it cross-project provisioning access, avoiding network boundaries like VPC Service Controls.
roles/dataflow.serviceAgent or roles/composer.serviceAgent to user-managed deployment identities directly violates Google Cloud IAM security best practices.You were diagnosing internal Google service agent delegation configurations rather than building a customer-managed continuous integration and deployment pipeline across development and production.
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