Free Professional Cloud DevOps Engineer exam Practice Questions
200 free questions · Answer explanations · No signup required
View examination details, outline and sourcesLoading selected examination banks…
Sample Practice Questions
Try these 10 sample questions from the Professional Cloud DevOps Engineer exam practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.
1A department needs a policy inheritance point for several application projects and nested team groupings. Which resource should it use below the organization?
- A. A folder containing the team's projects and subfolders
- B. A project containing the team's projects and subfolders
- C. A billing account containing the team's project hierarchy
- D. A VPC network containing the team's project hierarchy
Answer: A
Explanation: Google states, "Because folders can contain projects and other folders," and describes folders as policy inheritance points. A folder provides the requested nested grouping; projects, billing accounts, and networks do not supply that hierarchy.
2A Cloud Build trigger watches pushes to a repository branch. A developer commits locally but does not push. Why has the trigger not started a build?
- A. Branch triggers require a new repository tag for every commit.
- B. Branch triggers start only after a pull request is merged manually.
- C. The trigger responds to remote-origin pushes rather than local changes.
- D. The trigger requires changing the build configuration on every commit.
Answer: C
Explanation: Google states, "builds are only invoked on pushes to the remote origin -- not on local changes," for branch- or tag-commit triggers. A local commit has not produced the configured event.
Reference: Create and manage build triggers — Create a build trigger — Event — branch and tag trigger note
3A service team measures the fraction of valid requests that return successfully over a defined window. What role does that quantitative measurement play?
- A. An SLA penalty
- B. An SLO target
- C. An SLI
- D. An error-budget release policy
Answer: C
Explanation: Google defines an SLI as "a carefully defined quantitative measure of some aspect of the level of service that is provided." The measured success fraction is the indicator; its desired target and contractual consequence are separate.
Reference: Site Reliability Engineering — Service Level Objectives — Service Level Terminology — Indicators
4Which description of the Ops Agent meets a Compute Engine team's requirement for unified telemetry collection?
- A. It collects VM metrics, while application logs require the legacy Logging agent.
- B. It collects VM logs, while metrics require the legacy Monitoring agent.
- C. It collects logs and metrics, while traces require a separate agent process.
- D. It combines logs, metrics, and traces in one process with unified configuration.
Answer: D
Explanation: Google describes the Ops Agent as "Combining the collection of logs, metrics, and traces into a single process," with unified YAML configuration. The other descriptions incorrectly limit the integrated signal collection or require separate legacy agents.
Reference: Ops Agent overview — Overview — telemetry collection
5A team needs ongoing production measurements that attribute CPU use and memory allocations to application source code with low overhead. Which tool provides this?
- A. Cloud Trace
- B. Cloud Monitoring
- C. Cloud Profiler
- D. Error Reporting
Answer: C
Explanation: Google describes Cloud Profiler as "a statistical, low-overhead profiler that continuously gathers CPU usage and memory-allocation information from your production applications." Its source-code resource attribution fits the task. Distributed traces, metric charts and error-event grouping do not provide that continuous code-level CPU/allocation profile.
Reference: Cloud Profiler overview — Overview — continuous profiling
6An IAM role granted on a department folder should cover its current child projects. How does the resource hierarchy handle that grant?
- A. It applies only to the folder's metadata.
- B. It requires a separate binding on every child project.
- C. It is inherited by the folder's child projects.
- D. It applies only after the projects are recreated.
7A Cloud Build branch trigger must match exactly the branch main, excluding names such as main-old and domain. Which regular expression should be used?
- A. ^main$
- B. ^main[a-z-]*$
- C. ^[a-z]*main$
- D. ^(main|domain)$
Answer: A
Explanation: Cloud Build specifies regular-expression branch matching. RE2 defines ^ as "at beginning of text or line (m=true)" and $ as "at end of text (like \z not \Z) or line (m=true)". Anchoring the literal main at both boundaries matches only that branch. The character-class patterns also allow main-old or domain; the alternation explicitly allows domain.
Reference: Create and manage build triggers — Create a build trigger — Branch or Tag
8A team sets a target that 99.9% of eligible requests succeed within a calendar month. Which term describes this target for the measured service level?
- A. A service level objective
- B. A service level indicator's observed value
- C. A contractual service credit
- D. A measured error-budget consumption rate
Answer: A
Explanation: Google defines an SLO as "a target value or range of values for a service level that is measured by an SLI." The target is an objective; measured performance, financial consequences, and consumption rate are distinct.
Reference: Site Reliability Engineering — Service Level Objectives — Service Level Terminology — Objectives
9An application writes text logs containing identifiable fields. The team needs structured entries in Cloud Logging without changing application code. Which Ops Agent capability supports this?
- A. Apply JSON or regular-expression parsing to extract structured fields.
- B. Forward each original text line unchanged as a single text payload.
- C. Filter lines by severity while leaving each retained line's text unchanged.
- D. Rename the field containing the entire line without extracting its contents.
Answer: A
Explanation: The Ops Agent supports "Parse text logs into structured logs: JSON-based and regular-expression-based parsing." Parsing extracts fields from the text. Forwarding, filtering whole lines, and renaming a whole-line field do not extract that internal structure.
Reference: Ops Agent overview — Logging features — Flexible processing
10For a repeatedly observed function, wall-clock time is substantially greater than CPU time. What performance behavior does this difference indicate?
- A. Elapsed function time includes substantial waiting in addition to CPU execution.
- B. The CPU executes the function's instructions throughout its elapsed wall time.
- C. Wall-clock measurements exclude the function's I/O and synchronization waits.
- D. CPU-time measurements include time the function spends waiting for a lock.
Answer: A
Explanation: Google states, "If the wall-clock time is longer than the CPU time, then that indicates the code spends time waiting." Wall-clock time includes waiting; CPU time measures execution. The other interpretations incorrectly make CPU execution cover waiting or exclude waits from elapsed time.
Topics in this practice bank
These topics describe the available practice for Professional Cloud DevOps Engineer exam. Review the examination outline and its sources for scope and allocation details.
Bootstrapping and maintaining a Google Cloud organization
- Designing the overall resource hierarchy for an organization
- Managing infrastructure
- Designing a CI/CD architecture stack in Google Cloud, hybrid, and multi-cloud environments
- Managing multiple environments
- Enabling secure cloud development environments
Building and implementing CI/CD pipelines, including continuous testing, for application, infrastructure, and machine learning workloads
- Designing pipelines
- Implementing and managing pipelines
- Managing pipeline configuration and secrets
- Securing the deployment pipeline
Applying site reliability engineering practices
- Balancing change, velocity, and reliability of the service
- Managing service lifecycle
- Mitigating incident impact on users
Implementing observability practices and troubleshooting issues
- Instrumenting and collecting telemetry
- Managing and analyzing logs
- Managing metrics, dashboards, and alerts
- Capturing and analyzing distributed traces
- Troubleshooting issues
Optimizing performance and cost
- Collecting performance information in Google Cloud
- Implementing FinOps practices for optimizing resource utilization and costs
How to use these free practice questions
Choose an answer, check the explanation, and review your progress by chapter. Practice questions and explanations are free to access without signing up.
These are independent study questions, not actual examination items. For examination requirements and official information, view Professional Cloud DevOps Engineer exam details.