Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Free Resources

Difficulty IndexLearn — Free ChaptersIT GlossaryFree Tools & LabsStudy GuidesCareer RoadmapsBrowse by VendorCisco Command ReferenceCCNA Scenarios

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

HomeCertificationsPCDETopicsBuilding and Implementing CI/CD Pipelines for a Service
Free · No Signup RequiredGoogle Cloud · PCDE

PCDE Building and Implementing CI/CD Pipelines for a Service Practice Questions

20+ practice questions focused on Building and Implementing CI/CD Pipelines for a Service — one of the most tested topics on the Google Professional Cloud Database Engineer exam. Each question includes a detailed explanation so you learn why the right answer is correct.

Start Building and Implementing CI/CD Pipelines for a Service Practice

Exam Domains

Building and Implementing CI/CD Pipelines for a ServiceBootstrapping a Google Cloud Organisation for DevOpsApplying Site Reliability Engineering Practices to a ServiceImplementing Service Monitoring StrategiesOptimising Service PerformancePlan and manage database infrastructureDefine data structures and implement SQL for Business IntelligenceAll domains →

Study Tools

Practice TestMock ExamFlashcardsAll Topics

Sample Building and Implementing CI/CD Pipelines for a Service Questions

Practice all 20+ →
1.

A DevOps engineer wants to build a CI/CD pipeline that automatically builds and tests code every time a developer pushes a new branch to a Git repository. Which Cloud Build trigger type should they use?

A.Scheduled trigger
B.Manual trigger
C.Push to any branch trigger
D.Pull request trigger

Explanation: Option C is correct because a 'Push to any branch' trigger in Cloud Build automatically initiates a build whenever a developer pushes code to any branch in the repository. This matches the requirement to build and test code on every new branch push, without manual intervention or branch-specific filters.

2.

A team uses Cloud Build to build a Docker image and push it to Artifact Registry. They need to cache Docker layers to speed up subsequent builds. The build runs on a private pool with access to a VPC. Which caching approach should they implement in cloudbuild.yaml?

A.Build images with --no-cache flag to ensure consistency
B.Docker cache import/export with a GCS bucket
C.Use BuildKit with inline cache
D.Kaniko layer caching with cache repository in Artifact Registry

Explanation: Kaniko layer caching with a cache repository in Artifact Registry is the recommended method for Cloud Build. It stores intermediate layers and reuses them when unchanged. Docker cache import/export requires a persistent volume, which is not native to Cloud Build.

3.

An engineer configures Cloud Deploy to promote a container to production after manual approval. The deployment strategy must gradually shift traffic from the current version to the new version while monitoring error rates. Which deployment strategy should they select in the delivery pipeline?

A.Blue/green
B.Rollback
C.Canary
D.Standard

Explanation: Canary deployment is the correct choice because it gradually shifts traffic from the current version to the new version while allowing monitoring of error rates. In Cloud Deploy, a canary strategy uses a sequence of phases (e.g., 10%, 50%, 100%) to incrementally route traffic, enabling real-time observability and automated rollback if error thresholds are breached.

4.

A company uses Cloud Build to deploy to Cloud Run. They need to test a new revision with a specific tag without serving any live traffic. After validation, they want to shift 10% of traffic to the new revision. Which two gcloud commands should they use?

A.gcloud run deploy --image ... --no-traffic --tag=test; gcloud run services update-traffic ... --to-revisions=test=10
B.gcloud run deploy --image ... --no-traffic; gcloud run services update-traffic ... --to-latest=10
C.gcloud run deploy --image ... --traffic=10%; gcloud run revisions delete
D.gcloud run deploy --image ... --tag=test; gcloud run services update-traffic ... --to-revisions=test=100

Explanation: Option A is correct because the `--no-traffic` flag deploys the new revision without routing any live traffic to it, while `--tag=test` assigns a specific tag (e.g., 'test') that allows direct URL-based validation. The second command `gcloud run services update-traffic --to-revisions=test=10` then shifts exactly 10% of traffic to that tagged revision, enabling a gradual rollout. This two-step approach ensures the revision is validated before receiving production traffic.

5.

A team wants to adopt GitOps for a GKE cluster. They need a solution that automatically syncs their Kubernetes manifests from a Git repository to the cluster and ensures the cluster state matches the repo. Which Google Cloud service should they use?

A.Config Connector
B.Config Sync
C.Cloud Deploy
D.Argo CD on GKE

Explanation: Config Sync is the correct choice because it is the native GitOps agent within Google Cloud's Anthos platform, designed specifically to continuously reconcile the state of a GKE cluster with Kubernetes manifests stored in a Git repository. It automatically detects changes in the configured source of truth and applies them to the cluster, ensuring drift is corrected without manual intervention.

+15 more Building and Implementing CI/CD Pipelines for a Service questions available

Practice all Building and Implementing CI/CD Pipelines for a Service questions

How to master Building and Implementing CI/CD Pipelines for a Service for PCDE

1. Baseline your knowledge

Start with 10 questions to gauge your current understanding of Building and Implementing CI/CD Pipelines for a Service. This tells you whether you need a concept refresher or just practice.

2. Review every explanation

For each question — right or wrong — read the full explanation. Understanding why an answer is correct is more valuable than knowing the answer itself.

3. Focus on exam traps

Building and Implementing CI/CD Pipelines for a Service questions on the PCDE frequently use trap wording. Look for subtle differences in answers that test your precision, not just general knowledge.

4. Reach 80% consistently

Do repeated sessions until you score 80%+ three times in a row. Then move to mixed-mode practice to test cross-topic recall under realistic conditions.

Frequently asked questions

How many PCDE Building and Implementing CI/CD Pipelines for a Service questions are on the real exam?

The exact number varies per candidate. Building and Implementing CI/CD Pipelines for a Service is tested as part of the Google Professional Cloud Database Engineer blueprint. Practicing with targeted Building and Implementing CI/CD Pipelines for a Service questions ensures you can handle any format or difficulty that appears.

Are these PCDE Building and Implementing CI/CD Pipelines for a Service practice questions free?

Yes. Courseiva provides free PCDE practice questions across all exam topics and domains. The platform includes topic-based practice, mock exams, missed-question review, bookmarked questions, and readiness tracking — no account required.

Is Building and Implementing CI/CD Pipelines for a Service one of the harder PCDE topics?

Difficulty is subjective, but Building and Implementing CI/CD Pipelines for a Service is a high-priority exam concept tested in multiple ways — direct recall, scenario analysis, and command-output interpretation. Consistent practice is the best way to build confidence.

Ready to practice?

Launch a full Building and Implementing CI/CD Pipelines for a Service practice session with instant scoring and detailed explanations.

Start Building and Implementing CI/CD Pipelines for a Service Practice →

Topic Info

Topic

Building and Implementing CI/CD Pipelines for a Service

Exam

PCDE

Questions available

20+