Free Professional Cloud Developer Exam Braindumps (page: 30)

Page 30 of 82

Your team is developing a new application using a PostgreSQL database and Cloud Run. You are responsible for ensuring that all traffic is kept private on Google Cloud. You want to use managed services and follow Google-recommended best practices. What should you do?


  1. 1. Enable Cloud SQL and Cloud Run in the same project.
    2. Configure a private IP address for Cloud SQL. Enable private services access.
    3. Create a Serverless VPC Access connector.
    4. Configure Cloud Run to use the connector to connect to Cloud SQL.

  2. 1. Install PostgreSQL on a Compute Engine virtual machine (VM), and enable Cloud Run in the same project.
    2. Configure a private IP address for the VM. Enable private services access.
    3. Create a Serverless VPC Access connector.
    4. Configure Cloud Run to use the connector to connect to the VM hosting PostgreSQL.

  3. 1. Use Cloud SQL and Cloud Run in different projects.
    2. Configure a private IP address for Cloud SQL. Enable private services access.
    3. Create a Serverless VPC Access connector.
    4. Set up a VPN connection between the two projects. Configure Cloud Run to use the connector to connect to Cloud SQL.

  4. 1. Install PostgreSQL on a Compute Engine VM, and enable Cloud Run in different projects.
    2. Configure a private IP address for the VM. Enable private services access.
    3. Create a Serverless VPC Access connector.
    4. Set up a VPN connection between the two projects. Configure Cloud Run to use the connector to access the VM hosting PostgreSQL

Answer(s): A



You are developing an application that will allow clients to download a file from your website for a specific period of time. How should you design the application to complete this task while following Google-recommended best practices?

  1. Configure the application to send the file to the client as an email attachment.
  2. Generate and assign a Cloud Storage-signed URL for the file. Make the URL available for the client to download.
  3. Create a temporary Cloud Storage bucket with time expiration specified, and give download permissions to the bucket. Copy the file, and send it to the client.
  4. Generate the HTTP cookies with time expiration specified. If the time is valid, copy the file from the Cloud Storage bucket, and make the file available for the client to download.

Answer(s): B



Your development team has been asked to refactor an existing monolithic application into a set of composable microservices.
Which design aspects should you implement for the new application? (Choose two.)

  1. Develop the microservice code in the same programming language used by the microservice caller.
  2. Create an API contract agreement between the microservice implementation and microservice caller.
  3. Require asynchronous communications between all microservice implementations and microservice callers.
  4. Ensure that sufficient instances of the microservice are running to accommodate the performance requirements.
  5. Implement a versioning scheme to permit future changes that could be incompatible with the current interface.

Answer(s): B



You deployed a new application to Google Kubernetes Engine and are experiencing some performance degradation. Your logs are being written to Cloud
Logging, and you are using a Prometheus sidecar model for capturing metrics. You need to correlate the metrics and data from the logs to troubleshoot the performance issue and send real-time alerts while minimizing costs.
What should you do?

  1. Create custom metrics from the Cloud Logging logs, and use Prometheus to import the results using the Cloud Monitoring REST API.
  2. Export the Cloud Logging logs and the Prometheus metrics to Cloud Bigtable. Run a query to join the results, and analyze in Google Data Studio.
  3. Export the Cloud Logging logs and stream the Prometheus metrics to BigQuery. Run a recurring query to join the results, and send notifications using Cloud Tasks.
  4. Export the Prometheus metrics and use Cloud Monitoring to view them as external metrics. Configure Cloud Monitoring to create log-based metrics from the logs, and correlate them with the Prometheus data.

Answer(s): D


Reference:

https://cloud.google.com/blog/products/operations/troubleshoot-gke-faster-with-monitoring-data-in-your-logs



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