Community Q&A
PCA — frequently asked questions
Community-vetted answers to 80 common questions about this exam, each traced back to a specific practice question.
Questions from real practice questions
Each Q&A comes from a specific question — follow the link for the full analysisWhich Google Cloud Service Unifies Batch and Stream Processing
Why not BigQuery when the question says the company wants to analyze their data stream?
BigQuery is the analytics destination, but the scenario describes processing requirements — hourly jobs plus live-processing data as it arrives. Dataflow performs that unified batch and stream processing, after which results can be loaded into BigQuery for analysis.
Can't Dataproc handle both batch and stream with Spark?
Spark on Dataproc can run both, but Dataproc requires you to provision and manage clusters. With no existing code, Dataflow's serverless Beam model is the simpler, officially preferred answer.
Choosing Storage for High-Volume Clickstream Data
Why not Google Cloud Storage if the click data is only stored for later analysis?
Object storage has no rows or query engine and is built for batch-oriented file access, not a continuous per-click ingest stream. Bigtable handles the event-rate write volume and still supports the later analytical reads.
Could Google Cloud SQL absorb 8,500 clicks per second of write traffic?
No — Cloud SQL is a relational OLTP service whose write throughput, connection count, and storage growth scale vertically and saturate far below a sustained event stream of this size.
Why Performance Bugs Appear Only in Production
Why isn't canary deployment (D) the right answer for performance bugs?
A canary sends only a small share of traffic, so load-dependent performance bugs may never appear until full rollout. It limits blast radius but does not reproduce production load during testing.
Does increasing staging load address deployment procedures too?
The question permits adjusting either test or deployment procedures; fixing unrealistic test load removes the root cause before any deployment occurs.
Streamlining Cloud IAM Audit Analysis with BigQuery
Why not use Cloud Storage for audit logs?
While GCS is cheaper, it stores logs as flat files. Analyzing them requires custom scripts or manual inspection, which is slower and less scalable than using BigQuery's SQL interface for instant filtering.
Does exporting to BigQuery incur extra costs?
Yes, there are storage and query costs associated with BigQuery. However, for organizations requiring frequent or detailed audits, the operational efficiency and reduced labor time often justify the expense.
Deploying a Kubernetes App on a New GKE Cluster
Why can't Deployment Manager apply the Kubernetes Deployment file (option A)?
Deployment Manager provisions Google Cloud infrastructure from templates (VMs, networks, disks); it does not create Kubernetes workload objects. A Deployment manifest must be submitted through kubectl against a running cluster's API server.
Why is 'Use kubectl to create a Kubernetes cluster' wrong in options C and D?
kubectl is a client for an existing Kubernetes API endpoint, so it cannot provision a GKE cluster. Creating a cluster on Google Cloud is done with gcloud container clusters create, the Console, or Terraform.
Resilience Testing for Regional MIG with Cloud SQL
Why can't I use a Cloud SQL read replica to test failover for the authentication layer?
Google Cloud documentation states that read replicas do not provide failover capability; they are for read scaling. For HA failover, you need a regional HA configuration with a standby instance in another zone.
Is shutting down VMs in a zone considered proper resilience testing?
Yes. Simulating a zone failure directly tests whether the regional MIG can withstand the loss of compute resources in one zone, which is a core principle of resilience design.
Auditing BigQuery User Query Counts
Why is INFORMATION_SCHEMA.JOBS_BY_USER not the best choice for auditing?
While useful for monitoring, INFORMATION_SCHEMA tables are not retained as long as audit logs and are not considered an immutable audit trail for compliance.
Can I use bq ls to count monthly queries per user?
No, bq ls lists jobs interactively and is not practical for aggregating historical data across multiple users and months programmatically.
Which Platform and Database Handle 500,000 Requests per Second?
Why is BigQuery the wrong database for 500,000 requests per second with real-time lookups?
BigQuery is an analytics warehouse built for batch loads and SQL scans; it cannot sustain continuous high-rate ingestion with millisecond point lookups, which Cloud Bigtable delivers.
Why prefer Cloud Run over a Compute Engine managed instance group for this web service?
Traffic has idle periods and cost must stay low, so Cloud Run's ability to scale to zero matters; a managed instance group must keep at least one VM running and billing.
Cost-effective, highly reliable web app with Cloud Load Balancing
Why isn't Cloud Storage a better choice than Cloud CDN for the static content here?
Cloud CDN caches content at Google's edge locations and integrates directly with the HTTP(S) Load Balancer the question requires, delivering lower latency and higher reliability than serving straight from a bucket.
Why is Cloud Run preferred over Cloud Functions for hosting the public APIs?
Cloud Run is purpose-built for containerized HTTP services with longer request timeouts and streaming, whereas Cloud Functions targets short-lived event-driven workloads and isn't ideal for public API backends.
Fastest Method to Transfer 10 TB Database Export to Cloud Storage
Why isn't Transfer Appliance (B) faster for a 10-TB database export at 1 Gbps?
At 1 Gbps, 10 TB transfers online in about 30 hours. Transfer Appliance requires shipping, loading, returning, and rehydrating data—totaling 1–3 weeks—so it is substantially slower for this volume and bandwidth.
Google recommends Transfer Appliance for transfers over 1 TB—why doesn't that apply here?
That recommendation is conditional: appliance is preferred only when the online transfer time substantially exceeds the ~20-day appliance turnaround. Here 30 hours is far less than 20 days, so gsutil -m is the faster, cheaper option.
Copying Linux VM to Different Project and Region
Can I use a snapshot directly from Project A in Project B?
No, snapshots are project-scoped. You must either share the snapshot via IAM permissions or convert it to an Image and import it into Project B.
Why is Option B incorrect for cross-project migration?
Option B implies using the snapshot directly. In GCP, you cannot attach a snapshot from Project A as a boot disk for an instance in Project B without first creating an Image from that snapshot.
Fast MySQL Database Backups Without Harming Disk Performance
Why is gcsfuse-mounted Cloud Storage (option C) wrong for fast MySQL backups?
Writing through gcsfuse is network-bound and far slower than Local SSD I/O, so the backup runs longer and the production database stays under read load for more time. Local SSD staging plus gsutil gives the fastest completion, which the question explicitly demands.
Why not use persistent disk snapshots to back up just one database?
Cloud Persistent Disk snapshots capture an entire disk image, not a single logical database, and the snapshot process reads from the same persistent disk serving production traffic. That violates the requirement that backup activity must not impact disk performance.
Load Testing Requirements for GCE and Bigtable Services
Why should load tests validate Cloud Bigtable performance if it is a managed Google service?
Bigtable's performance depends on your schema design, row key layout, cluster sizing, and access patterns. Google's own documentation recommends running your typical workloads against Bigtable for capacity planning, so you must validate it under load.
Why is running load tests against production or recording all transactions incorrect?
Running load tests against production risks degrading real users, and recording every production transaction for replay is impractical and raises privacy concerns. Load testing should use a dedicated isolated environment with synthetic or anonymized data.
Migrating 10TB Database to Cloud Storage via Network
Why is the Data Transfer Appliance not used for 10TB?
Appliances are recommended only if online transfer exceeds one week. On a 1 Gbps link, 10TB takes ~30 hours, making the appliance slower and more expensive.
Does the 5TB object limit affect this migration?
No. The 5TB limit applies to single objects. You can split the database dump into multiple smaller files and upload them all concurrently using gsutil/gcloud.
Cost Management Strategies in Migration Plan
Why isn't Cloud Monitoring alerting enough for cost management?
Monitoring alerts track performance and uptime. While budget alerts exist, they lack the granular visibility needed to understand which resources drive costs without proper labeling.
Can I export billing data to Cloud SQL instead of BigQuery?
While technically possible with custom pipelines, GCP's native and recommended workflow for detailed billing analysis is exporting to BigQuery, making option C incorrect in this context.
Which Storage Class After 30 Days for Financial Data
Why is Archive (option C) wrong if it is cheaper per GB than Coldline?
Archive restores take minutes to hours and its retrieval fee is far higher than Coldline's, so quarterly reports would miss the acceptable few-second retrieval window. The storage saving is offset by retrieval cost at terabyte scale.
Does transitioning to Coldline at 30 days break its 90-day minimum storage duration?
No. The minimum duration only penalizes objects deleted or reclassified before 90 days, and this data is retained for five years, so the charge never applies.
Optimizing CPU Requests for Stateful GKE Pods
Why is VPA in Auto mode a bad choice for these stateful Pods?
VPA Auto mode applies new recommendations by evicting and restarting Pods, which can disrupt stateful Dealer Tools workloads and cause downtime. It also reacts to sustained usage trends rather than sudden load spikes.
Why does setting requests equal to limits not solve the over-provisioning?
Requests equal to limits creates a Guaranteed Pod that reserves its full allocation permanently, keeping the over-allocation problem intact and reducing how many Pods fit on each node.
Disaster Recovery Strategy for EHR with RTO/RPO Constraints
Why is Cloud SQL cross-region replica better than snapshots for RPO?
Replicas provide near-continuous data synchronization, keeping data loss within minutes (15 min RPO). Snapshots are point-in-time and can lose up to a day's worth of data if taken daily.
Does the global load balancer support TCP/UDP for non-HTTP apps?
Yes, Google Cloud supports Global External TCP/UDP Load Balancing. The question specifies HTTP(S), but the principle of global health-check-based failover applies similarly to other protocols.
Regional MIG Design to Survive Zonal Outage at Lowest Cost
Why is the multi-region active-active option A wrong for a zonal-outage requirement?
Option A protects against a full regional outage, which exceeds the stated requirement, and its global load balancer plus multi-regional Spanner costs far more than needed. The minimize-cost constraint rules it out.
Can a regional MIG use Spot VMs to cut cost on this payment system?
No. Spot VMs can be preempted with little notice, so they cannot guarantee availability for a critical payment workload, even though the regional MIG would rebalance capacity.
Dataflow and BigQuery for real-time and batch fraud analytics
Why is using a Dataproc cluster for both streaming and batch workloads the wrong choice?
Dataproc is managed Hadoop/Spark, but you still size, autoscale, patch, and monitor the clusters, which adds the operational overhead the question asks to minimize. Dataflow provides the same unified stream-and-batch execution (via Apache Beam) with no infrastructure to manage.
Can't Dataprep or Firestore handle the transaction ingestion and analytics instead?
No. Dataprep is a data preparation tool, not a processing engine, so it cannot run real-time fraud detection or batch analytics. Firestore is a NoSQL document store for low-latency app serving; it cannot support large-scale analytical scans and SQL aggregation on transaction data.
Does BigQuery replace Dataflow, or do they work together in this architecture?
They are complementary. Dataflow processes and transforms the streaming (and batch) data, while BigQuery stores and queries the data for the complex daily reporting; BigQuery also offers streaming ingestion, but the processing/orchestration role belongs to Dataflow here.
How to Speed Up Ecommerce Page Loads on Google Cloud
Why is enabling Cloud Run concurrency not a valid latency fix?
Concurrency increases how many requests one instance handles at once, improving throughput under load, but it does not move images, videos, or data closer to the customer, so page load speed is unchanged.
Why not switch from Bigtable to Spanner to reduce latency?
Changing databases does not reduce the number of network hops a customer request makes; caching at the edge and in memory is what actually cuts the time to first byte for media-heavy pages.
Cloud Run Multi-Region App with Spanner as Relational Store
Why is Cloud SQL rejected when it is a relational Google Cloud database?
Cloud SQL high availability is regional only; true multi-region resilience needs cross-region read replicas plus manual failover, which breaks both the HA and low-operational-overhead requirements.
Why don't Firestore and Bigtable qualify as the relational data store?
Firestore is a document database and Bigtable is a wide-column NoSQL store; neither provides full relational semantics such as joins, foreign keys, and standard SQL transactions.
Why prefer Cloud Run over GKE for this application?
Cloud Run is serverless containers — no cluster, node pool, or control-plane management — so it minimizes operational overhead while a global HTTPS load balancer still provides multi-region entry.
Vertex AI and MLOps for Notebook-Driven ML Deployment
Why isn't Colab Enterprise plus DevOps the right choice?
Colab Enterprise is a valid managed Jupyter option, but pairing it with generic 'DevOps' omits a Google-recommended MLOps deployment mechanism, so the option fails the deployment half of the requirement.
Why can't AutoML satisfy the maximum flexibility requirement?
AutoML automates model building and limits custom training loops and fine-tuning, which contradicts the stated need for maximum flexibility for ML engineers doing custom data preparation and training.
Secure CI/CD from GitHub to Cloud Run via Cloud Build
Why is checking a service account key into the repository wrong in option B?
Google explicitly prohibits committing service account keys to version control because anyone with repo access could reuse the credential. Cloud Build's GitHub App authenticates via IAM instead, eliminating long-lived keys.
Why can't Config Sync be used to deploy the application to Cloud Run?
Config Sync is a GitOps tool that reconciles Kubernetes cluster configuration from a Git source; Cloud Run is a serverless container platform, not a Config Sync-managed cluster. Cloud Build should deploy to Cloud Run directly.
How to Access ISO/IEC 27001 Reports for Google Cloud Compliance
Why is downloading an ISO/IEC 27001 report via internet search wrong?
Search results may be outdated, out of scope, or unofficial, so they cannot serve as reliable audit evidence. The Compliance Reports Manager delivers verified reports tied to your Google Cloud account.
Why doesn't Cloud Audit Logs provide ISO/IEC 27001 reports?
Cloud Audit Logs captures activity inside your own projects, such as Admin Activity and Data Access entries. It does not distribute external certification reports or attestations.
Which Storage Option Gives Highest Throughput for Hundreds of VMs?
Why is a Filestore Zonal instance in each zone wrong if it has low latency?
Zonal instances are independent and do not replicate data, so the VMs would see several separate file shares instead of one shared file system, forcing manual partitioning or syncing of the raw files.
Why not use a multi-region Cloud Storage bucket for the pipeline?
Cloud Storage is object storage with no mounted POSIX file share and no low-latency concurrent read/write semantics for hundreds of VMs, so it cannot serve as the shared file system the pipeline requires.
Best Google Database for User Profiles Migration
Why not Cloud Spanner for user profiles?
Spanner is for relational data needing strong consistency and complex joins. Datastore is more cost-effective and flexible for simple key-value profile storage.
Is Datastore still available in 2024?
Yes, but it is often referred to as Firestore in Datastore mode. For exam purposes, 'Datastore' remains the standard term for this NoSQL capability.
Optimizing Data Transfer for ETL with Cellular Connections
Why not use Multi-Regional buckets for higher availability?
While Multi-Regional offers higher availability, it has lower write throughput limits and higher write latency due to cross-region replication. For ETL ingestion, speed and reliability of the initial upload are prioritized, making Regional buckets the better fit.
Is FTP ever recommended for cloud data ingestion?
No. Directly uploading to Cloud Storage via HTTPS APIs is more secure, scalable, and reliable than hosting custom FTP servers on VMs, which adds management overhead and potential single points of failure.
Cost-Effective Dataproc Job Over Regional GCS Telemetry
Why can't I just move all the data into one region and run one Dataproc cluster (option B)?
Because moving the full uncompressed raw dataset intercontinentally costs about $0.12 per GB, which dominates the total bill. Compressing locally first shrinks the transfer volume dramatically before any cross-region copy.
Why is a multi-region bucket (option C) more expensive than a regional bucket here?
Multi-region storage costs roughly 30% more per GB-month than regional storage (about USD 260 vs USD 200 for 10 TB/month), and Dataproc cannot run inside a multi-region anyway—the cluster must live in a specific region.
Is Cloud Dataproc a zonal or regional service?
Cloud Dataproc clusters are regional resources; you choose a region (and optional zone placement for nodes) when you create the cluster, so a regional GCS bucket is the natural co-located storage target.
Cloud SQL Disaster Recovery Strategy for Regional Outages
What is the difference between Cloud SQL HA and Cross-Region Replicas?
HA provides a synchronous standby in the same region to survive zone failures. Cross-region replicas provide an asynchronous copy in another region to survive regional outages.
Can I use automated backups for disaster recovery?
Automated backups have too high an RTO and RPO for strict requirements like <10 min RTO and <2 min RPO. They are better suited for long-term retention or less critical workloads.
Optimizing Cost and Persistence for Interruptible Batch AI Workloads on Google Cloud
Why not use Local SSDs for better performance in batch processing?
Local SSDs offer lower latency but are ephemeral. When a Spot VM is preempted, all data on local SSDs is lost. For batch jobs requiring data persistence, Persistent Disks are necessary, often paired with checkpoints.
Can I use Preemptible VMs instead of Spot VMs?
Preemptible VMs have been deprecated and replaced by Spot VMs. Spot VMs offer similar interruption-tolerant, low-cost benefits but with more predictable availability and better integration with modern Google Cloud features.
Which Database Fits the Meeting-Room Sensor Data?
Why isn't NoSQL the answer when 1,000 sensors report every second?
1,000 writes per second is only about 86 million rows per day, which managed relational databases handle easily. The one-second cadence is not true low-latency pressure, and the payload is described as discrete, structured fields rather than unknown-shape data.
Why does joining with account owners and office locations matter so much?
That join is the actual analyst workload: sensor readings are facts that must be related to owner and office dimensions. A relational engine executes that join in the query engine with indexes, while NoSQL would require denormalizing those fields into every reading.
Why are flat file and Blobstore ruled out immediately?
Both store bytes but provide no indexing, querying or join capability, so analysts could not run the required reporting against them. They are storage tiers, not analytical databases.
Fixing BigQuery connection errors from a Compute Engine VM
Why doesn't installing the BigQuery Python client library fix this error?
Because the script already runs and reaches the connection step — a missing library would fail at import time with ModuleNotFoundError. The failure is authorization, not missing dependencies.
Are Compute Engine access scopes still a valid way to grant BigQuery access?
Access scopes are a legacy mechanism set at instance creation and only define default OAuth scopes for the VM's requests. Google recommends granting IAM roles to the instance's service account instead.
How do I run a Python script on a VM as a specific service account?
Attach the service account to the instance and use Application Default Credentials, or export GOOGLE_APPLICATION_CREDENTIALS pointing to a downloaded service account key file before running the script.
Moving 75 TB into Cloud Storage with Google-recommended practices
When should I choose Transfer Appliance over gsutil for Cloud Storage?
Use Transfer Appliance when the data set is at least 10 TB (20 TB in newer docs) and uploading over your link would take more than a week. Smaller sets, typically a few TB, are fine with gsutil resumable uploads.
What does the Transfer Appliance Rehydrator actually do?
It is the Google-side tool that takes the encrypted contents received on the appliance and decrypts them directly into your destination Cloud Storage bucket, completing the offline transfer workflow.
Why is Cloud Dataprep not valid for this migration?
Cloud Dataprep profiles and prepares tabular data; it neither ingests bulk data sets nor decrypts a Transfer Appliance, so it cannot move 75 TB into Cloud Storage.
Surviving a Zone Outage With SQL Server on GCP
Does Cloud SQL SQL Server high availability protect against a zone outage?
Yes, Cloud SQL HA keeps a standby in another zone of the same region and fails over automatically when the primary zone fails. However, the active-passive switchover pauses writes for the duration of the failover, so it reduces downtime rather than eliminating it.
Why can't Cloud Spanner be used for this SQL Server requirement?
Cloud Spanner is Google's own horizontally scalable SQL database and is not Microsoft SQL Server. It fails the explicit "set up Microsoft SQL Server" requirement even though a regional Spanner instance is highly available.
Why do the cluster nodes need different zones instead of just different subnets?
In GCP, subnets are regional resources that can span every zone, so nodes in separate subnets may still share one zone and fail together. Placing replicas in different zones is what guarantees survival of a single data-center failure.
Multi-Regional vs Regional Cloud Storage for Global Software Downloads
Does a Multi-Regional Cloud Storage bucket automatically serve users from the nearest region?
A multi-region bucket replicates objects across regions within the chosen multi-region, which improves availability and serving posture compared with a single region. For edge caching of public downloads, add Cloud CDN; the bucket location itself is the exam focus.
Why not create one bucket per zone or per region for lower latency?
Cloud Storage buckets are not zonal resources. You choose a region, dual-region, or multi-region, so options B and C are based on an invalid placement model and create unnecessary copies.
Is D ever better than A for a global audience?
Multiple multi-region buckets can be part of a custom global distribution design, but you must replicate content and route users to the right bucket. This question asks for Google-recommended storage without that routing layer, so A is the defensible answer.
← Back to PCA Google Cloud Certified Professional Cloud Architect Study Guide