🚀 Deploying Applications - PCD Practice Questions

Deploy to GKE, Cloud Run, App Engine with strategies like canary, blue-green, and rolling updates.

20Questions Available
1Exam Domains

Practice Deploying Questions Now

Start a timed practice session focusing on Deploying Applications topics from the PCD question bank.

Start PCD Practice Quiz →

PCD Deploying Question Bank (20 Questions)

Browse all 20 practice questions covering Deploying Applications for the PCD certification exam. Answers are intentionally hidden on this page so you can self-test first before checking results in quiz mode.

  1. Question 1Deploying Applications

    How do you implement a canary deployment for a GKE service?

    ADeploy to half the pods
    BUse Istio/Anthos Service Mesh VirtualService to route a percentage of traffic to the canary Deployment, monitor error rate and latency, and gradually increase traffic if healthy
    CDeploy to a separate cluster
    DUse feature flags instead

    Answer hidden for practice.

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

    Start PCD Quiz
  2. Question 2Deploying Applications

    How do you implement a blue-green deployment on Cloud Run?

    ADeploy new version and delete old
    BDeploy the new revision (green) with --no-traffic flag, test it using a tagged URL, then instantly switch 100% traffic from blue to green using traffic routing
    CUse separate services
    DDeploy during downtime window

    Answer hidden for practice.

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

    Start PCD Quiz
  3. Question 3Deploying Applications

    How do you deploy a new version with zero downtime in GKE?

    ADelete pods and recreate
    BUse Deployment rolling update strategy with readiness probes, liveness probes, and PodDisruptionBudgets — Kubernetes gradually replaces old pods with new ones
    CScale to zero first
    DManually update each pod

    Answer hidden for practice.

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

    Start PCD Quiz
  4. Question 4Deploying Applications

    How do you implement blue-green deployments on Cloud Run?

    ANot possible
    BDeploy new revision, use traffic splitting to route 0% to new revision initially, test with tags (--tag=green), then shift 100% traffic when validated, with instant rollback to previous revision
    CManual DNS switching
    DLoad balancer only

    Answer hidden for practice.

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

    Start PCD Quiz
  5. Question 5Deploying Applications

    What is a canary deployment on GKE?

    AA bird-related deployment
    BA deployment strategy where a small percentage of traffic is routed to the new version while the majority stays on the old version, allowing gradual validation
    CA full replacement
    DA blue-green deployment

    Answer hidden for practice.

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

    Start PCD Quiz
  6. Question 6Deploying Applications

    You want to gradually roll out a new version of a Cloud Run service. How do you do this?

    ADelete the old version and deploy new
    BDeploy the new revision, then use traffic splitting to route a percentage of traffic to the new revision — gradually increasing from 5% to 100% while monitoring errors
    CDeploy to a new service
    DUse DNS changes

    Answer hidden for practice.

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

    Start PCD Quiz
  7. Question 7Designing Scalable, Available, and Reliable Cloud-Native Applications

    You need to deploy a stateful application (e.g., a database) on GKE. What Kubernetes resource should you use?

    ADeployment
    BStatefulSet — provides stable network identities, ordered deployment/scaling, and persistent volume claims per pod for stateful workloads
    CDaemonSet
    DJob

    Answer hidden for practice.

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

    Start PCD Quiz
  8. Question 8Building and Testing Applications

    How should you manage dependencies for a Python application deployed to Cloud Run?

    AInstall packages in the Dockerfile without pinning versions
    BPin exact versions in requirements.txt (pip freeze), use a lock file, copy requirements first in Dockerfile for layer caching, and scan for vulnerabilities
    CCopy the local virtual environment into the container
    DDownload packages at runtime

    Answer hidden for practice.

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

    Start PCD Quiz
  9. Question 9Designing Scalable, Available, and Reliable Cloud-Native Applications

    How should you version a REST API deployed on Cloud Run?

    ANo versioning needed
    BURL path versioning (/v1/resources, /v2/resources) with Cloud Run traffic tags for testing new versions — maintain backward compatibility and deprecation timeline for old versions
    CCreate a new service for each version
    DUse query parameters for versioning

    Answer hidden for practice.

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

    Start PCD Quiz
  10. Question 10Deploying Applications

    A newly deployed Cloud Run revision is causing 500 errors. How do you quickly rollback?

    ADebug the issue in production
    Bgcloud run services update-traffic SERVICE --to-revisions=PREVIOUS_REVISION=100 — instantly routes all traffic back to the last known good revision
    CRedeploy the old code
    DDelete the service and recreate

    Answer hidden for practice.

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

    Start PCD Quiz
  11. Question 11Building and Testing Applications

    What are Cloud Native Buildpacks and how do they simplify Cloud Run deployment?

    AA type of VM image
    BBuildpacks automatically detect your application's language and create an optimized container image without requiring a Dockerfile — gcloud run deploy uses buildpacks by default
    CA monitoring tool
    DA testing framework

    Answer hidden for practice.

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

    Start PCD Quiz
  12. Question 12Designing Scalable, Available, and Reliable Cloud-Native Applications

    How do you design a Cloud Run service for multi-region deployment with automatic failover?

    ADeploy in one region with backups
    BDeploy the same service in multiple regions, use a global HTTPS load balancer to route traffic to the nearest healthy region, with Cloud Spanner or Firestore for global data consistency
    CUse Cloud DNS failover only
    DDeploy in all regions at once

    Answer hidden for practice.

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

    Start PCD Quiz
  13. Question 13Deploying Applications

    How does Cloud Run handle scaling for a newly deployed revision?

    AFixed number of instances
    BAutomatically scales instances based on incoming requests, including scaling to zero
    CManual scaling only
    DScales based on a schedule

    Answer hidden for practice.

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

    Start PCD Quiz
  14. Question 14Deploying Applications

    What is the purpose of Cloud Run traffic splitting?

    ASplit network packets
    BGradually shift request traffic between revisions for testing and canary releases
    CSplit logs between destinations
    DDivide compute resources

    Answer hidden for practice.

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

    Start PCD Quiz
  15. Question 15Deploying Applications

    What deployment strategies does Cloud Run support?

    AOnly full deployment
    BGradual rollouts (traffic splitting between revisions), instant rollouts, and rollbacks — route percentage of traffic to new revision while monitoring
    COnly blue-green
    DOnly canary with GKE

    Answer hidden for practice.

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

    Start PCD Quiz
  16. Question 16Building and Testing Applications

    How should you implement chaos engineering for your Cloud Run and GKE services?

    ABreak production randomly
    BInject controlled failures in a staging environment: kill pods, add latency, simulate service outages — verify that circuit breakers, retries, and fallbacks work as designed
    COnly test in production
    DNever test failures

    Answer hidden for practice.

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

    Start PCD Quiz
  17. Question 17Building and Testing Applications

    Where should container images be stored for GKE deployments within Google Cloud?

    ADocker Hub
    BArtifact Registry
    CCloud Storage
    DPersistent Disk

    Answer hidden for practice.

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

    Start PCD Quiz
  18. Question 18Deploying Applications

    What is the recommended tool for deploying applications to GKE with progressive delivery?

    Akubectl apply only
    BCloud Deploy with delivery pipelines
    CManual gcloud commands
    DCloud Console UI

    Answer hidden for practice.

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

    Start PCD Quiz
  19. Question 19Deploying Applications

    What are deployment strategies in GKE?

    AOnly recreate
    BRolling update (gradual replacement), Blue-Green (duplicate deployment, switch traffic), Canary (small traffic split), and Recreate (stop old, start new) — each with different tradeoffs
    COnly blue-green
    DCannot control deployments

    Answer hidden for practice.

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

    Start PCD Quiz
  20. Question 20Deploying Applications

    What are GKE deployment strategies?

    AOnly one strategy
    BRolling update (gradual replacement), Blue-green (two deployments, traffic switch), Canary (small traffic percentage to new version), and Recreate (all-at-once replacement)
    COnly rolling
    DOnly blue-green

    Answer hidden for practice.

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

    Start PCD Quiz

Key Deploying Concepts for PCD

deploygkecloud runapp enginecanaryblue-greenrolling updatetraffic splitting

PCD Deploying Exam Tips

Deploying Applications questions in PCD are typically scenario-based. Focus on service-level decision making aligned to official exam objectives. Priority concepts: deploy, gke, cloud run, app engine, canary, blue-green.

What PCD Expects

  • Anchor your answer in select the most practical, secure, and scalable answer for the stated scenario.
  • Deploying scenarios for PCD are frequently mapped to Domain 3 (~20%), so read the objective carefully before picking controls or architecture.
  • Expect multi-topic scenarios where Deploying 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 Deploying Concepts

  • Know the core Deploying building blocks cold: deploy, gke, cloud run, app engine.
  • 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 Deploying pairs with Building & Testing, Integrating Services in real deployment patterns.
  • For PCD, explain why the chosen Deploying design meets reliability, security, and cost expectations better than the alternatives.

Common PCD Traps

  • Watch for answers that partially solve the requirement but miss operational constraints.
  • Questions in Deploying Applications often include distractors that look correct for Deploying 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 Deploying implementation paths and justify which one best fits the scenario?
  • Can you map the chosen answer back to Deploying Applications (~20%) outcomes for PCD?
  • Can you explain security and access boundaries for Deploying without relying on default-open assumptions?
  • Can you describe how Deploying integrates with Building & Testing and Integrating Services during failure, scaling, and monitoring events?

Exam Domains Covering Deploying

Related Resources

More PCD Study Resources