Google certification · Exam PROFESSIONAL-CLOUD-ARCHITECT

PROFESSIONAL-CLOUD-ARCHITECT Mock Exam

PROFESSIONAL CLOUD ARCHITECT

Find out if you're ready for PROFESSIONAL-CLOUD-ARCHITECT. Take the free timed mock exam and get your score in minutes, or study the free PROFESSIONAL-CLOUD-ARCHITECT questions below with answers and explanations.

20 questions · 33 minutes · free, no sign-up

Free PROFESSIONAL-CLOUD-ARCHITECT questions

1–10 of 70 free
Question 1 Choose 1
For this question, refer to the Mountkirk Games case study.
Mountkirk Games' gaming servers are not automatically scaling properly. Last month, they rolled out a new feature, which suddenly became very popular. A record number of users are trying to use the service, but many of them are getting 503 errors and very slow response times. What should they investigate first?
Show answerHide answer

Correct answer: B Verify that the project quota hasn't been exceeded.

Explanation

Explanation:
Mountkirk Games is experiencing 503 errors and slow response times after releasing a popular new feature. These symptoms strongly suggest that the backend infrastructure is unable to scale to meet demand. In Google Cloud, one of the most common causes of failed autoscaling is exceeding project-level quotas — which restrict the number of resources (e.g., CPUs, memory, instances) that can be provisioned.

✅ Why B is Correct
503 errors typically indicate that the service is unavailable due to resource exhaustion or backend overload.
Autoscaling failures often result from hitting quotas on compute resources, such as instance count, CPU cores, or regional limits.
Google Cloud enforces quotas to prevent accidental overuse and ensure fair resource distribution. If quotas are exceeded, new instances cannot be provisioned — even if autoscaling is configured correctly.
Verifying quotas is a fast, low-effort first step that can immediately confirm whether scaling is blocked due to resource limits.
Reference:
📘 Google Cloud Quotas Overview
📘 Troubleshooting GKE Autoscaling

❌ Why Other Options Are Incorrect
A. Verify that the database is online
While a downed database could cause errors, it would likely result in 500-series errors related to database connectivity, not widespread 503s tied to scaling. Also, the issue is described as autoscaling failure, not database outage.
Reference:
📘 Cloud SQL Troubleshooting Guide

C. Verify that the new feature code did not introduce any performance bugs
Performance bugs could contribute to latency, but they wouldn’t directly prevent autoscaling or cause 503 errors unless they exhaust resources. This is a valid follow-up investigation, but not the first thing to check when autoscaling fails.
Reference:
📘 Cloud Monitoring and Profiling

D. Verify that the load-testing team is not running their tool against production
This is a speculative scenario. Unless there’s evidence of internal load testing, it’s not the most immediate or likely cause. The issue stems from real user traffic due to a popular feature — not artificial load.
Reference:
📘 Cloud Logging and Audit Logs

Summary:
When autoscaling fails and users receive 503 errors:
First check project quotas — they often silently block resource provisioning.
If quotas are exceeded, autoscaling cannot launch new instances, leading to service unavailability.
Once quotas are ruled out, investigate performance bugs, database health, and internal traffic sources.
Question 2 Choose 1
For this question, refer to the Mountkirk Games case study.
Mountkirk Games wants to set up a real-time analytics platform for their new game. The new platform must meet their technical requirements. Which combination of Google technologies will meet all of their requirements?
Show answerHide answer

Correct answer: B Cloud Dataflow, Cloud Storage, Cloud Pub/Sub, and BigQuery

Explanation

Explanation:
While the exact technical requirements from the case study aren't listed in your question, the Mountkirk Games case study consistently emphasizes the need for a highly scalable, real-time analytics platform to handle massive, fluctuating volumes of in-game event data for live operations and player analytics.
Let's break down why this combination forms the canonical "real-time analytics" pipeline on Google Cloud and why the other options are inferior.

Analysis of the Correct Stack (Option B):
Cloud Pub/Sub:
This is the ingestion service. It acts as a durable, scalable, and asynchronous message bus. Game clients and servers can publish millions of events per second to a Pub/Sub topic from anywhere in the world without worrying about backpressure or losing data. This is the foundational entry point for any real-time stream processing system.
Cloud Dataflow:
This is the processing service. It is a fully managed stream (and batch) data processing engine. Dataflow can subscribe to the Pub/Sub topic, read the event stream, and perform essential operations in real-time:
Transformation:
Parsing raw event data (e.g., JSON).
Enrichment:
Adding context to events (e.g., looking up player level from a database).
Aggregation:
Calculating metrics like daily active users, in-game purchases per minute, or average session length in real-time.
Windowing:
Grouping events into time-based windows (e.g., 1-minute aggregates).
BigQuery:
This is the analysis and storage service. Dataflow streams the processed results directly into BigQuery. BigQuery is a serverless, highly scalable data warehouse that allows analysts and data scientists to run SQL queries over terabytes of data in seconds. It supports both real-time (streaming) data and historical data, providing a unified view.
Cloud Storage:
This serves as the data lake and reliability backbone. Dataflow can be configured to write raw, unprocessed events from Pub/Sub to Cloud Storage for long-term, cheap storage. This creates a "replayable" history of all events, which is crucial for:
Reprocessing data if logic changes.
Batch training of machine learning models.
Compliance and auditing.

Why the Other Options Are Incorrect:
A. Container Engine, Cloud Pub/Sub, and Cloud SQL:
This lacks a dedicated stream processing engine (Dataflow) and a scalable analytics warehouse (BigQuery). Cloud SQL is a relational database for transactional workloads, not for analyzing petabytes of streaming event data. It would quickly become a bottleneck.

C. Cloud SQL, Cloud Storage, Cloud Pub/Sub, and Cloud Dataflow:
This is very close but substitutes the critical BigQuery with Cloud SQL. As explained above, Cloud SQL is the wrong tool for large-scale analytics, making this architecture non-viable for Mountkirk's scale.

D. Cloud Dataproc, Cloud Pub/Sub, Cloud SQL, and Cloud Dataflow:
This is an overcomplicated and mismatched stack. Cloud Dataproc (managed Hadoop/Spark) is typically used for batch processing, not as a primary real-time engine. Using both Dataflow and Dataproc for the same pipeline is redundant and inefficient. It also retains the problematic Cloud SQL.

E. Cloud Pub/Sub, Compute Engine, Cloud Storage, and Cloud Dataproc:
This relies on managing your own stream processing cluster on Compute Engine or using Dataproc for streaming, which is possible but not "fully managed." This introduces significant operational overhead (cluster management, scaling, patching), which contradicts the benefits of a serverless pipeline like the one in Option B.

Reference
Google Cloud - Reference Architecture:
The architecture described in Option B is the standard Google Cloud reference architecture for real-time analytics and event processing. It is specifically designed for use cases like game analytics, IoT, and clickstream analysis, which perfectly matches Mountkirk Games' profile.
Question 3 Choose 1
For this question, refer to the TerramEarth case study.
TerramEarth's CTO wants to use the raw data from connected vehicles to help identify approximatelyh when a vehicle in the development team to focus teir failure. You want to allow analysts to centrally query the vehicle data. Which architecture should you recommend?
Show answerHide answer

Correct answer: A Option A

Explanation

Explanation:
The requirement is to process terabytes of daily IoT vehicle data for predictive analytics and enable centralized SQL querying by analysts. Option A presents the correct, scalable Google Cloud reference architecture for this use case, while the other options contain critical flaws in component selection.

Why Option A is Correct:
The architecture follows the standard pattern for IoT data processing:
GKE with Load Balancing:
A containerized ingestion service on Google Kubernetes Engine (GKE) is ideal for the custom, long-running process of pulling data from FTP servers. The load balancer ensures scalability and high availability.
Pub/Sub for Messaging:
This provides a durable, asynchronous buffer, decoupling the ingestion service from the processing pipeline and handling massive data ingestion rates.
Dataflow for Processing:
This serverless tool is purpose-built for transforming and enriching streaming data (like the vehicle data) in real-time.
BigQuery for Analytics:
This is the correct choice for the data warehouse. It allows analysts to run fast, SQL-based queries on petabyte-scale datasets, directly fulfilling the requirement for "centralized querying."

Why Other Options Are Incorrect:
Option B:
Incorrectly uses App Engine Flexible Environment for data ingestion. App Engine is a Platform-as-a-Service (PaaS) optimized for web applications and has request timeouts and scaling models less suited for robust, long-running backend data-pull processes compared to GKE.

Options C & D:
The critical flaw is using Cloud SQL for the analytical data store. Cloud SQL is a managed relational database for transactional workloads (OLTP). It is not designed for the analytical workload (OLAP) described. With terabytes of data daily, Cloud SQL would be prohibitively expensive, slow, and would hit severe scaling limits. BigQuery is the serverless, petabyte-scale data warehouse designed specifically for this task.

References
Google Cloud Architecture Center - IoT Data Processing:
This reference architecture demonstrates the standard pattern of using Pub/Sub, Dataflow, and BigQuery for IoT analytics.
BigQuery Documentation:
Clearly states it is a "serverless, highly scalable, and cost-effective cloud data warehouse designed for business agility."
Question 4 Choose 1
For this question refer to the TerramEarth case study Operational parameters such as oil pressure are adjustable on each of TerramEarth's vehicles to increase their efficiency, depending on their environmental conditions. Your primary goal is to increase the operating efficiency of all 20 million cellular and unconnected vehicles in the field How can you accomplish this goal?
Show answerHide answer

Correct answer: B Capture all operating data, train machine learning models that identify ideal operations, and run locally to make operational adjustments automatically.

Explanation

Explanation:
TerramEarth operates 20 million vehicles, many of which are unconnected or have intermittent connectivity. The goal is to increase operating efficiency by adjusting parameters like oil pressure based on environmental conditions. The most effective strategy is to use locally deployed machine learning models that can make real-time decisions without relying on constant cloud connectivity.

✅ Why B Is Correct
Local execution: Running ML models locally ensures that vehicles can make operational adjustments even when offline.
Scalable intelligence:
Once trained in the cloud, models can be deployed to millions of devices to optimize performance autonomously.
Edge compatibility:
This approach aligns with edge computing principles, where inference ha
ppens on-device, reducing latency and dependency on network availability. Efficiency gains:
Models can continuously adapt to environmental inputs (e.g., altitude, temperature) and optimize parameters like oil pressure for fuel and performance efficiency.
Reference
Google Cloud Edge ML Deployment
ML at the Edge – Google Cloud

❌ Why Other Options Are Incorrect
A. Engineers inspect data and create rule-based algorithms
Rule-based systems lack adaptability and scalability. With 20 million vehicles and diverse environments, manual rules are inefficient and brittle.

C. Dataflow streaming job with GCM
Dataflow is for cloud-based stream processing. GCM (deprecated in favor of Firebase Cloud Messaging) requires connectivity. This setup fails for unconnected vehicles and doesn’t support local decision-making.
Reference
Cloud Dataflow Overview
Firebase Cloud Messaging

D. Host ML models in Google Cloud ML Platform
Hosting models in the cloud requires vehicles to be online to query predictions. This excludes unconnected vehicles and introduces latency and reliability issues.
Reference
📘 Vertex AI (formerly Cloud ML Platform)

Summary
To optimize efficiency across connected and unconnected vehicles, TerramEarth should:
Train ML models centrally using captured operational data.
Deploy models locally to vehicles for offline, real-time adjustments.
Question 5 Choose 1
For this question, refer to the TerramEarth case study You analyzed TerramEarth's business requirement to reduce downtime, and found that they can achieve a majority of time saving by reducing customers' wait time for parts You decided to focus on reduction of the 3
weeks aggregate reporting time Which modifications to the company's processes should you recommend?
Show answerHide answer

Correct answer: B Migrate from FTP to streaming transport, migrate from CSV to binary format, and develop machine learning analysis of metrics.

Explanation

Explanation:
The core problem is reducing the 3-week aggregate reporting time. This delay is caused by the batch-oriented nature of the current process: data is collected in CSV files and transferred weekly via FTP from dealers. To reduce downtime by cutting wait times for parts, the company needs to identify failing parts much faster. The solution must focus on accelerating the data pipeline from data generation to actionable insight.

Let's evaluate the options:
Why B is Correct:
This set of recommendations directly attacks the 3-week delay. Migrate from FTP to streaming transport: This is the most critical change. Replacing weekly batch FTP transfers with a real-time streaming pipeline (e.g., using Pub/Sub) ensures data is sent to the cloud as soon as it's generated. This eliminates the multi-week latency built into the current process.
Migrate from CSV to binary format:
CSV is a verbose, text-based format. Binary formats (like Protocol Buffers or Avro) are more compact, leading to faster serialization/deserialization and reduced network transfer times. This optimization works in tandem with streaming to make the data pipeline as efficient as possible.
Develop machine learning analysis of metrics:
With data now flowing in near real-time, machine learning models can be applied immediately to identify patterns predictive of part failure. This allows TerramEarth to proactively ship parts to dealers before a vehicle breaks down, directly achieving the goal of reducing customer wait time.

Why A is Incorrect:
While migrating to a binary format and developing ML are good, simply switching from FTP to SFTP (Secure File Transfer Protocol) does not solve the latency problem. SFTP is still a batch-oriented file transfer protocol. It adds security but does not change the fundamental weekly batch cycle. The 3-week aggregate time would remain.

Why C is Incorrect:
Increasing cellular connectivity is a long-term infrastructure project and not a direct process modification for the data pipeline. While more connectivity would provide more data, it doesn't address the core issue of how the data is handled once it is connected. The existing process for connected vehicles still relies on batch FTP transfers from dealers, which is the root cause of the delay. This option is indirect and insufficient on its own.

Why D is Incorrect:
This option combines an ineffective process change (SFTP, which is still batch) with a business outcome (increasing inventory) that is not a data process modification. Increasing inventory by a fixed factor is a costly and inefficient brute-force approach that does not use data intelligently. It does not address the fundamental problem of the slow data reporting pipeline.

Reference
TerramEarth Case Study:
The case study explicitly describes the current "3-week aggregate" delay and attributes it to the process of "dealers upload[ing] the files weekly to a central FTP server." The logical solution is to replace this batch process with a real-time streaming architecture.
Google Cloud - Dataflow & Pub/Sub:
The recommended architecture for real-time analytics involves streaming data ingestion with Pub/Sub and processing with Dataflow, which is what the correct option enables.
Question 6 Choose 1
For this question, refer to the JencoMart case study.
JencoMart has built a version of their application on Google Cloud Platform that serves traffic to Asia. You want to measure success against their business and technical goals. Which metrics should you track?
Error rates for requests from Asia
Show answerHide answer

Correct answer: B Total visits, error rates, and latency from Asia

Explanation

Explanation:
JencoMart’s application now serves traffic in Asia. To evaluate success against their business and technical goals, you need to track metrics that reflect:
User engagement (business goal)
System reliability and performance (technical goals)

✅ Why B Is Correct
Total visits measure user adoption and traffic volume — a key business indicator.
Error rates directly reflect system reliability and help identify issues like failed requests or service outages
. Latency affects user experience and is critical for performance benchmarking in the target region (Asia).
Together, these metrics provide a comprehensive view of how well the application is performing and being received in Asia.

Reference
📘 Google Cloud Monitoring Best Practices
📘 SRE Metrics – Google’s Four Golden Signals

❌ Why Other Options Are Incorrect
A. Latency difference between US and Asia
❌ Only compares performance across regions — doesn’t measure adoption or reliability in Asia.

C. Total visits and average latency for users in Asia
❌ Omits error rates, which are essential for tracking system health and diagnosing failures.

D. Number of character sets in the database
❌ Irrelevant to performance or business success. This is a low-level data detail, not a strategic metric.

Summary
To measure success for JencoMart’s Asia deployment:
Track total visits for engagement.
Monitor error rates for reliability.
Measure latency for performance.
Question 7 Choose 1
Question #:24 - (Exam Topic 4)
For this question, refer to the Dress4Win case study.
Dress4Win has asked you for advice on how to migrate their on-premises MySQL deployment to the cloud.
They want to minimize downtime and performance impact to their on-premises solution during the migration.
Which approach should you recommend?
Show answerHide answer

Correct answer: B Setup a MySQL replica server/slave in the cloud environment, and configure it for asynchronous replication from the MySQL master server on-premises until cutover.

Question 8 Choose 1
For this question, refer to the Dress4Win case study.
The Dress4Win security team has disabled external SSH access into production virtual machines (VMs) on Google Cloud Platform (GCP). The operations team needs to remotely manage the VMs, build and push Docker containers, and manage Google Cloud Storage objects. What can they do?
Show answerHide answer

Correct answer: B Configure a VPN connection to GCP to allow SSH access to the cloud VMs.

Question 9 Choose 1
The current Dress4win system architecture has high latency to some customers because it is located in one data center.
As of a future evaluation and optimizing for performance in the cloud, Dresss4win wants to distribute it's system architecture to multiple locations when Google cloud platform.
Which approach should they use?
Show answerHide answer

Correct answer: D Use a global load balancer with a set of virtual machines that forward the requests to a closer group of virtual machines as part of a separate managed instance groups

Question 10 Choose 2
You need to reduce the number of unplanned rollbacks of erroneous production deployments in your company's web hosting platform. Improvement to the QA/Test processes accomplished an 80% reduction. Which additional two approaches can you take to further reduce the rollbacks? Choose 2 answers
Show answerHide answer

Correct answer: A, C Introduce a green-blue deployment model.Fragment the monolithic platform into microservices.

Full mock exam

Sit the PROFESSIONAL-CLOUD-ARCHITECT exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real PROFESSIONAL-CLOUD-ARCHITECT exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full PROFESSIONAL-CLOUD-ARCHITECT mock exam
  • 65questions per mock
  • 105 mintime limit
  • 250questions in the bank
  • Newmock on every attempt