Google Professional Cloud Architect Practice Exams
Last updated on Oct 23,2026- Exam Code: Professional Cloud Architect
- Exam Name: Google Certified Professional – Cloud Architect (GCP)
- Certification Provider: Google
- Latest update: Oct 23,2026
A lead software engineer tells you that his new application design uses websockets and HTTP sessions that are not distributed across the web servers. You want to help him ensure his application will run property on Google Cloud Platform.
What should you do?
- A . Help the engineer to convert his websocket code to use HTTP streaming.
- B . Review the encryption requirements for websocket connections with the security team.
- C . Meet with the cloud operations team and the engineer to discuss load balancer options.
- D . Help the engineer redesign the application to use a distributed user session service that does not rely on websockets and HTTP sessions.
C
Explanation:
Google Cloud Platform (GCP) HTTP(S) load balancing provides global load balancing for HTTP(S) requests destined for your instances.
The HTTP(S) load balancer has native support for the WebSocket protocol.
Incorrect Answers:
A: HTTP server push, also known as HTTP streaming, is a client-server communication pattern that sends information from an HTTP server to a client asynchronously, without a client request. A server push architecture is especially effective for highly interactive web or mobile applications, where one or more clients need to receive continuous information from the server.
Reference: https://cloud.google.com/compute/docs/load-balancing/http/
For this question, refer to the Mountkirk Games case study. You need to analyze and define the technical architecture for the compute workloads for your company, Mountkirk Games.
Considering the Mountkirk Games business and technical requirements, what should you do?
- A . Create network load balancers. Use preemptible Compute Engine instances.
- B . Create network load balancers. Use non-preemptible Compute Engine instances.
- C . Create a global load balancer with managed instance groups and autoscaling policies. Use preemptible Compute Engine instances.
- D . Create a global load balancer with managed instance groups and autoscaling policies. Use non-preemptible Compute Engine instances.
For this question, refer to the Mountkirk Games case study. You need to analyze and define the technical architecture for the compute workloads for your company, Mountkirk Games.
Considering the Mountkirk Games business and technical requirements, what should you do?
- A . Create network load balancers. Use preemptible Compute Engine instances.
- B . Create network load balancers. Use non-preemptible Compute Engine instances.
- C . Create a global load balancer with managed instance groups and autoscaling policies. Use preemptible Compute Engine instances.
- D . Create a global load balancer with managed instance groups and autoscaling policies. Use non-preemptible Compute Engine instances.
For this question, refer to the Dress4Win case study.
You want to ensure Dress4Win’s sales and tax records remain available for infrequent viewing by auditors for at least 10 years. Cost optimization is your top priority.
Which cloud services should you choose?
- A . Google Cloud Storage Coldline to store the data, and gsutil to access the data.
- B . Google Cloud Storage Nearline to store the data, and gsutil to access the data.
- C . Google Bigtabte with US or EU as location to store the data, and gcloud to access the data.
- D . BigQuery to store the data, and a web server cluster in a managed instance group to access the data. Google Cloud SQL mirrored across two distinct regions to store the data, and a Redis cluster in a managed instance group to access the data.
A
Explanation:
Reference: https://cloud.google.com/storage/docs/storage-classes
Your company has a stateless web API that performs scientific calculations. The web API runs on a single Google Kubernetes Engine (GKE) cluster. The cluster is currently deployed in us-central1. Your company has expanded to offer your API to customers in Asia. You want to reduce the latency for the users in Asia.
What should you do?
- A . Use a global HTTP(s) load balancer with Cloud CDN enabled
- B . Create a second GKE cluster in asia-southeast1, and expose both API’s using a Service of type Load Balancer. Add the public Ips to the Cloud DNS zone
- C . Increase the memory and CPU allocated to the application in the cluster
- D . Create a second GKE cluster in asia-southeast1, and use kubemci to create a global HTTP(s) load balancer
D
Explanation:
https://cloud.google.com/kubernetes-engine/docs/concepts/multi-cluster-ingress#how_works
https://github.com/GoogleCloudPlatform/k8s-multicluster-ingress
https://cloud.google.com/blog/products/gcp/how-to-deploy-geographically-distributed-services-on-kubernetes-engine-with-kubemci
Your company has a stateless web API that performs scientific calculations. The web API runs on a single Google Kubernetes Engine (GKE) cluster. The cluster is currently deployed in us-central1. Your company has expanded to offer your API to customers in Asia. You want to reduce the latency for the users in Asia.
What should you do?
- A . Use a global HTTP(s) load balancer with Cloud CDN enabled
- B . Create a second GKE cluster in asia-southeast1, and expose both API’s using a Service of type Load Balancer. Add the public Ips to the Cloud DNS zone
- C . Increase the memory and CPU allocated to the application in the cluster
- D . Create a second GKE cluster in asia-southeast1, and use kubemci to create a global HTTP(s) load balancer
D
Explanation:
https://cloud.google.com/kubernetes-engine/docs/concepts/multi-cluster-ingress#how_works
https://github.com/GoogleCloudPlatform/k8s-multicluster-ingress
https://cloud.google.com/blog/products/gcp/how-to-deploy-geographically-distributed-services-on-kubernetes-engine-with-kubemci
You have deployed several instances on Compute Engine. As a security requirement, instances cannot have a public IP address. There is no VPN connection between Google Cloud and your office, and you need to connect via SSH into a specific machine without violating the security requirements.
What should you do?
- A . Configure Cloud NAT on the subnet where the instance is hosted. Create an SSH connection to the Cloud NAT IP address to reach the instance.
- B . Add all instances to an unmanaged instance group. Configure TCP Proxy Load Balancing with the instance group as a backend. Connect to the instance using the TCP Proxy IP.
- C . Configure Identity-Aware Proxy (IAP) for the instance and ensure that you have the role of IAP-secured Tunnel User. Use the gcloud command line tool to ssh into the instance.
- D . Create a bastion host in the network to SSH into the bastion host from your office location. From the bastion host, SSH into the desired instance.
C
Explanation:
https://cloud.google.com/iap/docs/using-tcp-forwarding#tunneling_with_ssh
Leveraging the BeyondCorp security model. "This January, we enhanced context-aware access capabilities in Cloud Identity-Aware Proxy (IAP) to help you protect SSH and RDP access to your virtual machines (VMs)―without needing to provide your VMs with public IP addresses, and without having to set up bastion hosts. " https://cloud.google.com/blog/products/identity-security/cloud-iap-enables-context-aware-access-to-vms-via-ssh-and-rdp-without-bastion-hosts
Reference: https://cloud.google.com/solutions/connecting-securely
Your organization has decided to restrict the use of external IP addresses on instances to only approved instances. You want to enforce this requirement across all of your Virtual Private Clouds (VPCs).
What should you do?
- A . Remove the default route on all VPCs. Move all approved instances into a new subnet that has a default route to an internet gateway.
- B . Create a new VPC in custom mode. Create a new subnet for the approved instances, and set a default route to the internet gateway on this new subnet.
- C . Implement a Cloud NAT solution to remove the need for external IP addresses entirely.
- D . Set an Organization Policy with a constraint on constraints/compute.vmExternalIpAccess. List the approved instances in the allowedValues list.
D
Explanation:
Reference:
https://cloud.google.com/compute/docs/ip-addresses/reserve-static-external-ip-address
https://cloud.google.com/compute/docs/ip-addresses/reserve-static-external-ip-address#disableexternalip
you might want to restrict external IP address so that only specific VM instances can use them. This option can help to prevent data exfiltration or maintain network isolation. Using an Organization Policy, you can restrict external IP addresses to specific VM instances with constraints to control use of external IP addresses for your VM instances within an organization or a project.
Your organization has decided to restrict the use of external IP addresses on instances to only approved instances. You want to enforce this requirement across all of your Virtual Private Clouds (VPCs).
What should you do?
- A . Remove the default route on all VPCs. Move all approved instances into a new subnet that has a default route to an internet gateway.
- B . Create a new VPC in custom mode. Create a new subnet for the approved instances, and set a default route to the internet gateway on this new subnet.
- C . Implement a Cloud NAT solution to remove the need for external IP addresses entirely.
- D . Set an Organization Policy with a constraint on constraints/compute.vmExternalIpAccess. List the approved instances in the allowedValues list.
D
Explanation:
Reference:
https://cloud.google.com/compute/docs/ip-addresses/reserve-static-external-ip-address
https://cloud.google.com/compute/docs/ip-addresses/reserve-static-external-ip-address#disableexternalip
you might want to restrict external IP address so that only specific VM instances can use them. This option can help to prevent data exfiltration or maintain network isolation. Using an Organization Policy, you can restrict external IP addresses to specific VM instances with constraints to control use of external IP addresses for your VM instances within an organization or a project.
Your company is planning to upload several important files to Cloud Storage. After the upload is completed, they want to verify that the upload content is identical to what they have on- premises. You want to minimize the cost and effort of performing this check.
What should you do?
- A . 1) Use gsutil -m to upload all the files to Cloud Storage.
2) Use gsutil cp to download the uploaded files
3) Use Linux diff to compare the content of the files - B . 1) Use gsutil -m to upload all the files to Cloud Storage.
2) Develop a custom Java application that computes CRC32C hashes
3) Use gsutil ls -L gs://[YOUR_BUCKET_NAME] to collect CRC32C hashes of the uploaded files
4) Compare the hashes - C . 1) Use Linux shasum to compute a digest of files you want to upload
2) Use gsutil -m to upload all the files to the Cloud Storage
3) Use gsutil cp to download the uploaded files
4) Use Linux shasum to compute a digest of the downloaded files 5.Compre the hashes - D . 1) Use gsutil -m to upload all the files to Cloud Storage.
2) Use gsutil hash -c FILE_NAME to generate CRC32C hashes of all on-premises files
3) Use gsutil ls -L gs://[YOUR_BUCKET_NAME] to collect CRC32C hashes of the uploaded files
4) Compare the hashes
D
Explanation:
https://cloud.google.com/storage/docs/gsutil/commands/hash