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.
A data engineering team is designing an automated CI/CD pipeline in Google Cloud to build and deploy custom containerized data processing applications. The solution must adhere to enterprise security and deployment standards:
Which combination of actions should the team implement?
This configuration relies on mutable image tagging, broad project-level IAM privileges, and plaintext environment variables defined in the build configuration manifest.
latest tag causes previous container versions to be overwritten in Artifact Registry, breaking build reproducibility and rollbacks.roles/editor) role violates least privilege by granting wide modification permissions across virtually all cloud resources in the project.A developer were running a disposable, single-user local prototype where security governance, auditing, and multi-environment reproducibility were not required.
This approach uses semantic versions for container artifacts, assigns administrative permissions to the build service account, and checks unencrypted configuration files with embedded secrets directly into source control.
roles/artifactregistry.admin) role gives full control over repository settings, permissions, and lifecycle policies, far exceeding the write-only permissions required by a CI/CD build runner.The task required a repository administrator to manage repository settings and policies, and the configuration file contained public non-sensitive parameters.
This strategy attempts to combine proper versioning and least-privilege build IAM roles with embedding hardcoded secrets directly into the container filesystem layers via Dockerfile build commands.
The injected values represented non-sensitive, static application metadata (such as build timestamps or public application identifiers) rather than confidential API keys.
This architecture establishes a secure, repeatable, and least-privilege CI/CD pipeline for containerized data pipelines by integrating Artifact Registry, Cloud IAM, and dedicated secret management systems such as Secret Manager or Cloud KMS.
latest tags) and ensures full auditability and traceability back to source code commits.roles/artifactregistry.writer) role provides exact permissions to write and upload build artifacts without giving broader project-level administrative rights.cloudbuild.yaml or application images, enabling the application to securely fetch and decrypt secrets at runtime.Decoupling secrets from container images while applying targeted IAM roles ensures adherence to defense-in-depth security principles. Fetching credentials programmatically at startup guarantees that sensitive tokens are kept strictly in memory during execution.
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