Google

Professional Cloud DevOps Engineer practice test

Practice with 15 free Testara sample questions, or choose paid access to the full 188-question bank.

Provider
Google
Question bank
188
Free sample
15 questions
Publisher
Testara

About this practice material

This page covers Testara's practice question bank for Professional Cloud DevOps Engineer, a certification listed under Google. Questions use original, exam-style scenarios and are not questions from the official certification exam.

Testara is an independent practice platform and is not affiliated with, endorsed by, or authorized by Google. The certification credential is issued by Google, not Testara. Certification and provider names belong to their respective owners.

Start practicing

The guest demo does not save an attempt. Sign in before buying access.

Try 15 questions free

Available without signing in

Free sample questions

These 15 questions and their explanations are server-rendered so you can inspect the material before opening the interactive demo.

  1. Question 1 · 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?

    Choose one answer.

    • Instrument all applications with Stackdriver Profiler.
    • Instrument all applications with Stackdriver Trace and review inter-service HTTP requests.
    • Use Stackdriver Debugger to review the execution of logic within each application to instrument all applications.
    • 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.
  2. Question 2 · 1

    You have a pool of application servers running on Compute Engine. You need to provide a secure solution that requires the least amount of configuration and allows developers to easily access application logs for troubleshooting. How would you implement the solution on GCP?

    Choose one answer.

    • ג€¢ Deploy the Stackdriver logging agent to the application servers. ג€¢ Give the developers the IAM Logs Viewer role to access Stackdriver and view logs.
    • ג€¢ Deploy the Stackdriver logging agent to the application servers. ג€¢ Give the developers the IAM Logs Private Logs Viewer role to access Stackdriver and view logs.
    • ג€¢ Deploy the Stackdriver monitoring agent to the application servers. ג€¢ Give the developers the IAM Monitoring Viewer role to access Stackdriver and view metrics.
    • ג€¢ Install the gsutil command line tool on your application servers. ג€¢ Write a script using gsutil to upload your application log to a Cloud Storage bucket, and then schedule it to run via cron every 5 minutes. ג€¢ Give the developers the IAM Object Viewer access to view the logs in the specified bucket.
  3. Question 3 · 1

    The new version of your containerized application has been tested and is ready to be deployed to production on Google Kubernetes Engine (GKE). You could not fully load-test the new version in your pre-production environment, and you need to ensure that the application does not have performance problems after deployment. Your deployment must be automated. What should you do?

    Choose one answer.

    • Deploy the application through a continuous delivery pipeline by using canary deployments. Use Cloud Monitoring to look for performance issues, and ramp up traffic as supported by the metrics.
    • Deploy the application through a continuous delivery pipeline by using blue/green deployments. Migrate traffic to the new version of the application and use Cloud Monitoring to look for performance issues.
    • Deploy the application by using kubectl and use Config Connector to slowly ramp up traffic between versions. Use Cloud Monitoring to look for performance issues.
    • Deploy the application by using kubectl and set the spec.updateStrategy.type field to RollingUpdate. Use Cloud Monitoring to look for performance issues, and run the kubectl rollback command if there are any issues.
  4. Question 4 · 1

    You are managing an application that runs in Compute Engine. The application uses a custom HTTP server to expose an API that is accessed by other applications through an internal TCP/UDP load balancer. A firewall rule allows access to the API port from 0.0.0.0/0. You need to configure Cloud Logging to log each IP address that accesses the API by using the fewest number of steps. What should you do first?

    Choose one answer.

    • Enable Packet Mirroring on the VPC.
    • Install the Ops Agent on the Compute Engine instances.
    • Enable logging on the firewall rule.
    • Enable VPC Flow Logs on the subnet.
  5. Question 5 · 1

    Your company runs an ecommerce website built with JVM-based applications and microservice architecture in Google Kubernetes Engine (GKE). The application load increases during the day and decreases during the night. Your operations team has configured the application to run enough Pods to handle the evening peak load. You want to automate scaling by only running enough Pods and nodes for the load. What should you do?

    Choose one answer.

    • Configure the Vertical Pod Autoscaler, but keep the node pool size static.
    • Configure the Vertical Pod Autoscaler, and enable the cluster autoscaler.
    • Configure the Horizontal Pod Autoscaler, but keep the node pool size static.
    • Configure the Horizontal Pod Autoscaler, and enable the cluster autoscaler.
  6. Question 6 · 1

    Your organization wants to increase the availability target of an application from 99.9% to 99.99% for an investment of $2,000. The application's current revenue is $1,000,000. You need to determine whether the increase in availability is worth the investment for a single year of usage. What should you do?

    Choose one answer.

    • Calculate the value of improved availability to be $900, and determine that the increase in availability is not worth the investment.
    • Calculate the value of improved availability to be $1,000, and determine that the increase in availability is not worth the investment.
    • Calculate the value of improved availability to be $1,000, and determine that the increase in availability is worth the investment.
    • Calculate the value of improved availability to be $9,000, and determine that the increase in availability is worth the investment.
  7. Question 7 · 1

    A third-party application needs to have a service account key to work properly. When you try to export the key from your cloud project, you receive an error: “The organization policy constraint iam.disableServiceAccounKeyCreation is enforced.” You need to make the third-party application work while following Google-recommended security practices. What should you do?

    Choose one answer.

    • Enable the default service account key, and download the key.
    • Remove the iam.disableServiceAccountKeyCreation policy at the organization level, and create a key.
    • Disable the service account key creation policy at the project's folder, and download the default key.
    • Add a rule to set the iam.disableServiceAccountKeyCreation policy to off in your project, and create a key.
  8. Question 8 · 1

    Your team is writing a postmortem after an incident on your external facing application. Your team wants to improve the postmortem policy to include triggers that indicate whether an incident requires a postmortem. Based on Site Reliability Engineering (SRE) practices, what triggers should be defined in the postmortem policy? (Choose two.)

    Choose all answers that apply.

    • An external stakeholder asks for a postmortem
    • Data is lost due to an incident.
    • An internal stakeholder requests a postmortem.
    • The monitoring system detects that one of the instances for your application has failed.
    • The CD pipeline detects an issue and rolls back a problematic release.
  9. Question 9 · 1

    You are implementing a CI/CD pipeline for your application in your company’s multi-cloud environment. Your application is deployed by using custom Compute Engine images and the equivalent in other cloud providers. You need to implement a solution that will enable you to build and deploy the images to your current environment and is adaptable to future changes. Which solution stack should you use?

    Choose one answer.

    • Cloud Build with Packer
    • Cloud Build with Google Cloud Deploy
    • Google Kubernetes Engine with Google Cloud Deploy
    • Cloud Build with kpt
  10. Question 10 · 1

    Your application's performance in Google Cloud has degraded since the last release. You suspect that downstream dependencies might be causing some requests to take longer to complete. You need to investigate the issue with your application to determine the cause. What should you do?

    Choose one answer.

    • Configure Error Reporting in your application.
    • Configure Google Cloud Managed Service for Prometheus in your application.
    • Configure Cloud Profiler in your application.
    • Configure Cloud Trace in your application.
  11. Question 11 · 1

    You are creating a CI/CD pipeline in Cloud Build to build an application container image. The application code is stored in GitHub. Your company requires that production image builds are only run against the main branch and that the change control team approves all pushes to the main branch. You want the image build to be as automated as possible. What should you do? (Choose two.)

    Choose all answers that apply.

    • Create a trigger on the Cloud Build job. Set the repository event setting to ‘Pull request’.
    • Add the OWNERS file to the Included files filter on the trigger.
    • Create a trigger on the Cloud Build job. Set the repository event setting to ‘Push to a branch’
    • Configure a branch protection rule for the main branch on the repository.
    • Enable the Approval option on the trigger.
  12. Question 12 · 1

    You built a serverless application by using Cloud Run and deployed the application to your production environment. You want to identify the resource utilization of the application for cost optimization. What should you do?

    Choose one answer.

    • Use Cloud Trace with distributed tracing to monitor the resource utilization of the application.
    • Use Cloud Profiler with Ops Agent to monitor the CPU and memory utilization of the application.
    • Use Cloud Monitoring to monitor the container CPU and memory utilization of the application.
    • Use Cloud Ops to create logs-based metrics to monitor the resource utilization of the application.
  13. Question 13 · 1

    You support the backend of a mobile phone game that runs on a Google Kubernetes Engine (GKE) cluster. The application is serving HTTP requests from users. You need to implement a solution that will reduce the network cost. What should you do?

    Choose one answer.

    • Configure the VPC as a Shared VPC Host project.
    • Configure your network services on the Standard Tier.
    • Configure your Kubernetes cluster as a Private Cluster.
    • Configure a Google Cloud HTTP Load Balancer as Ingress.
  14. Question 14 · 1

    You are configuring connectivity across Google Kubernetes Engine (GKE) clusters in different VPCs. You notice that the nodes in Cluster A are unable to access the nodes in Cluster B. You suspect that the workload access issue is due to the network configuration. You need to troubleshoot the issue but do not have execute access to workloads and nodes. You want to identify the layer at which the network connectivity is broken. What should you do?

    Choose one answer.

    • Install a toolbox container on the node in Cluster Confirm that the routes to Cluster B are configured appropriately.
    • Use Network Connectivity Center to perform a Connectivity Test from Cluster A to Cluster B.
    • Use a debug container to run the traceroute command from Cluster A to Cluster B and from Cluster B to Cluster A. Identify the common failure point.
    • Enable VPC Flow Logs in both VPCs, and monitor packet drops.
  15. Question 15 · 1

    You manage an application that runs in Google Kubernetes Engine (GKE) and uses the blue/green deployment methodology. Extracts of the Kubernetes manifests are shown below: The Deployment app-green was updated to use the new version of the application. During post-deployment monitoring, you notice that the majority of user requests are failing. You did not observe this behavior in the testing environment. You need to mitigate the incident impact on users and enable the developers to troubleshoot the issue. What should you do?

    Choose one answer.

    Question illustration 1
    • Update the Deployment app-blue to use the new version of the application.
    • Update the Deployment app-green to use the previous version of the application.
    • Change the selector on the Service app-svc to app: my-app.
    • Change the selector on the Service app-svc to app: my-app, version: blue.

Each purchase applies to this certification. Prices are one-time payments, not monthly subscriptions.

Starter

$29 USD one time

Full access to one certification's question bank in standard practice mode for 60 days.

  • Full question bank for one certification
  • 60 days of access
  • Standard practice mode
  • Question notes and community discussions
  • Attempt scores and answer review

Professional

$49 USD one time

Full access to one certification's question bank, custom test controls and advanced analytics for 60 days.

  • Custom test builder
  • Timers and question selection
  • Randomized question and answer order
  • Advanced performance and weak-question analytics
  • Priority customer support
Try 15 questions free