Exam Details

  • Exam Code
    :PROFESSIONAL-CLOUD-DEVOPS-ENGINEER
  • Exam Name
    :Professional Cloud DevOps Engineer
  • Certification
    :Cloud DevOps Engineer
  • Vendor
    :Google
  • Total Questions
    :165 Q&As
  • Last Updated
    :May 08, 2024

Google Cloud DevOps Engineer PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Questions & Answers

  • Question 31:

    Your organization recently adopted a container-based workflow for application development. Your team develops numerous applications that are deployed continuously through an automated build pipeline to a Kubernetes cluster in the production environment. The security auditor is concerned that developers or operators could circumvent automated testing and push code changes to production without approval. What should you do to enforce approvals?

    A. Configure the build system with protected branches that require pull request approval.

    B. Use an Admission Controller to verify that incoming requests originate from approved sources.

    C. Leverage Kubernetes Role-Based Access Control (RBAC) to restrict access to only approved users.

    D. Enable binary authorization inside the Kubernetes cluster and configure the build pipeline as an attestor.

  • Question 32:

    Your team is designing a new application for deployment both inside and outside Google Cloud Platform (GCP). You need to collect detailed metrics such as system resource utilization. You want to use centralized GCP services while minimizing the amount of work required to set up this collection system. What should you do?

    A. Import the Stackdriver Profiler package, and configure it to relay function timing data to Stackdriver for further analysis.

    B. Import the Stackdriver Debugger package, and configure the application to emit debug messages with timing information.

    C. Instrument the code using a timing library, and publish the metrics via a health check endpoint that is scraped by Stackdriver.

    D. Install an Application Performance Monitoring (APM) tool in both locations, and configure an export to a central data storage location for analysis.

  • Question 33:

    You need to reduce the cost of virtual machines (VM) for your organization. After reviewing different options, you decide to leverage preemptible VM instances. Which application is suitable for preemptible VMs?

    A. A scalable in-memory caching system.

    B. The organization's public-facing website.

    C. A distributed, eventually consistent NoSQL database cluster with sufficient quorum.

    D. A GPU-accelerated video rendering platform that retrieves and stores videos in a storage bucket.

  • Question 34:

    You are managing an application that exposes an HTTP endpoint without using a load balancer. The latency of the HTTP responses is important for the user experience. You want to understand what HTTP latencies all of your users are experiencing. You use Stackdriver Monitoring. What should you do?

    A. In your application, create a metric with a metricKind set to DELTA and a valueType set to DOUBLE. In Stackdriver's Metrics Explorer, use a Stacked Bar graph to visualize the metric.

    B. In your application, create a metric with a metricKind set to CUMULATIVE and a valueType set to DOUBLE. In Stackdriver's Metrics Explorer, use a Line graph to visualize the metric.

    C. In your application, create a metric with a metricKind set to GAUGE and a valueType set to DISTRIBUTION. In Stackdriver's Metrics Explorer, use a Heatmap graph to visualize the metric.

    D. In your application, create a metric with a metricKind set to METRIC_KIND_UNSPECIFIED and a valueType set to INT64. In Stackdriver's Metrics Explorer, use a Stacked Area graph to visualize the metric.

  • Question 35:

    Your team has recently deployed an NGINX-based application into Google Kubernetes Engine (GKE) and has exposed it to the public via an HTTP Google Cloud Load Balancer (GCLB) ingress. You want to scale the deployment of the application's frontend using an appropriate Service Level Indicator (SLI). What should you do?

    A. Configure the horizontal pod autoscaler to use the average response time from the Liveness and Readiness probes.

    B. Configure the vertical pod autoscaler in GKE and enable the cluster autoscaler to scale the cluster as pods expand.

    C. Install the Stackdriver custom metrics adapter and configure a horizontal pod autoscaler to use the number of requests provided by the GCLB.

    D. Expose the NGINX stats endpoint and configure the horizontal pod autoscaler to use the request metrics exposed by the NGINX deployment.

  • Question 36:

    Your company follows Site Reliability Engineering practices. You are the Incident Commander for a new, customer-impacting incident. You need to immediately assign two incident management roles to assist you in an effective incident response. What roles should you assign? (Choose two.)

    A. Operations Lead

    B. Engineering Lead

    C. Communications Lead

    D. Customer Impact Assessor

    E. External Customer Communications Lead

  • Question 37:

    You support an application running on GCP and want to configure SMS notifications to your team for the most critical alerts in Stackdriver Monitoring. You have already identified the alerting policies you want to configure this for. What should you do?

    A. Download and configure a third-party integration between Stackdriver Monitoring and an SMS gateway. Ensure that your team members add their SMS/phone numbers to the external tool.

    B. Select the Webhook notifications option for each alerting policy, and configure it to use a third-party integration tool. Ensure that your team members add their SMS/phone numbers to the external tool.

    C. Ensure that your team members set their SMS/phone numbers in their Stackdriver Profile. Select the SMS notification option for each alerting policy and then select the appropriate SMS/phone numbers from the list.

    D. Configure a Slack notification for each alerting policy. Set up a Slack-to-SMS integration to send SMS messages when Slack messages are received. Ensure that your team members add their SMS/phone numbers to the external integration.

  • Question 38:

    Your application services run in Google Kubernetes Engine (GKE). You want to make sure that only images from your centrally-managed Google Container Registry (GCR) image registry in the altostrat-images project can be deployed to the cluster while minimizing development time. What should you do?

    A. Create a custom builder for Cloud Build that will only push images to gcr.io/altostrat-images.

    B. Use a Binary Authorization policy that includes the whitelist name pattern gcr.io/altostrat-images/.

    C. Add logic to the deployment pipeline to check that all manifests contain only images from gcr.io/altostrat-images.

    D. Add a tag to each image in gcr.io/altostrat-images and check that this tag is present when the image is deployed.

  • Question 39:

    Your company follows Site Reliability Engineering principles. You are writing a postmortem for an incident, triggered by a software change, that severely affected users. You want to prevent severe incidents from happening in the future. What should you do?

    A. Identify engineers responsible for the incident and escalate to their senior management.

    B. Ensure that test cases that catch errors of this type are run successfully before new software releases.

    C. Follow up with the employees who reviewed the changes and prescribe practices they should follow in the future.

    D. Design a policy that will require on-call teams to immediately call engineers and management to discuss a plan of action if an incident occurs.

  • Question 40:

    You manage an application that is writing logs to Stackdriver Logging. You need to give some team members the ability to export logs. What should you do?

    A. Grant the team members the IAM role of logging.configWriter on Cloud IAM.

    B. Configure Access Context Manager to allow only these members to export logs.

    C. Create and grant a custom IAM role with the permissions logging.sinks.list and logging.sink.get.

    D. Create an Organizational Policy in Cloud IAM to allow only these members to create log exports.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Google exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your PROFESSIONAL-CLOUD-DEVOPS-ENGINEER exam preparations and Google certification application, do not hesitate to visit our Vcedump.com to find your solutions here.