Free Professional Cloud Developer Exam Braindumps (page: 7)

Page 7 of 82

You want to notify on-call engineers about a service degradation in production while minimizing development time.
What should you do?

  1. Use Cloud Function to monitor resources and raise alerts.
  2. Use Cloud Pub/Sub to monitor resources and raise alerts.
  3. Use Stackdriver Error Reporting to capture errors and raise alerts.
  4. Use Stackdriver Monitoring to monitor resources and raise alerts.

Answer(s): D



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): B



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): A


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): B



Page 7 of 82



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

DaveP commented on November 19, 2023
Some of these answers are wrong according to the Google sample questions.
UNITED STATES
upvote

devansh commented on June 21, 2023
does anyone recently took the exam , i have it in 2 days , are these dumps only enough for the prep?
Anonymous
upvote