Google Professional Cloud Developer Professional Cloud Developer Online Training
Google Professional Cloud Developer Online Training
The questions for Professional Cloud Developer were last updated at Nov 26,2024.
- Exam Code: Professional Cloud Developer
- Exam Name: Professional Cloud Developer
- Certification Provider: Google
- Latest update: Nov 26,2024
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.
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.
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 Callow 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
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.
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”
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
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.
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
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.
You need to migrate an internal file upload API with an enforced 500-MB file size limit to App Engine.
What should you do?
- A . Use FTP to upload files.
- B . Use CPanel to upload files.
- C . Use signed URLs to upload files.
- D . Change the API to be a multipart file upload API.