Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
 

Google Professional Cloud Developer Exam Actual Questions

The questions for Professional Cloud Developer were last updated on July 1, 2024.
  • Viewing page 1 out of 56 pages.
  • Viewing questions 1-5 out of 279 questions

Topic 1 - Single Topic

Question #1 Topic 1

You want to upload files from an on-premises virtual machine to Google Cloud Storage as part of a data migration. These files will be consumed by Cloud
DataProc Hadoop cluster in a GCP environment.
Which command should you use?

  • A. gsutil cp [LOCAL_OBJECT] gs://[DESTINATION_BUCKET_NAME]/
  • B. gcloud cp [LOCAL_OBJECT] gs://[DESTINATION_BUCKET_NAME]/
  • C. hadoop fs cp [LOCAL_OBJECT] gs://[DESTINATION_BUCKET_NAME]/
  • D. gcloud dataproc cp [LOCAL_OBJECT] gs://[DESTINATION_BUCKET_NAME]/
Reveal Solution Hide Solution   Discussion   82

Correct Answer: A 🗳️
The gsutil cp command allows you to copy data between your local file. storage. boto files generated by running "gsutil config"

Question #2 Topic 1

You migrated your applications to Google Cloud Platform and kept your existing monitoring platform. You now find that your notification system is too slow for time critical problems.
What should you do?

  • A. Replace your entire monitoring platform with Stackdriver.
  • B. Install the Stackdriver agents on your Compute Engine instances.
  • C. Use Stackdriver to capture and alert on logs, then ship them to your existing platform.
  • D. Migrate some traffic back to your old platform and perform AB testing on the two platforms concurrently.
Reveal Solution Hide Solution   Discussion   27

Correct Answer: B 🗳️
Reference:
https://cloud.google.com/monitoring/

Question #3 Topic 1

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. Enable private IP for the Cloud SQL instance.
  • B. Whitelist a project to access Cloud SQL, and add Compute Engine instances in the whitelisted project.
  • 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.
Reveal Solution Hide Solution   Discussion   19

Correct Answer: C 🗳️
Reference:
https://cloud.google.com/sql/docs/mysql/connect-external-app

Question #4 Topic 1

You have deployed an HTTP(s) Load Balancer with the gcloud commands shown below.

Health checks to port 80 on the Compute Engine virtual machine instance are failing and no traffic is sent to your instances. You want to resolve the problem.
Which commands should you run?

  • A. gcloud compute instances add-access-config ${NAME}-backend-instance-1
  • B. gcloud compute instances add-tags ${NAME}-backend-instance-1 --tags http-server
  • C. gcloud compute firewall-rules create allow-lb --network load-balancer --allow tcp --source-ranges 130.211.0.0/22,35.191.0.0/16 --direction INGRESS
  • D. gcloud compute firewall-rules create allow-lb --network load-balancer --allow tcp --destination-ranges 130.211.0.0/22,35.191.0.0/16 --direction EGRESS
Reveal Solution Hide Solution   Discussion   12

Correct Answer: C 🗳️
Reference:
https://cloud.google.com/vpc/docs/special-configurations

Question #5 Topic 1

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 App Engine as three separate services.
  • C. Deploy the website on Cloud Functions and use traffic splitting.
  • D. Deploy the website on Cloud Functions as three separate functions.
Reveal Solution Hide Solution   Discussion   19

Correct Answer: A 🗳️
Reference:
https://cloud.google.com/appengine/docs/standard/python/splitting-traffic

Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in