All practice questions
1598 questions
An enterprise e-commerce platform processes high-volume transaction traffic across Google Kubernetes Engine (GKE) clusters and Compute Engine instance groups. The operations team must design a centralized observability and logging strategy that satisfies three core requirements: route high-volume HTTP 200 OK access logs to Cloud Storage for cost-effective long-term compliance storage, stream application exception logs and high-severity errors to BigQuery for real-time security and operational analytics, and guarantee that no critical system errors or security audit logs are accidentally omitted during ingestion filter tuning. Which architectural design best meets these requirements while preventing operational log loss?
An enterprise organization operates a hybrid microservices platform deployed across Google Kubernetes Engine (GKE) clusters and Cloud Run services in multiple Google Cloud projects. The Reliability and Governance team needs to implement a unified observability and compliance framework. The solution must achieve the following objectives:
1. Aggregate all audit logs and application error logs across all projects into a centralized dataset in BigQuery for long-term compliance retention and analytical querying, while preventing high-volume trace/debug logs from driving up storage costs.
2. Implement proactive, low-latency incident management that alerts on service reliability degradation based on error budget consumption, rather than firing false positives during short-term metric spikes.
Which TWO architectural actions should the team implement to satisfy these requirements? (Select TWO)
Select all that apply
Your Cloud Operations team is designing an automated deployment pipeline for a high-availability microservice hosted on Google Kubernetes Engine (GKE) using GKE Enterprise Service Mesh and Cloud SQL. The application update introduces a database schema change. To ensure zero-downtime and preserve the service error budget, you must execute a canary release pattern using the expand-contract strategy.
Arrange the following steps in the correct chronological sequence to execute this release strategy safely.
Drag items to arrange them in the correct order
An enterprise security policy prohibits the use of downloadable JSON service account keys on developer workstations. A developer needs to run a local Python application that uses Google Cloud Client Libraries to query BigQuery tables in Project-B using a target service account (`[email protected]`).
Arrange the following operational steps in the correct chronological order to configure local credentials and execute the application using Google Cloud best practices for service account impersonation.
Drag items to arrange them in the correct order
A Cloud Architect is auditing permission inheritance for a team accessing data inside Google Cloud. Arrange the levels of the Google Cloud resource hierarchy in order from the highest scope of IAM policy inheritance (broadest level) to the most granular scope of IAM policy inheritance (lowest level).
Drag items to arrange them in the correct order
An enterprise gaming company is preparing to launch an online multiplayer game in a Google Cloud project located in the europe-west3 region. During automated load testing, deployment scripts failed because the required Compute Engine vCPUs exceeded the project's regional limit. The architecture team needs to establish an operational workflow to accommodate scaling requirements for anticipated high-traffic events while maintaining least-privilege security standards. Which strategy should the cloud architect recommend?
A high-frequency fintech platform operates its core transaction processing engine on Google Cloud using Compute Engine managed instance groups alongside stateless validation microservices running on Cloud Run. The core transaction processing engine maintains a constant, predictable 24/7 baseline usage, whereas the validation microservices undergo unpredictable 10x traffic bursts during sudden financial market fluctuations. The platform engineering team also executes ad-hoc analytical queries against BigQuery to monitor fraud patterns. Which cost optimization strategy should a Cloud Architect recommend to maximize spend efficiency without sacrificing operational availability?
An online retail enterprise is implementing an automated, secure continuous integration and continuous delivery (CI/CD) pipeline on Google Cloud to deploy microservices to Google Kubernetes Engine (GKE). Arrange the operational steps in the correct sequence from initial code commit to production release.
Drag items to arrange them in the correct order
Your organization runs a web application behind a Google Cloud HTTP(S) Load Balancer. You are setting up health checks and automated alerting to ensure operational reliability. If backend database queries experience transient latency, you want to avoid cascading service failures where healthy application instances are mistakenly marked as unhealthy. Which configuration strategy should you implement for the load balancer health checks?
An enterprise e-commerce platform hosted on Google Cloud experiences high traffic volatility during promotional events. Transient micro-spikes in compute resource usage currently trigger dozens of high-severity alerts, causing severe alert fatigue among on-call engineers. Additionally, during a recent incident, the Google Cloud HTTP Load Balancer marked all backend instances as unhealthy because its health checks were configured to execute deep SQL queries against a database that was experiencing temporary connection pool exhaustion, resulting in a cascading platform outage. The Lead Reliability Engineer must redesign the operational alerting and health checking architecture to reflect true customer impact and prevent cascading failures. Which combination of architectural practices should be implemented?
An enterprise application hosted on Compute Engine instances behind an External Application Load Balancer experiences cascading service outages whenever downstream database queries undergo brief, transient latency spikes. Diagnostic logs indicate that load balancer health checks are configured to execute deep database queries directly, causing healthy web instances to be misidentified as unhealthy and removed from serving pools. Additionally, the operations team suffers from alert fatigue caused by fixed threshold alerts firing during minor latency spikes. Which architecture modification should you recommend to improve operational reliability and incident management?
An enterprise fintech platform processes algorithmic fraud analysis on Google Cloud across multiple projects under a central Cloud Billing account. The operational workload consists of a steady baseline of microservice API calls alongside unpredictable, highly bursty batch jobs during peak financial market trading hours. Currently, all virtual machines operate on standard pay-as-you-go pricing, database resources use standard configurations, and cost reporting is performed manually at month-end.
The FinOps leadership team wants to establish proactive cost governance and automated cost optimization while maintaining high availability for baseline traffic and minimizing financial risk. Which of the following strategies should the team implement? (Select TWO)
Select all that apply
An enterprise financial organization runs a mission-critical payment processing application on a Google Cloud Managed Instance Group (MIG) behind an External HTTP(S) Load Balancer. The SRE team faces two main operational challenges: first, frequent transient traffic bursts trigger alert storms that cause on-call engineer fatigue while failing to highlight sustained slow-burn reliability budget exhaustion; second, when specific corrupt payloads cause backend compute instances to fail, manual incident response causes elevated Mean Time to Resolution (MTTR).
The Site Reliability Engineering team needs an automated alerting and incident management pipeline that:
1. Accurately detects rapidly accelerating and slow-burn degradation of the request latency Service Level Objective (SLO) while preventing alert fatigue during temporary bursts.
2. Automatically isolates compromised VM instances for offline forensic analysis and replaces capacity without worsening backend load or risking cascading failure through deep load balancer health probes.
Which operational architecture should you recommend?
An organization manages a fleet of 500 Compute Engine virtual machines hosting a latency-sensitive trading platform across multiple Google Cloud projects. The infrastructure engineering team implemented a unified log exclusion filter at the organization level (`resource.type="gce_instance" AND severity<ERROR`) on an aggregate Log Router sink to reduce Cloud Logging storage ingestion overhead. Shortly after applying this filter, automated incident response alerts stopped triggering for VM crash loops and system failures caused by memory exhaustion, even though the application services were uncommunicative. Upon investigation, engineers noticed that critical Linux kernel panic logs and systemd process failure events emitted by the OS were missing from their Monitoring dashboards and BigQuery security audit datasets. Which architectural modification should the team implement to restore operational visibility and automated incident alerting while retaining log storage cost control?
A platform engineering team is setting up an automated integration testing pipeline for a multi-tenant application that executes complex transactions across Cloud Spanner and publishes event notifications to Cloud Pub/Sub. To minimize cost and avoid provisioning real cloud resources during pull request validations, the pipeline runs local emulator instances for both services inside ephemeral Docker containers. During test suite execution, developers report that tests requiring schema DDL modifications fail inside read-write transaction blocks, and event publishing calls attempt to authenticate against production endpoints using Google Application Default Credentials (ADC). Which combination of architectural and operational adjustments will resolve these integration testing failures while adhering to GCP best practices?
A financial analytics firm's platform operations team is standardizing their infrastructure provisioning workflow. Currently, engineers create static JSON service account keys locally and use them with Terraform to deploy resources, frequently relying on the project Editor role to avoid permission issues. You are advising the team on establishing secure, automated Infrastructure as Code (IaC) practices that align with Google Cloud best practices while minimizing operational overhead. Which architectural recommendation should you provide?
A media streaming organization is designing an automated CI/CD pipeline on Google Cloud to deploy microservice applications to Google Kubernetes Engine (GKE). The engineering team requires that code pushed to release branches automatically triggers container builds, executes security scanning, enforces image integrity verification prior to deployment, and manages progressive canary rollouts across staging and production with automated rollback capabilities upon metric anomalies. Which pipeline design best fulfills these requirements following Google Cloud best practices?
An enterprise media organization operates a high-throughput video streaming platform hosted on Google Kubernetes Engine (GKE) behind a Global External Application Load Balancer. During peak live events, transient database latency causes load balancer health checks to fail across healthy GKE pods, resulting in cascading backend shutdowns and incident alert floods. Additionally, operations teams are overwhelmed by false-positive pages for short latency spikes while failing to detect slow, sustained error budget depletion. You need to re-architect the automated alerting and incident management strategy to improve system reliability and incident escalation. Which TWO architectural actions should you take? (Select TWO.)
Select all that apply
A cloud operations team wants to reduce overall Cloud Logging ingestion and storage costs by filtering out non-essential debug logs before they are written to the default log bucket, while preserving high-severity error logs for operational monitoring. Which approach aligns with Google Cloud recommended practices for controlling log ingestion costs?
A financial services organization operates a payment processing microservice on Google Kubernetes Engine (GKE) behind an internal HTTP(S) Load Balancer. During unexpected upstream partner outages, the service experiences severe error spikes that deplete its monthly availability Service Level Objective (SLO) error budget in less than an hour. However, the existing SRE alerting policy relies on a single-window 5-minute mean error rate threshold, which either fails to notify on-call engineers before significant budget consumption occurs or generates excessive false positives during brief traffic bursts. What alerting policy design in Cloud Monitoring should a Cloud Architect recommend to alert on critical error budget depletion while minimizing noise?