Courseiva
mediumMultiple ChoiceObjective-mapped

Google ACE Practice Question: An engineering team is deciding between App…

An engineering team is deciding between App Engine Standard and App Engine Flexible for a Python API. The API has unpredictable traffic, must scale to zero when idle, runs standard Python code with no custom system packages, and requires < 1 second startup time. Which environment is most suitable?

⚠ Common exam trap

Google Cloud often tests the misconception that App Engine Flexible is more capable because it supports custom runtimes, leading candidates to overlook the critical requirements of scaling to zero and sub-second startup that only Standard satisfies.

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

App Engine Standard — it scales to zero, starts in sub-second, and supports standard Python runtimes

App Engine Standard is the correct choice because it automatically scales to zero instances during idle periods, starts new instances in under a second, and supports standard Python runtimes without custom system packages. The requirement for sub-second startup time and scaling to zero aligns perfectly with Standard's sandboxed, pre-loaded runtime environment, whereas Flexible environment has slower startup times due to VM provisioning and cannot scale to zero.

Answer analysis

Option-by-option breakdown

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

  • App Engine Flexible — it supports Python with custom packages

    Why it's wrong here

    App Engine Flexible runs in managed VMs, so it supports Dockerfiles and custom system packages that Standard cannot install, but that capability comes with a persistent instance footprint: it cannot scale to zero, and its VM-provisioning cold starts take minutes. For a lightweight Python API that only needs standard runtimes, this is overengineered and incurs unnecessary baseline cost. The scenario's constraints don't mention any native dependencies, so Flexible's main advantage is irrelevant and its scaling behavior is a clear disadvantage.

  • App Engine Standard — it scales to zero, starts in sub-second, and supports standard Python runtimes

    Why this is correct

    App Engine Standard is the correct choice because it runs on a fully managed, sandboxed PaaS that automatically scales to zero instances when idle, eliminating compute cost between requests. Its stateless runtime instances start in under a second even from cold, which is critical for latency-sensitive or sporadically used APIs. The API's requirement of standard Python runtimes fits Standard's supported runtimes exactly, and the absence of any need for custom system packages sidesteps Standard's primary limitation.

  • Both are equivalent — the difference is only in supported languages

    Why it's wrong here

    The two App Engine environments differ far beyond language support: Standard is a serverless, autoscaling platform with scale-to-zero and sub-second cold starts, while Flexible runs on long-lived VMs that scale to a minimum of one instance and require minutes for cold starts. They also differ in pricing model (instance-hours and network vs. VM cost), runtime sandboxing, and the ability to customize the execution environment via Dockerfiles. These operational and architectural differences make the environments non-equivalent, so the claim that the only distinction is languages is plainly inaccurate.

  • Neither — use Cloud Run instead for Python APIs

    Why it's wrong here

    Cloud Run is indeed a valid modern alternative because it offers port-based HTTP serving, scale-to-zero idle instances, and sub-second cold starts via Knative. However, the question explicitly constrains the choice to the two App Engine environments, and App Engine Standard provides the same scale-to-zero and fast-start behavior without requiring you to build or maintain a container image. Since the API uses only standard Python runtimes and no custom system packages, Standard is the more direct and operationally lighter answer.

About these practice questions

One of 769 original ACE 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 ACE 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 ACE exam.