Google Professional Cloud Developer Exam Questions
Professional Cloud Developer (Page 7 )

Updated On: 21-Feb-2026

You are writing a single-page web application with a user-interface that communicates with a third-party API for content using XMLHttpRequest. The data displayed on the UI by the API results is less critical than other data displayed on the same web page, so it is acceptable for some requests to not have the API data displayed in the UI. However, calls made to the API should not delay rendering of other parts of the user interface. You want your application to perform well when the API response is an error or a timeout.

What should you do?

  1. Set the asynchronous option for your requests to the API to false and omit the widget displaying the API results when a timeout or error is encountered.
  2. Set the asynchronous option for your request to the API to true and omit the widget displaying the API results when a timeout or error is encountered.
  3. Catch timeout or error exceptions from the API call and keep trying with exponential backoff until the API response is successful.
  4. Catch timeout or error exceptions from the API call and display the error response in the UI widget.

Answer(s): A



You are creating a web application that runs in a Compute Engine instance and writes a file to any user’s Google Drive. You need to configure the application to authenticate to the Google Drive API. What should you do?

  1. Use an OAuth Client ID that uses the https://www.googleapis.com/auth/drive.file scope to obtain an access token for each user.
  2. Use an OAuth Client ID with delegated domain-wide authority.
  3. Use the App Engine service account and https://www.googleapis.com/auth/drive.file scope to generate a signed JSON Web Token (JWT).
  4. Use the App Engine service account with delegated domain-wide authority.

Answer(s): B


Reference:

https://developers.google.com/drive/api/v3/about-auth



You are creating a Google Kubernetes Engine (GKE) cluster and run this command:



The command fails with the error:



You want to resolve the issue. What should you do?

  1. Request additional GKE quota in the GCP Console.
  2. Request additional Compute Engine quota in the GCP Console.
  3. Open a support case to request additional GKE quota.
  4. Decouple services in the cluster, and rewrite new clusters to function with fewer cores.

Answer(s): A



You are parsing a log file that contains three columns: a timestamp, an account number (a string), and a transaction amount (a number). You want to calculate the sum of all transaction amounts for each unique account number efficiently.

Which data structure should you use?

  1. A linked list
  2. A hash table
  3. A two-dimensional array
  4. A comma-delimited string

Answer(s): B



Your company has a BigQuery dataset named "Master" that keeps information about employee travel and expenses. This information is organized by employee department. That means employees should only be able to view information for their department. You want to apply a security framework to enforce this requirement with the minimum number of steps.

What should you do?

  1. Create a separate dataset for each department. Create a view with an appropriate WHERE clause to select records from a particular dataset for the specific department. Authorize this view to access records from your Master dataset. Give employees the permission to this department-specific dataset.
  2. Create a separate dataset for each department. Create a data pipeline for each department to copy appropriate information from the Master dataset to the specific dataset for the department. Give employees the permission to this department-specific dataset.
  3. Create a dataset named Master dataset. Create a separate view for each department in the Master dataset. Give employees access to the specific view for their department.
  4. Create a dataset named Master dataset. Create a separate table for each department in the Master dataset. Give employees access to the specific table for their department.

Answer(s): B






Post your Comments and Discuss Google Professional Cloud Developer exam dumps with other Community members:

Join the Professional Cloud Developer Discussion