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 41:

    You support a high-traffic web application that runs on Google Cloud Platform (GCP). You need measure application reliability from a user perspective without making any engineering changes to it. What should you do? (Choose two.)

    A. Review current application metrics and add new ones as needed.

    B. Modify the code to capture additional information for user interaction.

    C. Analyze the web proxy logs only and capture response time of each request.

    D. Create new synthetic clients to simulate a user journey using the application.

    E. Use current and historic Request Logs to trace customer interaction with the application.

  • Question 42:

    You are running an application on Compute Engine and collecting logs through Stackdriver. You discover that some personally identifiable information (PII) is leaking into certain log entry fields. All PII entries begin with the text userinfo. You want to capture these log entries in a secure location for later review and prevent them from leaking to Stackdriver Logging. What should you do?

    A. Create a basic log filter matching userinfo, and then configure a log export in the Stackdriver console with Cloud Storage as a sink.

    B. Use a Fluentd filter plugin with the Stackdriver Agent to remove log entries containing userinfo, and then copy the entries to a Cloud Storage bucket.

    C. Create an advanced log filter matching userinfo, configure a log export in the Stackdriver console with Cloud Storage as a sink, and then configure a log exclusion with userinfo as a filter.

    D. Use a Fluentd filter plugin with the Stackdriver Agent to remove log entries containing userinfo, create an advanced log filter matching userinfo, and then configure a log export in the Stackdriver console with Cloud Storage as a sink.

  • Question 43:

    You have a CI/CD pipeline that uses Cloud Build to build new Docker images and push them to Docker Hub. You use Git for code versioning. After making a change in the Cloud Build YAML configuration, you notice that no new artifacts are being built by the pipeline. You need to resolve the issue following Site Reliability Engineering practices. What should you do?

    A. Disable the CI pipeline and revert to manually building and pushing the artifacts.

    B. Change the CI pipeline to push the artifacts is Container Registry instead of Docker Hub.

    C. Upload the configuration YAML file to Cloud Storage and use Error Reporting to identify and fix the issue.

    D. Run a Git compare between the previous and current Cloud Build Configuration files to find and fix the bug.

  • Question 44:

    Your team uses Cloud Build for all CI/CD pipelines. You want to use the kubectl builder for Cloud Build to deploy new images to Google Kubernetes Engine (GKE). You need to authenticate to GKE while minimizing development effort. What should you do?

    A. Assign the Container Developer role to the Cloud Build service account.

    B. Specify the Container Developer role for Cloud Build in the cloudbuild.yaml file.

    C. Create a new service account with the Container Developer role and use it to run Cloud Build.

    D. Create a separate step in Cloud Build to retrieve service account credentials and pass these to kubectl.

  • Question 45:

    You support an application that stores product information in cached memory. For every cache miss, an entry is logged in Stackdriver Logging. You want to visualize how often a cache miss happens over time. What should you do?

    A. Link Stackdriver Logging as a source in Google Data Studio. Filter the logs on the cache misses.

    B. Configure Stackdriver Profiler to identify and visualize when the cache misses occur based on the logs.

    C. Create a logs-based metric in Stackdriver Logging and a dashboard for that metric in Stackdriver Monitoring.

    D. Configure BigQuery as a sink for Stackdriver Logging. Create a scheduled query to filter the cache miss logs and write them to a separate table.

  • Question 46:

    You need to deploy a new service to production. The service needs to automatically scale using a Managed Instance Group (MIG) and should be deployed over multiple regions. The service needs a large number of resources for each instance and you need to plan for capacity. What should you do?

    A. Use the n1-highcpu-96 machine type in the configuration of the MIG.

    B. Monitor results of Stackdriver Trace to determine the required amount of resources.

    C. Validate that the resource requirements are within the available quota limits of each region.

    D. Deploy the service in one region and use a global load balancer to route traffic to this region.

  • Question 47:

    Your company follows Site Reliability Engineering practices. You are the person in charge of Communications for a large, ongoing incident affecting your customer-facing applications. There is still no estimated time for a resolution of the outage. You are receiving emails from internal stakeholders who want updates on the outage, as well as emails from customers who want to know what is happening. You want to efficiently provide updates to everyone affected by the outage. What should you do?

    A. Focus on responding to internal stakeholders at least every 30 minutes. Commit to "next update" times.

    B. Provide periodic updates to all stakeholders in a timely manner. Commit to a "next update" time in all communications.

    C. Delegate the responding to internal stakeholder emails to another member of the Incident Response Team. Focus on providing responses directly to customers.

    D. Provide all internal stakeholder emails to the Incident Commander, and allow them to manage internal communications. Focus on providing responses directly to customers.

  • Question 48:

    Your application artifacts are being built and deployed via a CI/CD pipeline. You want the CI/CD pipeline to securely access application secrets. You also want to more easily rotate secrets in case of a security breach. What should you do?

    A. Prompt developers for secrets at build time. Instruct developers to not store secrets at rest.

    B. Store secrets in a separate configuration file on Git. Provide select developers with access to the configuration file.

    C. Store secrets in Cloud Storage encrypted with a key from Cloud KMS. Provide the CI/CD pipeline with access to Cloud KMS via IAM.

    D. Encrypt the secrets and store them in the source code repository. Store a decryption key in a separate repository and grant your pipeline access to it.

  • Question 49:

    Your team is designing a new application for deployment into Google Kubernetes Engine (GKE). You need to set up monitoring to collect and aggregate various application-level metrics in a centralized location. You want to use Google Cloud Platform services while minimizing the amount of work required to set up monitoring. What should you do?

    A. Publish various metrics from the application directly to the Stackdriver Monitoring API, and then observe these custom metrics in Stackdriver.

    B. Install the Cloud Pub/Sub client libraries, push various metrics from the application to various topics, and then observe the aggregated metrics in Stackdriver.

    C. Install the OpenTelemetry client libraries in the application, configure Stackdriver as the export destination for the metrics, and then observe the application's metrics in Stackdriver.

    D. Emit all metrics in the form of application-specific log messages, pass these messages from the containers to the Stackdriver logging collector, and then observe metrics in Stackdriver.

  • Question 50:

    You support a production service that runs on a single Compute Engine instance. You regularly need to spend time on recreating the service by deleting the crashing instance and creating a new instance based on the relevant image. You want to reduce the time spent performing manual operations while following Site Reliability Engineering principles. What should you do?

    A. File a bug with the development team so they can find the root cause of the crashing instance.

    B. Create a Managed instance Group with a single instance and use health checks to determine the system status.

    C. Add a Load Balancer in front of the Compute Engine instance and use health checks to determine the system status.

    D. Create a Stackdriver Monitoring dashboard with SMS alerts to be able to start recreating the crashed instance promptly after it was crashed.

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.