Free Professional Cloud Developer Exam Braindumps (page: 4)

Page 4 of 82

Your teammate has asked you to review the code below. Its purpose is to efficiently add a large number of small rows to a BigQuery table.
Which improvement should you suggest your teammate make?

  1. Include multiple rows with each request.
  2. Perform the inserts in parallel by creating multiple threads.
  3. Write each row to a Cloud Storage object, then load into BigQuery.
  4. Write each row to a Cloud Storage object in parallel, then load into BigQuery.

Answer(s): A



You are developing a JPEG image-resizing API hosted on Google Kubernetes Engine (GKE). Callers of the service will exist within the same GKE cluster. You want clients to be able to get the IP address of the service.
What should you do?

  1. Define a GKE Service. Clients should use the name of the A record in Cloud DNS to find the service's cluster IP address.
  2. Define a GKE Service. Clients should use the service name in the URL to connect to the service.
  3. Define a GKE Endpoint. Clients should get the endpoint name from the appropriate environment variable in the client container.
  4. Define a GKE Endpoint. Clients should get the endpoint name from Cloud DNS.

Answer(s): B



You are using Cloud Build to build and test application source code stored in Cloud Source Repositories. The build process requires a build tool not available in the Cloud Build environment.
What should you do?

  1. Download the binary from the internet during the build process.
  2. Build a custom cloud builder image and reference the image in your build steps.
  3. Include the binary in your Cloud Source Repositories repository and reference it in your build scripts.
  4. Ask to have the binary added to the Cloud Build environment by filing a feature request against the Cloud Build public Issue Tracker.

Answer(s): B



You are deploying your application to a Compute Engine virtual machine instance. Your application is configured to write its log files to disk. You want to view the logs in Stackdriver Logging without changing the application code.
What should you do?

  1. Install the Stackdriver Logging Agent and configure it to send the application logs.
  2. Use a Stackdriver Logging Library to log directly from the application to Stackdriver Logging.
  3. Provide the log file folder path in the metadata of the instance to configure it to send the application logs.
  4. Change the application to log to /var/log so that its logs are automatically sent to Stackdriver Logging.

Answer(s): A



Page 4 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