Courseiva
Ensuring Successful Operation of a Cloud SolutionmediumMultiple SelectObjective-mapped

Google ACE Practice Question: Ensuring Successful Operation of a Cloud Solution

A company wants to automate the response to specific log entries by triggering a Cloud Function. Which THREE components are required? (Choose 3)

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

Cloud Function (Pub/Sub trigger)

Log entries must be routed to a Pub/Sub topic via a log sink. The Cloud Function subscribes to that topic (triggered by Pub/Sub). The log sink is the exporter, Pub/Sub is the intermediary, and Cloud Function is the action. A notification channel is for alerts, not triggers. BigQuery is not needed.

Answer analysis

Option-by-option breakdown

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

  • Cloud Function (Pub/Sub trigger)

    Why this is correct

    A Cloud Function with a Pub/Sub trigger is the compute piece that executes your custom response logic asynchronously. When a message lands on the subscribed topic, the function is invoked with the message payload, letting you parse the log data and call external APIs, send alerts, or modify resources. This event-driven model avoids maintaining a server and scales automatically with message volume. Without this function, the sink and topic would merely transport logs with no automated reaction.

  • Cloud Logging log sink

    Why this is correct

    A Cloud Logging log sink routes selected log entries from Cloud Logging to a destination such as a Pub/Sub topic. Sinks are the filter mechanism—you define inclusion criteria (e.g., specific log names, severities, or resource labels) so only matching entries are forwarded. The sink is essential for continuously exporting logs, but it does not perform the response itself; it only delivers the raw log data to the next stage. This export is the prerequisite that makes low-latency log-driven automation possible.

  • Pub/Sub topic

    Why this is correct

    The Pub/Sub topic serves as the durable, decoupled buffer between the log sink and the Cloud Function. It receives the filtered log entries and reliably stores them until subscribers acknowledge them, enabling at-least-once delivery and handling burst traffic without dropping events. The topic also decouples the ingestion from processing, so you can later add multiple subscribers or replay messages with no changes to the logging pipeline. By itself, a topic holds messages but cannot execute any response logic.

  • BigQuery dataset

    Why it's wrong here

    A BigQuery dataset is a container for structured tabular data and is not a real-time event-handling destination. While you can create a BigQuery sink for log analysis, dashboards, and long-term storage, it is a pull-based analytical store rather than a push-based trigger. You would need scheduled queries or separate monitoring to react to new rows, so it cannot satisfy the requirement for an automated, immediate response to specific log entries. Thus it is incorrect for this automation use case.

  • Cloud Monitoring notification channel

    Why it's wrong here

    A Cloud Monitoring notification channel (e.g., email, Slack, or webhook) is used by Cloud Monitoring alerting policies to notify humans when a metric or log-based alert condition is met. It is a delivery endpoint for alerts, not a mechanism to programmatically trigger an arbitrary automated response. Creating such a channel would only send a message to a person or chat, not execute custom logic to remediate the issue. Therefore, it fails to provide the needed actionable automation.

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.