Question 218 of 506
Scaling prototypes into ML modelshardMultiple ChoiceObjective-mapped

Quick Answer

The answer is to set a higher minimum number of instances to handle the expected peak. This directly mitigates cold start latency in Vertex AI autoscaling by ensuring a baseline of pre-warmed instances are always running and ready to serve traffic, so when a rapid spike like Black Friday hits, the autoscaler does not need to initialize new instances from scratch, which causes timeouts. On the Google Professional Machine Learning Engineer exam, this tests your understanding of production deployment trade-offs: autoscaling saves cost but introduces cold start risk, and the correct fix is proactive capacity planning rather than reactive scaling. A common trap is choosing to increase the cooldown period or reduce the target utilization, which only delays or worsens the problem. Remember the memory tip: “Pre-warm, don’t re-form”—baseline instances prevent the cold start initialization delay.

PMLE Scaling prototypes into ML models Practice Question

This PMLE practice question tests your understanding of scaling prototypes into ml models. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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.

A large e-commerce company deploys a recommendation model on Vertex AI with autoscaling enabled. During Black Friday, traffic spikes rapidly. The autoscaler adds new instances, but new instances take several minutes to become ready (cold start). As a result, many requests time out. What should they do to mitigate this issue?

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 a higher minimum number of instances to handle the expected peak.

Option D is correct because setting a higher minimum number of instances ensures that a baseline capacity is always running and ready to serve traffic. This pre-warms instances, eliminating the cold-start latency during rapid traffic spikes, such as Black Friday, because new instances do not need to initialize from scratch.

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.

  • Use a larger machine type to reduce the number of instances needed.

    Why it's wrong here

    Reduces instance count but each still suffers cold start under rapid scaling.

  • Configure the autoscaler to use CPU utilization metric instead of request count.

    Why it's wrong here

    Does not address cold start; might change scaling behavior but not mitigate initial spike.

  • Increase the health check grace period for new instances.

    Why it's wrong here

    Gives more time for cold start but does not reduce latency; requests still wait.

  • Set a higher minimum number of instances to handle the expected peak.

    Why this is correct

    Pre-warms instances to absorb traffic spikes without cold start.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates confuse scaling metrics or instance readiness with the fundamental need for pre-provisioned capacity, leading them to choose options that adjust autoscaling behavior without eliminating the cold-start latency.

Detailed technical explanation

How to think about this question

Vertex AI Prediction uses containerized models that must download artifacts, load frameworks, and initialize inference engines before serving requests. The cold-start delay is often caused by model artifact size (e.g., large TensorFlow SavedModel or PyTorch state_dict) and dependency loading. In real-world scenarios, combining a higher minimum with a predictive autoscaler (e.g., using historical traffic patterns) can further reduce timeouts during flash crowds.

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

An e-commerce site experiences heavy traffic on Black Friday and near-zero traffic during off-peak weeks. Rather than provisioning permanent large VMs, the team uses auto-scaling groups that add capacity automatically under load and reduce it overnight. Questions like this test whether you understand elasticity, availability zones, and cloud compute scaling patterns.

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 PMLE 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 PMLE 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 PMLE question test?

Scaling prototypes into ML models — This question tests Scaling prototypes into ML models — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Set a higher minimum number of instances to handle the expected peak. — Option D is correct because setting a higher minimum number of instances ensures that a baseline capacity is always running and ready to serve traffic. This pre-warms instances, eliminating the cold-start latency during rapid traffic spikes, such as Black Friday, because new instances do not need to initialize from scratch.

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

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

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 24, 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 PMLE 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 PMLE exam.