Official Bank 0/265

Google Professional Cloud Developer Exam (Professional-Cloud-Developer) - Google Cloud Exam Questions

Last updated on June 20, 2026

97% Exam Compliance
265 Total Questions
1
Question
You need to deploy a new European version of a website hosted on Google Kubernetes Engine. The current and new websites must be accessed via the same HTTP(S) load balancer's external IP address, but have different domain names. What should you do?
Options
A Modify the existing Ingress resource with a host rule matching the new domain
B Define a new Ingress resource with a host rule matching the new domain
C Create a new Service of type LoadBalancer specifying the existing IP address as the loadBalancerIP
D Generate a new Ingress resource and specify the existing IP address as the kubernetes.io/ingress.global-static-ip-name annotation value
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question
You work on an application that relies on Cloud Spanner as its main datastore. New application features have occasionally caused performance regressions. You want to prevent performance issues by running an automated performance test with Cloud Build for each commit made. If multiple commits are made at the same time, the tests might run concurrently. What should you do?
Options
A Create a new Cloud Spanner instance for every build. Load the required data. Delete the Cloud Spanner instance after the test is run.
B Create a new project with a random name for every build. Load the required data. Delete the project after the test is run.
C Create a project with a Cloud Spanner instance and the required data. Adjust the Cloud Build build file to automatically restore the data to its previous state after the test is run.
D Start the Cloud Spanner emulator locally. Load the required data. Shut down the emulator after the test is run.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question
You are a developer working with the CI/CD team to troubleshoot a new feature that your team introduced. The CI/CD team used HashiCorp Packer to create a new Compute Engine image from your development branch. The image was successfully built, but is not booting up. You need to investigate the issue with the CI/CD team. What should you do?
Options
A Shut down the deployed virtual machine, export the disk, and then mount the disk locally to access the boot logs.
B Create a new feature branch, and ask the build team to rebuild the image.
C Install Packer locally, build the Compute Engine image locally, and then run it in your personal Google Cloud project.
D Check Compute Engine OS logs using the serial port, and check the Cloud Logging logs to confirm access to the serial port.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question
Your company has a new security initiative that requires all data stored in Google Cloud to be encrypted by customer-managed encryption keys. You plan to use Cloud Key Management Service (KMS) to configure access to the keys. You need to follow the "separation of duties" principle and Google-recommended best practices. What should you do? (Choose two.)
Select 2
Options
A Do not assign an owner to the Cloud KMS project.
B Provision Cloud KMS in its own project.
C Grant an owner role for the Cloud KMS project to a different user than the owner of the project
where the keys from Cloud KMS are being used.
D Provision Cloud KMS in the project where the keys are being used.
E Grant the roles/cloudkms.admin role to the owner of the project where the keys from Cloud KMS are being used.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question
Your teammate has asked you to review the code below. Its purpose is to efficiently add a large number of small rows to a BigQuery table.

Exhibit

Which improvement should you suggest your teammate make?
Options
A Perform the inserts in parallel by creating multiple threads.
B Include multiple rows with each request.
C Write each row to a Cloud Storage object, then load into BigQuery.
D Write each row to a Cloud Storage object in parallel, then load into BigQuery.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

Finish Practice?

Are you sure you want to finish? This will end your practice session.