Ensuring solution and operations excellence
Drill 20 practice questions focused entirely on Ensuring solution and operations excellence for the Google Cloud PCA exam. Tap an answer for instant feedback and a full explanation — no sign-up, always free.
A retail company runs multiple microservices on GKE and Compute Engine. The analytics team wants to run ad hoc SQL queries across the last 18 months of application and audit logs to identify usage trends and correlate errors with business events. Logs are currently retained only in Cloud Logging's default buckets. The platform team needs a low-maintenance, cost-effective way to make this historical log data queryable at scale without impacting the running services. What should they recommend?
A financial services company centralizes all application and audit logs in Cloud Logging. Their compliance team requires that audit logs be retained for 7 years and remain queryable within Cloud Logging, while high-volume debug logs from development workloads only need 14 days of retention to minimize cost. The platform team wants to manage these retention differences without exporting logs to external systems or writing custom deletion scripts. What should they do?
A payments team runs a critical API on GKE. They receive frequent false-positive pages: alerts fire whenever CPU briefly spikes, even though the service remains healthy and responsive. The team wants to only be paged when the service is genuinely degraded — specifically, when high request latency AND an elevated error rate occur together over a sustained window. What is the most appropriate way to configure this in Cloud Monitoring?
Your SRE team manages a customer-facing payments API running on GKE. Leadership has approved a 99.9% availability SLO measured over a rolling 28-day window. The team wants an automated, low-noise way to be alerted while there is still enough error budget remaining to react, rather than only after the SLO is already breached. Which approach in Google Cloud Observability best meets this requirement?
A retail company runs dozens of microservices across several GKE clusters and Compute Engine instances, all managed by different teams under a single Google Cloud project. The SRE team wants a way to organize related resources so that dashboards, alerting policies, and health views can be scoped to specific applications (e.g., 'checkout', 'catalog') without manually listing every resource each time infrastructure is added or removed. New instances are created and destroyed frequently by autoscaling. What is the most operationally efficient approach in Cloud Monitoring?
A retail company runs several microservices on Cloud Run. During a recent outage, the SRE team spent hours manually correlating request logs by trace ID because they had to export logs to BigQuery first and wait for the scheduled sink to run. The team wants the ability to run ad hoc SQL-style queries directly against their existing Cloud Logging log buckets during incidents, without setting up an export pipeline or duplicating storage. Which approach best meets this requirement?
A payment processing service runs on a Managed Instance Group behind an internal load balancer. Latency spikes occur when the queue of pending transactions grows, but CPU utilization stays low because the bottleneck is a downstream dependency, not compute. The operations team wants the MIG to scale based on the actual pending-transaction backlog rather than CPU. What should they implement to drive autoscaling on this business signal?
A company runs 12 separate Google Cloud projects, one per business unit, each with its own Compute Engine and Cloud SQL workloads. The central SRE team needs a single place to build dashboards and alerting policies that span metrics from all 12 projects, without duplicating configuration in each project. They also want to keep each project's IAM and billing independent. What is the recommended approach?
A retail company runs a payment API on Google Kubernetes Engine. During recent incidents, on-call engineers received alerts but wasted valuable time searching wikis and chat threads to find the correct diagnostic steps for each specific alert. The SRE lead wants each Cloud Monitoring alert notification to arrive already containing a direct link to the specific troubleshooting documentation for that alerting condition, without building a custom middleware service. What should the SRE lead do?
You operate a customer-facing payments API on Cloud Run and have defined a 99.9% availability SLO over a rolling 30-day window. Your on-call team complains that they receive too many pages for tiny, transient dips that self-resolve, yet they occasionally miss slow-burning degradations until customers report problems. You want an alerting strategy that pages urgently for fast burns and creates lower-priority tickets for slow burns while minimizing false pages. Which approach should you configure in Cloud Monitoring?
A payments team is defining an SLO for their checkout API using Cloud Monitoring service monitoring. Their stated reliability goal is that 99.5% of requests should complete in under 400 ms, measured over a rolling 28-day period. The team wants the SLO configuration to accurately reflect this goal so error budget calculations and burn-rate alerts behave as expected. Which SLO configuration correctly represents this objective?
Your company runs a customer-facing payment API on Cloud Run. The operations team wants alerts routed differently based on severity: warning-level conditions should create a ticket in their incident management tool, while critical outages must page the on-call engineer immediately via SMS and PagerDuty. Currently all Cloud Monitoring alerting policies send email to a shared distribution list, and minor issues are being missed among the noise. What is the most appropriate way to implement tiered alert routing in Cloud Monitoring?
A payments microservice running on Compute Engine has gradually increased its CPU utilization over the past three release cycles, driving up costs and occasionally triggering autoscaling that adds instances during peak traffic. The engineering team suspects inefficient code paths but cannot reproduce the behavior in staging, where load patterns differ. They need continuous, low-overhead visibility into which functions consume the most CPU and heap in the live production environment, correlated across releases, without redeploying instrumented builds each time. Which Google Cloud Observability capability should the architect recommend?
A retail company runs a microservices platform on GKE and has enabled Cloud Trace to diagnose latency. During a major sales event, engineers report that traces for many slow requests are missing, making it hard to find the bottleneck. The default automatic sampling is capturing only a small fraction of requests under high load. The team wants to increase the likelihood of capturing traces for the slowest requests without a massive increase in ingestion cost or code changes across all services. What should the architect recommend?
A retail company deploys a customer-facing API to Cloud Run using an automated CI/CD pipeline. During recent releases, several bad revisions reached 100% of traffic before the on-call team noticed elevated 5xx errors, causing customer impact. The architect wants to reduce the blast radius of faulty releases without requiring an engineer to manually watch dashboards after every deployment. Which approach best achieves this?
A retail company runs a fleet of stateless microservices on Cloud Run behind an external HTTPS load balancer. During peak sale events, the operations team notices that a small percentage of user requests intermittently fail with elevated latency, but standard dashboards show all services as healthy and within their SLOs. Leadership wants a way to continuously verify the complete end-to-end user journey (login, browse, add-to-cart, checkout) from an external perspective and be alerted the moment any step of that journey degrades, even when individual service metrics look normal. Which approach best meets this requirement?
A SaaS company runs a customer-facing application on Cloud Run. After a recent release, support tickets spike with users reporting intermittent failures, but the operations team is struggling to identify which code defects are responsible because individual log entries are scattered across thousands of requests. The team wants a low-effort way to automatically group recurring application exceptions, see how often each distinct fault occurs, track whether a fault is new or regressed after a deploy, and get notified when a new error type appears. Which Google Cloud Observability capability should they adopt?
A payments team runs a critical microservice on Cloud Run. The application writes structured JSON logs to Cloud Logging, and certain business failures are logged with a field severity=ERROR and a jsonPayload field txn_status="declined_downstream". Operations wants to be alerted whenever the rate of these specific downstream-decline errors exceeds a threshold within a rolling window, without changing application code and without exporting logs to an external system. What is the most appropriate approach?
A retail company runs its checkout service on a regional managed instance group (MIG) behind an external HTTP(S) load balancer. The team uses a rolling update to deploy new instance template versions. During a recent release, error rates spiked several minutes after the update completed, and operators had to manually recreate instances from the previous template, extending the outage. The architect wants a release process that automatically limits exposure to a bad version and enables fast, low-risk rollback with minimal manual steps. What should the architect recommend?
A microservices application on GKE writes logs to stdout as plain text lines. During incidents, engineers struggle to filter by severity and cannot correlate log entries belonging to the same user request across services. The team wants to improve log usability in Cloud Logging with minimal application rework and without deploying additional log-shipping agents. What should you recommend?
More PCA practice
Keep going with the other Professional Cloud Architect domains, or take a full timed mock exam.
← Back to PCA overview