Question 245 of 500
Deploying applicationseasyMultiple ChoiceObjective-mapped

Quick Answer

The correct answer is to optimize the Java application to start within 10 minutes and use startup CPU boost. This is the best deployment approach because Cloud Run enforces a hard maximum container startup timeout of 600 seconds, and the startup CPU boost feature temporarily allocates additional vCPUs during the initialization phase, dramatically reducing cold start latency for resource-heavy applications like a monolithic Java migration. On the Google Professional Cloud Developer exam, this scenario tests your understanding of Cloud Run’s startup lifecycle and the distinction between request timeout and container startup timeout—a common trap is confusing the two or assuming you can set a startup timeout beyond 10 minutes. The key insight is that you must fit initialization within the platform’s limit, then leverage CPU boost to accelerate that window. Memory tip: think “600 seconds to start, boost to dart.”

PCD Deploying applications Practice Question

This PCD practice question tests your understanding of deploying applications. 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 company is migrating a monolithic Java application to Cloud Run. The application takes 10 minutes to start. What is the best deployment approach?

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.

Question 1easymultiple 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

Optimize the Java application to start within 10 minutes and use startup CPU boost.

Option C is correct because Cloud Run allows a maximum container startup time of 10 minutes (600 seconds) by default, and the startup CPU boost feature temporarily allocates additional CPU during startup to accelerate initialization. By optimizing the application to start within this limit and enabling startup CPU boost, the company can directly address the cold start issue without changing the deployment platform or architecture.

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.

  • Migrate to App Engine Flexible Environment.

    Why it's wrong here

    App Engine Flex also has startup limits and may not be a direct solution.

  • Use a custom runtime with a cold start optimization.

    Why it's wrong here

    Custom runtimes are not supported on Cloud Run.

  • Optimize the Java application to start within 10 minutes and use startup CPU boost.

    Why this is correct

    Cloud Run allows up to 10 minutes for startup; CPU boost helps.

    Clue confirmation

    The clue word "best" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Increase the memory limit to 4 GB.

    Why it's wrong here

    Memory helps but startup time may still exceed 10 minutes.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Cisco often tests the misconception that increasing memory or changing platforms can fix startup time issues, when the real solution is to optimize the application startup within the platform's constraints and use built-in features like startup CPU boost.

Detailed technical explanation

How to think about this question

Cloud Run's startup CPU boost is a feature that temporarily increases the CPU allocation (up to the maximum allowed) during the container's startup phase, which can significantly reduce initialization time for Java applications that perform heavy class loading or JIT compilation. Under the hood, Cloud Run measures startup time from when the container starts until the first request is served, and if the container fails to respond within the 10-minute timeout, it is terminated. In real-world scenarios, Java applications with large frameworks (e.g., Spring Boot) often benefit from this boost, but the application must still be optimized to complete initialization within the timeout.

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 cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

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

Deploying applications — This question tests Deploying applications — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Optimize the Java application to start within 10 minutes and use startup CPU boost. — Option C is correct because Cloud Run allows a maximum container startup time of 10 minutes (600 seconds) by default, and the startup CPU boost feature temporarily allocates additional CPU during startup to accelerate initialization. By optimizing the application to start within this limit and enabling startup CPU boost, the company can directly address the cold start issue without changing the deployment platform or architecture.

What should I do if I get this PCD 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". 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 25, 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 PCD 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 PCD exam.