Courseiva
easyMultiple Choice

PDE Practice Question: A company uses Cloud Functions to process events…

A company uses Cloud Functions to process events from Cloud Storage. They notice that occasionally functions are not triggered. What should they check first to ensure solution quality?

⚠ Common exam trap

Google often tests the misconception that performance tuning (memory or timeout) is the first step to fix trigger issues, when the root cause is almost always a missing or misconfigured event notification.

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

✓

Verify that the Cloud Storage bucket has notifications configured for the correct event type.

The most common reason for Cloud Functions not being triggered by Cloud Storage events is that the bucket's notification configuration is missing or misconfigured. Cloud Functions relies on Pub/Sub notifications from the bucket to invoke the function; if the notification is not set for the correct event type (e.g., `OBJECT_FINALIZE`), the function will never be triggered. Therefore, verifying the notification configuration is the first and most direct diagnostic step.

Answer analysis

Option-by-option breakdown

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

  • ✓

    Verify that the Cloud Storage bucket has notifications configured for the correct event type.

    Why this is correct

    Cloud Functions triggers on Cloud Storage depend on bucket notifications being configured for the correct event type (for example, object.finalize). Missing or mismatched notifications explain intermittent non-triggering, so verifying this configuration is the first diagnostic step.

  • ✗

    Check the logs for function execution.

    Why it's wrong here

    Logs record invocations that already happened, so absent entries cannot distinguish a missing event delivery from a failed trigger. Log inspection suits diagnosing execution errors after a function runs. The stem needs the event-delivery path checked first, such as the Cloud Storage notification configuration or retry settings.

  • ✗

    Increase the function memory allocation.

    Why it's wrong here

    Memory allocation affects resources available during execution, not whether Cloud Storage events reach the function at all. Increasing it is tempting for out-of-memory crashes, where it is the correct fix. Events that never trigger indicate a broken notification, permission, or filter configuration upstream.

  • ✗

    Increase the function timeout.

    Why it's wrong here

    Timeout governs how long a running function may execute; it cannot cause an event never to invoke the function. Raising it is tempting when functions appear to fail silently, and it is right for long-running executions being killed mid-flight. Untriggered events point to delivery or notification misconfiguration instead.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

About these practice questions

This PDE question is part of Courseiva's 747-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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 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.