5 exercises — Cloud Run vs. GKE, Anthos hybrid cloud, BigQuery analytics, Pub/Sub messaging, and GKE Autopilot for GCP certification exams.
0 / 33 completed
1 / 33
A Professional Cloud Architect exam question describes: "Run a containerized web service that scales to zero when there's no traffic, without managing any cluster infrastructure." Which GCP service best fits, and how does it differ from GKE?
Cloud Run is GCP's flagship serverless container platform — you provide a container image, and Cloud Run handles provisioning, scaling (including scale-to-zero, meaning you pay nothing when idle), and load balancing automatically. This is the key exam distinction from GKE: Cloud Run trades control (you can't customise the underlying nodes, DaemonSets, or cluster-level networking) for operational simplicity.
GKE (Google Kubernetes Engine) is appropriate when you need Kubernetes-specific features — custom controllers, DaemonSets, StatefulSets, fine-grained node configuration, or multi-container pods with sidecars — and are willing to take on more operational responsibility (even in Autopilot mode, which reduces but doesn't eliminate cluster-level decisions).
Exam pattern: "scales to zero," "no cluster to manage," and "just run a container" are the standard signal phrases for Cloud Run over GKE or Compute Engine.
2 / 33
You read in GCP documentation: "Anthos allows you to manage workloads consistently across GKE, on-premises Kubernetes clusters, and other cloud providers." What problem is Anthos solving?
Anthos answers a common enterprise architecture concern: organisations rarely run everything in one place — regulatory requirements, legacy investments, or multi-cloud strategy mean workloads are often spread across on-premises data centres and multiple cloud providers. Without a unifying layer, teams end up managing separate tooling, security policies, and observability stacks per environment.
Anthos provides a consistent control plane (built on Kubernetes and Istio service mesh) so policies, deployments, and monitoring work the same way regardless of where the cluster physically runs — GKE in GCP, GKE On-Prem, or attached clusters on AWS/Azure.
Exam signal: when a scenario mentions "hybrid," "multi-cloud," "on-premises and cloud consistency," or "single pane of glass across environments," Anthos is almost always the intended answer among GCP-specific services — distinguishing it from GKE alone, which is single-cluster/single-environment focused.
3 / 33
A data engineering exam scenario states: "Run complex analytical SQL queries against petabytes of data with no infrastructure to provision, paying only for the data scanned per query." Which service is described?
The exam signal phrases here are specific and important to recognise: "analytical SQL queries," "petabytes," "no infrastructure to provision," and "pay per data scanned" collectively point to BigQuery, distinguishing it from GCP's other data services which solve different problems.
Recognising which keyword combination maps to which service — "analytics at scale" → BigQuery, "transactional app database" → Cloud SQL, "global consistency" → Spanner — is one of the highest-yield GCP exam skills.
4 / 33
An exam question describes: "Decouple two microservices so that the publisher doesn't need to know which services are consuming its events, and messages should be reliably delivered even if a subscriber is temporarily offline." What GCP service and pattern does this describe?
Pub/Sub is GCP's asynchronous messaging service, and the exam vocabulary around it is precise: a topic is the named channel a publisher sends messages to; a subscription is a named "pull" or "push" feed of messages from a topic, which one or more subscribers consume from independently.
Why this beats a direct API call: a synchronous call requires the caller to know the callee's address and requires the callee to be available right now, or the call fails — a form of tight coupling. Pub/Sub inverts this: the publisher only knows about the topic, is unaware of subscriber identity or count, and messages are durably stored until acknowledged, so a temporarily unavailable subscriber doesn't lose data or block the publisher.
Exam signal phrases: "decouple," "publisher doesn't need to know consumers," "reliable delivery," and "asynchronous" are the standard indicators pointing to Pub/Sub over a direct service-to-service call or a synchronous API gateway pattern.
5 / 33
You're reading a GKE exam scenario: "Reduce operational overhead by having Google manage node provisioning, sizing, and security patching automatically, while the team focuses only on Kubernetes workload configuration." What is being described, and how is it distinct from GKE Standard?
GCP exams frequently test the distinction between GKE Standard and GKE Autopilot because it maps directly to a classic trade-off: control versus operational simplicity.
GKE Standard — the team defines and manages node pools (machine types, autoscaling ranges, node count), giving fine-grained control over cost and configuration, but requiring the team to handle node-level concerns (right-sizing, patching cadence, node OS choice).
GKE Autopilot — Google fully manages the node layer; the team only defines Kubernetes workloads (deployments, services), and Autopilot automatically provisions right-sized nodes behind the scenes. Billing shifts to a per-pod-resource model rather than per-node, which can reduce costs from over-provisioned or idle nodes, at the cost of some low-level customisation options being restricted.
Exam signal phrases: "reduce operational overhead," "Google manages nodes automatically," "team focuses only on workloads" → Autopilot. "Full control over node configuration," "custom DaemonSets," "specific machine types" → Standard.
6 / 33
PR Description:
During a code review of a new feature for our e-commerce platform, Sarah (the backend engineer) writes the following in the pull request description:
"Implemented event-driven architecture using Pub/Sub to decouple order processing from inventory updates. Using Cloud Functions to handle message transformations and ensure eventual consistency."
Which of the following terms best describes Sarah's approach, and why is it a key architectural pattern when designing resilient systems in GCP?
The correct answer is Microservices Architecture. Sarah's description highlights a system built around loosely coupled services communicating through events – this aligns with the core principles of microservices. While serverless (option A) *can* be part of a microservices implementation, it's not the defining characteristic; event-driven architecture (option C) focuses on the communication pattern itself, and IaC (option D) is about how infrastructure is managed, not the architectural style of the application.
7 / 33
You're reviewing a PR for a new order processing system. The engineer has described using Pub/Sub and Cloud Functions to handle order events. Which of the following best describes this architecture, and why is it beneficial in a distributed system?
During a code review, David (the lead developer) comments on a proposed change:
'We're leveraging an event-driven approach with Pub/Sub for asynchronous communication between services. Cloud Functions will handle the transformation of order data into formats suitable for each downstream service.'
The correct answer is 'Event-Driven Architecture'. This approach uses asynchronous messaging (Pub/Sub) to decouple services. This means that changes in one service don't immediately impact others, improving fault tolerance and scalability. The use of Cloud Functions for message transformation further supports this by allowing each consumer service to handle data in its preferred format without requiring complex integration logic. Options A, B, and D represent alternative architectural styles or solutions that aren't directly aligned with the described system.
8 / 33
PR Description:
During a code review of a new feature for our e-commerce platform, Sarah (the backend engineer) writes the following in the pull request description:
"Implemented event-driven architecture using Pub/Sub to decouple order processing from inventory updates. Using Cloud Functions to handle message transformations and ensure eventual consistency."
Which of the following terms best describes Sarah's approach, and why is it a key architectural pattern when designing resilient systems in GCP?
The correct answer is Microservices Architecture. Sarah's description highlights a system built around loosely coupled services communicating through events – this aligns with the core principles of microservices. While serverless (option A) *can* be part of a microservices implementation, it's not the defining characteristic; event-driven architecture (option C) focuses on the communication pattern itself, and IaC (option D) is about how infrastructure is managed, not the architectural style of the application.
9 / 33
You're reviewing a PR for a new order processing system. The engineer has described using Pub/Sub and Cloud Functions to handle order events. Which of the following best describes this architecture, and why is it beneficial in a distributed system?
During a code review, David (the lead developer) comments on a proposed change:
'We're leveraging an event-driven approach with Pub/Sub for asynchronous communication between services. Cloud Functions will handle the transformation of order data into formats suitable for each downstream service.'
The correct answer is 'Event-Driven Architecture'. This approach uses asynchronous messaging (Pub/Sub) to decouple services. This means that changes in one service don't immediately impact others, improving fault tolerance and scalability. The use of Cloud Functions for message transformation further supports this by allowing each consumer service to handle data in its preferred format without requiring complex integration logic. Options A, B, and D represent alternative architectural styles or solutions that aren't directly aligned with the described system.
10 / 33
PR Description:
During a code review of a new feature for our e-commerce platform, Sarah (the backend engineer) writes the following in the pull request description:
"Implemented event-driven architecture using Pub/Sub to decouple order processing from inventory updates. Using Cloud Functions to handle message transformations and ensure eventual consistency."
Which of the following terms best describes Sarah's approach, and why is it a key architectural pattern when designing resilient systems in GCP?
The correct answer is Microservices Architecture. Sarah's description highlights a system built around loosely coupled services communicating through events – this aligns with the core principles of microservices. While serverless (option A) *can* be part of a microservices implementation, it's not the defining characteristic; event-driven architecture (option C) focuses on the communication pattern itself, and IaC (option D) is about how infrastructure is managed, not the architectural style of the application.
11 / 33
You're reviewing a PR for a new order processing system. The engineer has described using Pub/Sub and Cloud Functions to handle order events. Which of the following best describes this architecture, and why is it beneficial in a distributed system?
During a code review, David (the lead developer) comments on a proposed change:
'We're leveraging an event-driven approach with Pub/Sub for asynchronous communication between services. Cloud Functions will handle the transformation of order data into formats suitable for each downstream service.'
The correct answer is 'Event-Driven Architecture'. This approach uses asynchronous messaging (Pub/Sub) to decouple services. This means that changes in one service don't immediately impact others, improving fault tolerance and scalability. The use of Cloud Functions for message transformation further supports this by allowing each consumer service to handle data in its preferred format without requiring complex integration logic. Options A, B, and D represent alternative architectural styles or solutions that aren't directly aligned with the described system.
12 / 33
PR Description:
During a code review of a new feature for our e-commerce platform, Sarah (the backend engineer) writes the following in the pull request description:
"Implemented event-driven architecture using Pub/Sub to decouple order processing from inventory updates. Using Cloud Functions to handle message transformations and ensure eventual consistency."
Which of the following terms best describes Sarah's approach, and why is it a key architectural pattern when designing resilient systems in GCP?
The correct answer is Microservices Architecture. Sarah's description highlights a system built around loosely coupled services communicating through events – this aligns with the core principles of microservices. While serverless (option A) *can* be part of a microservices implementation, it's not the defining characteristic; event-driven architecture (option C) focuses on the communication pattern itself, and IaC (option D) is about how infrastructure is managed, not the architectural style of the application.
13 / 33
You're reviewing a PR for a new order processing system. The engineer has described using Pub/Sub and Cloud Functions to handle order events. Which of the following best describes this architecture, and why is it beneficial in a distributed system?
During a code review, David (the lead developer) comments on a proposed change:
'We're leveraging an event-driven approach with Pub/Sub for asynchronous communication between services. Cloud Functions will handle the transformation of order data into formats suitable for each downstream service.'
The correct answer is 'Event-Driven Architecture'. This approach uses asynchronous messaging (Pub/Sub) to decouple services. This means that changes in one service don't immediately impact others, improving fault tolerance and scalability. The use of Cloud Functions for message transformation further supports this by allowing each consumer service to handle data in its preferred format without requiring complex integration logic. Options A, B, and D represent alternative architectural styles or solutions that aren't directly aligned with the described system.
14 / 33
David: "Hey team, I'm using Cloud Functions to process incoming webhook events from our payment gateway. The function triggers on every successful transaction and updates the order status in Firestore. It's great for decoupling this event handling logic!" Which term best describes David's architecture?
While serverless computing is a broader category, the core of David's design – triggering functions based on events and updating data asynchronously – aligns with a microservices architecture. This approach promotes independent deployment and scalability. The incorrect options represent different architectural styles or tools that don't capture this specific event-driven workflow.
15 / 33
You are discussing a new feature with your team that utilizes Cloud Spanner's strong consistency guarantees. A junior developer asks: 'What does 'strong consistency' *really* mean in the context of a globally distributed database?' Which explanation is most accurate?
'Strong consistency' in Cloud Spanner refers to immediate data visibility across all users – everyone sees the same, most recent version of the data at the exact same time. This is crucial for applications requiring transactional integrity, like financial systems. The other options misinterpret the term; replication isn't *how* it works, and prioritizing latency can compromise consistency.
16 / 33
Maria writes in a PR description: "We're leveraging Cloud Composer to orchestrate our data pipelines – specifically DAGs (Directed Acyclic Graphs) that define the flow of ETL processes. This allows us to easily schedule and monitor complex transformations without managing individual tasks.". What is Maria primarily using?
Cloud Composer is a managed Apache Airflow service. It's designed to orchestrate complex workflows – specifically ETL (Extract, Transform, Load) processes – represented as DAGs. The key characteristic here is its focus on *workflow automation*, not the other options listed. While it can be used with microservices, that's not its primary function.
17 / 33
You are reviewing a proposed architecture for a new application and receive this feedback: 'To ensure high availability and fault tolerance, we need to implement multiple regions and automatically replicate data across them. We should also configure automatic failover in case of regional outages.' Which GCP service is most relevant to achieving this?
While GKE can provide high availability through multi-region deployments, it's primarily a container orchestration platform. Cloud Functions, when deployed across multiple regions with regional failover configured, provides the necessary infrastructure for automated replication and failover based on event triggers and data synchronization. The other options don't directly address this requirement.
18 / 33
Ben writes in a Slack message: 'I'm using Vertex AI Workbench to build and train machine learning models. The service automatically handles scaling compute resources based on the workload demand – it's fantastic!' What concept is Ben highlighting?
'Auto-scaling' refers to the dynamic adjustment of resources (in this case, compute) based on demand. Vertex AI Workbench leverages this capability by automatically provisioning and managing compute instances, eliminating the need for manual scaling configuration – it's a key element of Infrastructure as Code.
19 / 33
David: "Hey team, I'm using Cloud Functions to process incoming webhook events from our payment gateway. The function triggers on every successful transaction and updates the order status in Firestore. It's great for decoupling this event handling logic!" Which term best describes David's architecture?
While serverless computing is a broader category, the core of David's design – triggering functions based on events and updating data asynchronously – aligns with a microservices architecture. This approach promotes independent deployment and scalability. The incorrect options represent different architectural styles or tools that don't capture this specific event-driven workflow.
20 / 33
You are discussing a new feature with your team that utilizes Cloud Spanner's strong consistency guarantees. A junior developer asks: 'What does 'strong consistency' *really* mean in the context of a globally distributed database?' Which explanation is most accurate?
'Strong consistency' in Cloud Spanner refers to immediate data visibility across all users – everyone sees the same, most recent version of the data at the exact same time. This is crucial for applications requiring transactional integrity, like financial systems. The other options misinterpret the term; replication isn't *how* it works, and prioritizing latency can compromise consistency.
21 / 33
Maria writes in a PR description: "We're leveraging Cloud Composer to orchestrate our data pipelines – specifically DAGs (Directed Acyclic Graphs) that define the flow of ETL processes. This allows us to easily schedule and monitor complex transformations without managing individual tasks.". What is Maria primarily using?
Cloud Composer is a managed Apache Airflow service. It's designed to orchestrate complex workflows – specifically ETL (Extract, Transform, Load) processes – represented as DAGs. The key characteristic here is its focus on *workflow automation*, not the other options listed. While it can be used with microservices, that's not its primary function.
22 / 33
You are reviewing a proposed architecture for a new application and receive this feedback: 'To ensure high availability and fault tolerance, we need to implement multiple regions and automatically replicate data across them. We should also configure automatic failover in case of regional outages.' Which GCP service is most relevant to achieving this?
While GKE can provide high availability through multi-region deployments, it's primarily a container orchestration platform. Cloud Functions, when deployed across multiple regions with regional failover configured, provides the necessary infrastructure for automated replication and failover based on event triggers and data synchronization. The other options don't directly address this requirement.
23 / 33
Ben writes in a Slack message: 'I'm using Vertex AI Workbench to build and train machine learning models. The service automatically handles scaling compute resources based on the workload demand – it's fantastic!' What concept is Ben highlighting?
'Auto-scaling' refers to the dynamic adjustment of resources (in this case, compute) based on demand. Vertex AI Workbench leverages this capability by automatically provisioning and managing compute instances, eliminating the need for manual scaling configuration – it's a key element of Infrastructure as Code.
24 / 33
David: "Hey team, I'm using Cloud Functions to process incoming webhook events from our payment gateway. The function triggers on every successful transaction and updates the order status in Firestore. It's great for decoupling this event handling logic!" Which term best describes David's architecture?
While serverless computing is a broader category, the core of David's design – triggering functions based on events and updating data asynchronously – aligns with a microservices architecture. This approach promotes independent deployment and scalability. The incorrect options represent different architectural styles or tools that don't capture this specific event-driven workflow.
25 / 33
You are discussing a new feature with your team that utilizes Cloud Spanner's strong consistency guarantees. A junior developer asks: 'What does 'strong consistency' *really* mean in the context of a globally distributed database?' Which explanation is most accurate?
'Strong consistency' in Cloud Spanner refers to immediate data visibility across all users – everyone sees the same, most recent version of the data at the exact same time. This is crucial for applications requiring transactional integrity, like financial systems. The other options misinterpret the term; replication isn't *how* it works, and prioritizing latency can compromise consistency.
26 / 33
Maria writes in a PR description: "We're leveraging Cloud Composer to orchestrate our data pipelines – specifically DAGs (Directed Acyclic Graphs) that define the flow of ETL processes. This allows us to easily schedule and monitor complex transformations without managing individual tasks.". What is Maria primarily using?
Cloud Composer is a managed Apache Airflow service. It's designed to orchestrate complex workflows – specifically ETL (Extract, Transform, Load) processes – represented as DAGs. The key characteristic here is its focus on *workflow automation*, not the other options listed. While it can be used with microservices, that's not its primary function.
27 / 33
You are reviewing a proposed architecture for a new application and receive this feedback: 'To ensure high availability and fault tolerance, we need to implement multiple regions and automatically replicate data across them. We should also configure automatic failover in case of regional outages.' Which GCP service is most relevant to achieving this?
While GKE can provide high availability through multi-region deployments, it's primarily a container orchestration platform. Cloud Functions, when deployed across multiple regions with regional failover configured, provides the necessary infrastructure for automated replication and failover based on event triggers and data synchronization. The other options don't directly address this requirement.
28 / 33
Ben writes in a Slack message: 'I'm using Vertex AI Workbench to build and train machine learning models. The service automatically handles scaling compute resources based on the workload demand – it's fantastic!' What concept is Ben highlighting?
'Auto-scaling' refers to the dynamic adjustment of resources (in this case, compute) based on demand. Vertex AI Workbench leverages this capability by automatically provisioning and managing compute instances, eliminating the need for manual scaling configuration – it's a key element of Infrastructure as Code.
29 / 33
David: "Hey team, I'm using Cloud Functions to process incoming webhook events from our payment gateway. The function triggers on every successful transaction and updates the order status in Firestore. It's great for decoupling this event handling logic!" Which term best describes David's architecture?
While serverless computing is a broader category, the core of David's design – triggering functions based on events and updating data asynchronously – aligns with a microservices architecture. This approach promotes independent deployment and scalability. The incorrect options represent different architectural styles or tools that don't capture this specific event-driven workflow.
30 / 33
You are discussing a new feature with your team that utilizes Cloud Spanner's strong consistency guarantees. A junior developer asks: 'What does 'strong consistency' *really* mean in the context of a globally distributed database?' Which explanation is most accurate?
'Strong consistency' in Cloud Spanner refers to immediate data visibility across all users – everyone sees the same, most recent version of the data at the exact same time. This is crucial for applications requiring transactional integrity, like financial systems. The other options misinterpret the term; replication isn't *how* it works, and prioritizing latency can compromise consistency.
31 / 33
Maria writes in a PR description: "We're leveraging Cloud Composer to orchestrate our data pipelines – specifically DAGs (Directed Acyclic Graphs) that define the flow of ETL processes. This allows us to easily schedule and monitor complex transformations without managing individual tasks.". What is Maria primarily using?
Cloud Composer is a managed Apache Airflow service. It's designed to orchestrate complex workflows – specifically ETL (Extract, Transform, Load) processes – represented as DAGs. The key characteristic here is its focus on *workflow automation*, not the other options listed. While it can be used with microservices, that's not its primary function.
32 / 33
You are reviewing a proposed architecture for a new application and receive this feedback: 'To ensure high availability and fault tolerance, we need to implement multiple regions and automatically replicate data across them. We should also configure automatic failover in case of regional outages.' Which GCP service is most relevant to achieving this?
While GKE can provide high availability through multi-region deployments, it's primarily a container orchestration platform. Cloud Functions, when deployed across multiple regions with regional failover configured, provides the necessary infrastructure for automated replication and failover based on event triggers and data synchronization. The other options don't directly address this requirement.
33 / 33
Ben writes in a Slack message: 'I'm using Vertex AI Workbench to build and train machine learning models. The service automatically handles scaling compute resources based on the workload demand – it's fantastic!' What concept is Ben highlighting?
'Auto-scaling' refers to the dynamic adjustment of resources (in this case, compute) based on demand. Vertex AI Workbench leverages this capability by automatically provisioning and managing compute instances, eliminating the need for manual scaling configuration – it's a key element of Infrastructure as Code.
What will I practice in "GCP Certification Vocabulary — Professional Cloud Architect Exam Terms"?
This is a Certification Prep exercise set. It walks through 33 scenario-based multiple-choice questions built around real usage of Certification Prep terminology that IT professionals encounter on the job.
Is this exercise free to use?
Yes. Every exercise on CoderSlingo, including this one, is free to complete with no account, sign-up, or paywall.
How many questions are in this exercise?
This set contains 33 questions. Each one shows immediate feedback and a detailed explanation after you answer, so you learn the correct usage right away rather than waiting for a final score.
Do I need prior experience to complete this exercise?
No prior experience is required. Each question includes a full explanation covering the reasoning behind the correct answer, so the exercise itself teaches the Certification Prep vocabulary as you go.
Can I retry the exercise if I get questions wrong?
Yes — use the "Try again" button on the results screen to reset your answers and go through all the questions again. There is no limit on attempts.
Is my progress saved?
Your answers and score for the current session are tracked in the browser as you go. No account or login is needed, and there is nothing to install.
What if I don't understand a term used in a question?
Read the explanation shown after you answer each question — it breaks down the correct term in plain English with a real-world example. You can also check the site Glossary for quick definitions.
How is this different from reading a blog article on the topic?
Exercises like this one are interactive drills that test and reinforce specific vocabulary through multiple-choice questions, while blog articles explain concepts in prose. Practising here after reading builds active recall, not just passive recognition.
Where can I find more Certification Prep exercises?
See the Certification Prep exercises hub for the full set of related pages, or browse all exercise categories from the main Exercises index.
Can I use this exercise to prepare for a technical interview?
Yes — Certification Prep vocabulary comes up often in technical discussions and interviews. Pair this exercise with our dedicated Interview Preparation section for role-specific practice.