Student in graduation cap using computer at desk. University, graduation, information concept. Vector illustration can be used for topics like literature, knowledge, education

GratisExam’s Professional Cloud Developer Practice Exam (v2019-11-16) (English)

The exam language for the Professional Cloud Developer certification is English.

I posted in English to give Japanese users a sense of what English exams are like.
Please see “GratisExam’s Professional Cloud Developer Practice Exam (v2019-11-16) (Japanese)” for the Japanese translation.


Google Certified – Professional Cloud Developer Practice Exam (23 Q)

v2019-11-16


QUESTION 1

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”

Correct Answer: C

Reference
gcloud compute copy-files

QUESTION 2

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

Correct Answer: B

Reference
Alerting policies in depth

QUESTION 3

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.
READ MORE ABOUT THIS