Exam Details

  • Exam Code
    :PROFESSIONAL-CLOUD-DEVELOPER
  • Exam Name
    :Professional Cloud Developer
  • Certification
    :Google Certifications
  • Vendor
    :Google
  • Total Questions
    :254 Q&As
  • Last Updated
    :May 16, 2024

Google Google Certifications PROFESSIONAL-CLOUD-DEVELOPER Questions & Answers

  • Question 11:

    You are monitoring a web application that is written in Go and deployed in Google Kubernetes Engine. You notice an increase in CPU and memory utilization. You need to determine which source code is consuming the most CPU and memory resources. What should you do?

    A. Download, install, and start the Snapshot Debugger agent in your VM. Take debug snapshots of the functions that take the longest time. Review the call stack frame, and identify the local variables at that level in the stack.

    B. Import the Cloud Profiler package into your application, and initialize the Profiler agent. Review the generated flame graph in the Google Cloud console to identify time-intensive functions.

    C. Import OpenTelemetry and Trace export packages into your application, and create the trace provider. Review the latency data for your application on the Trace overview page, and identify where bottlenecks are occurring.

    D. Create a Cloud Logging query that gathers the web application's logs. Write a Python script that calculates the difference between the timestamps from the beginning and the end of the application's longest functions to identity time-intensive functions.

  • Question 12:

    You recently deployed your application in Google Kubernetes Engine, and now need to release a new version of your application. You need the ability to instantly roll back to the previous version in case there are issues with the new version. Which deployment model should you use?

    A. Perform a rolling deployment, and test your new application after the deployment is complete.

    B. Perform A/B testing, and test your application periodically after the new tests are implemented.

    C. Perform a blue/green deployment, and test your new application after the deployment is complete.

    D. Perform a canary deployment, and test your new application periodically after the new version is deployed.

  • Question 13:

    You need to deploy a new European version of a website hosted on Google Kubernetes Engine. The current and new websites must be accessed via the same HTTP(S) load balancer's external IP address, but have different domain names. What should you do?

    A. Define a new Ingress resource with a host rule matching the new domain

    B. Modify the existing Ingress resource with a host rule matching the new domain

    C. Create a new Service of type LoadBalancer specifying the existing IP address as the loadBalancerIP

    D. Generate a new Ingress resource and specify the existing IP address as the kubernetes.io/ingress.global-static-ip-name annotation value

  • Question 14:

    You want to re-architect a monolithic application so that it follows a microservices model.

    You want to accomplish this efficiently while minimizing the impact of this change to the business.

    Which approach should you take?

    A. Deploy the application to Compute Engine and turn on autoscaling.

    B. Replace the application's features with appropriate microservices in phases.

    C. Refactor the monolithic application with appropriate microservices in a single effort and deploy it.

    D. Build a new application with the appropriate microservices separate from the monolith and replace it when it is complete.

  • Question 15:

    Your API backend is running on multiple cloud providers. You want to generate reports for the network latency of your API. Which two steps should you take? (Choose two.)

    A. Use Zipkin collector to gather data.

    B. Use Fluentd agent to gather data.

    C. Use Stackdriver Trace to generate reports.

    D. Use Stackdriver Debugger to generate report.

    E. Use Stackdriver Profiler to generate report.

  • Question 16:

    Your company stores their source code in a Cloud Source Repositories repository. Your company wants to build and test their code on each source code commit to the repository and requires a solution that is managed and has minimal operations overhead.

    Which method should they use?

    A. Use Cloud Build with a trigger configured for each source code commit.

    B. Use Jenkins deployed via the Google Cloud Platform Marketplace, configured to watch for source code commits.

    C. Use a Compute Engine virtual machine instance with an open source continuous integration tool, configured to watch for source code commits.

    D. Use a source code commit trigger to push a message to a Cloud Pub/Sub topic that triggers an App Engine service to build the source code.

  • Question 17:

    You recently developed an application. You need to call the Cloud Storage API from a Compute Engine instance that doesn't have a public IP address. What should you do?

    A. Use Carrier Peering

    B. Use VPC Network Peering

    C. Use Shared VPC networks

    D. Use Private Google Access

  • Question 18:

    Your company's product team has a new requirement based on customer demand to autoscale your stateless and distributed service running in a Google Kubernetes Engine (GKE) duster. You want to find a solution that minimizes changes because this feature will go live in two weeks. What should you do?

    A. Deploy a Vertical Pod Autoscaler, and scale based on the CPU load.

    B. Deploy a Vertical Pod Autoscaler, and scale based on a custom metric.

    C. Deploy a Horizontal Pod Autoscaler, and scale based on the CPU toad.

    D. Deploy a Horizontal Pod Autoscaler, and scale based on a custom metric.

  • Question 19:

    You are deploying your application on a Compute Engine instance that communicates with Cloud SQL. You will use Cloud SQL Proxy to allow your application to communicate to the database using the service account associated with the application's instance. You want to follow the Google-recommended best practice of providing minimum access for the role assigned to the service account. What should you do?

    A. Assign the Project Editor role.

    B. Assign the Project Owner role.

    C. Assign the Cloud SQL Client role.

    D. Assign the Cloud SQL Editor role.

  • Question 20:

    You need to configure a Deployment on Google Kubernetes Engine (GKE). You want to include a check that verifies that the containers can connect to the database. If the Pod is failing to connect, you want a script on the container to run to complete a graceful shutdown. How should you configure the Deployment?

    A. Create two jobs: one that checks whether the container can connect to the database, and another that runs the shutdown script if the Pod is failing.

    B. Create the Deployment with a livenessProbe for the container that will fail if the container can't connect to the database. Configure a Prestop lifecycle handler that runs the shutdown script if the container is failing.

    C. Create the Deployment with a PostStart lifecycle handler that checks the service availability. Configure a PreStop lifecycle handler that runs the shutdown script if the container is failing.

    D. Create the Deployment with an initContainer that checks the service availability. Configure a Prestop lifecycle handler that runs the shutdown script if the Pod is failing.

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-DEVELOPER exam preparations and Google certification application, do not hesitate to visit our Vcedump.com to find your solutions here.