All practice questions

1598 questions

Question 1341Question

A digital publishing company hosts a containerized REST API that serves breaking news content. Traffic is highly bursty and unpredictable: the service receives under 5 requests per minute during quiet periods, but surges to tens of thousands of requests per second during major breaking news events lasting 1 to 2 hours. The application reads from a regional relational database with standard transaction complexity. The company's chief financial officer requires an architectural design that eliminates baseline idle infrastructure costs while minimizing operational overhead. Which architecture best satisfies these business and cost requirements?

Show answer & explanation

Answer: Deploy the containerized application to Cloud Run with minimum instances set to zero, backed by a regional Cloud SQL instance with storage auto-scaling enabled.

Answer

Deploying the containerized application to Cloud Run with minimum instances set to zero, backed by a regional Cloud SQL instance with storage auto-scaling enabled.
Cloud Run is a fully managed serverless platform that automatically scales containerized stateless HTTP applications down to zero instances when no traffic is present, eliminating compute costs during idle periods while providing instant scaling during breaking news spikes. Paired with Cloud SQL for regional relational storage, this provides a highly cost-effective design with minimal administrative overhead.

Step-by-Step Solution

1
Analyze compute workload characteristics and cost constraints
Workload is containerized, stateless, highly bursty, and idle most of the time.
Cloud Run allows scaling down to zero instances when idle, completely eliminating compute cost during quiet periods.
2
Evaluate database requirements against cloud database offerings
The application requires standard regional relational capabilities without multi-region global scale.
Cloud SQL provides cost-efficient relational database operations without the high fixed cost of Cloud Spanner.
3
Synthesize compute and database choices into a cost-optimized architecture
Combining Cloud Run (scale-to-zero) with regional Cloud SQL delivers minimal operational overhead and zero idle compute charges.
Meets both business goals of low cost during idle windows and minimal operational management.

Key Concept

Selecting serverless compute (Cloud Run scale-to-zero) and right-sized relational storage (Cloud SQL) to eliminate idle infrastructure costs for bursty workloads.
Estimated Time:2m 0s
Question 1342Question

A digital media startup needs to host a stateless HTTP microservice that receives occasional web traffic throughout the day and store static thumbnail images that are rarely accessed after 30 days. Which TWO architectural decisions should you recommend to minimize operational and baseline compute costs while satisfying these business requirements?

Select all that apply

Show answer & explanation

Answer: Deploy the stateless HTTP microservice on Cloud Run to automatically scale compute instances to zero when idle.; Store static thumbnail images in Cloud Storage and use Object Lifecycle Management to transition objects to Nearline storage after 30 days.

Answer

The optimal architectural choices to minimize costs are deploying the stateless HTTP microservice on Cloud Run to allow scaling to zero during idle periods, and storing static thumbnail images in Cloud Storage with Object Lifecycle Management to transition aging objects to lower-cost Nearline storage.
Deploying the microservice to Cloud Run eliminates compute costs when traffic is absent by scaling to zero instances. Storing media assets in Cloud Storage with Object Lifecycle Management ensures unstructured blobs are stored in the most economical storage tier based on access frequency.

Step-by-Step Solution

1
Evaluate compute service requirements for intermittent traffic and baseline cost minimization.
Cloud Run provides fully managed serverless container execution with scale-to-zero capabilities, ensuring zero cost when no requests are being processed.
Serverless execution avoids paying for idle VM compute resources.
2
Evaluate storage selection and lifecycle policies for unstructured binary data with changing access patterns over time.
Cloud Storage is optimized for unstructured media files, and Object Lifecycle Management automates moving files to colder storage tiers to reduce ongoing capacity costs.
Transitioning infrequently accessed objects lowers unit storage costs without manual administrative intervention.

Key Concept

Serverless compute right-sizing and object storage lifecycle optimization
Question 1343Question

Your organization is establishing an incident management workflow to ensure fast operational response and observability during outages for a newly launched application on Google Cloud. You need to configure automated alerting and log management in Cloud Operations to notify on-call staff and maintain log visibility during incidents. Which TWO actions should you take to achieve this objective?

Select all that apply

Show answer & explanation

Answer: Configure Cloud Monitoring notification channels using native integrations or Webhooks to automatically route alert incidents to Third-Party Incident Management tools and team communication platforms.; Ensure critical application and audit log severity levels are preserved without applying overly broad Cloud Logging exclusion filters.

Answer

The correct actions are to configure Cloud Monitoring notification channels (such as Webhooks or third-party integrations) to route incident notifications automatically, and to preserve high-severity log entries by avoiding overly broad Cloud Logging exclusion filters.
Automated incident management in GCP relies on configuring Cloud Monitoring notification channels (such as Webhooks and third-party integrations) for prompt alerting, while ensuring Cloud Logging ingested filters retain error logs so automated log alerts fire properly.

Step-by-Step Solution

1
Identify effective automated alerting integration methods in Google Cloud Monitoring.
Cloud Monitoring supports native notification channels and Webhooks to integrate seamlessly with incident response systems.
Automated incident management requires real-time routing of alert notifications to on-call personnel.
2
Evaluate operational logging configurations to support incident diagnosis and log-based alerting.
High-severity logs must remain unexcluded in Cloud Logging so that log metrics and alerts trigger correctly.
Excluding error logs impairs visibility into active production issues and prevents proper alerting.

Key Concept

Incident Management and Automated Alerting Notification Channels and Log Visibility
Question 1344Question

An e-commerce platform processes user-uploaded product images using a stateless containerized microservice upon each upload. Media ingestion traffic is highly bursty during flash sales and drops to zero overnight. Additionally, images older than 30 days are accessed rarely but must remain accessible for regulatory auditing. The business objective is to minimize baseline infrastructure costs and operational overhead while satisfying all functional needs. Which TWO architectural choices should you recommend to achieve these goals?

Select all that apply

Show answer & explanation

Answer: Deploy the stateless containerized image processing microservice on Cloud Run so that compute resources automatically scale up during traffic bursts and scale down to zero when idle.; Implement Object Lifecycle Management on the Cloud Storage bucket to automatically transition images older than 30 days from Standard to Nearline or Coldline storage classes.

Answer

Deploying the stateless container microservice on Cloud Run allows scaling down to zero during idle periods to eliminate baseline compute costs. Configuring Cloud Storage Object Lifecycle Management automatically moves images older than 30 days to lower-cost storage tiers, reducing long-term storage expenses.
Combining Cloud Run for container execution with Cloud Storage Object Lifecycle Management fulfills all functional and business goals. Cloud Run scales seamlessly to zero instances overnight to eliminate idle compute spend, while lifecycle rules automate transitioning aging media to cheaper archival storage classes without administrative overhead.

Step-by-Step Solution

1
Analyze compute workload requirements and cost profile
Workload is stateless, containerized, bursty, and idle at night. Cloud Run provides zero-idle baseline cost.
Serverless containers eliminate paying for unutilized Compute Engine or GKE instances during zero-traffic windows.
2
Analyze storage access patterns over time
Images older than 30 days are rarely accessed but retained for compliance.
Cloud Storage Object Lifecycle Management automates transition to Nearline or Coldline, reducing storage costs.

Key Concept

Cost Optimization through Serverless Compute Scaling and Automated Storage Tiering
Question 1345Question

A logistics enterprise executes a weekly batch reporting job every Saturday that takes 3 hours to complete. The application is designed to be fault-tolerant and can resume processing from saved checkpoints if instance preemption occurs. The business objective is to minimize compute infrastructure costs for this short-lived, fault-tolerant workload without long-term financial commitments. Which Google Cloud compute strategy should the cloud architect recommend?

Show answer & explanation

Answer: Provision Compute Engine Spot VMs to run the batch reporting jobs.

Answer

Provisioning Compute Engine Spot VMs is the most cost-effective solution for short-duration, fault-tolerant batch workloads.
Spot VMs leverage spare Google Cloud capacity at up to a 60–91% discount compared to standard on-demand instances. Because the batch job is fault-tolerant and runs for only 3 hours per week, Spot VMs fulfill the business requirement of minimizing cost without introducing long-term billing commitments.

Step-by-Step Solution

1
Analyze workload characteristics
Workload runs only 3 hours per week, is fault-tolerant, and handles interruptions via checkpoints.
Understanding workload runtime and resiliency dictates the appropriate compute discount mechanism.
2
Evaluate Google Cloud compute cost optimization options
Spot VMs offer 60% to 91% cost savings for preemption-tolerant workloads with no minimum commitment required.
Running Spot VMs during the batch window charges only for the exact hours used at deeply discounted spot pricing.

Key Concept

Compute Engine Spot VMs for cost-optimized fault-tolerant batch processing
Question 1346Question

A smart utility company receives periodic HTTP telemetry payloads from 500,000 smart energy meters every 15 minutes. Traffic spikes predictably for 2 minutes during each 15-minute interval and remains virtually idle in between. The company needs to ingest these HTTP requests, normalize the telemetry payload, and store the structured records in a regional relational database for daily reporting. Which architecture minimizes baseline operational costs and management overhead while meeting the workload's performance requirements?

Show answer & explanation

Answer: Deploy a Cloud Run service to ingest and normalize the HTTP telemetry payloads, and write the processed records to Cloud SQL for PostgreSQL.

Answer

Deploying a Cloud Run service writing to Cloud SQL for PostgreSQL minimizes operational costs by leveraging scale-to-zero compute for bursty periodic HTTP telemetry payloads alongside a right-sized regional relational database.
Cloud Run is ideal for stateless HTTP workloads with intermittent or bursty traffic patterns because it scales down to zero instances during idle periods, preventing charges when no telemetry requests are arriving. Cloud SQL for PostgreSQL fulfills the regional relational reporting requirement cost-effectively without over-provisioning storage infrastructure.

Step-by-Step Solution

1
Analyze compute workload traffic patterns and requirements
The workload receives bursty HTTP requests for 2 minutes every 15 minutes, remaining idle for 13 minutes.
Serverless container platforms like Cloud Run scale to zero during idle periods, providing maximum cost efficiency without paying for unused CPU/RAM.
2
Evaluate data storage requirements against cost and scale needs
The requirements demand a regional relational database for daily reporting.
Cloud SQL for PostgreSQL fits regional relational needs without the high baseline cost of globally distributed databases like Cloud Spanner.
3
Select the optimal architectural combination
Combining Cloud Run with Cloud SQL meets all technical and business requirements with minimal management overhead.
This combination avoids unnecessary cluster management fees (GKE) or over-provisioned continuous compute (Compute Engine MIG).

Key Concept

Serverless Compute & Database Selection for Periodic Workloads
Estimated Time:1m 30s
Question 1347Question

A telecommunications enterprise is migrating an event processing platform to Google Cloud. The application processes bursty telemetry data during a 6-hour daily peak window and relies on a stateless containerized worker layer. Operational metadata requires a regional relational database with high availability and transactional consistency. The primary business requirement is to minimize total cost of ownership (TCO) and eliminate idle compute spending without introducing unnecessary management complexity. Which TWO architectural decisions should you combine to meet these requirements? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Deploy the stateless containerized worker workload using Cloud Run to automatically scale instances to zero outside peak hours.; Provision Cloud SQL configured with regional High Availability (HA) for storing operational metadata.

Answer

Deploy the stateless containerized worker workload using Cloud Run, and provision Cloud SQL configured with regional High Availability (HA) for storing operational metadata.
Combining Cloud Run with Cloud SQL HA minimizes total cost of ownership. Cloud Run automatically scales to zero when event traffic drops outside the daily 6-hour window, preventing idle compute expenses. Cloud SQL configured for regional high availability fulfills relational database requirements with automated failover at a fraction of the cost of globally distributed database services.

Step-by-Step Solution

1
Analyze compute requirements for bursty, intermittent stateless workloads.
Cloud Run provides scale-to-zero capability so no compute costs are incurred during idle periods.
Running GKE clusters 24/7 generates unnecessary idle node costs and cluster management overhead.
2
Evaluate database requirements for regional relational operational metadata.
Cloud SQL with regional HA satisfies high availability and ACID transaction requirements within a single region cost-effectively.
Cloud Spanner is over-provisioned and excessively costly for workloads that do not require global horizontally scalable relational storage across multiple regions.

Key Concept

Cost-optimized architectural design using serverless compute (Cloud Run) and right-sized relational database selection (Cloud SQL HA vs Cloud Spanner)
Question 1348Question

A financial analytics company needs to establish continuous hybrid connectivity between its primary on-premises data center and a Google Cloud VPC to stream real-time market data. The network architecture requires a guaranteed, sustained bandwidth of 15 Gbps15\text{ Gbps}. The company's on-premises facility is directly colocated in a facility housing a Google Cloud Interconnect location. The primary business requirement is to minimize ongoing monthly network infrastructure costs while reliably satisfying the throughput requirement. Which hybrid networking architecture should the cloud architect recommend?

Show answer & explanation

Answer: Provision two 10 Gbps Dedicated Interconnect connections to satisfy the 15 Gbps bandwidth requirement.

Answer

Provision two 10 Gbps Dedicated Interconnect connections to satisfy the 15 Gbps bandwidth requirement.
Dedicated Interconnect provides direct physical connections between an on-premises network and Google Cloud VPC. For workloads requiring sustained bandwidth above 3 Gbps3\text{ Gbps} up to several tens of Gbps, provisioning multiple 10 Gbps10\text{ Gbps} Dedicated Interconnect links offers the lowest cost per Gbps and lower egress data fees compared to VPN solutions or over-provisioned 100 Gbps100\text{ Gbps} links.

Step-by-Step Solution

1
Analyze the bandwidth requirement
The application demands a sustained throughput of 15 Gbps15\text{ Gbps}.
HA VPN tunnels max out at 3 Gbps3\text{ Gbps} per tunnel and are unsuited for high sustained throughput requirements.
2
Evaluate direct physical connectivity options for cost efficiency
Since the facility is colocated with a Google Cloud Interconnect location, Dedicated Interconnect is available in 10 Gbps10\text{ Gbps} and 100 Gbps100\text{ Gbps} increments.
Dedicated Interconnect offers lower egress data rates and higher reliability for heavy bandwidth workloads.
3
Calculate the optimal capacity to minimize monthly operational cost
Two 10 Gbps10\text{ Gbps} Dedicated Interconnect links provide 20 Gbps20\text{ Gbps} total capacity, meeting the 15 Gbps15\text{ Gbps} target cost-effectively without the steep baseline cost of a 100 Gbps100\text{ Gbps} port.
Matching capacity closely to business requirements avoids unnecessary over-provisioning costs.

Key Concept

Designing hybrid network connectivity based on throughput thresholds and cost optimization principles.
Question 1349Question

An enterprise enterprise needs to securely connect its on-premises data center to Google Cloud. The requirement calls for a high-availability, encrypted connection over the public internet with a target bandwidth below 3 Gbps per tunnel. Which connectivity option best meets this requirement?

Show answer & explanation

Answer: HA VPN (High Availability Cloud VPN)

Answer

HA VPN (High Availability Cloud VPN) is the recommended solution for encrypted hybrid connectivity over the public internet supporting up to 3 Gbps per tunnel with SLA-backed 99.99% topology.
HA VPN delivers high availability (99.99% SLA) with IPsec encrypted tunnels over the public internet, perfectly matching the target bandwidth of under 3 Gbps per tunnel.

Step-by-Step Solution

1
Analyze hybrid connectivity medium and encryption requirements.
The requirement specifies an encrypted tunnel operating over the public internet.
Cloud VPN (specifically HA VPN) uses IPsec over the public internet, whereas Interconnect provides private physical/layer-2 connections.
2
Evaluate throughput constraints.
The required bandwidth is under 3 Gbps per tunnel.
HA VPN supports up to 3 Gbps per tunnel, making it cost-effective and technically appropriate for bandwidth requirements below this threshold.

Key Concept

Matching Google Cloud hybrid connectivity options (HA VPN vs. Dedicated/Partner Interconnect) based on encryption, transport medium, SLA, and throughput requirements.
Question 1350Question

A financial analytics firm needs to store 50 TB50\text{ TB} of historical transaction logs on Google Cloud that are accessed less than once a year for legal compliance. Additionally, they need to execute an on-demand containerized processing script that runs briefly only when an audit report is generated. The firm wants to minimize baseline operational overhead and total cloud costs. Which TWO architectural choices should the cloud architect recommend? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Store historical transaction logs in Cloud Storage using the Archive storage class.; Deploy the containerized processing script on Cloud Run.

Answer

The cloud architect should store historical transaction logs in Cloud Storage using the Archive storage class and deploy the containerized processing script on Cloud Run.
Combining Cloud Storage Archive class with Cloud Run achieves maximum cost optimization. Cloud Storage Archive provides ultra-low-cost storage for static compliance data accessed less than once per year. Cloud Run provides serverless container execution that scales to zero instances when inactive, eliminating baseline infrastructure spending.

Step-by-Step Solution

1
Evaluate storage requirements for cold historical logs
Cloud Storage Archive storage class provides the lowest unit storage cost for data accessed less than once annually.
Choosing cold storage aligns resource selection directly with low-access business requirements while minimizing recurring storage spend.
2
Evaluate compute options for infrequent containerized execution
Cloud Run automatically provisions compute on demand and scales down to zero when idle.
Serverless containers eliminate idle compute costs for workloads with unpredictable or low invocation frequencies.

Key Concept

Selecting cost-optimized cloud storage tiers and serverless compute platforms based on workload access frequency and invocation patterns.
Question 1351Question

A enterprise networking team is designing its hybrid connectivity architecture between an on-premises data center and Google Cloud. Match each Google Cloud hybrid networking component to its primary design requirement or architectural capability.

Click a left item, then click its matching right item

Items

Cloud Router
Dedicated Interconnect
Partner Interconnect
HA VPN

Matches

Show answer & explanation

Answer

Cloud Router matches dynamic BGP routing updates; Dedicated Interconnect matches direct physical wire connection at a Google facility; Partner Interconnect matches connection through a service provider; HA VPN matches encrypted IPsec connection with 99.99% SLA over the internet.
Each hybrid connectivity technology fulfills a distinct role: Cloud Router handles BGP dynamic routing, Dedicated Interconnect establishes direct physical connections at Google edge facilities, Partner Interconnect leverages service provider networks for indirect connectivity, and HA VPN provides encrypted 99.99% SLA connectivity over the public internet.

Step-by-Step Solution

1
Identify the primary capability of Cloud Router
Cloud Router dynamically exchanges routes using BGP across VPNs or Interconnects.
Cloud Router manages dynamic routing to avoid static route configuration in GCP VPCs.
2
Distinguish between Dedicated Interconnect and Partner Interconnect
Dedicated Interconnect requires a physical fiber link directly to Google edge facilities, whereas Partner Interconnect uses a service provider's network.
Physical proximity to Google colocation dictates whether Dedicated or Partner Interconnect is appropriate.
3
Identify the encryption and availability profile of HA VPN
HA VPN provides encrypted IPsec tunnels over public internet paths with a 99.99% SLA architecture.
HA VPN requires dual active interfaces and BGP routing to deliver high-availability encrypted connectivity.

Key Concept

Designing Hybrid Network Architecture in GCP
Question 1352Question

A financial services company is designing a hybrid network connection between its main on-premises data center and a Google Cloud Virtual Private Cloud (VPC) host network. The architecture must support a constant minimum throughput of 15 Gbps for database synchronization, guarantee enterprise SLA-backed availability, and dynamically exchange routes between on-premises routers and Google Cloud without relying on static routes. Which hybrid network architecture should the cloud architect recommend?

Show answer & explanation

Answer: Provision two 10 Gbps Dedicated Interconnect connections across separate metropolitan edge availability domains, and configure Cloud Router to manage dynamic BGP sessions.

Answer

The recommended solution is to provision two 10 Gbps Dedicated Interconnect connections across separate metropolitan edge availability domains and configure Cloud Router to manage dynamic BGP sessions.
Provisioning two 10 Gbps Dedicated Interconnect connections satisfies the 15 Gbps bandwidth threshold while ensuring high availability across distinct edge locations. Integrating Cloud Router enables dynamic BGP route exchanges between Google Cloud VPC and the on-premises network.

Step-by-Step Solution

1
Analyze bandwidth and reliability constraints
Requirements call for 15 Gbps sustained throughput and SLA-backed high availability.
Cloud VPN is capped at 3 Gbps per tunnel over the public internet and cannot guarantee 15 Gbps dedicated throughput. Dedicated Interconnect provides 10 Gbps or 100 Gbps physical circuits capable of meeting high bandwidth demands.
2
Evaluate routing and connectivity mechanisms
Dynamic routing requires Cloud Router with Border Gateway Protocol (BGP).
Cloud Router integrates with Dedicated Interconnect to dynamically advertise and learn network prefixes via BGP without manual static route maintenance.
3
Select redundant topology for high availability SLA
Deploying two Dedicated Interconnect circuits across separate edge availability domains fulfills production SLA requirements.
Redundant interconnect attachments across distinct edge facilities protect against single-point-of-failure outages.

Key Concept

Selecting high-throughput hybrid connectivity with Dedicated Interconnect and dynamic BGP routing via Cloud Router
Question 1353Question

A financial analytics firm is migrating its transactional relational database to Google Cloud. The workload requires strict ACID compliance, relational SQL join support, and multi-zone High Availability within a single GCP region (`us-central1`). Peak operational throughput is estimated at 2,5002,500 write transactions per second. The primary business requirement is to minimize operational management overhead and infrastructure costs while maintaining regional resilience. Which architecture best satisfies these technical and cost-optimization requirements?

Show answer & explanation

Answer: Provision Cloud SQL for PostgreSQL configured with regional High Availability (HA) across two zones, utilizing Cloud Storage Object Lifecycle Management to archive inactive historical audit data.

Answer

Provisioning Cloud SQL for PostgreSQL with regional High Availability (HA) and offloading inactive historical records to Cloud Storage using lifecycle policies provides the optimal balance of managed relational performance, automated failover, and minimal cost.
Cloud SQL for PostgreSQL with regional HA provides automated multi-zone failover, full relational compatibility, and sufficient IOPS performance for 2,5002,500 write ops/sec. Combined with Cloud Storage lifecycle rules for historical data, it fulfills all technical requirements at minimal cost and administrative effort.

Step-by-Step Solution

1
Evaluate workload database requirements
Workload requires relational SQL, strong ACID guarantees, and max 2,5002,500 writes/sec within a single region (`us-central1`).
Determines whether standard relational databases (Cloud SQL) or horizontally scaled global databases (Cloud Spanner) are needed.
2
Compare managed database platform costs and operational overhead
Cloud SQL for PostgreSQL easily supports up to 2,5002,500 writes/sec in a single region with automated regional failover at a fraction of Cloud Spanner's cost.
Selecting Cloud SQL minimizes infrastructure cost while fulfilling all SLA and functional demands.
3
Select data archiving strategy for cost optimization
Exporting inactive historical audit logs to Cloud Storage Nearline/Coldline with Object Lifecycle Management reduces primary database storage usage.
Optimizes ongoing storage expenditure by leveraging cheaper object storage tiers for cold data.

Key Concept

Cloud Database Selection and Cost Right-Sizing
Estimated Time:2m 0s
Question 1354Question

A digital marketing agency runs intermittent batch processing jobs to render promotional video clips for ad campaigns. Once rendered, the video files are accessed frequently during the first 30 days, but are rarely accessed after that point. The agency is required to retain these files for 3 years for contract compliance. The agency wants to minimize compute and storage costs while avoiding unnecessary operational management. Which TWO architectural decisions should the agency make to meet these requirements?

Select all that apply

Show answer & explanation

Answer: Execute the intermittent batch rendering tasks using Cloud Run jobs.; Configure an Object Lifecycle Management policy on Cloud Storage to transition video objects to Coldline Storage after 30 days.

Answer

The correct decisions are to execute batch rendering tasks using Cloud Run jobs and to configure Object Lifecycle Management on Cloud Storage to transition video objects to Coldline Storage after 30 days.
Executing intermittent processing using serverless Cloud Run jobs ensures compute costs are incurred only during active rendering runs. Implementing Object Lifecycle Management on Cloud Storage automates moving older video files to Coldline Storage, significantly cutting storage expenses for data accessed rarely after 30 days.

Step-by-Step Solution

1
Analyze the compute workload pattern and operational requirements.
The workload is intermittent batch processing, making serverless container execution (Cloud Run jobs) ideal because it charges only for active execution time and eliminates idle capacity costs.
Running a continuously provisioned compute cluster like GKE leads to paying for unused capacity during idle periods.
2
Analyze the storage access lifecycle and retention requirements.
Media files are actively used for 30 days and then infrequently accessed for 3 years. Transitioning files from Standard to Coldline Storage via lifecycle rules lowers cost while retaining accessibility.
Object storage classes like Coldline offer lower monthly gigabyte costs for data accessed less than once a month, whereas relational database engines like Spanner are prohibitively expensive for binary file storage.

Key Concept

Serverless batch compute right-sizing combined with automated storage lifecycle management to minimize total cost of ownership.
Question 1355Question

A healthcare technology startup is deploying a simple, stateless HTTP microservice for sending patient notification messages. The service experiences variable traffic during business hours and extended periods of zero activity overnight. The startup needs to minimize infrastructure costs by ensuring compute charges drop to zero when no requests are being processed, while also eliminating cluster management overhead. Which Google Cloud compute solution best fulfills these requirements?

Show answer & explanation

Answer: Deploy the microservice on Cloud Run.

Answer

Deploying the microservice on Cloud Run best fulfills the business requirements by automatically scaling down to zero instances during idle periods to eliminate compute charges and removing infrastructure management overhead.
Deploying the microservice on Cloud Run is the optimal solution because Cloud Run is a fully managed serverless execution environment. It automatically scales stateless containerized HTTP workloads down to zero instances when no requests are being served, ensuring zero infrastructure costs during idle periods while completely abstracting infrastructure management.

Step-by-Step Solution

1
Analyze workload traffic profile and operational requirements.
The application is a stateless HTTP microservice with intermittent daytime traffic and long idle overnight periods.
Understanding the traffic pattern determines whether dedicated continuous infrastructure or serverless scale-to-zero compute is optimal.
2
Evaluate Google Cloud compute options against cost and management goals.
Cloud Run bills strictly per request and CPU/memory usage during request processing, scaling to zero when idle.
Aligns directly with the requirement to pay zero dollars during periods of inactivity.
3
Verify operational overhead for the selected platform.
Cloud Run manages server provisioning, patching, and scaling automatically without requiring GKE cluster or VM administration.
Meets the startup's constraint of eliminating operational and cluster management overhead.

Key Concept

Cloud Run Serverless Compute for Cost Optimization
Question 1356Question

A digital media analytics company provides on-demand data visualization dashboards and executes nightly batch calculations for enterprise clients. The dashboard query microservice receives highly intermittent HTTPS traffic, experiencing long periods of zero incoming requests during off-peak hours. The nightly batch calculations run once per day for 45 minutes on structured datasets. The organization aims to strictly optimize infrastructure expenditure by eliminating payments for idle capacity, while also minimizing operational management overhead for the cloud engineering team. Which architectural approach fulfills these business and cost constraints?

Show answer & explanation

Answer: Deploy the dashboard microservice to Cloud Run to leverage automatic scale-to-zero capacity, and execute the nightly batch processing as a Cloud Run Job.

Answer

Deploy the dashboard microservice to Cloud Run to leverage automatic scale-to-zero capacity, and execute the nightly batch processing as a Cloud Run Job.
The combination of Cloud Run for the web microservice and Cloud Run Jobs for the scheduled batch task provides a completely serverless architecture. Cloud Run automatically scales compute resources to zero when no HTTPS requests are active, ensuring zero compute expenditure during idle hours. Cloud Run Jobs run containerized tasks to completion and terminate immediately, avoiding persistent server costs and eliminating cluster management overhead.

Step-by-Step Solution

1
Analyze compute workload traffic patterns and cost constraints.
The dashboard endpoint is highly intermittent (requiring scale-to-zero), and the batch process is short-lived (45 minutes per day).
Traditional VM instance sizing or continuously running container clusters incur sustained compute costs during idle windows.
2
Evaluate serverless compute options against management overhead.
Cloud Run scales to zero instances during zero-request periods, and Cloud Run Jobs execute task containers on demand without requiring active cluster nodes.
This fully satisfies the cost optimization objective by charging strictly for CPU/memory consumption during execution.
3
Compare against alternatives such as GKE, Committed Use Discounts, and Cloud Spanner.
GKE adds cluster baseline overhead, CUDs lock in idle capacity payment, and Cloud Spanner introduces unnecessary database provisioning costs.
Selecting fully managed serverless components achieves maximum cost efficiency and minimal operational toil.

Key Concept

Serverless Compute Right-Sizing and Cost Optimization with Cloud Run
Question 1357Question

A healthcare software provider processes nightly batch export files (~50 GB daily) containing electronic health records. The processing pipeline executes heavy data transformations for 45 minutes each midnight. The transformed output must be stored in a relational database where internal business analysts run daily analytical reports during standard business hours. The company wants to minimize infrastructure costs while meeting all operational requirements. Which TWO architectural decisions should you recommend?

Select all that apply

Show answer & explanation

Answer: Execute the nightly transformation tasks using serverless Cloud Run jobs that scale down completely upon completion.; Store transformed data in Cloud SQL for PostgreSQL to serve internal business reporting queries.

Answer

The recommended approach combines serverless Cloud Run jobs for on-demand 45-minute nightly processing and Cloud SQL for PostgreSQL to host internal reporting data cost-effectively.
Selecting serverless Cloud Run jobs ensures compute resources consume zero budget during the 23+ idle hours per day. Pairing this with Cloud SQL for PostgreSQL delivers required relational database features for business analytics without incurring high multi-region global database baseline fees.

Step-by-Step Solution

1
Analyze the compute workload pattern
The transformation pipeline runs only 45 minutes per day, making continuous compute instances cost-inefficient.
Serverless container execution via Cloud Run jobs eliminates idle resource charges between daily runs.
2
Analyze database access requirements
Internal business analysts require standard relational SQL queries during business hours within a single operational context.
Cloud SQL satisfies relational querying needs at a fraction of the cost of globally distributed relational databases like Cloud Spanner.

Key Concept

Optimizing infrastructure costs by matching workload duty cycles to serverless compute paradigms and right-sizing relational storage services.
Question 1358Question

A global retail enterprise is re-architecting its e-commerce web platform on Google Cloud. The application experiences steady baseline usage throughout the day, but experiences unpredictable flash sales where traffic surges up to 20×20\times within seconds. The business requires an architecture that minimizes total cost of ownership by eliminating idle compute costs during off-peak hours while guaranteeing seamless responsiveness during sudden traffic spikes. Which TWO architectural decisions should you recommend to meet the business requirements? (Select TWO)

Select all that apply

Show answer & explanation

Answer: Deploy the stateless web application on Cloud Run with minimum instances configured for baseline traffic and auto-scaling enabled for peak spikes.; Purchase Flexible Committed Use Discounts (CUDs) to cover the predictable minimum hourly compute spend across baseline workloads.

Answer

The optimal architecture combines serverless deployment via Cloud Run (with minimum instances configured for baseline usage and auto-scaling for spikes) with Flexible Committed Use Discounts (CUDs) to lock in discounts for predictable baseline compute spend.
To satisfy both cost optimization and high availability during sudden 20×20\times traffic spikes, stateless HTTP workloads should leverage serverless container platforms like Cloud Run that automatically handle rapid scaling without requiring management of underlying node infrastructure. Combining this auto-scaling compute model with Flexible Committed Use Discounts (CUDs) targeted strictly at baseline consumption ensures maximum cost reduction for steady usage without over-committing capital on burst capacity.

Step-by-Step Solution

1
Analyze workload traffic profile and cost constraints
Identified a low, steady baseline combined with extreme, bursty 20×20\times traffic spikes during flash sales.
Cost optimization requires paying only for baseline infrastructure continuously while dynamically scaling compute resources during spikes.
2
Select serverless compute platform suitable for bursty stateless HTTP workloads
Selected Cloud Run with minimum instances for baseline readiness and autoscaling for flash sales.
Cloud Run scales rapidly to handle incoming HTTP requests and scales down when traffic subsides, preventing idle server charges.
3
Apply financial optimization mechanisms for baseline usage
Applied Flexible Committed Use Discounts (CUDs) tuned to baseline hourly usage.
CUDs lower hourly compute rates for predictable minimum commitments without financial exposure to unpredictable peak bursts.

Key Concept

Combining serverless auto-scaling compute platforms with baseline Committed Use Discounts (CUDs) to optimize cloud cost against highly bursty business workloads.
Estimated Time:2m 0s
Question 1359Question

A healthcare organization is migrating clinical workloads and telemetry systems to Google Cloud. The infrastructure requires a tailored hybrid network topology that satisfies specific throughput, SLA, provider presence, and cross-VPC communication constraints. Match each GCP hybrid networking component to the architectural requirement it satisfies.

Click a left item, then click its matching right item

Items

Dedicated Interconnect with MACsec
HA VPN with Cloud Router
Partner Interconnect
VPC Network Peering

Matches

Show answer & explanation

Answer

Dedicated Interconnect with MACsec connects directly via physical circuits with Layer 2 encryption; HA VPN with Cloud Router provides 99.99% SLA encrypted connectivity using BGP over public internet; Partner Interconnect offers private connectivity through third-party service providers when direct colocation is impossible; VPC Network Peering securely bridges separate VPCs internally without network transitivity.
Each GCP networking product satisfies a distinct architectural need: Dedicated Interconnect provides direct physical links with MACsec hardware encryption; HA VPN delivers an SLA-backed 99.99% IPSec tunnel over public internet with BGP dynamic routing; Partner Interconnect offers private connectivity through service providers where Google colocation is absent; and VPC Network Peering provides direct, non-transitive internal IP connectivity between distinct VPCs.

Step-by-Step Solution

1
Identify direct physical connection requirements with hardware-level encryption
Dedicated Interconnect with MACsec maps to direct physical circuits at a colocation facility offering link-layer encryption.
Dedicated Interconnect requires a physical cross-connect in a Google facility, and MACsec secures traffic between the on-premises router and Google edge router.
2
Identify high-availability internet-based encrypted connectivity requirements
HA VPN with Cloud Router maps to IPSec encrypted connections across public internet with 99.99% SLA via dynamic BGP routing.
HA VPN guarantees 99.99% availability when configured with two tunnels across properly redundant cloud routers using BGP.
3
Identify service provider-backed private connection requirements
Partner Interconnect maps to private connectivity via service providers for locations lacking direct Google colocation presence.
Partner Interconnect extends GCP private networks into data centers using a service provider's physical infrastructure.
4
Identify inter-VPC private communication requirements
VPC Network Peering maps to low-latency internal IP routing between separate GCP VPC networks with non-transitive boundaries.
VPC Network Peering directly links virtual networks within GCP, keeping traffic on Google's private network while enforcing non-transitive route isolation.

Key Concept

Selecting appropriate GCP hybrid connectivity and inter-VPC networking technologies based on physical presence, encryption, SLA, and routing constraints.
Question 1360Question

A healthcare startup needs to establish a secure, encrypted connection between its local office and a Google Cloud VPC network for database backup transfers requiring less than 1.5 Gbps of bandwidth. Which Google Cloud hybrid connectivity service should the cloud architect recommend to meet these requirements at the lowest cost and complexity?

Show answer & explanation

Answer: HA VPN

Answer

HA VPN is the optimal choice as it provides encrypted, SLA-backed hybrid connectivity over the public internet for workloads requiring less than 3 Gbps per tunnel.
HA VPN provides high-availability IPsec VPN connections that support up to 3 Gbps of encrypted bandwidth per tunnel over public internet connections, making it the most cost-effective and low-complexity solution for sub-1.5 Gbps bandwidth requirements.

Step-by-Step Solution

1
Analyze bandwidth and security requirements
The requirement calls for an encrypted connection with throughput under 1.5 Gbps.
Bandwidth thresholds determine whether Cloud VPN (up to 3 Gbps per tunnel) or Cloud Interconnect (10/100 Gbps or Partner 50 Mbps - 10 Gbps) is necessary.
2
Evaluate hybrid connectivity options against cost and complexity
HA VPN delivers built-in IPsec encryption over the public internet without requiring physical cross-connects or third-party service provider provisioning.
Using HA VPN satisfies both the security (IPsec encryption) and low-capacity bandwidth requirements at minimal cost.

Key Concept

Selecting HA VPN vs Cloud Interconnect based on throughput, encryption, and cost requirements
PreviousPage 68 / 80Next
All practice questions — Google Cloud Professional Cloud Architect | Examkin