Question 201 of 499
Operationalizing machine learning modelshardMultiple ChoiceObjective-mapped

Quick Answer

The answer is to set minNodes to a value that handles baseline traffic and use traffic splitting to gradually shift traffic to new replicas. This strategy directly addresses cold start latency on Vertex AI endpoints by ensuring a warm pool of replicas is always available for predictable request volumes, while traffic splitting prevents newly spun-up replicas from being overwhelmed before their model weights are fully loaded. On the Google Professional Data Engineer exam, this scenario tests your understanding of autoscaling trade-offs: the common trap is choosing to increase maxNodes or reduce timeout settings, which either wastes cost or fails to solve the initialization delay. The key insight is that cold starts occur when replicas scale from zero, so maintaining a baseline floor with minNodes eliminates that latency for steady-state traffic, while gradual traffic shifting avoids sudden spikes on fresh replicas. Remember the memory tip: “Keep the floor warm, then ease the door open” — minNodes is your warm floor, traffic splitting is your gentle door.

PDE Operationalizing machine learning models Practice Question

This PDE practice question tests your understanding of operationalizing machine learning models. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

You have deployed a TensorFlow model on Vertex AI Endpoints with autoscaling. The model receives high traffic during peak hours, but you notice that inference latency increases significantly during cold starts. Which strategy would best minimize cold-start latency without incurring unnecessary cost?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "best"

    Why it matters: Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.

  • Clue: "minimum / minimize"

    Why it matters: Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.

Question 1hardmultiple choice
Full question →

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

Set minNodes to a value that handles baseline traffic, and use traffic splitting to gradually shift traffic to new replicas

Setting minNodes to a value that handles baseline traffic ensures that a minimum number of replicas are always warm, eliminating cold starts for baseline requests. Traffic splitting gradually shifts new traffic to newly created replicas, allowing them to warm up before receiving full load, which minimizes latency spikes without over-provisioning resources.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Set minNodes to a value that handles baseline traffic, and use traffic splitting to gradually shift traffic to new replicas

    Why this is correct

    Keeps baseline replicas warm; gradual traffic shift avoids sudden load.

    Clue confirmation

    The clue words "best", "minimum / minimize" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Set minNodes to 0 and enable node auto-scaling

    Why it's wrong here

    This would increase cold starts, as nodes can scale down to zero.

  • Increase maxNodes to allow more replicas during peak, and rely on Kubernetes Horizontal Pod Autoscaler

    Why it's wrong here

    Kubernetes HPA is not directly used in Vertex AI Endpoints; increasing maxNodes alone does not prevent cold starts.

  • Use Cloud Functions with Cloud Run for the model inference to leverage serverless cold-start mitigation

    Why it's wrong here

    Cloud Functions are not designed for large model serving with GPU needs.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the misconception that increasing maxNodes or relying on generic autoscaling (like HPA) solves cold starts, but the key is keeping a baseline of warm replicas via minNodes and using traffic splitting to warm new replicas gradually.

Detailed technical explanation

How to think about this question

Vertex AI Endpoints use a custom autoscaler that scales replicas based on CPU utilization or request latency. When a new replica is created, it must load the model from Cloud Storage into memory, which can take several seconds for large models. Traffic splitting works by directing a percentage of requests to a new version, allowing the model to warm up (e.g., by running a few inference requests) before receiving full traffic, effectively reducing the perceived cold-start latency.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related PDE practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free PDE practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this PDE question test?

Operationalizing machine learning models — This question tests Operationalizing machine learning models — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Set minNodes to a value that handles baseline traffic, and use traffic splitting to gradually shift traffic to new replicas — Setting minNodes to a value that handles baseline traffic ensures that a minimum number of replicas are always warm, eliminating cold starts for baseline requests. Traffic splitting gradually shifts new traffic to newly created replicas, allowing them to warm up before receiving full load, which minimizes latency spikes without over-provisioning resources.

What should I do if I get this PDE question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "best", "minimum / minimize". Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This PDE 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 PDE exam.