[Feb-2024] Google Professional-Cloud-Developer Test Engine PDF - All Free Dumps from RealValidExam Get New Professional-Cloud-Developer Certification – Valid Exam Dumps Questions How much Google Professional Cloud Developer Exam cost Google Professional Cloud Developer exam cost is $120 USD(40% discount on retail price of $200 USD). NEW QUESTION # 47 You need to copy directory local-scripts and [...]

[Feb-2024] Google Professional-Cloud-Developer Test Engine PDF - All Free Dumps from RealValidExam [Q47-Q68]

Share

[Feb-2024] Google Professional-Cloud-Developer Test Engine PDF - All Free Dumps from RealValidExam

Get New Professional-Cloud-Developer Certification – Valid Exam Dumps Questions


How much Google Professional Cloud Developer Exam cost

Google Professional Cloud Developer exam cost is $120 USD(40% discount on retail price of $200 USD).

 

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

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

Answer: C

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


NEW QUESTION # 48
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. Updating your software is extremely easy, why haven't you done so?
  • D. You do know you should always update your software, correct?

Answer: B


NEW QUESTION # 49
You are developing an application that reads credit card data from a Pub/Sub subscription. You have written code and completed unit testing. You need to test the Pub/Sub integration before deploying to Google Cloud.
What should you do?

  • A. Create a service to publish messages, and deploy the Pub/Sub emulator. Generate random content in the publishing service, and publish to the emulator.
  • B. Create a service to publish messages, and deploy the Pub/Sub emulator. Publish a standard set of testing messages from the publishing service to the emulator.
  • C. Create a service to publish messages, and deploy the Pub/Sub emulator. Collect the messages from Pub/Sub in production, and publish them to the emulator.
  • D. Create a service to publish messages to your application. Collect the messages from Pub/Sub in production, and replay them through the publishing service.

Answer: B


NEW QUESTION # 50
Your application is deployed in a Google Kubernetes Engine (GKE) cluster. When a new version of your application is released, your CI/CD tool updates the spec.template.spec.containers[0].image value to reference the Docker image of your new application version. When the Deployment object applies the change, you want to deploy at least 1 replica of the new version and maintain the previous replicas until the new replica is healthy.
Which change should you make to the GKE Deployment object shown below?

  • A. Set the Deployment strategy to Recreate with maxSurge set to 1, maxUnavailable set to 0.
  • B. Set the Deployment strategy to RollingUpdate with maxSurge set to 0, maxUnavailable set to 1.
  • C. Set the Deployment strategy to Recreate with maxSurge set to 0, maxUnavailable set to 1.
  • D. Set the Deployment strategy to RollingUpdate with maxSurge set to 1, maxUnavailable set to 0.

Answer: A


NEW QUESTION # 51
You are planning to deploy your application in a Google Kubernetes Engine (GKE) cluster. Your application can scale horizontally, and each instance of your application needs to have a stable network identity and its own persistent disk.
Which GKE object should you use?

  • A. Deployment
  • B. ReplicaSet
  • C. ReplicaController
  • D. StatefulSet

Answer: D

Explanation:
Reference:
https://livebook.manning.com/book/kubernetes-in-action/chapter-10/46


NEW QUESTION # 52
You have decided to migrate your Compute Engine application to Google Kubernetes Engine. You need to build a container image and push it to Artifact Registry using Cloud Build. What should you do? (Choose two.) A) Run gcloud builds submit in the directory that contains the application source code.
B)
Run gcloud run deploy app-name --image gcr.io/$PROJECT_ID/app-name in the directory that contains the application source code.
C)
Run gcloud container images add-tag gcr.io/$PROJECT_ID/app-name gcr.io/$PROJECT_ID/app-name:latest in the directory that contains the application source code.
D)
In the application source directory, create a file named cloudbuild.yaml that contains the following contents:

E)
In the application source directory, create a file named cloudbuild.yaml that contains the following contents:

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

Answer: C,D

Explanation:
Explanation
https://cloud.google.com/sdk/gcloud/reference/builds/submit
https://cloud.google.com/artifact-registry/docs/configure-cloud-build


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

  • A. Open a support case to request additional GKE quotA.
  • B. Request additional GKE quota is the GCP Console.
  • C. Decouple services in the cluster, and rewrite new clusters to function with fewer cores.
  • D. Request additional Compute Engine quota in the GCP Console.

Answer: B


NEW QUESTION # 54
Your teammate has asked you to review the code below, which is adding a credit to an account balance in Cloud Datastore. Which improvement should you suggest your teammate make?

  • A. Don't return the account entity from the function.
  • B. Use a strongly consistent transactional database.
  • C. Get and put the entity in a transaction.
  • D. Get the entity with an ancestor query.

Answer: D


NEW QUESTION # 55
You need to migrate a standalone Java application running in an on-premises Linux virtual machine (VM) to Google Cloud in a cost-effective manner. You decide not to take the lift-and-shift approach, and instead you plan to modernize the application by converting it to a container. How should you accomplish this task?

  • A. Use Migrate for Anthos to migrate the VM to your Google Kubernetes Engine (GKE) cluster as a container.
  • B. Use Jib to build a Docker image from your source code, and upload it to Artifact Registry. Deploy the application in a GKE cluster, and test the application.
  • C. Export the VM as a raw disk and import it as an image. Create a Compute Engine instance from the Imported image.
  • D. Use Migrate for Compute Engine to migrate the VM to a Compute Engine instance, and use Cloud Build to convert it to a container.

Answer: B

Explanation:
Explanation
https://cloud.google.com/blog/products/application-development/introducing-jib-build-java-docker-images-bette


NEW QUESTION # 56
You support an application that uses the Cloud Storage API. You review the logs and discover multiple HTTP 503 Service Unavailable error responses from the API. Your application logs the error and does not take any further action. You want to implement Google-recommended retry logic to improve success rates. Which approach should you take?

  • A. Retry each failure at increasing time intervals up to a maximum number of tries.
  • B. Retry each failure at a set time interval up to a maximum number of times.
  • C. Retry the failures in batch after a set number of failures is logged.
  • D. Retry each failure at decreasing time intervals up to a maximum number of tries.

Answer: A

Explanation:
https://cloud.google.com/storage/docs/retry-strategy


NEW QUESTION # 57
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. Docker Compose and dockerd
  • D. Terraform and kubeadm

Answer: C


NEW QUESTION # 58
Your company wants to expand their users outside the United States for their popular application. The company wants to ensure 99.999% availability of the database for their application and also wants to minimize the read latency for their users across the globe.
Which two actions should they take? (Choose two.)

  • A. Create a Cloud Dataflow pipeline to replicate data across different databases.
  • B. Create a multi-regional Cloud Spanner instance with "nam-asia-eur1" configuration.
  • C. Create a cluster with at least 3 Spanner nodes.
  • D. Create a minimum of two Cloud Spanner instances in separate regions with at least one node.
  • E. Create a cluster with at least 1 Spanner node.
  • F. Create a multi-regional Cloud Spanner instance with "nam3" configuration.

Answer: A,F


NEW QUESTION # 59
You are using Cloud Build to create a new Docker image on each source code commit to a Cloud Source Repositories repository. Your application is built on every commit to the master branch. You want to release specific commits made to the master branch in an automated method.
What should you do?

  • A. Create a build trigger on a Git branch name pattern. Use a Git branch naming convention for new releases.
  • B. Manually trigger the build for new releases.
  • C. Create a build trigger on a Git tag pattern. Use a Git tag convention for new releases.
  • D. Commit your source code to a second Cloud Source Repositories repository with a second Cloud Build trigger. Use this repository for new releases only.

Answer: A

Explanation:
Explanation/Reference: https://docs.docker.com/docker-hub/builds/


NEW QUESTION # 60
Your operations team has asked you to create a script that lists the Cloud Bigtable, Memorystore, and Cloud SQL databases running within a project. The script should allow users to submit a filter expression to limit the results presented. How should you retrieve the data?

  • A. Use the HBase API, Redis API, and MySQL connection to retrieve database lists. Combine the results, and then apply the filter to display the results
  • B. Run gcloud bigtable instances list, gcloud redis instances list, and gcloud sql databases list. Use --filter flag with each command, and then display the results
  • C. Use the HBase API, Redis API, and MySQL connection to retrieve database lists. Filter the results individually, and then combine them to display the results
  • D. Run gcloud bigtable instances list, gcloud redis instances list, and gcloud sql databases list. Use a filter within the application, and then display the results

Answer: B

Explanation:
https://cloud.google.com/sdk/gcloud/reference/topic/filters
Most gcloud commands return a list of resources on success. By default they are pretty-printed on the standard output. The --format=NAME[ATTRIBUTES](PROJECTION) and --filter=EXPRESSION flags along with projections can be used to format and change the default output to a more meaningful result. Use the --format flag to change the default output format of a command. For details run $ gcloud topic formats.


NEW QUESTION # 61
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 # 62
You are planning to migrate a MySQL database to the managed Cloud SQL database for Google Cloud. You have Compute Engine virtual machine instances that will connect with this Cloud SQL instance. You do not want to whitelist IPs for the Compute Engine instances to be able to access Cloud SQL.
What should you do?

  • A. Whitelist a project to access Cloud SQL, and add Compute Engine instances in the whitelisted project.
  • B. Enable private IP for the Cloud SQL instance.
  • C. Create a role in Cloud SQL that allows access to the database from external instances, and assign the Compute Engine instances to that role.
  • D. Create a CloudSQL instance on one project. Create Compute engine instances in a different project.Create a VPN between these two projects to allow internal access to CloudSQL.

Answer: C


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

  • A. 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
  • B. 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.
  • C. 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.
  • D. 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.

Answer: C

Explanation:
Explanation
https://cloud.google.com/sql/docs/postgres/connect-run#private-ip


NEW QUESTION # 64
Your application takes an input from a user and publishes it to the user's contacts. This input is stored in a table in Cloud Spanner. Your application is more sensitive to latency and less sensitive to consistency.
How should you perform reads from Cloud Spanner for this application?

  • A. Perform strong reads using single-read methods.
  • B. Perform Read-Only transactions.
  • C. Perform stale reads using read-write transactions.
  • D. Perform stale reads using single-read methods.

Answer: C

Explanation:
Explanation/Reference: https://cloud.google.com/solutions/best-practices-cloud-spanner-gaming-database


NEW QUESTION # 65
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 ot 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. Decrease the target CPU usage for the instance group autoscaler.
  • C. Increase the target CPU usage for the instance group autoscaler.
  • D. Remove the health-check for individual VMs in the instance group.
  • E. Add the label "AUTOSCALE" to the instance group template.

Answer: C,E


NEW QUESTION # 66
You need to configure a Deployment on Google Kubernetes Engine (GKE). You want to include a check that verifies that the containers can connect to the database. If the Pod is failing to connect, you want a script on the container to run to complete a graceful shutdown. How should you configure the Deployment?

  • A. Create two jobs: one that checks whether the container can connect to the database, and another that runs the shutdown script if the Pod is failing.
  • B. Create the Deployment with a livenessProbe for the container that will fail if the container can't connect to the database. Configure a Prestop lifecycle handler that runs the shutdown script if the container is failing.
  • C. Create the Deployment with a PostStart lifecycle handler that checks the service availability. Configure a PreStop lifecycle handler that runs the shutdown script if the container is failing.
  • D. Create the Deployment with an initContainer that checks the service availability. Configure a Prestop lifecycle handler that runs the shutdown script if the Pod is failing.

Answer: B

Explanation:
Explanation
https://cloud.google.com/architecture/best-practices-for-running-cost-effective-kubernetes-applications-on-gke#m


NEW QUESTION # 67
Which of the following is an ESD precaution according to Apple standards?

  • A. Safety apron made of synthetic fibers should be worn.
  • B. An ionized air generator can be used instead of grounding a work area.
  • C. A person working on an ESD-sensitive circuit should not be touched.
  • D. The relative humidity in a work area should be lower than 50 percent.

Answer: C


NEW QUESTION # 68
......

100% Passing Guarantee - Brilliant Professional-Cloud-Developer Exam Questions PDF: https://www.realvalidexam.com/Professional-Cloud-Developer-real-exam-dumps.html

Professional-Cloud-Developer Dumps 2024 - NewGoogle Exam Questions: https://drive.google.com/open?id=1mJbOpTFrasOuBeVADys4U26b42pqcVzu