Courseiva
Maintaining and Automating Data WorkloadshardMultiple ChoiceObjective-mapped

PDE Maintaining and Automating Data Workloads Practice Question

A data engineer needs to alert when Pub/Sub subscription has messages older than 1 hour. Which Cloud Monitoring metric and filter should they use?

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

Metric: subscription/oldest_unacked_message_age; filter: subscription_id

The metric subscription/oldest_unacked_message_age gives the age of the oldest unacknowledged message. Filtering by subscription ID targets the specific subscription.

Answer analysis

Option-by-option breakdown

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

  • Metric: topic/send_message_operation_count; filter: topic_id

    Why it's wrong here

    Topic metrics don't measure subscription backlog age.

  • Metric: subscription/ack_message_count; filter: subscription_id

    Why it's wrong here

    ack_message_count is throughput, not age.

  • Metric: subscription/num_undelivered_messages; filter: subscription_id

    Why it's wrong here

    num_undelivered_messages gives count, not age.

  • Metric: subscription/oldest_unacked_message_age; filter: subscription_id

    Why this is correct

    Correct metric and filter for alerting on message age.

About these practice questions

This PDE question is part of Courseiva's 890-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.