🔄 Building and Implementing CI/CD Pipelines - PCDOE Practice Questions

Build CI/CD with Cloud Build, Cloud Deploy, Artifact Registry, and deployment strategies.

10Questions Available
1Exam Domains

Practice CI/CD Pipelines Questions Now

Start a timed practice session focusing on Building and Implementing CI/CD Pipelines topics from the PCDOE question bank.

Start PCDOE Practice Quiz →

PCDOE CI/CD Pipelines Question Bank (10 Questions)

Browse all 10 practice questions covering Building and Implementing CI/CD Pipelines for the PCDOE certification exam. Answers are intentionally hidden on this page so you can self-test first before checking results in quiz mode.

  1. Question 1Building and Implementing CI/CD Pipelines

    How do you set up a CI/CD pipeline using Cloud Build for a containerized application?

    ABuild manually and push
    Bcloudbuild.yaml: define steps (test → build → push to Artifact Registry → deploy to Cloud Run/GKE), trigger on Git push via Cloud Build triggers
    CUse cron jobs for deployment
    DDeploy directly from local machine

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start PCDOE Quiz
  2. Question 2Building and Implementing CI/CD Pipelines for a Service

    What is Cloud Deploy used for in the CI/CD pipeline?

    ASource code management
    BManaged continuous delivery to GKE and Cloud Run with approval gates and rollback
    CContainer image building
    DArtifact storage

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start PCDOE Quiz
  3. Question 3Building and Implementing CI/CD Pipelines

    How do you implement CI/CD for infrastructure changes using Terraform?

    ARun terraform apply locally
    BPR triggers terraform plan (review diff), merge triggers terraform apply, with remote state in Cloud Storage, state locking, and environment-specific workspaces
    CApply all changes at once
    DInfrastructure doesn't need CI/CD

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start PCDOE Quiz
  4. Question 4Building and Implementing CI/CD Pipelines

    How do you securely manage secrets in CI/CD pipelines?

    AStore in environment variables in the CI config
    BSecret Manager for storage, Cloud Build service account permissions for access, never log secrets, rotate regularly, and use workload identity for runtime
    CEncrypt and commit to Git
    DUse the same secrets for all environments

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start PCDOE Quiz
  5. Question 5Building and Implementing CI/CD Pipelines for a Service

    What is the difference between Cloud Build and Cloud Deploy?

    ASame service
    BCloud Build: CI/CD build execution (compile, test, create artifacts). Cloud Deploy: CD pipeline management (promotion through environments with approvals and rollback).
    CCloud Build is for deployment
    DCloud Deploy is for building

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start PCDOE Quiz
  6. Question 6Building and Implementing CI/CD Pipelines for a Service

    What is Cloud Deploy's delivery pipeline?

    AA data pipeline
    BA declarative configuration defining the stages (targets) a release must progress through, with promotion rules, approval requirements, and deployment strategies
    CA network pipeline
    DA monitoring pipeline

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start PCDOE Quiz
  7. Question 7Building and Implementing CI/CD Pipelines

    How do you implement a comprehensive testing strategy in a CI/CD pipeline?

    AOnly unit tests
    BTesting pyramid: unit tests (fast, many) → integration tests (medium) → e2e tests (slow, few), plus security scanning, load testing, and chaos testing before production
    CTest manually before deploy
    DTesting slows down delivery

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start PCDOE Quiz
  8. Question 8Building and Implementing CI/CD Pipelines

    How do you implement automated rollback in a CI/CD pipeline?

    AManual rollback only
    BMonitor SLIs post-deploy, automatically revert to previous version if error rate or latency exceeds thresholds, with Cloud Deploy rollback or Kubernetes rollout undo
    CRollback by redeploying previous code
    DFix forward instead of rolling back

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start PCDOE Quiz
  9. Question 9Building and Implementing CI/CD Pipelines for a Service

    What is the purpose of Artifact Registry in CI/CD?

    ASource code storage
    BStoring, scanning, and managing build artifacts (container images, language packages) produced by CI/CD pipelines
    CLog storage
    DConfiguration storage

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start PCDOE Quiz
  10. Question 10Building and Implementing CI/CD Pipelines

    What is Artifact Registry and its role in CI/CD?

    AA code repository
    BA universal package manager for Docker images, npm, Maven, Python, Go, and OS packages — providing vulnerability scanning, IAM-based access, and regional/multi-regional storage for CI/CD artifacts
    COnly for Docker
    DA backup service

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start PCDOE Quiz

Key CI/CD Pipelines Concepts for PCDOE

cloud buildcloud deployci/cdartifact registrycanaryblue-greenpipeline

PCDOE CI/CD Pipelines Exam Tips

Building and Implementing CI/CD Pipelines questions in PCDOE are typically scenario-based. Focus on service-level decision making aligned to official exam objectives. Priority concepts: cloud build, cloud deploy, ci/cd, artifact registry, canary, blue-green.

What PCDOE Expects

  • Anchor your answer in select the most practical, secure, and scalable answer for the stated scenario.
  • CI/CD Pipelines scenarios for PCDOE are frequently mapped to Domain 2 (~20%), so read the objective carefully before picking controls or architecture.
  • Expect multi-topic scenarios where CI/CD Pipelines interacts with IAM, networking, data, or operations patterns rather than appearing as an isolated question.
  • When two options are both technically valid, prefer the choice that best aligns with the exam's operational scope (Professional) and vendor best practices.

High-Value CI/CD Pipelines Concepts

  • Know the core CI/CD Pipelines building blocks cold: cloud build, cloud deploy, ci/cd, artifact registry.
  • Review the edge-case features and limits for canary, blue-green; these details are commonly used to differentiate answer choices.
  • Practice service-integration reasoning: how CI/CD Pipelines pairs with SRE Principles, SRE Practice in real deployment patterns.
  • For PCDOE, explain why the chosen CI/CD Pipelines design meets reliability, security, and cost expectations better than the alternatives.

Common PCDOE Traps

  • Watch for answers that partially solve the requirement but miss operational constraints.
  • Questions in CI/CD Pipelines often include distractors that look correct for CI/CD Pipelines but violate least-privilege, reliability, or scalability requirements.
  • Avoid picking options purely by feature name; validate data path, failure handling, and governance impact before answering.
  • If the prompt hints at automation or repeatability, eliminate manual-only operational answers first.

Fast Review Checklist

  • Can you compare at least two CI/CD Pipelines implementation paths and justify which one best fits the scenario?
  • Can you map the chosen answer back to CI/CD Pipelines (~20%) outcomes for PCDOE?
  • Can you explain security and access boundaries for CI/CD Pipelines without relying on default-open assumptions?
  • Can you describe how CI/CD Pipelines integrates with SRE Principles and SRE Practice during failure, scaling, and monitoring events?

Exam Domains Covering CI/CD Pipelines

Related Resources

More PCDOE Study Resources