Courseiva
Google Cloud Products and ServiceshardMultiple ChoiceObjective-mapped

Cloud Digital Leader Google Cloud Products and Services Practice Question

An organization needs to run a batch process every night that analyzes terabytes of data from Cloud Storage and writes results back to BigQuery. The job is not time-sensitive and can be preempted. Which compute approach is most cost-effective?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Compute Engine with preemptible VMs

Preemptible VMs on Compute Engine offer the lowest cost for fault-tolerant batch workloads because they are up to 80% cheaper than regular VMs but can be terminated at any time. Cloud Run has a request timeout limit and is not ideal for long-running batch jobs. GKE with preemptible nodes is also cost-effective but requires Kubernetes expertise and is more complex than simply using preemptible VMs. Cloud Functions has a timeout limit.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Cloud Functions with background trigger

    Why it's wrong here

    Cloud Functions with a background trigger is unsuitable for a long-running nightly batch process because Cloud Functions has a hard execution timeout: background functions are limited to 60 minutes, and HTTP functions to 9 minutes. A batch job that processes large datasets or performs complex computations can easily exceed these limits, leading to abrupt termination. Additionally, Cloud Functions is designed for event-driven, short-lived, and high-frequency workloads, not for sustained compute jobs, so it would be misapplied here and less cost-effective than a preemptible VM.

  • Compute Engine with preemptible VMs

    Why this is correct

    Preemptible VMs on Compute Engine are the right choice for a nightly batch process because they are up to 80% cheaper than standard VMs, which directly reduces operational cost for a recurring, interruptible workload. Since batch jobs are inherently fault-tolerant—they can be checkpointed or simply rerun from the start—the risk of preemption is acceptable, and Google Cloud automatically restarts the VM if capacity is available. For a simple scheduled job, a preemptible VM is a low-complexity, high-savings solution.

  • Google Kubernetes Engine with standard nodes

    Why it's wrong here

    Google Kubernetes Engine with standard nodes would solve the batch job, but it introduces unnecessary operational overhead for a simple nightly task. You must provision and manage a cluster, define deployments and jobs, and generally you pay for the full node (even if the batch job uses only a fraction of its resources). Standard nodes are not preemptible, so you lose the up to 80% cost savings that preemptible VMs offer, making GKE a more expensive and more complex alternative for this use case.

  • Cloud Run with manual scaling

    Why it's wrong here

    Cloud Run has a request timeout of 60 minutes (up to 60 minutes for async) and is not optimized for long-running batch jobs; also cost is per request, not per compute time for sustained use.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

About these practice questions

One of 829 original GCDL practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This GCDL practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the GCDL exam.