Question 213 of 499
Designing data processing systemshardMultiple ChoiceObjective-mapped

Quick Answer

The answer is to increase the Cloud Function timeout beyond 540 seconds, as the logs explicitly show 'function execution timeout' caused by the default 60-second limit being too short for processing simultaneous IoT sensor data uploads. This occurs because each function invocation must handle increased processing load when many files are ingested at once from Cloud Storage, and the default runtime is insufficient to complete the task. On the Google Professional Data Engineer exam, this scenario tests your understanding of Cloud Functions execution constraints and the maximum configurable timeout of 540 seconds, often appearing as a trap where candidates mistakenly blame concurrency limits or memory allocation instead. A common memory tip is to remember that the maximum timeout is 540 seconds—think of it as "9 minutes for 9 lives of data processing"—and that the error message itself is the definitive clue to adjust the timeout, not the scaling configuration.

PDE Designing data processing systems Practice Question

This PDE practice question tests your understanding of designing data processing systems. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. 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 uses Cloud Storage to store IoT sensor data in JSON format. The data is ingested using a Cloud Function triggered by Cloud Storage events. They notice that when many files are uploaded simultaneously, some files are not processed and the Cloud Function logs show 'function execution timeout'. What is the most likely cause and solution?

Clue words in this question

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

  • Clue: "most likely"

    Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

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

The Cloud Function's timeout is too short; increase timeout beyond 540 seconds.

The Cloud Function logs explicitly show 'function execution timeout', which indicates the function is exceeding its configured maximum runtime. The default Cloud Functions timeout is 60 seconds, and the maximum is 540 seconds (9 minutes). When many files are uploaded simultaneously, each function invocation may take longer due to increased processing load, causing timeouts. Increasing the timeout to the maximum of 540 seconds gives the function more time to complete processing, directly addressing the logged error.

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.

  • The Cloud Function is not idempotent; implement idempotency.

    Why it's wrong here

    Idempotency prevents duplicate results, but does not resolve timeout.

  • The Cloud Storage event notification is unreliable; switch to Pub/Sub notifications.

    Why it's wrong here

    Pub/Sub is more reliable but does not fix the underlying processing timeout.

  • The Cloud Function has too few instances; increase max instances.

    Why it's wrong here

    More instances handle concurrent invocations but individual timeouts remain.

  • The Cloud Function's timeout is too short; increase timeout beyond 540 seconds.

    Why this is correct

    Increasing the timeout allows the function to complete its processing within the allocated time.

    Clue confirmation

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

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the distinction between scaling issues (max instances) and timeout issues, so the trap here is that candidates see 'many files uploaded simultaneously' and incorrectly assume a concurrency/scaling problem, when the logs explicitly point to a timeout.

Detailed technical explanation

How to think about this question

Cloud Functions have a configurable timeout ranging from 1 to 540 seconds. When many files are uploaded simultaneously, each function instance may experience resource contention (e.g., CPU, memory) or I/O delays, causing processing time to exceed the default 60-second timeout. Increasing the timeout to 540 seconds provides a safety margin, but the root cause could also be inefficient code or excessive per-file processing; monitoring actual execution duration in Cloud Logging helps tune the timeout appropriately.

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 media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

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?

Designing data processing systems — This question tests Designing data processing systems — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The Cloud Function's timeout is too short; increase timeout beyond 540 seconds. — The Cloud Function logs explicitly show 'function execution timeout', which indicates the function is exceeding its configured maximum runtime. The default Cloud Functions timeout is 60 seconds, and the maximum is 540 seconds (9 minutes). When many files are uploaded simultaneously, each function invocation may take longer due to increased processing load, causing timeouts. Increasing the timeout to the maximum of 540 seconds gives the function more time to complete processing, directly addressing the logged error.

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: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

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.