Updated May-2024 Premium Professional-Cloud-Developer Exam Engine pdf - Download Free Updated 256 Questions [Q64-Q87]

Share

Updated May-2024 Premium Professional-Cloud-Developer Exam Engine pdf - Download Free Updated 256 Questions

Authentic Professional-Cloud-Developer Dumps With 100% Passing Rate Practice Tests Dumps


Google Professional-Cloud-Developer certification is a valuable credential for developers who want to demonstrate their expertise in building applications on the Google Cloud Platform. It can help individuals stand out in the job market and open up new career opportunities. Google Certified Professional - Cloud Developer certification also provides access to a community of certified professionals and resources for continuing education and professional development.


Google Professional-Cloud-Developer exam is an essential certification for developers who want to demonstrate their expertise in developing applications on Google Cloud Platform. Google Certified Professional - Cloud Developer certification exam covers various topics related to Google Cloud Platform, and passing the exam is a great way for developers to advance their careers. As the demand for developers with expertise in Google Cloud Platform continues to grow, the Google Professional-Cloud-Developer certification is becoming increasingly valuable.

 

NEW QUESTION # 64
You plan to make a simple HTML application available on the internet. This site keeps information about FAQs for your application. The application is static and contains images, HTML, CSS, and Javascript. You want to make this application available on the internet with as few steps as possible.
What should you do?

  • A. Containerize your application first. Deploy this container to Google Kubernetes Engine (GKE) and assign an external IP address to the GKE pod hosting the application.
  • B. Upload your application to Cloud Storage.
  • C. Create a Compute Engine instance with Apache web server installed. Configure Apache web server to host the application.
  • D. Upload your application to an App Engine environment.

Answer: B

Explanation:
Reference: https://cloud.google.com/storage/docs/hosting-static-website


NEW QUESTION # 65
You are creating an App Engine application that writes a file to any user's Google Drive.
How should the application authenticate to the Google Drive API?

  • A. With the App Engine service account with delegated domain-wide authority.
  • B. With the App Engine service account and https://www.googleapis.com/auth/drive.file scope that generates a signed JWT.
  • C. With an OAuth Client ID that uses the https://www.googleapis.com/auth/drive.file scope to obtain an access token for each user.
  • D. With an OAuth Client ID with delegated domain-wide authority.

Answer: D

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


NEW QUESTION # 66
You are deploying your application on a Compute Engine instance that communicates with Cloud SQL. You will use Cloud SQL Proxy to allow your application to communicate to the database using the service account associated with the application's instance. You want to follow the Google-recommended best practice of providing minimum access for the role assigned to the service account. What should you do?

  • A. Assign the Cloud SQL Client role.
  • B. Assign the Project Editor role.
  • C. Assign the Cloud SQL Editor role.
  • D. Assign the Project Owner role.

Answer: A


NEW QUESTION # 67
You are developing an application that will store and access sensitive unstructured data objects in a Cloud Storage bucket. To comply with regulatory requirements, you need to ensure that all data objects are available for at least 7 years after their initial creation. Objects created more than 3 years ago are accessed very infrequently (less than once a year). You need to configure object storage while ensuring that storage cost is optimized. What should you do? (Choose two.)

  • A. Enable Object Versioning to prevent objects from being accidentally deleted for 7 years after object creation.
  • B. Use IAM Conditions to provide access to objects 7 years after the object creation date.
  • C. Implement a Cloud Function that checks the age of each object in the bucket and moves the objects older than 3 years to a second bucket with the Archive Storage class. Use Cloud Scheduler to trigger the Cloud Function on a daily schedule.
  • D. Set a retention policy on the bucket with a period of 7 years.
  • E. Create an object lifecycle policy on the bucket that moves objects from Standard Storage to Archive Storage after 3 years.

Answer: D,E

Explanation:
Explanation
https://cloud.google.com/storage/docs/bucket-lock
This page discusses the Bucket Lock feature, which allows you to configure a data retention policy for a Cloud Storage bucket that governs how long objects in the bucket must be retained. The feature also allows you to lock the data retention policy, permanently preventing the policy from being reduced or removed.
https://cloud.google.com/storage/docs/storage-classes#archive
Archive storage is the lowest-cost, highly durable storage service for data archiving, online backup, and disaster recovery. Unlike the "coldest" storage services offered by other Cloud providers, your data is available within milliseconds, not hours or days.
Archive storage is the best choice for data that you plan to access less than once a year.


NEW QUESTION # 68
You recently migrated a monolithic application to Google Cloud by breaking it down into microservices. One of the microservices is deployed using Cloud Functions. As you modernize the application, you make a change to the API of the service that is backward-incompatible. You need to support both existing callers who use the original API and new callers who use the new API. What should you do?

  • A. Leave the original Cloud Function as-is and deploy a second Cloud Function with the new API. Use a load balancer to distribute calls between the versions.
  • B. Re-deploy the Cloud Function after making code changes to support the new API. Requests for both versions of the API are fulfilled based on a version identifier included in the call.
  • C. Leave the original Cloud Function as-is and deploy a second Cloud Function with the new API. Use Cloud Endpoints to provide an API gateway that exposes a versioned API.
  • D. Leave the original Cloud Function as-is and deploy a second Cloud Function that includes only the changed API. Calls are automatically routed to the correct function.

Answer: B

Explanation:
Reference: https://cloud.google.com/endpoints/docs/openapi/versioning-an-api


NEW QUESTION # 69
You need to copy directory local-scripts and all of its contents from your local workstation to a Compute Engine virtual machine instance.
Which command should you use?
gsutil cp --project "my-gcp-project" -r ~/local-scripts/ gcp-instance-name:~/

  • A. server-scripts/ --zone "us-east1-b"
    gcloud compute scp --project "my-gcp-project" --recurse ~/local-scripts/ gcp-
  • B. instance-name:~/server-scripts/ --zone "us-east1-b"
  • C. instance-name:~/server-scripts/ --zone "us-east1-b"
    gcloud compute mv --project "my-gcp-project" --recurse ~/local-scripts/ gcp-
  • D. server-scripts/ --zone "us-east1-b"
    gsutil cp --project "my-gcp-project" -R ~/local-scripts/ gcp-instance-name:~/

Answer: C

Explanation:
Explanation
Explanation/Reference: https://cloud.google.com/sdk/gcloud/reference/compute/copy-files


NEW QUESTION # 70
You configured your Compute Engine instance group to scale automatically according to overall CPU usage.
However, your application's response latency increases sharply before the cluster has finished adding up instances. You want to provide a more consistent latency experience for your end users by changing the configuration of the instance group autoscaler.
Which two configuration changes should you make? (Choose two.)

  • A. Decrease the cool-down period for instances added to the group.
  • B. Remove the health-check for individual VMs in the instance group.
  • C. Increase the target CPU usage for the instance group autoscaler.
  • D. Decrease the target CPU usage for the instance group autoscaler.
  • E. Add the label "AUTOSCALE" to the instance group template.

Answer: C,E


NEW QUESTION # 71
Your API backend is running on multiple cloud providers. You want to generate reports for the network latency of your API.
Which two steps should you take? (Choose two.)

  • A. Use Stackdriver Debugger to generate report.
  • B. Use Stackdriver Profiler to generate report.
  • C. Use Stackdriver Trace to generate reports.
  • D. Use Fluentd agent to gather data.
  • E. Use Zipkin collector to gather data.

Answer: C,E

Explanation:
Explanation
https://cloud.google.com/trace/docs/zipkin
"receive traces from Zipkin clients and forward those traces to Cloud Trace for analysis."
https://cloud.google.com/trace/docs/quickstart#analysis_reports_window


NEW QUESTION # 72
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?

  • A. Perform the inserts in parallel by creating multiple threads.
  • B. Include multiple rows with each request.
  • C. Write each row to a Cloud Storage object in parallel, then load into BigQuery.
  • D. Write each row to a Cloud Storage object, then load into BigQuery.

Answer: A


NEW QUESTION # 73
You manage an ecommerce application that processes purchases from customers who can subsequently cancel or change those purchases. You discover that order volumes are highly variable and the backend order-processing system can only process one request at a time. You want to ensure seamless performance for customers regardless of usage volume. It is crucial that customers' order update requests are performed in the sequence in which they were generated. What should you do?

  • A. Send the purchase and change requests over WebSockets to the backend.
  • B. Use a Pub/Sub subscriber in pull mode and use a data store to manage ordering.
  • C. Send the purchase and change requests as REST requests to the backend.
  • D. Use a Pub/Sub subscriber in push mode and use a data store to manage ordering.

Answer: B

Explanation:
https://cloud.google.com/pubsub/docs/pull


NEW QUESTION # 74
Your team detected a spike of errors in an application running on Cloud Run in your production project. The application is configured to read messages from Pub/Sub topic A, process the messages, and write the messages to topic B.
You want to conduct tests to identify the cause of the errors. You can use a set of mock messages for testing. What should you do?

  • A. Use the Google Cloud console to write mock messages to topic A. Change the logging level in the application to DEBUG or INFO, and then analyze the logs.
  • B. Use the gcloud CLI to write mock messages to topic A. Change the logging level in the application to DEBUG or INFO, and then analyze the logs.
  • C. Deploy the Pub/Sub emulator on your local machine. Point the production application to your local Pub/Sub topics. Write mock messages to topic A, and then analyze the logs.
  • D. Deploy the Pub/Sub and Cloud Run emulators on your local machine. Deploy the application locally, and change the logging level in the application to DEBUG or INFO. Write mock messages to topic A, and then analyze the logs.

Answer: D


NEW QUESTION # 75
From the following, select the best description of cosmetic condition that would be included in good case notes.

  • A. Significant dent in lower right corner suggests impact
  • B. Big ding; probably dropped or thrown
  • C. Badly dinged in addition to crack
  • D. Case is dented like it was dropped

Answer: A


NEW QUESTION # 76
You have an application running in a production Google Kubernetes Engine (GKE) cluster. You use Cloud Deploy to automatically deploy your application to your production GKE cluster. As part of your development process: you are planning to make frequent changes to the applications source code and need to select the tools to test the changes before pushing them to your remote source code repository. Your toolset must meet the following requirements:
* Test frequent local changes automatically.
* Local deployment emulates production deployment.
Which tools should you use to test building and running a container on your laptop using minimal resources'?

  • A. Minikube and Skaffold
  • B. kaniko and Tekton
  • C. Terraform and kubeadm
  • D. Docker Compose and dockerd

Answer: D


NEW QUESTION # 77
You are developing a corporate tool on Compute Engine for the finance department, which needs to authenticate users and verify that they are in the finance department. All company employees use G Suite.
What should you do?

  • A. Configure Cloud Armor Security Policies to restrict access to only corporate IP address ranges. Verify the provided JSON Web Token within the application.
  • B. Enable Cloud Identity-Aware Proxy on the HTTP(s) load balancer and restrict access to a Google Group containing users in the finance department. Verify the provided JSON Web Token within the application.
  • C. Configure Cloud Armor Security Policies to restrict access to only corporate IP address ranges. Issue client side certificates to everybody in the finance team and verify the certificates in the application.
  • D. Enable Cloud Identity-Aware Proxy on the HTTP(s) load balancer and restrict access to a Google Group containing users in the finance department. Issue client-side certificates to everybody in the finance team and verify the certificates in the application.

Answer: B

Explanation:
https://cloud.google.com/iap/docs/signed-headers-howto#securing_iap_headers (https://cloud.google.com/endpoints/docs/openapi/authenticating-users-google-id).
https://cloud.google.com/armor/docs/security-policy-overview#:~:text=Google%20Cloud%20Armor%20security%20policies%20enable%20you%20to%20allow%20or,Private%20Cloud%20(VPC)%20networks
"Google Cloud Armor security policies protect your application by providing Layer 7 filtering and by scrubbing incoming requests for common web attacks or other Layer 7 attributes to potentially block traffic before it reaches your load balanced backend services or backend buckets"


NEW QUESTION # 78
You work for a web development team at a small startup. Your team is developing a Node.js application using Google Cloud services, including Cloud Storage and Cloud Build. The team uses a Git repository for version control. Your manager calls you over the weekend and instructs you to make an emergency update to one of the company's websites, and you're the only developer available. You need to access Google Cloud to make the update, but you don't have your work laptop. You are not allowed to store source code locally on a non-corporate computer. How should you set up your developer environment?

  • A. Use a Cloud Storage bucket to store the source code that you need to edit. Mount the bucket to a public computer as a drive, and use a code editor to update the code. Turn on versioning for the bucket, and point it to the team's Git repository.
  • B. Use Cloud Shell and the built-in code editor for development. Send your source code updates as pull requests.
  • C. Use a text editor and the Git command line to send your source code updates as pull requests from a virtual machine running on a public computer.
  • D. Use a text editor and the Git command line to send your source code updates as pull requests from a public computer.

Answer: B

Explanation:
Explanation
https://cloud.google.com/shell/docs


NEW QUESTION # 79
Your website is deployed on Compute Engine. Your marketing team wants to test conversion rates between 3 different website designs.
Which approach should you use?

  • A. Deploy the website on App Engine and use traffic splitting.
  • B. Deploy the website on Cloud Functions as three separate functions.
  • C. Deploy the website on Cloud Functions and use traffic splitting.
  • D. Deploy the website on App Engine as three separate services.

Answer: A


NEW QUESTION # 80
You are running a containerized application on Google Kubernetes Engine. Your container images are stored in Container Registry. Your team uses CI/CD practices. You need to prevent the deployment of containers with known critical vulnerabilities. What should you do?

  • A. * Enable the Container Scanning API to perform vulnerability scanning
    * Programmatically review vulnerability reporting through the Container Scanning API, and provide an attestation that the container is free of known critical vulnerabilities
    * Use Binary Authorization to implement a policy that forces the attestation to be provided before the container is deployed
  • B. * Enable the Container Scanning API to perform vulnerability scanning
    * Review vulnerability reporting in Container Registry in the Cloud Console, and provide an attestation that the container is free of known critical vulnerabilities
    * Use Binary Authorization to implement a policy that forces the attestation to be provided before the container is deployed
  • C. * Use Web Security Scanner to automatically crawl your application
    * Review your application logs for scan results, and provide an attestation that the container is free of known critical vulnerabilities
    * Use Binary Authorization to implement a policy that forces the attestation to be provided before the container is deployed
  • D. * Use Web Security Scanner to automatically crawl your application
    * Review the scan results in the scan details page in the Cloud Console, and provide an attestation that the container is free of known critical vulnerabilities
    * Use Binary Authorization to implement a policy that forces the attestation to be provided before the container is deployed

Answer: A

Explanation:
Explanation
https://cloud.google.com/binary-authorization/docs/creating-attestations-kritis
https://cloud.google.com/container-analysis/docs/os-overview


NEW QUESTION # 81
You are planning to add unit tests to your application. You need to be able to assert that published Pub/Sub messages are processed by your subscriber in order. You want the unit tests to be cost-effective and reliable. What should you do?

  • A. Use the Pub/Sub emulator.
  • B. Create a topic and subscription for each tester.
  • C. Add a filter by tester to the subscription.
  • D. Implement a mocking framework.

Answer: A

Explanation:
https://cloud.google.com/pubsub/docs/emulator, "Testing apps locally with the emulator".


NEW QUESTION # 82
When evaluating an issue, which of the following is an empathetic and supportive closed question about updating software on an iOS device?

  • A. How to update your software is in the iPhone User's guide, why didn't you read it before using this phone?
  • B. I notice that your iPhone software is not up to date; would you like me to walk you through updating the software?
  • C. You do know you should always update your software, correct?
  • D. Updating your software is extremely easy, why haven't you done so?

Answer: B


NEW QUESTION # 83
You are designing a resource-sharing policy for applications used by different teams in a Google Kubernetes Engine cluster. You need to ensure that all applications can access the resources needed to run. What should you do? (Choose two.)

  • A. Use the Anthos Policy Controller to enforce label annotations on all namespaces. Use taints and tolerations to allow resource sharing for namespaces.
  • B. Create a LimitRange to specify the default compute resource requirements for each namespace.
  • C. Create a namespace for each team, and attach resource quotas to each namespace.
  • D. Specify the resource limits and requests in the object specifications.
  • E. Create a Kubernetes service account (KSA) for each application, and assign each KSA to the namespace.

Answer: B,C

Explanation:
Explanation
https://kubernetes.io/docs/concepts/policy/resource-quotas/
https://kubernetes.io/docs/concepts/policy/limit-range/
https://cloud.google.com/blog/products/containers-kubernetes/kubernetes-best-practices-resource-requests-and-li


NEW QUESTION # 84
You are planning to deploy your application in a Google Kubernetes Engine (GKE) cluster The application exposes an HTTP-based health check at /healthz. You want to use this health check endpoint to determine whether traffic should be routed to the pod by the load balancer.
Which code snippet should you include in your Pod configuration?

  • A. Option A
  • B. Option D
  • C. Option C
  • D. Option B

Answer: D

Explanation:
Explanation
For the GKE ingress controller to use your readinessProbes as health checks, the Pods for an Ingress must exist at the time of Ingress creation. If your replicas are scaled to 0, the default health check will apply.


NEW QUESTION # 85
You are using Cloud Build for your CI/CD pipeline to complete several tasks, including copying certain files to Compute Engine virtual machines. Your pipeline requires a flat file that is generated in one builder in the pipeline to be accessible by subsequent builders in the same pipeline. How should you store the file so that all the builders in the pipeline can access it?

  • A. Store and retrieve the file contents using Compute Engine instance metadata.
  • B. Output the file contents to a file in /workspace. Read from the same /workspace file in the subsequent build step.
  • C. Use gsutil to output the file contents to a Cloud Storage object. Read from the same object in the subsequent build step.
  • D. Add a build argument that runs an HTTP POST via curl to a separate web server to persist the value in one builder. Use an HTTP GET via curl from the subsequent build step to read the value.

Answer: B

Explanation:
https://cloud.google.com/build/docs/build-config-file-schema


NEW QUESTION # 86
Your team is responsible for maintaining an application that aggregates news articles from many different sources. Your monitoring dashboard contains publicly accessible real-time reports and runs on a Compute Engine instance as a web application. External stakeholders and analysts need to access these reports via a secure channel without authentication. How should you configure this secure channel?

  • A. Add a public IP address to the instance. Use the service account key of the instance to encrypt the traffic.
  • B. Add an HTTP(S) load balancer in front of the monitoring dashboard. Configure Identity-Aware Proxy to secure the communication channel.
  • C. Add an HTTP(S) load balancer in front of the monitoring dashboard. Set up a Google-managed SSL certificate on the load balancer for traffic encryption.
  • D. Use Cloud Scheduler to trigger Cloud Build every hour to create an export from the reports. Store the reports in a public Cloud Storage bucket.

Answer: C

Explanation:
Explanation
https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs


NEW QUESTION # 87
......

Verified Pass Professional-Cloud-Developer Exam in First Attempt Guaranteed: https://www.examcollectionpass.com/Google/Professional-Cloud-Developer-practice-exam-dumps.html

Google Professional-Cloud-Developer Real Exam Questions Guaranteed Updated Dump from ExamcollectionPass: https://drive.google.com/open?id=1actdL86zJblYt_YsiD8CjiBjRzU7AhzW