Professional Cloud DevOps Practice Exam — Professional Cloud DevOps Engineer

1. The question bank is internet‑connected and updates automatically with no need for re‑acquisition.

2. Activate the question bank to gain access in both Chinese and English simultaneously.

3. Features include online practice, mock exams, and PDF downloads.

4. Study and practice via mini‑program or web browser on PC; valid for one year.

5. Simply enter the activation code to use. Click Buy Now on the right or contact customer service for purchase.

6. For inquiries, contact customer service via WeChat, WhatsApp or Line.

Exam information

Professional Cloud DevOps Engineer

- Exam Languages: English, Japanese, Korean, Spanish

- Exam Fee: $200

- Duration: 120 minutes

- Question Type: 50–60 multiple‑choice and multiple‑select questions

- Passing Score: Approximately 70%

- Certificate Validity: 2 years

- Official Registration Link: https://cloud.google.com/certification/devops-engineer

- Focus: CI/CD pipelines, cloud operations, SRE reliability engineering and automated deployment

Sample questions

Professional Cloud DevOps · Q1
Topic 1 Question #1 You support a Node.js application running on Google Kubernetes Engine (GKE) in production. The application makes several HTTP requests to dependent applications. You want to anticipate which dependent applications might cause performance issues. What should you do?
  • A.
    Instrument all applications with Stackdriver Profiler.
  • B.
    Instrument all applications with Stackdriver Trace and review inter-service HTTP requests.
  • C.
    Use Stackdriver Debugger to review the execution of logic within each application to instrument all applications.
  • D.
    Modify the Node.js application to log HTTP request and response times to dependent applications. Use Stackdriver Logging to find dependent applications that are performing poorly.

Answer: B

This question falls under the Implementing Observability domain of the Professional Cloud DevOps Engineer certification, which tests the ability to select and deploy appropriate GCP observability tools for production workloads. The scenario requires identifying which downstream dependent applications are causing performance issues for a GKE-hosted Node.js service, which demands visibility into cross-service request latency. The suggested answer B uses Cloud Trace (formerly Stackdriver Trace), a purpose-built distributed tracing tool that automatically captures end-to-end latency data for requests traveling across multiple services. Instrumenting all services with Trace provides a centralized view of inter-service HTTP request flows, allowing you to quantify latency contributed by each dependent application, identify bottlenecks proactively, and aligns with DevOps best practices for reducing mean time to detect performance issues in distributed microservices architectures without unnecessary custom code changes. Option Analysis: A. Incorrect. Stackdriver Profiler (Cloud Profiler) is designed to analyze internal application resource consumption such as CPU, memory, and heap usage for individual services, to identify inefficient code within a single application. It does not track inter-service request latency or dependency performance, so it cannot address the requirement of identifying problematic downstream dependent applications. B. Correct. Cloud Trace collects distributed tracing data for all instrumented services, including latency metrics for inter-service HTTP requests. It provides visualizations of end-to-end request paths, allowing you to isolate which dependent application is contributing to elevated latency. It has low production overhead, integrates natively with GKE workloads, and directly addresses the requirement to anticipate performance issues caused by dependent services. C. Incorrect. Stackdriver Debugger (Cloud Debugger) is used to inspect the runtime state of a live production application without pausing or degrading performance, to troubleshoot functional code logic errors. It does not capture latency data for cross-service requests, so it is not suited for identifying dependency-related performance bottlenecks. D. Incorrect. While manual logging of HTTP request and response times can provide some visibility into dependency performance, this approach requires custom application code modifications, is error-prone, lacks end-to-end request correlation across multiple services, and is less scalable than using purpose-built distributed tracing tools. It is not the optimal solution per GCP DevOps best practices for observability of distributed architectures. Key Concepts: 1. Distributed Tracing: An observability practice that tracks the full path of a user request as it traverses multiple services in a distributed system, enabling teams to identify latency bottlenecks in specific downstream services. This is a core concept for monitoring microservices architectures tested extensively in the DevOps Engineer certification. 2. GCP Observability Tool Alignment: The certification requires matching specific use cases to the appropriate Cloud Operations suite tool, to avoid unnecessary custom implementation and leverage native, low-overhead GCP functionality for production workloads. 3. Proactive Dependency Performance Monitoring: A core SRE and DevOps practice focused on identifying potential performance bottlenecks in interdependent services before they impact end users, reducing mean time to detect and mean time to resolve for production performance incidents. References: Cloud Trace Overview, https://cloud.google.com/trace/docs/overview Choose Observability Tools for Your Use Case
Professional Cloud DevOps · Q2
Topic 1 Question #2 You created a Stackdriver chart for CPU utilization in a dashboard within your workspace project. You want to share the chart with your Site Reliability Engineering(SRE) team only. You want to ensure you follow the principle of least privilege. What should you do?
  • A.
    Share the workspace Project ID with the SRE team. Assign the SRE team the Monitoring Viewer IAM role in the workspace project.
  • B.
    Share the workspace Project ID with the SRE team. Assign the SRE team the Dashboard Viewer IAM role in the workspace project.
  • C.
    Click ג€Share chart by URLג€ and provide the URL to the SRE team. Assign the SRE team the Monitoring Viewer IAM role in the workspace project.
  • D.
    Click ג€Share chart by URLג€ and provide the URL to the SRE team. Assign the SRE team the Dashboard Viewer IAM role in the workspace project.

Answer: C

The scenario requires sharing a single specific Stackdriver (Google Cloud Monitoring) CPU utilization chart exclusively with the SRE team while adhering to the principle of least privilege. The suggested answer C meets all requirements fully. First, sharing the chart via its unique direct URL provides targeted access to only the intended chart, eliminating the need for the SRE team to navigate other unrelated resources in the workspace project and reducing unintended exposure to non-required monitoring assets. Second, the Monitoring Viewer IAM role is the minimum permission set required to view the underlying CPU utilization time series metric data that populates the chart. This role grants read access to monitoring data without providing write permissions or access to non-monitoring resources in the workspace project, strictly aligning with least privilege best practices. Option Analysis: A. Incorrect. Sharing only the workspace project ID forces the SRE team to search through the entire project's monitoring resources to locate the specific chart, which exposes them to unrelated monitoring assets and violates the principle of least privilege. This approach also does not provide direct access to the intended chart, creating unnecessary friction for the SRE team. B. Incorrect. First, sharing the project ID instead of the direct chart URL exposes the SRE team to all project monitoring resources as noted for option A. Second, the Dashboard Viewer IAM role only grants permissions to view dashboard configurations, not the underlying metric data that populates the CPU utilization chart. The SRE team would be unable to view actual CPU utilization metrics with this role, failing to meet the core requirement. Additionally, Dashboard Viewer grants access to all dashboards in the project, which is excessive access for a single shared chart. C. Correct. Sharing the specific chart via its unique URL gives the SRE team direct access to only the intended CPU utilization chart, eliminating the need to browse other workspace resources. The Monitoring Viewer role provides the minimum required permissions to read the time series CPU utilization data displayed in the chart, without granting write access or access to non-monitoring project resources. This implementation strictly follows the principle of least privilege and meets all stated requirements. D. Incorrect. While sharing the direct chart URL is appropriate, the Dashboard Viewer role is insufficient for the use case. As noted earlier, Dashboard Viewer does not include permissions to read the underlying metric data that populates the chart, so the SRE team would only see an empty chart structure with no CPU utilization data. This role also grants access to all dashboards in the project, which is more access than required, violating least privilege. Key Concepts: 1. Principle of Least Privilege: A core DevOps and IAM security best practice that requires granting users only the minimum set of permissions necessary to complete their intended task, reducing the risk of unintended access, data exfiltration, or misuse of resources. 2. Cloud Monitoring Predefined IAM Roles: Google Cloud Monitoring has distinct predefined roles with scoped permissions: Monitoring Viewer grants read access to all monitoring data including metrics, charts, alerts, and dashboards, while Dashboard Viewer only grants read access to dashboard configurations, not the underlying time series metric data that populates chart visualizations. 3. Targeted Monitoring Resource Sharing: Cloud Monitoring supports direct sharing of individual charts via unique URLs, which allows users to access only the specific shared resource without navigating an entire project's monitoring workspace, minimizing exposure to unrelated assets. References: Access control | Cloud Monitoring | Google Cloud, https://cloud.google.com/monitoring/access-control#predefined_roles Share dashboards and charts | Cloud Monitoring | Google Cloud
Professional Cloud DevOps · Q3
Topic 1 Question #3 Your organization wants to implement Site Reliability Engineering (SRE) culture and principles. Recently, a service that you support had a limited outage. A manager on another team asks you to provide a formal explanation of what happened so they can action remediations. What should you do?
  • A.
    Develop a postmortem that includes the root causes, resolution, lessons learned, and a prioritized list of action items. Share it with the manager only.
  • B.
    Develop a postmortem that includes the root causes, resolution, lessons learned, and a prioritized list of action items. Share it on the engineering organization's document portal.
  • C.
    Develop a postmortem that includes the root causes, resolution, lessons learned, the list of people responsible, and a list of action items for each person. Share it with the manager only.
  • D.
    Develop a postmortem that includes the root causes, resolution, lessons learned, the list of people responsible, and a list of action items for each person. Share it on the engineering organization's document portal.

Answer: B

This question assesses knowledge of core SRE postmortem best practices, a key domain in the Professional Cloud DevOps Engineer certification. SRE culture prioritizes blameless, widely shared incident retrospectives to drive organizational learning and prevent repeat outages. The correct approach avoids individual blame attribution, includes actionable prioritized remediation items, and is shared broadly across the engineering organization so all teams can apply lessons learned to their own services, rather than limiting access to only the requesting manager. This directly supports the organization's goal of implementing SRE culture by fostering transparency, psychological safety, and cross-team reliability improvements. Option Analysis: A. Incorrect. While the core content of the postmortem (root causes, resolution, lessons learned, prioritized action items) aligns with SRE requirements, limiting distribution to only the requesting manager defeats a core purpose of SRE postmortems: enabling cross-team learning to prevent similar outages across the entire organization. B. Correct. This option follows two non-negotiable SRE postmortem best practices: it adheres to blameless culture by excluding lists of individual responsible parties, and it is shared broadly across the engineering organization to enable widespread learning. The inclusion of prioritized action items provides clear, actionable guidance for remediation that meets the requesting manager's needs while benefiting all engineering teams. C. Incorrect. This option has two critical gaps: first, including a list of people responsible violates blameless SRE postmortem culture, which focuses on systemic root causes rather than individual fault to preserve psychological safety. Second, limiting distribution to only the manager prevents the broader organization from learning from the incident. D. Incorrect. While broad distribution of postmortems is a SRE best practice, including a list of people responsible breaks blameless postmortem principles. Assigning individual blame discourages open reporting of small issues before they escalate into outages, which undermines successful SRE culture implementation. Key Concepts: 1. Blameless Postmortem Culture: A foundational SRE principle that postmortem investigations focus exclusively on identifying systemic, process, and tooling-related root causes, rather than attributing fault to individual contributors. This preserves psychological safety, encourages open incident reporting, and ensures teams prioritize long-term system improvements over punitive action. 2. Cross-Organizational Postmortem Sharing: SRE requires postmortems to be accessible to all engineering teams in an organization, not just the team that experienced the outage. This allows all teams to apply lessons learned to their own services, reducing the risk of similar incidents occurring across different parts of the org. 3. Actionable Postmortem Outputs: Effective SRE postmortems include prioritized, time-bound action items tied directly to identified root causes, rather than per-person blame assignments, to ensure concrete, measurable improvements to service reliability are implemented after an incident. References: Site Reliability Engineering: Postmortem Culture: Learning from Failure, https://sre.google/sre-book/postmortem-culture/ Google Cloud Professional DevOps Engineer Exam Guide
Professional Cloud DevOps · Q4
Topic 1 Question #4 You have a set of applications running on a Google Kubernetes Engine (GKE) cluster, and you are using Stackdriver Kubernetes Engine Monitoring. You are bringing a new containerized application required by your company into production. This application is written by a third party and cannot be modified or reconfigured. The application writes its log information to /var/log/app_messages.log, and you want to send these log entries to Stackdriver Logging. What should you do?
  • A.
    Use the default Stackdriver Kubernetes Engine Monitoring agent configuration.
  • B.
    Deploy a Fluentd daemonset to GKE. Then create a customized input and output configuration to tail the log file in the application's pods and write to Stackdriver Logging.
  • C.
    Install Kubernetes on Google Compute Engine (GCE) and redeploy your applications. Then customize the built-in Stackdriver Logging configuration to tail the log file in the application's pods and write to Stackdriver Logging.
  • D.
    Write a script to tail the log file within the pod and write entries to standard output. Run the script as a sidecar container with the application's pod. Configure a shared volume between the containers to allow the script to have read access to /var/log in the application container.

Answer: B

This scenario addresses the core DevOps requirement of collecting logs from unmodifiable third-party workloads on GKE that output logs to a custom file path rather than the standard stdout/stderr streams captured by default GKE logging. The suggested answer B is correct because it leverages the native Fluentd-based logging infrastructure used by Stackdriver Kubernetes Engine Monitoring, scales efficiently across the cluster via a daemonset deployment model, and requires no changes to the unmodifiable application. Custom Fluentd input configurations can be defined to tail the specific /var/log/app_messages.log file from application pods (when the pod's /var/log path is exposed as a volume mount in the pod spec, which does not require modifying the application binary or runtime configuration), and output configurations can forward these logs directly to Stackdriver Logging with appropriate Kubernetes metadata attached. This approach aligns with GCP DevOps best practices for centralized, low-overhead logging collection at scale. Option Analysis: A. Incorrect. The default Stackdriver Kubernetes Engine Monitoring agent is preconfigured to only collect logs written to container stdout and stderr streams. It does not capture logs written to arbitrary file paths inside the container filesystem like /var/log/app_messages.log, so this configuration would fail to collect the required application logs. B. Correct. Fluentd is the officially supported log collector for GKE's Cloud Operations (formerly Stackdriver) integration. Deploying Fluentd as a daemonset ensures a single collector instance runs on every cluster node, eliminating redundant per-pod overhead. Custom input configurations can be defined to tail the target log file from application pods, and output configurations can forward collected logs directly to Stackdriver Logging. This approach meets all scenario requirements, including no modifications to the third-party application, and integrates seamlessly with the existing Stackdriver Kubernetes Engine Monitoring deployment. C. Incorrect. Redeploying all existing GKE workloads to a self-managed Kubernetes cluster on GCE introduces unnecessary operational complexity, increased management overhead, and violates the implicit requirement to use the existing GKE cluster environment. This is an inefficient, cost-prohibitive solution for a simple log collection use case. D. Incorrect. While a sidecar container that tails the log file and writes entries to stdout would technically allow the default logging agent to capture the logs, this approach adds per-pod resource overhead that scales linearly with the number of application pods, making it inefficient for large deployments. Additionally, it requires custom script maintenance and per-pod configuration changes that are unnecessary when a centralized, daemonset-based logging solution is already in use as part of the existing Stackdriver Kubernetes Engine Monitoring setup. Key Concepts: 1. GKE Default Log Collection: The out-of-the-box Cloud Operations for GKE integration only captures stdout and stderr streams from containers. Custom log files written to the container filesystem require additional logging configuration to be collected. 2. Fluentd Daemonset Logging: Fluentd is the supported open source log collector for GKE, deployed as a daemonset to run one instance per cluster node. This model provides scalable, centralized log collection with minimal per-node overhead, and supports custom configurations for collecting non-standard log sources. 3. Unmodifiable Workload Logging Best Practices: For third-party or unmodifiable applications that cannot be reconfigured to output logs to stdout/stderr, centralized logging infrastructure customization is preferred over per-pod sidecar solutions to reduce operational overhead and maintain consistent logging governance. References: Configuring custom Fluentd configurations for GKE logging, https://cloud.google.com/stackdriver/docs/solutions/gke/managing-logs#custom_fluentd_configurations Custom logging architecture for GKE using Fluentd
Professional Cloud DevOps · Q5
Topic 1 Question #5 You are running an application in a virtual machine (VM) using a custom Debian image. The image has the Stackdriver Logging agent installed. The VM has the cloud-platform scope. The application is logging information via syslog. You want to use Stackdriver Logging in the Google Cloud Platform Console to visualize the logs. You notice that syslog is not showing up in the "All logs" dropdown list of the Logs Viewer. What is the first thing you should do?
  • A.
    Look for the agent's test log entry in the Logs Viewer.
  • B.
    Install the most recent version of the Stackdriver agent.
  • C.
    Verify the VM service account access scope includes the monitoring.write scope.
  • D.
    SSH to the VM and execute the following commands on your VM: ps ax | grep fluentd.

Answer: D

This question assesses core Cloud Logging (formerly Stackdriver Logging) agent troubleshooting knowledge required for the Professional Cloud DevOps Engineer certification, which emphasizes systematic, low-impact first steps for operational issue resolution. The scenario confirms the VM has the cloud-platform access scope, which includes all necessary permissions for log ingestion, and that the Logging agent is already installed. The most common root cause for missing syslog logs from a pre-installed agent is that the agent process is not running, due to startup failures, post-installation crashes, or service misconfiguration. Verifying the agent process status is the logical first diagnostic step, as it immediately rules out a critical foundational failure before moving to more complex or intrusive checks. Option Analysis: A. Incorrect. Searching for the agent's test log entry is a valid later troubleshooting step, but it is not the first action to take. If the agent process is not running at all, no test entries will exist in the Logs Viewer, so this check would provide no actionable root cause information and waste diagnostic time. B. Incorrect. Upgrading to the latest agent version is a premature, intrusive action. The question explicitly states the agent is already installed, and there is no indication that an outdated agent version is the source of the issue. Troubleshooting should first confirm the existing installed agent is functional before modifying the deployment. C. Incorrect. This option is invalid for two key reasons: first, the scenario explicitly confirms the VM has the cloud-platform scope, which includes the logging.write permission required for log ingestion (the monitoring.write scope referenced is for Cloud Monitoring metrics ingestion, not logging, making it irrelevant to this issue). Second, scope misconfiguration would block all log ingestion, not just syslog logs, so this check is unnecessary given the provided scenario details. D. Correct. The Stackdriver Logging agent is built on the Fluentd open source log collector, so its active runtime process is named fluentd. Running the ps ax | grep fluentd command confirms if the agent process is active, which is the most fundamental first check for missing agent-shipped logs. If the process is not running, you can immediately proceed to troubleshoot agent startup failures, rather than wasting time on higher-level checks. Key Concepts: 1. Systematic Troubleshooting Workflow: The Professional Cloud DevOps Engineer certification prioritizes foundational, low-effort checks first (such as process status) before moving to configuration changes or software modifications, to minimize operational disruption and speed up root cause identification. 2. Google Cloud VM Access Scopes: The cloud-platform scope is a broad, predefined access scope that grants all permissions for interacting with Google Cloud services, including the logging.write permission required to send logs to Cloud Logging, eliminating scope misconfiguration as a root cause in this scenario. 3. Cloud Logging Agent Architecture: The legacy Stackdriver Logging agent uses Fluentd as its underlying log collection engine, so process checks targeting the fluentd binary are the standard method to confirm the agent is actively running. References: Troubleshooting the Cloud Logging agent, Cloud Logging Agent Overview

FAQ

How many practice questions are available for Professional Cloud DevOps ?

This question bank includes 239 Professional Cloud DevOps practice questions covering single and multiple choice, each with answers and explanations.

Are Professional Cloud DevOps practice questions available in Chinese and English?

Yes, Professional Cloud DevOps practice questions are provided in both Chinese and English.

Can I try Professional Cloud DevOps practice questions for free?

Yes. Free sample questions are available on this page, and the full question bank is available after signing up on Zhangxuetu.