Google certification · Exam PROFESSIONAL-CLOUD-ARCHITECT

PROFESSIONAL-CLOUD-ARCHITECT Mock Exam

PROFESSIONAL CLOUD ARCHITECT

Free PROFESSIONAL-CLOUD-ARCHITECT questions on Topic 1, Mountkirk Games Case Study, each with the answer and an explanation.

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

Topic 1, Mountkirk Games Case Study questions

1–2 of 2 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.

That's the last free question in Topic 1, Mountkirk Games Case Study

You've seen the free 30% (2 of 7 questions). Full access unlocks every question and full-length PROFESSIONAL-CLOUD-ARCHITECT mock exams (65 questions, 105 minutes), a different mock on every attempt.

Unlock full mock exam
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