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 17, 2025

Google Google Certifications PROFESSIONAL-CLOUD-DEVELOPER Questions & Answers

  • Question 111:

    You are developing an internal application that will allow employees to organize community events within your company. You deployed your application on a single Compute Engine instance. Your company uses Google Workspace (formerly

    G Suite), and you need to ensure that the company employees can authenticate to the application from anywhere.

    What should you do?

    A. Add a public IP address to your instance, and restrict access to the instance using firewall rules. Allow your company's proxy as the only source IP address.

    B. Add an HTTP(S) load balancer in front of the instance, and set up Identity-Aware Proxy (IAP). Configure the IAP settings to allow your company domain to access the website.

    C. Set up a VPN tunnel between your company network and your instance's VPC location on Google Cloud. Configure the required firewall rules and routing information to both the on-premises and Google Cloud networks.

    D. Add a public IP address to your instance, and allow traffic from the internet. Generate a random hash, and create a subdomain that includes this hash and points to your instance. Distribute this DNS address to your company's employees.

  • Question 112:

    You are designing an application that will subscribe to and receive messages from a single Pub/Sub topic and insert corresponding rows into a database. Your application runs on Linux and leverages preemptible virtual machines to reduce costs. You need to create a shutdown script that will initiate a graceful shutdown. What should you do?

    A. Write a shutdown script that uses inter-process signals to notify the application process to disconnect from the database.

    B. Write a shutdown script that broadcasts a message to all signed-in users that the Compute Engine instance is going down and instructs them to save current work and sign out.

    C. Write a shutdown script that writes a file in a location that is being polled by the application once every five minutes. After the file is read, the application disconnects from the database.

    D. Write a shutdown script that publishes a message to the Pub/Sub topic announcing that a shutdown is in progress. After the application reads the message, it disconnects from the database.

  • Question 113:

    You are planning to deploy hundreds of microservices in your Google Kubernetes Engine (GKE) cluster. How should you secure communication between the microservices on GKE using a managed service?

    A. Use global HTTP(S) Load Balancing with managed SSL certificates to protect your services

    B. Deploy open source Istio in your GKE cluster, and enable mTLS in your Service Mesh

    C. Install cert-manager on GKE to automatically renew the SSL certificates.

    D. Install Anthos Service Mesh, and enable mTLS in your Service Mesh.

  • Question 114:

    Your company needs a database solution that stores customer purchase history and meets the following requirements:

    Customers can query their purchase immediately after submission.

    Purchases can be sorted on a variety of fields.

    Distinct record formats can be stored at the same time.

    Which storage option satisfies these requirements?

    A. Firestore in Native mode

    B. Cloud Storage using an object read

    C. Cloud SQL using a SQL SELECT statement

    D. Firestore in Datastore mode using a global query

  • Question 115:

    Your application is running in multiple Google Kubernetes Engine clusters. It is managed by a Deployment in each cluster. The Deployment has created multiple replicas of your Pod in each cluster. You want to view the logs sent to stdout for all of the replicas in your Deployment in all clusters. Which command should you use?

    A. kubectl logs [PARAM]

    B. gcloud logging read [PARAM]

    C. kubectl exec 璱t [PARAM] journalctl

    D. gcloud compute ssh [PARAM] ?command= "sudo journalctl"

  • Question 116:

    Your company has created an application that uploads a report to a Cloud Storage bucket. When the report is uploaded to the bucket, you want to publish a message to a Cloud Pub/Sub topic. You want to implement a solution that will take a small amount to effort to implement. What should you do?

    A. Configure the Cloud Storage bucket to trigger Cloud Pub/Sub notifications when objects are modified.

    B. Create an App Engine application to receive the file; when it is received, publish a message to the Cloud Pub/Sub topic.

    C. Create a Cloud Function that is triggered by the Cloud Storage bucket. In the Cloud Function, publish a message to the Cloud Pub/Sub topic.

    D. Create an application deployed in a Google Kubernetes Engine cluster to receive the file; when it is received, publish a message to the Cloud Pub/Sub topic.

  • Question 117:

    You have an HTTP Cloud Function that is called via POST. Each submission's request body has a flat, unnested JSON structure containing numeric and text data. After the Cloud Function completes, the collected data should be immediately available for ongoing and complex analytics by many users in parallel. How should you persist the submissions?

    A. Directly persist each POST request's JSON data into Datastore.

    B. Transform the POST request's JSON data, and stream it into BigQuery.

    C. Transform the POST request's JSON data, and store it in a regional Cloud SQL cluster.

    D. Persist each POST request's JSON data as an individual file within Cloud Storage, with the file name containing the request identifier.

  • Question 118:

    You are deploying your applications on Compute Engine. One of your Compute Engine instances failed to launch. What should you do? (Choose two.)

    A. Determine whether your file system is corrupted.

    B. Access Compute Engine as a different SSH user.

    C. Troubleshoot firewall rules or routes on an instance.

    D. Check whether your instance boot disk is completely full.

    E. Check whether network traffic to or from your instance is being dropped.

  • Question 119:

    You are working on a new application that is deployed on Cloud Run and uses Cloud Functions Each time new features are added, new Cloud Functions and Cloud Run services are deployed You use ENV variables to keep track of the services and enable interservice communication but the maintenance of the ENV variables has become difficult. You want to implement dynamic discovery in a scalable way. What should you do?

    A. Create a Service Directory Namespace Use API calls to register the services during deployment, and query during runtime.

    B. Configure your microservices to use the Cloud Run Admin and Cloud Functions APIs to query for deployed Cloud Run services and Cloud Functions in the Google Cloud project.

    C. Deploy Hashicorp Consul on a single Compute Engine Instance Register the services with Consul during deployment and query during runtime

    D. Rename the Cloud Functions and Cloud Run services endpoints using a well- documented naming convention

  • Question 120:

    Your application is logging to Stackdriver. You want to get the count of all requests on all /api/alpha/*

    endpoints.

    What should you do?

    A. Add a Stackdriver counter metric for path:/api/alpha/.

    B. Add a Stackdriver counter metric for endpoint:/api/alpha/*.

    C. Export the logs to Cloud Storage and count lines matching /api/alphA.

    D. Export the logs to Cloud Pub/Sub and count lines matching /api/alphA.

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.