Google Professional Cloud Developer - Professional Cloud Developer Exam

Question #6 (Topic: Single Topic)
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/ gcp-instance-name:~/server-scripts/ --zone ג€us-east1-bג€ D. gcloud compute mv --project ג€my-gcp-projectג€ --recurse ~/local-scripts/ gcp-instance-name:~/server-scripts/ --zone ג€us-east1-bג€
Answer: C
Question #7 (Topic: Single Topic)
You are deploying your application to a Compute Engine virtual machine instance with the Stackdriver Monitoring Agent installed. Your application is a unix
process on the instance. You want to be alerted if the unix process has not run for at least 5 minutes. You are not able to change the application to generate
metrics or logs.
Which alert condition should you configure?
A. Uptime check B. Process health C. Metric absence D. Metric threshold
Answer: C
Question #8 (Topic: Single Topic)
You have two tables in an ANSI-SQL compliant database with identical columns that you need to quickly combine into a single table, removing duplicate rows from
the result set.
What should you do?
A. Use the JOIN operator in SQL to combine the tables. B. Use nested WITH statements to combine the tables. C. Use the UNION operator in SQL to combine the tables. D. Use the UNION ALL operator in SQL to combine the tables.
Answer: C
Question #9 (Topic: Single Topic)
You have an application deployed in production. When a new version is deployed, some issues don't arise until the application receives traffic from users in
production. You want to reduce both the impact and the number of users affected.
Which deployment strategy should you use?
A. Blue/green deployment B. Canary deployment C. Rolling deployment D. Recreate deployment
Answer: B
Question #10 (Topic: Single Topic)
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 multi-regional Cloud Spanner instance with "nam-asia-eur1" configuration. B. Create a multi-regional Cloud Spanner instance with "nam3" configuration. C. Create a cluster with at least 3 Spanner nodes. D. Create a cluster with at least 1 Spanner node. E. Create a minimum of two Cloud Spanner instances in separate regions with at least one node. F. Create a Cloud Dataflow pipeline to replicate data across different databases.
Answer: AC
Download Exam
Page: 2 / 73
Total 361 questions