⚠️ Case Study Retired from PCA Exam (October 2025)
The HipLocal case study was retired from the Google Cloud Professional Cloud Architect (PCA) exam as of October 30, 2025 (exam version 6.1).
The updated PCA exam now includes the following case studies:
- EHR Healthcare – Retained from the previous version
- Altostrat Media – New; focuses on content management and AI-powered personalization
- Cymbal Retail – New; focuses on real-time personalization and inventory optimization
- KnightMotives Automotive – New; focuses on edge computing and IoT data ingestion
All new case studies incorporate AI integration as core business requirements, reflecting Google Cloud’s expanded Vertex AI and generative AI services.
This content is maintained for historical reference and for understanding Google Cloud architectural patterns related to global scaling, observability, and hybrid connectivity.
Google Cloud – HipLocal Case Study
HipLocal is a community application designed to facilitate communication between people in close proximity. It is used for event planning and organizing sporting events, and for businesses to connect with their local communities. HipLocal launched recently in a few neighborhoods in Dallas and is rapidly growing into a global phenomenon. Its unique style of hyper-local community communication and business outreach is in demand around the world.
Key point here is HipLocal is expanding globally
HipLocal Solution Concept
HipLocal wants to expand their existing service with updated functionality in new locations to better serve their global customers. They want to hire and train a new team to support these locations in their time zones. They will need to ensure that the application scales smoothly and provides clear uptime data, and that they analyze and respond to any issues that occur.
Key points here are HipLocal wants to expand globally, with an ability to scale and provide clear observability, alerting and ability to react.
HipLocal Existing Technical Environment
HipLocal’s environment is a mixture of on-premises hardware and infrastructure running in Google Cloud. The HipLocal team understands their application well, but has limited experience in globally scaled applications. Their existing technical environment is as follows:
- Existing APIs run on Compute Engine virtual machine instances hosted in Google Cloud.
- Expand availability of the application to new locations.
- Support 10x as many concurrent users.
- State is stored in a single instance MySQL database in Google Cloud.
- Release cycles include development freezes to allow for QA testing.
- The application has no consistent logging.
- Applications are manually deployed by infrastructure engineers during periods of slow traffic on weekday evenings.
- There are basic indicators of uptime; alerts are frequently fired when the APIs are unresponsive.
Business requirements
HipLocal’s investors want to expand their footprint and support the increase in demand they are experiencing. Their requirements are:
- Expand availability of the application to new locations.
- Availability can be achieved using either
- scaling the application and exposing it through Global Load Balancer OR
- deploying the applications across multiple regions.
- Support 10x as many concurrent users.
- As the APIs run on Compute Engine, the scale can be implemented using Managed Instance Groups frontend by a Load Balancer OR App Engine OR Container-based application deployment
- Scaling policies can be defined to scale as per the demand.
- Modern Alternative: Cloud Run provides a fully managed serverless container platform with automatic scaling to zero and per-request billing, making it an ideal choice for API workloads requiring global scale.
- Ensure a consistent experience for users when they travel to different locations.
- Consistent experience for the users can be provided using either
- Google Cloud Global Load Balancer which uses GFE and routes traffic close to the users
- multi-region setup targeting each region
- Obtain user activity metrics to better understand how to monetize their product.
- User activity data can also be exported to BigQuery for analytics and monetization
- Cloud Monitoring and Cloud Logging (part of Google Cloud Observability) can be configured for application logs and metrics to provide observability, alerting, and reporting.
- Cloud Logging can be exported to BigQuery for analytics
- Ensure compliance with regulations in the new regions (for example, GDPR).
- Compliance is shared responsibility, while Google Cloud ensures compliance of its services, application hosted on Google Cloud would be customer responsibility
- GDPR or other regulations for data residency can be met using setup per region, so that the data resides with the region
- Update: Google Cloud now offers Assured Workloads and data sovereignty controls to help enforce regional data residency and compliance requirements.
- Reduce infrastructure management time and cost.
- As the infrastructure is spread across on-premises and Google Cloud, it would make sense to consolidate the infrastructure into one place i.e. Google Cloud
- Consolidation would help in automation, maintenance, as well as provide cost benefits.
- Update: Google Cloud Migration Center provides automated workload assessment, dependency mapping, and migration planning to streamline the migration from on-premises.
- Adopt the Google-recommended practices for cloud computing:
- Develop standardized workflows and processes around application lifecycle management.
- Define service level indicators (SLIs) and service level objectives (SLOs).
- Update: Cloud Monitoring now provides built-in SLI/SLO monitoring with configurable burn rate alerts and error budgets, aligned with Google’s Site Reliability Engineering (SRE) practices.
Technical requirements
- Provide secure communications between the on-premises data center and cloud hosted applications and infrastructure
- Secure communications can be enabled between the on-premise data centers and the Cloud using Cloud VPN and Interconnect.
- The application must provide usage metrics and monitoring.
- Cloud Monitoring and Cloud Logging (part of Google Cloud Observability) can be configured for application logs and metrics to provide observability, alerting, and reporting.
- Update: Google Cloud Observability now supports OpenTelemetry Protocol (OTLP) for both traces and metrics, enabling vendor-agnostic instrumentation. Application Monitoring in Cloud Observability provides pre-curated dashboards with SRE best practices.
- APIs require authentication and authorization.
- APIs can be configured for various Authentication mechanisms.
- APIs can be exposed through Apigee API management platform for full lifecycle API management including authentication, rate limiting, and analytics.
- Internal Applications can be exposed using Cloud Identity-Aware Proxy (IAP), which enforces the BeyondCorp zero-trust security model for secure access without VPN.
- Implement faster and more accurate validation of new features.
- QA Testing can be improved using automated testing
- Production Release cycles can be improved using canary deployments to test the applications on a smaller base before rolling out to all.
- Application can be deployed to App Engine which supports traffic splitting out of the box for canary releases
- Modern Alternative: Cloud Run supports traffic splitting between revisions for canary deployments and gradual rollouts. Cloud Deploy provides managed continuous delivery with approval workflows and promotion across environments.
- Logging and performance metrics must provide actionable information to be able to provide debugging information and alerts.
- Cloud Monitoring and Cloud Logging (part of Google Cloud Observability) can be configured for application logs and metrics to provide observability, alerting, and reporting.
- Cloud Logging can be exported to BigQuery for analytics using log sinks.
- Update: Cloud Trace and Cloud Profiler provide distributed tracing and continuous profiling for identifying performance bottlenecks. Log Analytics enables SQL-based log querying directly within Cloud Logging.
- Must scale to meet user demand.
- As the APIs run on Compute Engine, the scale can be implemented using Managed Instance Groups frontend by a Load Balancer and using scaling policies as per the demand.
- Single instance MySQL instance can be migrated to Cloud SQL. This would not need any application code changes and can be as-is migration. With read replicas to scale both horizontally and vertically seamlessly.
- Update: AlloyDB for PostgreSQL is now available as a high-performance, PostgreSQL-compatible database with up to 4x faster transactional workloads and 100x faster analytical queries than standard PostgreSQL. For applications requiring global scale with strong consistency, Cloud Spanner remains an option.
Key Architectural Patterns (Updated for 2025-2026)
While HipLocal is no longer an active exam case study, the architectural patterns it illustrates remain relevant:
Modern Compute Options for API Workloads
- Cloud Run – Fully managed serverless containers with automatic scaling, ideal for stateless API workloads. Supports traffic splitting for canary deployments.
- GKE Autopilot – Fully managed Kubernetes for complex microservices architectures with automatic node provisioning.
- Compute Engine MIGs – Still valid for stateful workloads or when specific VM configurations are required.
Modern Observability Stack
- Google Cloud Observability (formerly Stackdriver/Operations Suite) – Unified platform for monitoring, logging, tracing, and profiling.
- SLO Monitoring – Built-in SLI/SLO tracking with error budgets and burn rate alerts.
- OpenTelemetry Support – OTLP for metrics and traces enables vendor-agnostic instrumentation.
- Log Analytics – SQL-based log querying and BigQuery-linked log buckets for advanced analysis.
Modern API Management
- Apigee – Full lifecycle API management with security policies, rate limiting, analytics, and developer portals. (Note: Cloud Endpoints Portal was deprecated in March 2023.)
- Identity-Aware Proxy (IAP) – BeyondCorp zero-trust access for internal applications without VPN.
Modern Database Options
- Cloud SQL – Managed MySQL/PostgreSQL/SQL Server with high availability, read replicas, and automated backups. Best for lift-and-shift MySQL migrations.
- AlloyDB for PostgreSQL – High-performance PostgreSQL-compatible database with AI-native features including vector search.
- Cloud Spanner – Globally distributed, strongly consistent database for applications requiring global scale.
CI/CD and Deployment
- Cloud Build – Serverless CI/CD platform for building, testing, and deploying.
- Cloud Deploy – Managed continuous delivery service with promotion workflows across environments.
- Terraform / Infrastructure Manager – Infrastructure as Code for Google Cloud. (Note: Cloud Deployment Manager reached end of support on March 31, 2026. Migrate to Terraform or Infrastructure Manager.)
GCP Certification Exam Practice Questions
- ⚠️ The HipLocal case study was retired from the PCA exam in October 2025. These questions are maintained for learning purposes and to understand Google Cloud architectural patterns.
- GCP services are updated regularly and both the answers and questions might be outdated soon, so research accordingly.
- Open to further feedback, discussion and correction.
- Which database should HipLocal use for storing state while minimizing application changes?
- Firestore
- BigQuery
- Cloud SQL
- Cloud Bigtable
Note: Cloud SQL for MySQL is the correct answer as it’s a managed MySQL-compatible service requiring minimal application changes. AlloyDB would be the modern high-performance alternative for PostgreSQL workloads.
- Which architecture should HipLocal use for log analysis?
- Use Cloud Spanner to store each event.
- Start storing key metrics in Memorystore.
- Use Cloud Logging with a BigQuery sink.
- Use Cloud Logging with a Cloud Storage sink.
Note: Cloud Logging with BigQuery sink (now called log sink with BigQuery-linked dataset) remains the best approach for log analytics. Log Analytics also provides direct SQL querying within Cloud Logging.
- HipLocal wants to improve the resilience of their MySQL deployment, while also meeting their business and technical requirements. Which configuration should they choose?
- Use the current single instance MySQL on Compute Engine and several read-only MySQL servers on Compute Engine.
- Use the current single instance MySQL on Compute Engine, and replicate the data to Cloud SQL in an external master configuration.
- Replace the current single instance MySQL instance with Cloud SQL, and configure high availability.
- Replace the current single instance MySQL instance with Cloud SQL, and Google provides redundancy without further configuration.
Note: Cloud SQL high availability requires explicit configuration (regional HA with failover replica). It is not automatic by default.
- Which service should HipLocal use to enable access to internal apps?
- Cloud VPN
- Cloud Armor
- Virtual Private Cloud
- Cloud Identity-Aware Proxy
Note: IAP enforces the BeyondCorp zero-trust model, providing authenticated access to internal apps without requiring a VPN. Now part of Google Cloud’s broader security portfolio.
- Which database should HipLocal use for storing user activity?
- BigQuery
- Cloud SQL
- Cloud Spanner
- Cloud Datastore
Note: BigQuery remains the correct answer for analytics workloads on user activity data. Cloud Datastore has been rebranded to Firestore in Datastore mode.
Additional Practice Questions (Architectural Patterns)
- HipLocal wants to modernize their API deployment for global scale with minimal infrastructure management. Which solution best meets their needs?
- Deploy APIs on Compute Engine MIGs behind a Global HTTP(S) Load Balancer
- Deploy containerized APIs on Cloud Run with a Global External Application Load Balancer
- Deploy APIs on App Engine flexible environment
- Deploy APIs on GKE Standard with cluster autoscaler
Cloud Run provides automatic scaling (including to zero), global deployment, and minimal infrastructure management. Combined with the Global External Application Load Balancer, it provides the least operational overhead.
- HipLocal needs to implement Infrastructure as Code for their Google Cloud resources. Which is the recommended approach in 2026?
- Cloud Deployment Manager with YAML templates
- Terraform with the Google Cloud provider
- Custom scripts using gcloud CLI
- Pulumi with TypeScript
Cloud Deployment Manager reached end of support on March 31, 2026. Terraform is the recommended IaC tool for Google Cloud and is now explicitly required knowledge for the PCA exam.
- HipLocal wants to define and monitor SLOs for their APIs. Which Google Cloud services should they use? (Choose 2)
- Cloud Monitoring with SLO monitoring
- Cloud Scheduler
- Cloud Logging with log-based metrics
- Cloud Tasks
Cloud Monitoring provides built-in SLO monitoring with burn rate alerts. Log-based metrics from Cloud Logging can serve as SLIs (e.g., error rates) for SLO tracking.
Reference