Home / Google Cloud Professional Cloud Architect / Mock exam
Google Cloud Professional Cloud Architect Exam-style mock test

Google Cloud Professional Cloud Architect Practice Exams|Practice test

Full explanations Exam format Pass line 70%
33 USD One-time · lifetime access
Enroll →

Sample questions

Example1 · Designing and Planning a Cloud Solution Architecture
Meridian Capital, a global investment bank, runs nightly Monte Carlo risk simulations that need about 2,000 vCPUs for four hours. The jobs checkpoint progress every five minutes and can resume after interruption, and results are only needed within an eight-hour overnight window. The CFO has mandated the lowest possible compute spend for this workload. What should the architect recommend?
・Purchase a three-year committed use discount for 2,000 vCPUs of on-demand capacity that stays reserved and billed around the clock.
Incorrect. A committed use discount bills for the full commitment 24x7 for three years, which is far more expensive than paying deep Spot discounts for a four-hour nightly burst.
✓Run the simulations on Spot VMs in a managed instance group that recreates preempted workers from checkpoints.
Correct. The workload is fault tolerant (five-minute checkpoints, restartable) and deadline flexible, so Spot VMs deliver the steepest discount, and a managed instance group transparently replaces preempted workers.
・Run the workers on on-demand VMs and apply sustained use discounts by keeping them running all month.
Incorrect. Sustained use discounts require instances to run for large fractions of the month; keeping 2,000 vCPUs up all month to earn a modest discount multiplies cost instead of reducing it.
・Move the simulations to sole-tenant nodes to consolidate the workers onto dedicated hosts.
Incorrect. Sole-tenant nodes carry a premium for dedicated hardware aimed at licensing and isolation needs; they raise cost rather than lower it for a batch workload.
Explanation
Checkpointed, restartable batch jobs with a flexible deadline are the ideal profile for Spot VMs, which offer the largest compute discounts in exchange for possible preemption. Commitments and sustained use pricing only pay off for steady, long-running usage, and sole-tenant nodes add cost rather than removing it.
Example2 · Managing and Provisioning a Solution Infrastructure
A global investment bank is migrating 40 application teams to Google Cloud. The central network team must retain exclusive control of subnet CIDR allocation and firewall rules, while each application team deploys workloads into its own project and reaches on-premises systems over a single existing Dedicated Interconnect. Which network topology should you implement?
・Create a separate VPC in every application project and connect them with VPC Network Peering, copying the firewall rules into each project
Incorrect. Peered VPCs keep firewall rules and subnets under each project's control, so the network team loses exclusive management, and peering is not transitive to the Interconnect routes without extra configuration in every spoke.
✓Attach each application project as a service project to a network-team-owned Shared VPC host project
Correct. Shared VPC centralizes subnets, firewall rules, and the Interconnect attachment in a host project administered by the network team, while service projects let application teams deploy workloads with their own IAM boundaries.
・Build HA VPN tunnels from each application project's VPC to a central hub VPC that terminates the Interconnect
Incorrect. Forty HA VPN tunnels add per-tunnel bandwidth ceilings and operational overhead, and the network team still cannot administer firewall rules inside each application project's own VPC.
・Provision a dedicated VLAN attachment for every application project so each team manages its own hybrid routing
Incorrect. Creating 40 VLAN attachments multiplies Interconnect cost and delegates hybrid routing to each team, which directly violates the requirement for central network control.
Explanation
Shared VPC is the designed pattern for central network administration with decentralized workload deployment: the host project holds subnets, firewall rules, and hybrid attachments, while service projects consume them. Peering, per-project VPNs, or per-project VLAN attachments all fragment control across 40 projects.
Example3 · Designing for Security and Compliance
A global investment bank runs its deployment pipelines on GitHub Actions outside Google Cloud. Security policy prohibits long-lived credentials, and auditors flagged an exported service account key used by the pipeline to deploy to Cloud Run. The pipeline must continue deploying with least privilege. What should the architect recommend?
・Issue a service account key, store it as an encrypted pipeline secret, and rotate it every 90 days
Incorrect. A downloaded service account key remains a long-lived bearer credential between rotations; 90-day rotation does not satisfy a policy that prohibits long-lived credentials outright.
・Create an API key restricted to the deployment APIs and inject it into pipeline environment variables
Incorrect. API keys identify a project, not a principal; they cannot authorize Cloud Run deployments and carry no IAM identity to which least-privilege roles could be bound.
✓Configure workload identity federation so the pipeline exchanges GitHub OIDC tokens for short-lived Google Cloud credentials bound to a least-privilege service account
Correct. Workload identity federation lets the pipeline exchange GitHub's OIDC tokens for short-lived Google Cloud access tokens tied to a least-privilege service account, eliminating exported keys entirely.
・Deploy a bastion Compute Engine VM whose attached service account runs deployments triggered over SSH
Incorrect. A bastion VM adds attack surface and does not solve the problem, because the external pipeline would still need a long-lived credential to authenticate to the VM over SSH.
Explanation
Workload identity federation is the designed mechanism for external workloads such as GitHub Actions to obtain short-lived Google Cloud credentials via OIDC token exchange, removing the need for exported service account keys. Key rotation, API keys, and bastion hosts all either retain long-lived credentials or lack an IAM identity for least-privilege authorization.
Example4 · Analyzing and Optimizing Technical and Business Processes
A media streaming provider runs its playback API on GKE clusters in dev, staging, and production. Release engineering wants automated promotion between environments, a mandatory human approval before the production stage, and fast rollback, while builds and container images remain in Cloud Build and Artifact Registry. What should you recommend?
✓Create a Cloud Deploy delivery pipeline that targets each environment and require an approval on the production stage.
Correct. Cloud Deploy natively models a promotion sequence across targets, supports required approvals on specific stages such as production, and provides managed rollback to a previous release.
・Add kubectl apply steps to the existing Cloud Build trigger so each merged commit deploys straight to all three clusters.
Incorrect. Deploying from a Cloud Build trigger pushes every commit to all clusters with no promotion sequence, no approval gate before production, and no managed rollback.
・Install Jenkins on Compute Engine instances and script environment promotions, approvals, and rollbacks with custom pipeline libraries maintained for every cluster.
Incorrect. Self-managed Jenkins on Compute Engine adds patching and scaling overhead and requires custom scripting to rebuild approval and rollback features that Cloud Deploy provides as a managed service.
・Retag vetted images in Artifact Registry with environment-specific labels and let each cluster pull whichever tag matches its stage.
Incorrect. Retagging images in Artifact Registry changes which artifact is available but does not orchestrate rollouts, enforce an approval before production, or give a rollback mechanism.
Explanation
Cloud Deploy is the managed continuous delivery service that models dev-to-production promotion as a delivery pipeline with per-target approvals and one-step rollback. Cloud Build and Artifact Registry remain the build and artifact layers feeding releases into that pipeline, whereas trigger-driven kubectl deploys, image retagging, or self-managed Jenkins all lack the required managed approval gate.
Example5 · Managing Implementation
A life sciences company exposes FHIR-based clinical trial APIs to 40 external pharmaceutical partners. The business team requires tiered rate plans per partner contract, self-service partner onboarding through a developer portal, and usage reports that feed into partner billing. The platform team asks you which Google Cloud product to standardize on. What should you recommend?
・API Gateway with per-key quotas and Cloud Monitoring dashboards for partner usage
Incorrect. API Gateway provides authentication and basic quota enforcement for backends, but it has no developer portal, no per-partner tiered rate plans, and no monetization or billing reports.
✓Apigee with API products, a developer portal, and monetization enabled
Correct. Apigee models partner tiers as API products with distinct rate plans, offers a self-service developer portal for onboarding, and includes monetization features that generate usage-based billing data.
・Cloud Endpoints with ESPv2 deployed in front of the FHIR services to enforce quotas
Incorrect. Cloud Endpoints enforces quotas and authentication at the proxy, but it offers no partner-facing portal and no monetization capability for contract-based billing.
・External Application Load Balancer with Cloud Armor rate-limiting rules applied for each partner network
Incorrect. Cloud Armor rate limiting protects the load balancer from abusive traffic, but it cannot model partner tiers, handle onboarding, or produce per-partner usage billing.
Explanation
The deciding requirements are partner self-service onboarding and usage-based billing, which only Apigee addresses through its developer portal and monetization features. API Gateway, Cloud Endpoints, and Cloud Armor can all throttle traffic, but none of them supports a partner portal or billing-grade usage reporting.
Example6 · Ensuring Solution and Operations Reliability
A telehealth provider runs its video consultation API on GKE with a 99.9% monthly availability SLO. Fifteen days into the month, the error budget is 85% consumed after two releases introduced regressions. The product team still wants to ship three more features this month. As the architect advising the reliability review, what should you recommend?
・Raise the SLO target to 99.99% so the team has a stricter goal that forces far more careful feature releases going forward.
Incorrect. Raising the target to 99.99% shrinks the error budget further; it makes the situation worse and does nothing to address the regressions already consuming the budget.
・Reset the error budget immediately so the planned features can ship, then schedule the reliability work for a later quarter.
Incorrect. Resetting the budget mid-period defeats its purpose as an objective control; the SLO would no longer constrain risky releases and users would keep absorbing regressions.
✓Pause feature launches and spend the remaining release capacity on reliability fixes until the error budget recovers.
Correct. Error budget policy calls for slowing or freezing feature releases when the budget is nearly exhausted, redirecting effort to reliability until the budget is healthy again.
・Disable the burn-rate alerting policies for the rest of the month because the team is already well aware of the budget consumption.
Incorrect. Burn-rate alerts are the mechanism that detects further budget depletion; silencing them removes the signal needed to protect the remaining budget.
Explanation
An error budget is a contract between product velocity and reliability. When it is nearly exhausted, the agreed response is to curb feature launches and invest in reliability work, not to change the target, reset the budget, or mute the alerts that track it.
Example7 · Designing and Planning a Cloud Solution Architecture
A machine-tool manufacturer streams 2 TB of vibration telemetry per day into Google Cloud. Analysts query the most recent 30 days intensively; older data is read only a few times per year for warranty claims but must be retained for 5 years. Finance has flagged storage spend as the top cost-reduction target. Which design best balances analyst access and cost?
・Load all telemetry into Cloud Bigtable and set a garbage-collection policy that deletes rows after the retention window passes
Incorrect. Cloud Bigtable charges for provisioned nodes and attached storage continuously, which is far more expensive than object storage for 5 years of rarely read data, and it offers no SQL surface for analysts.
✓Keep the recent 30 days in date-partitioned BigQuery tables and export the older partitions to Cloud Storage with an Archive-class lifecycle rule
Correct. Partitioned BigQuery tables serve the hot 30-day analytical window efficiently, while exporting aged partitions to Cloud Storage and transitioning them to Archive class gives the lowest per-GB price for data read only a few times per year.
・Store the full five years of telemetry in BigQuery and rely on long-term storage pricing for the inactive partitions
Incorrect. BigQuery long-term storage pricing roughly matches Nearline rates, but Archive-class Cloud Storage is substantially cheaper per GB, so keeping five years of cold telemetry in BigQuery misses the cost-reduction target.
・Write telemetry to regional persistent disks on Compute Engine and snapshot the disks monthly for the retention period
Incorrect. Persistent disks and monthly snapshots are block storage priced for attached compute workloads; they cost far more than Archive objects and provide no query capability for warranty lookups.
Explanation
Tiering is the key tradeoff: BigQuery partitions serve the heavily queried 30-day window, and lifecycle rules that move exported partitions to Archive-class Cloud Storage minimize cost for data accessed only a few times per year. Bigtable, all-in-BigQuery, and persistent-disk designs all pay hot-storage prices for cold data.
Example8 · Designing and Planning a Cloud Solution Architecture
A third-party logistics provider runs shipment-booking services on GKE and must open them to 40 external carrier partners. The integration requirements are per-partner usage quotas, self-service API key issuance through a branded developer portal, and usage analytics the commercial team can review per carrier. Which approach satisfies these requirements?
・Expose the services through Cloud Endpoints with ESPv2 and distribute API keys to each carrier manually
Incorrect. Cloud Endpoints enforces API keys and basic quotas, but it has no self-service partner-facing developer portal or per-consumer commercial analytics, so key issuance and reporting stay manual.
・Front the GKE services with a global external Application Load Balancer and add Cloud Armor rate-limiting rules for each partner
Incorrect. Cloud Armor rate limiting throttles by IP or expression match; it cannot issue API keys, model per-partner products, or give the commercial team per-carrier usage analytics.
✓Publish the APIs through Apigee with per-partner API products, quotas, and a developer portal
Correct. Apigee provides API products with per-partner quotas, a self-service developer portal for key issuance, and built-in analytics by API consumer, matching all three stated requirements.
・Have carriers publish and consume shipment events through Pub/Sub topics instead of the synchronous APIs
Incorrect. Moving to Pub/Sub changes the integration contract from request/response booking calls to asynchronous events and still provides no partner portal or per-carrier commercial analytics.
Explanation
The requirement triplet of per-partner quotas, a self-service developer portal, and consumer-level analytics is the signature of a full API management platform, which is Apigee. Endpoints and Cloud Armor cover only fragments of this, and Pub/Sub changes the integration model entirely.
Example9 · Designing and Planning a Cloud Solution Architecture
A parcel carrier is migrating its customer-facing tracking API to Google Cloud. The sponsoring executive asks the architect to define one success measure that reflects what customers actually experience after cutover and can be evaluated objectively each month. Which measure should the architect propose?
・Average CPU utilization across the serving fleet remains below 60 percent at all times
Incorrect. CPU utilization is an internal resource metric; a fleet can sit below 60 percent while customers still see slow or failed tracking lookups, so it does not reflect customer experience.
・The operations team reports that no severity-1 incidents were opened in the first quarter after the production cutover
Incorrect. Counting severity-1 incidents measures internal process outcomes over a single quarter; it is not a monthly, user-experience-based target and says nothing about routine request latency.
・Monthly Compute Engine spend stays below the budget baseline of the pre-migration environment
Incorrect. Staying under a spend baseline is a cost KPI; it is worth tracking but tells the executive nothing about what tracking-page customers experience.
✓99 percent of tracking lookups complete within 300 ms, measured at the load balancer over 30 days
Correct. A latency SLO with an explicit target, percentile, measurement point, and rolling window is user-centric and objectively measurable every month, which is exactly what the executive asked for.
Explanation
Success measures tied to customer experience should be expressed as SLOs on user-visible behavior: a percentile latency target measured at a defined point over a defined window. Resource utilization, incident counts, and spend are internal KPIs that do not capture what end users experience.
Example10 · Designing and Planning a Cloud Solution Architecture
A B2B SaaS analytics vendor runs a nightly four-hour batch pipeline on Compute Engine that recomputes customer dashboards. The jobs checkpoint progress every five minutes and can resume after an interruption without data loss. Finance has asked the architect to cut the pipeline's compute spend as much as possible without rewriting the jobs. What should the architect recommend?
✓Run the jobs on Spot VMs and resume from checkpoints after each preemption.
Correct. Spot VMs offer the deepest Compute Engine discounts, and because the jobs checkpoint and tolerate interruption, preemptions only delay work instead of losing it.
・Purchase a three-year committed use discount sized to the peak vCPU count that the nightly batch jobs consume.
Incorrect. A committed use discount sized to peak capacity commits the company to pay for that capacity continuously, which is wasteful for a workload that runs only four hours per night.
・Move the jobs to sole-tenant nodes so the batch workload runs on dedicated hardware at a flat rate.
Incorrect. Sole-tenant nodes carry a price premium for dedicated hardware and are intended for licensing or isolation requirements, so they increase rather than reduce cost.
・Keep standard VMs but enable autoscaling so instances get deleted as soon as each job finishes.
Incorrect. Deleting standard VMs promptly avoids idle time but still pays full on-demand rates during the four-hour run, leaving the largest available discount unused.
Explanation
Fault-tolerant, checkpointed batch work is the textbook fit for Spot VMs, which are deeply discounted precisely because they can be preempted. Committed use discounts suit steady-state usage, sole-tenant nodes address isolation and licensing, and autoscaling standard VMs still pays on-demand prices.
Example11 · Designing and Planning a Cloud Solution Architecture
An online gaming studio is defining an SLO for its matchmaking service after players complained about long waits. Leadership wants the SLO built on a service level indicator that directly reflects what players experience when they queue for a match. Which SLI should the architect choose?
・Track average CPU utilization of the matchmaking servers and alert whenever it stays above eighty percent for five minutes.
Incorrect. CPU utilization is a cause-oriented resource metric; servers can run hot while players still get fast matches, or run cool while requests fail, so it does not represent experience.
✓Measure the fraction of matchmaking requests that complete successfully within a two-second latency threshold at the load balancer.
Correct. The proportion of requests served successfully within a latency threshold, measured close to the user at the load balancer, is a user-facing SLI that maps directly to the player's queue experience.
・Count the number of support tickets players file each week about slow matchmaking queues.
Incorrect. Support tickets are a lagging, low-volume signal that depends on who bothers to complain, so they cannot drive a measurable, continuously evaluated SLO.
・Monitor uptime of the individual Compute Engine instances that host the workers.
Incorrect. Instance uptime measures infrastructure health, not service behavior; the fleet can be fully up while matchmaking responses are slow or erroring.
Explanation
Good SLIs quantify user-facing behavior, typically the ratio of good events to total events such as requests completing within a latency target. Resource metrics like CPU, infrastructure uptime, and complaint counts are either causes or lagging proxies, not direct measures of player experience.
Example12 · Designing and Planning a Cloud Solution Architecture
A state university's research computing office runs nightly genomics alignment jobs on Compute Engine. Each job writes a checkpoint to Cloud Storage every five minutes and can restart from the latest checkpoint. Deadlines are flexible by several days, and the office must cut the compute budget for these jobs significantly. What should you recommend?
✓Run the jobs on Spot VMs and resume each affected analysis from its latest checkpoint after preemption.
Correct. Spot VMs cost far less than on-demand capacity, and the five-minute checkpoints make the jobs tolerant of preemption with flexible deadlines.
・Purchase three-year committed use discounts sized for the peak VM count.
Incorrect. Committed use discounts lock in spend for capacity that fluctuating batch jobs leave idle, so the bill can rise rather than fall.
・Keep on-demand instances but halve each machine type while doubling the instance count in the managed group accordingly.
Incorrect. Halving machine types while doubling instance count keeps roughly the same on-demand vCPU spend and saves nothing.
・Move the jobs onto sole-tenant nodes so that the analyses share the same dedicated physical servers.
Incorrect. Sole-tenant nodes carry a premium for dedicated hardware and are aimed at licensing or isolation needs, not cost reduction.
Explanation
Fault-tolerant, deadline-flexible batch workloads are the classic fit for Spot VMs, which offer the deepest Compute Engine discounts. Checkpointing every five minutes means a preemption only loses minutes of work, so the savings come without missing the flexible deadlines.
Example13 · Designing and Planning a Cloud Solution Architecture
A regional electricity utility must migrate 600 TB of historical smart-meter archives from its data center to Cloud Storage within three weeks. The site's only internet connection is a 1 Gbps link that operational systems depend on during business hours, and saturating it is not acceptable. Which data movement approach should you choose?
・Create Storage Transfer Service jobs that pull the archives across the existing internet link only during night hours.
Incorrect. Even at full line rate around the clock, 600 TB needs roughly two months on a 1 Gbps link, so night-only windows cannot meet three weeks.
✓Order Transfer Appliances, load the archives on site, and ship the devices to Google for ingestion.
Correct. Transfer Appliance moves hundreds of terabytes offline, so the migration finishes on schedule without touching the shared 1 Gbps link.
・Establish HA VPN tunnels and upload the archives with parallel composite uploads from gcloud storage.
Incorrect. HA VPN still rides the same 1 Gbps internet connection, so parallel uploads change nothing about the bandwidth ceiling.
・Use the BigQuery Data Transfer Service to move the meter archives directly into partitioned tables.
Incorrect. The BigQuery Data Transfer Service ingests from SaaS sources, other clouds, and Cloud Storage, not directly from an on-premises data center.
Explanation
At 1 Gbps, moving 600 TB takes on the order of 60 days even with perfect utilization, and the link cannot be saturated anyway. An offline seed with Transfer Appliance is the only option that meets the three-week deadline without disrupting operational traffic.
Example14 · Designing and Planning a Cloud Solution Architecture
An insurance carrier runs nightly actuarial risk simulations that are fault tolerant and write checkpoints every ten minutes. The jobs must complete within a six-hour overnight window, and the CFO has asked the architect to cut the compute spend for this workload as far as possible without missing the window. What should the architect recommend?
✓Run the simulations on Spot VMs in a managed instance group and resume interrupted work from the checkpoints.
Correct. Spot VMs offer the deepest compute discount, and because the workload is fault tolerant and checkpointed, preemptions only cost a few minutes of recomputation inside the six-hour window.
・Purchase a three-year committed use discount and keep dedicated on-demand VMs running continuously for the nightly jobs.
Incorrect. A committed use discount paired with VMs that run continuously pays for 24 hours of capacity to serve a workload that runs only a few hours per night, which raises rather than minimizes spend.
・Reserve sole-tenant nodes for the simulation fleet so that the batch jobs always run on dedicated physical hardware each night.
Incorrect. Sole-tenant nodes carry a price premium for dedicated hardware and are intended for licensing or isolation requirements, not for cost reduction of an interruptible batch workload.
・Use standard on-demand VMs and rely on sustained use discounts to automatically lower the cost of the nightly runs.
Incorrect. Sustained use discounts are far smaller than Spot pricing and accrue meaningfully only when instances run for a large fraction of the month, which a short nightly batch does not.
Explanation
A checkpointed, fault-tolerant batch job with schedule slack is the ideal profile for Spot VMs, which provide the largest compute discount. Commitments and sustained use discounts reward long-running usage, and sole-tenant nodes add cost rather than removing it.
Example15 · Designing and Planning a Cloud Solution Architecture
A travel booking marketplace stores its payment ledger in a single-region database today. After a region-wide incident, leadership mandates that the ledger must survive a full regional outage with a near-zero RPO, an RTO of minutes, and strongly consistent reads for reconciliation jobs. Which design meets these requirements?
✓Store the entire payment ledger in a multi-region Cloud Spanner instance configuration that is accessed by application services running in two separate regions.
Correct. A multi-region Cloud Spanner configuration synchronously replicates across regions, delivering strongly consistent reads, near-zero RPO, and automatic failover measured in seconds to minutes.
・Use Cloud SQL for PostgreSQL with regional high availability and an asynchronous cross-region read replica for failover.
Incorrect. The cross-region Cloud SQL replica is asynchronous, so promoting it after a regional outage can lose recently committed transactions, which violates the near-zero RPO for a financial ledger.
・Use Bigtable with multi-cluster replication between two regions and route writes to the nearest cluster for the ledger records.
Incorrect. Bigtable replication between clusters is eventually consistent, so reconciliation reads after a failover may not reflect all committed writes, failing the strong consistency requirement.
・Keep the ledger in Memorystore for Redis with a read replica and export snapshots to Cloud Storage every hour.
Incorrect. Memorystore for Redis is an in-memory cache tier; hourly snapshots imply up to an hour of data loss, which is incompatible with a near-zero RPO for payment records.
Explanation
Only Cloud Spanner in a multi-region configuration combines synchronous cross-region replication, strong consistency, and transparent regional failover. Asynchronous replicas lose committed data on promotion, and Bigtable and Memorystore cannot provide strongly consistent, durable ledger semantics across regions.
▶ Try 10 free questions (graded)
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)