
Below are 10 realistic Professional Cloud Architect exam questions, each followed by a walk-through of every option. For each one we look at what the option would actually do and whether it meets the stated requirements, and only then name the best answer. Pick your own answer before you read the walk-through. Committing to a choice first makes it much clearer whether your reasoning holds up. This set leans toward security and compliance and toward Cloud SQL design, with two questions on monitoring and one each on application integration and compute cost.
If you want more practice like this, take a look at our Professional Cloud Architect course.
You are running a recommendation system on Google Cloud that uses Agent Platform Feature Store to serve real-time features to your application. Your team needs to monitor the system to understand how quickly the application is responding to user requests from end to end. Which metric should you primarily monitor?
Choose only ONE best answer.
A) Throughput
B) Feature freshness
C) Error rate
D) Latency
This question is about matching a metric to what the team actually wants to know. The goal is stated plainly: how quickly the application responds to user requests from end to end. The Feature Store detail sets the scene, but the deciding phrase is "how quickly".
Option A, throughput, counts how many requests the system handles per unit of time. It's a useful capacity measure, and it tells you whether the system is keeping up with traffic. But a system can process a high volume of requests while each one still takes a long time. Throughput doesn't tell you how long an individual user waits, so it doesn't answer the team's question.
Option B, feature freshness, tracks how up to date the features in Feature Store are. Stale features can make recommendations less relevant, so freshness matters for data quality. It says nothing about how long a request takes, though. A response can be fast and built on stale features, or slow and built on fresh ones.
Option C, error rate, is the share of requests that fail. It's an important reliability signal, but it doesn't show how long the successful requests are taking. An application can have almost no errors and still feel slow to its users.
Option D, latency, measures the time it takes the application to respond to a request. In this system, that includes retrieving features from Feature Store and generating the prediction. That is exactly the "how long is it taking" question the team is asking, and it's the metric that helps you find bottlenecks in the real-time serving path.
The best answer is Option D. Throughput is the closest alternative because it also sounds like a performance metric, but it measures volume, not the speed of each request. Latency is the metric you would set a response-time service level objective around, and it's the one that tells you whether users are waiting too long for their recommendations.
You are reviewing security findings in Security Command Center and notice several alerts that require investigation. What is an appropriate way to use Gemini Cloud Assist in this context?
Choose only ONE best answer.
A) Configure Gemini to automatically respond to security incidents on your behalf
B) Enable Gemini to modify security policies based on detected threats
C) Direct Gemini to escalate critical findings to your incident response team
D) Ask Gemini to explain the security findings and their potential impact
This question tests what role an AI assistant should play in security operations. The scenario is an investigation: alerts have come in and someone needs to understand them. The deciding factor is which use gets real help from Gemini while keeping a person in control of security decisions.
Option A has Gemini respond to security incidents automatically on your behalf. Incident response involves judgment calls, such as whether to isolate a resource, revoke credentials or accept some disruption to a service. Handing those decisions to an assistant with no human approval removes the review step that security operations depend on. It also goes beyond what the scenario needs, which is help investigating alerts.
Option B lets Gemini change security policies based on the threats it detects. Policy changes can affect access across many resources, and they need careful review and authorization. An assistant rewriting policies on its own creates new risk rather than reducing it, so this isn't an appropriate use.
Option C asks Gemini to escalate critical findings to the incident response team. Escalation is a real need, but Gemini Cloud Assist doesn't connect directly to your communication systems to notify people. Escalation belongs to your alerting and incident management process. Gemini can help you judge whether a finding is serious enough to escalate, but it isn't the escalation channel.
Option D uses Gemini to explain the findings and what they could mean for your environment. This is the advisory role Gemini Cloud Assist plays in Security Command Center. It can clarify what a finding means, how severe it is, what impact it could have and which investigation steps make sense. That saves the team from researching every finding by hand, and the decisions about what to do next stay with people.
The best answer is Option D. Option C can look reasonable because escalation is a normal part of handling critical findings, but it asks Gemini to act as a communication channel, which isn't its role. Options A and B fail for a bigger reason: they let an AI assistant take security actions without human review. Asking Gemini to explain findings gets the benefit of the tool while keeping people responsible for the response.
For a broader look at where this assistant fits across Google Cloud, see our article on Gemini Cloud Assist.
Your application runs on Compute Engine VMs and you need visibility into system performance metrics like memory usage, disk I/O, and application logs. Currently, you can only see basic CPU and network metrics in Cloud Monitoring. What should you do to get comprehensive observability?
Choose only ONE best answer.
A) Install the Ops Agent on your Compute Engine VMs
B) Enable Cloud Operations at the project level in the Google Cloud Console settings
C) Configure VPC Flow Logs to capture detailed system metrics
D) Deploy a monitoring container on each VM using Docker
This question is about the gap between the metrics Compute Engine gives you automatically and the ones that have to be collected from inside the operating system. The team can already see CPU and network data. What's missing is memory, disk activity and application logs, and the question is how to get those into Cloud Monitoring and Cloud Logging.
Option A installs the Ops Agent on the VMs. Basic metrics like CPU utilization are collected automatically at the hypervisor level, but detailed memory and disk statistics, process-level metrics and application logs have to be collected from within the guest operating system. The Ops Agent is Google's unified agent for that job. It runs as a system service on each VM, collects both logs and detailed metrics, and sends them to Cloud Logging and Cloud Monitoring, where you can build dashboards and alerts on them. That covers every gap the question lists.
Option B enables Cloud Operations at the project level in the console settings. Turning something on at the project level doesn't install agents on existing VMs, and it doesn't collect the metrics and logs that can only be gathered from inside the operating system. The team would be left with the same CPU and network metrics it already has.
Option C configures VPC Flow Logs. Flow logs record metadata about network traffic, such as source, destination and bytes sent, which helps with connectivity troubleshooting and network analysis. They don't report memory usage or disk activity, and they don't collect application logs. This is a network tool applied to a system performance problem.
Option D deploys a monitoring container on each VM with Docker. You could build something that way, but you'd be choosing, configuring and maintaining the monitoring software yourself, then working out how to store and visualize its data. It adds work on every VM and doesn't integrate with Cloud Logging and Cloud Monitoring the way the Ops Agent does out of the box.
The best answer is Option A. Option B is the most tempting because it sounds like a single switch for full observability, but the missing data lives inside the guest operating system, and only an agent running there can collect it. The Ops Agent does that with native integration and no custom pipeline to maintain.
Knightmotives Automotives has a central MySQL database that stores supplier updates for all its manufacturing plants. Each plant currently consumes data from this central database in XML format and saves it to a local FTP server. However, some plants report mismatches between their local data and the data in the headquarters database. Headquarters wants a more controlled and reliable way to ensure every plant's data remains consistent with the source of truth. What should they do?
Choose only ONE best answer.
A) Create a central Pub/Sub topic and configure each plant with a Pull subscription to receive updates from the topic
B) Migrate the central MySQL database to Cloud SQL and create read replicas in the regions where each plant operates so each plant reads directly from its regional replica
C) Create a central Pub/Sub topic and configure each plant with a Push subscription to receive updates from the topic
D) Export the MySQL database to Cloud Storage and have each plant import the XML files into their local systems daily
The important phrase in this question is "consistent with the source of truth". The plants drift out of step with headquarters because each one copies the data, converts it and stores its own version on a local FTP server. Every copy-and-transform step is a chance for records to go wrong. The question is which option removes that drift instead of moving it somewhere else.
Option A creates a central Pub/Sub topic and gives each plant a pull subscription. To make this work, every database update would have to be turned into a message, and each plant would have to apply those messages to its own copy of the data in the right order, without missing any or applying any twice. That brings in serialization, ordering and deduplication challenges, and each plant still keeps a separate copy that can drift. Pub/Sub is suited to event-driven processing, not to keeping copies of a database in sync.
Option B migrates the central MySQL database to Cloud SQL and creates read replicas in the regions where the plants operate. Each plant then reads directly from its regional replica instead of keeping its own exported copy. Cloud SQL handles replication natively and keeps the replicas up to date with the primary, so there's no export, no XML conversion and no manual sync. Read replicas don't accept writes, so headquarters remains the one place where the data changes and keeps full control of the data and schema. The plants also get low-latency reads from a nearby region.
Option C is the same Pub/Sub design with push subscriptions. Push changes how messages are delivered, but it doesn't change the underlying problem. Each plant still has to turn a stream of messages into an accurate copy of a database, with the same ordering and deduplication concerns.
Option D exports the database to Cloud Storage and has each plant import XML files daily. A daily export means plants can be up to a day behind, and every export and import is another place for records to go missing or go stale. It keeps the consistency problem rather than solving it.
The best answer is Option B. The Pub/Sub options are the closest alternatives because they do deliver updates to every plant, but they leave each plant responsible for rebuilding the data from messages. Read replicas take that job away from the plants entirely. Cloud SQL handles replication, and every plant reads from a copy of the same database that headquarters controls.
You are building a machine learning model using customer data stored in BigQuery. Some of the columns contain personally identifiable information (PII). Your organization's compliance team requires that this data remain protected both while stored and while accessed for model training. However, you must ensure that no change to the data affects the accuracy or performance of the model. What should you do?
Choose only ONE best answer.
A) Use Sensitive Data Protection to scan the dataset and replace all detected PII with randomly generated placeholder strings before training
B) Use column-level security in BigQuery to restrict access to sensitive fields so only authorized users and the model training service account can read them
C) Encrypt the PII fields manually with a customer-managed encryption key and store the encrypted values in the same dataset for training
D) Export the BigQuery dataset to Cloud Storage, remove all PII-related columns, and train the machine learning model on the remaining data
This question has two requirements that pull in different directions. The PII must stay protected while stored and while accessed for training, and no change to the data may affect the model's accuracy or performance. The second requirement rules out any option that alters, scrambles or removes the data the model trains on.
Option A uses Sensitive Data Protection to find PII and replace it with random placeholder strings. That does protect the PII, but it changes the data. Random strings break the relationships between those columns and the rest of the features, which can degrade the model's results. Since the question says no change to the data may affect accuracy, this fails the second requirement.
Option B uses column-level security in BigQuery so that only authorized users and the training service account can read the sensitive fields. Column-level security controls who can see specific columns without changing or masking the values in them. The data stays in BigQuery, which encrypts data at rest by default, and access to the PII columns is limited to the identities that need it. The training job reads the data in its original form, so the model's statistical patterns and performance are preserved. It also relies on BigQuery's built-in permissions rather than an extra tool or transformation step.
Option C encrypts the PII fields manually with a customer-managed key and stores the encrypted values in the same dataset. The fields are protected, but the model would be training on ciphertext, which is unreadable and carries none of the patterns in the original values. That makes those attributes useless for training and works against the accuracy requirement. This is different from protecting a table with a customer-managed key for encryption at rest, which doesn't change the values queries see. Here the column values themselves are replaced.
Option D exports the data to Cloud Storage, drops the PII columns and trains on what's left. The PII is no longer at risk, but if any of those columns carry predictive information, the model loses it. That is a change to the data that can affect accuracy, which the question doesn't allow.
The best answer is Option B. Option A is the closest alternative because Sensitive Data Protection is a natural tool for PII and would satisfy the protection requirement. But it protects the data by changing the values, which the question rules out. Column-level security is the only option here that protects the sensitive fields through access control while leaving the data itself untouched.
To see how column-level controls compare with row-level ones, see our article on column-level vs row-level security in BigQuery.
Your company is developing a healthcare analytics platform that must meet strict data residency requirements. All patient data must be stored and accessed only within Canada, and no data may be transferred or read from any other region. You need to ensure that the application meets these requirements. Select two.
Choose TWO answers.
A) Use IAM conditions to restrict access to users connecting from Canadian IP ranges
B) Configure VPC Service Controls to define a secure perimeter that prevents data exfiltration from approved Canadian projects
C) Set up firewall rules to block all incoming traffic from outside of Canada based on geographic IP filtering
D) Apply an Organization Policy with resource location constraints to restrict where resources and data can be created
Data residency has two parts, and the stem names both. Patient data must be stored only in Canada, and it must not be transferred or read from anywhere else. One control has to govern where resources and data can be created, and another has to stop data from moving out once it's there. Since the question asks for two answers, look for the pair that covers both halves.
Option A uses IAM conditions to limit access to users connecting from Canadian IP ranges. IAM conditions narrow access based on identity and request context, but they can't guarantee where data is stored. A dataset could still be created in a region outside Canada, and data could still be copied between Google Cloud services, because neither of those depends on where an end user is connecting from. This is a partial access control, not a residency control.
Option B configures VPC Service Controls to put the approved Canadian projects inside a service perimeter. The perimeter prevents data from being copied or transferred to projects, APIs or services outside the boundary. It works at the level of Google Cloud services and APIs, so it covers the kinds of transfers that network rules never see. That addresses the "no data may be transferred" part of the requirement.
Option C uses firewall rules to block incoming traffic from outside Canada by geographic IP. Firewall rules govern network traffic to your VPC resources. They don't prevent API-based or internal data transfers between Google Cloud services, and they don't control where resources are created. Like Option A, this filters who can reach the application, not where the data lives or how it moves.
Option D applies an Organization Policy with resource location constraints. The resource locations constraint, gcp.resourceLocations, restricts where resources and datasets can be created, so you can allow only Canadian regions such as northamerica-northeast1 in Montréal. Because it's set at the organization level, it blocks attempts to create resources outside Canada across the projects it covers. That handles the storage half of the requirement.
The correct answers are Options B and D. The organization policy controls where data can be stored, and VPC Service Controls control where it can go after that. Neither one alone covers the full requirement. Options A and C are tempting because they sound geographic, but they filter incoming user and network traffic. They don't decide where data is created, and they don't stop data from moving between Google Cloud services, which is what this requirement is about.
Your company manages customer and operations data across several systems, including Salesforce CRM, an external ticketing platform, and an internal inventory management application hosted on Google Cloud. You need to ensure that data is exchanged and transformed consistently between all three systems so that updates in one system are reflected in the others. The solution should handle both integration and transformation across APIs and services. What should you do?
Choose only ONE best answer.
A) Use Cloud Workflows to call APIs between Salesforce, the ticketing system, and the internal application to synchronize updates
B) Use Application Integration on Google Cloud to connect Salesforce, the external ticketing platform, and the internal application through a unified workflow
C) Use Pub/Sub with BigQuery to stream data from Salesforce and other systems and manage data consistency through event subscriptions
D) Use Dataflow with BigQuery to perform scheduled batch transformations and propagate data updates across the systems
This is an application integration problem. Three systems, including a SaaS CRM and an external platform, need to exchange data and transform it so that an update in any one of them shows up in the others. The stem asks for a solution that handles both integration and transformation across APIs and services, so the right choice needs a way to connect to each system and a way to map data between them.
Option A uses Workflows to call the APIs of all three systems. Workflows is good at orchestrating a sequence of API calls, so it could move data from one system to another. But it doesn't bring built-in connectors for systems like Salesforce, or the data mapping and transformation features a full integration needs. You'd be writing the mapping and transformation logic for each system yourself, so the transformation part of the requirement falls on you.
Option B uses Application Integration to connect Salesforce, the ticketing platform and the internal application through one workflow. Application Integration is a managed service for orchestrating data movement and transformation between business systems. It provides prebuilt connectors for SaaS tools like Salesforce, integrates with internal APIs on Google Cloud, and includes data mapping as part of the integration flow. It supports trigger-based and event-driven flows, so a change in one system can start an integration that updates the other two. That covers integration and transformation in one managed service.
Option C streams data from Salesforce and the other systems through Pub/Sub into BigQuery. That's a reasonable pattern for event ingestion and analytics, but BigQuery is an analytics warehouse. Landing the data there doesn't write updates back into Salesforce, the ticketing platform or the inventory application. The requirement is synchronization between transactional systems, and this design sends everything to a fourth system instead.
Option D uses Dataflow and BigQuery for scheduled batch transformations. Dataflow is strong at ETL and large-scale data processing, but this design is batch, so updates would only move on a schedule. It also doesn't handle the API orchestration needed to push changes into each application. Like Option C, it's built for data processing and analytics rather than keeping operational systems in step with each other.
The best answer is Option B. Workflows is the closest alternative because it can call all three APIs, but it leaves connectors, data mapping and transformation to you. Application Integration provides those as part of the service, which is exactly what "integration and transformation across APIs and services" describes.
For more on connectors and integration flows, see our article on Application Integration on Google Cloud.
Your company is migrating a critical customer-facing database to Google Cloud. The business requirements specify that you must maintain a Recovery Point Objective (RPO) of 5 minutes and a Recovery Time Objective (RTO) of 90 seconds to minimize data loss and service disruption. What solution should you implement?
Choose only ONE best answer.
A) Deploy Cloud SQL with high availability configuration using a primary instance in one zone and a synchronous standby replica in a different zone within the same region
B) Configure Cloud SQL in high availability mode with a failover replica in another region using asynchronous replication
C) Set up Cloud SQL with automated snapshots scheduled every 5 minutes and implement a restore procedure for disaster recovery
D) Implement an active-active architecture using Cloud Spanner with multi-region configuration and automatic failover capabilities
This question gives two numbers to design against. An RPO of 5 minutes means no more than 5 minutes of data can be lost. An RTO of 90 seconds means the database has to be back in service within 90 seconds of a failure. The RTO is the tighter of the two, and several options sound like disaster recovery, so it helps to check each one against both numbers.
Option A deploys Cloud SQL with a high availability configuration: a primary in one zone and a standby in another zone of the same region, kept current by synchronous replication. Writes are committed to both the primary and the standby before they're acknowledged, so a failover loses essentially no committed data. That's well inside the 5-minute RPO. If the primary fails, Cloud SQL fails over to the standby automatically. The standby is already provisioned in the second zone and the data is already replicated there, so there's nothing to restore and no manual step. That makes it the fastest recovery path of the Cloud SQL options here, and the best fit for a 90-second RTO.
Option B uses a failover replica in another region with asynchronous replication. Asynchronous replication means the replica can lag behind the primary, so how much data is lost depends on how far behind it was when the failure happened. That can't be guaranteed to stay within 5 minutes. Failing over across regions also generally takes longer than a same-region HA failover, so the 90-second RTO is harder to rely on as well. The stem doesn't mention surviving a regional outage, so the cross-region design adds complexity without meeting either stated number reliably.
Option C relies on snapshots every 5 minutes and a restore procedure. Cloud SQL's automated backups run daily, so a 5-minute schedule would need custom tooling. The schedule might satisfy the RPO, but recovery means restoring from a backup, which is a much slower process than an automatic failover and takes longer as the database grows. It can't be counted on to finish within 90 seconds. This option can meet one requirement and misses the other.
Option D moves the database to Cloud Spanner in a multi-region, active-active configuration. Spanner would meet both objectives, with near-zero RPO and RTO. But it's a different database service with its own schema design considerations, so choosing it means a larger migration, and a multi-region deployment brings cost and complexity that these requirements don't call for.
The best answer is Option A. Option D is the closest alternative because it also meets both objectives, but it does so with far more architecture than the requirements need. Regional HA in Cloud SQL covers the RPO through synchronous replication, and its automatic failover to a standby in the same region is the fastest recovery of the Cloud SQL options, with much less change and cost than Spanner.
For a closer look at standby instances, failover and how they differ from read replicas, see our article on Cloud SQL high availability and read replicas.
Your company has deployed a Cloud Run service that is publicly accessible via its default *.run.app URL. You have configured a custom domain for the service. You need to implement security policies on all incoming requests and prevent users from bypassing these policies by directly accessing the default URL. What should you do?
Choose only ONE best answer.
A) Configure DNS records to block external access to the default run.app domain
B) Configure a load balancer with Cloud Armor and set Cloud Run ingress to internal and load balancer only
C) Create a serverless NEG (Network Endpoint Group) and attach it to a load balancer
D) Enable IAM authentication on the Cloud Run service and create a load balancer with a service account
This question has two requirements. Security policies have to be applied to every incoming request, and users must not be able to get around those policies by going straight to the default run.app URL. The second requirement decides it. Any setup that leaves the default URL open to the internet leaves a path around the policies.
Option A configures DNS records to block external access to the default run.app domain. The run.app domain belongs to Google, and its DNS records are managed by Google, not by your organization. You can control the DNS for your own custom domain, but you can't change how the default URL resolves, so this isn't something you can actually configure.
Option B puts an external Application Load Balancer in front of the service, attaches Cloud Armor security policies to it, and sets Cloud Run's ingress to the setting the option describes, which Cloud Run calls internal and Cloud Load Balancing. The service then accepts only internal traffic and requests that come through the load balancer. Cloud Armor evaluates every request that arrives through the load balancer. The ingress restriction means requests sent directly to the default run.app URL from the internet are rejected, so the only way in from outside is through the load balancer and its policies. You point the custom domain at the load balancer's address, and every request passes through your security controls.
Option C creates a serverless NEG and attaches it to a load balancer. A serverless NEG is how a load balancer routes traffic to a Cloud Run service, so this builds the right path. But it stops at routing. No Cloud Armor policy is attached, so no security policies are applied, and the ingress setting is unchanged, so the default URL still accepts traffic directly. Both requirements are left unmet.
Option D enables IAM authentication on the service and creates a load balancer with a service account. Requiring IAM authentication changes who can call the service, since every request now needs valid credentials. That is an access control, not a set of security policies evaluated on each request. It also doesn't close the bypass, because an authenticated user can still call the default URL directly and skip the load balancer.
The best answer is Option B. Option C is the closest alternative because it builds the same load balancer path that Option B relies on, but it adds neither the Cloud Armor policies nor the ingress restriction. Option B covers both requirements: Cloud Armor applies the policies, and the ingress setting makes the load balancer the only route in from the internet.
For more on how ingress settings control which traffic can reach a service, see our article on Cloud Run ingress control.
Altostrat Media runs large-scale rendering jobs on Compute Engine. Their workloads can handle interruptions and restarts without issue. The company's main goal is to reduce infrastructure costs while maintaining acceptable performance. What should they do?
Choose only ONE best answer.
A) Use standard Compute Engine VMs with sustained use discounts
B) Purchase committed use contracts for standard Compute Engine VMs
C) Run the rendering jobs on Spot VMs
D) Move the rendering jobs to Cloud Run
Two facts in this stem decide it. The rendering jobs can handle interruptions and restarts without issue, and the main goal is lower infrastructure cost while keeping acceptable performance. When a workload is fault tolerant and cost is the priority, the question becomes which option turns that fault tolerance into savings.
Option A uses standard VMs with sustained use discounts. Sustained use discounts apply to eligible VMs that run for a large part of the month, so they do lower costs somewhat. But they're aimed at continuously running workloads, and they don't achieve the same savings as interruptible capacity. They also ignore the most useful fact in the stem, which is that the jobs can tolerate interruptions.
Option B purchases committed use contracts. Committed use discounts trade a one-year or three-year commitment for a lower price, which works well for steady, predictable usage. Batch rendering jobs that come and go don't fit that profile, and a commitment means paying for the committed capacity whether or not jobs are running. Like Option A, it makes no use of the fault tolerance.
Option C runs the rendering jobs on Spot VMs. Spot VMs offer Compute Engine capacity at a much lower price than standard VMs, in exchange for the possibility that Compute Engine reclaims them at any time. For many workloads that risk would be a problem. For these jobs it isn't, because they handle interruptions and restarts without issue. With autoscaling and a job queue, interrupted work can be picked up again on new capacity, which keeps throughput acceptable while spending much less.
Option D moves the jobs to Cloud Run. Cloud Run is built mainly for stateless containers, and it gives you less control over the underlying machine than Compute Engine does. It can run batch work as Cloud Run jobs, but moving the rendering pipeline there would be a replatforming effort, and it doesn't take advantage of the interruption tolerance that makes cheaper capacity possible on Compute Engine.
The best answer is Option C. Options A and B both reduce cost, but only for workloads that run steadily or predictably, and neither uses the fact that these jobs can be interrupted. Spot VMs turn that tolerance directly into savings, which is the trade the stem sets up.
For more on how Spot capacity and preemption work, see our article on preemptible and Spot VMs on Compute Engine.
Questions on the real Professional Cloud Architect exam are scenario based, like the ones above. Most of the work is reading the requirements closely, whether that's an RTO, a residency rule or a note that jobs can be interrupted, and then ruling out the options that miss one of them. When two options both seem to work, the stated constraints decide it. Practicing that habit across many scenarios is one of the most useful ways to prepare for the Professional Cloud Architect exam.
There are many more questions like these, each with a full explanation, in our Professional Cloud Architect course.