A Cloud Dataflow streaming pipeline reads from a Pub/Sub subscription and writes aggregated windowed results to Cloud Storage. You want Stackdriver alerts to ensure the pipeline is processing data given steady source throughput. Which alerts should you create?
Choose an answer
Tap an option to check your answer.
Correct answer: An alert based on an increase of subscription/num_undelivered_messages for the source and a rate of change decrease of instance/storage/used_bytes for the destination.
Why this is the answer
The correct alert configuration identifies a pipeline processing issue. An increase in subscription/numundeliveredmessages for the Pub/Sub source indicates that the Dataflow pipeline is not consuming messages fast enough, causing a backlog. Simultaneously, a decrease in the rate of change of instance/storage/usedbytes for the Cloud Storage destination means that new aggregated results are not being written as frequently as expected. Both metrics together strongly suggest the pipeline is stalled or significantly slowed down. Incorrect options propose scenarios that either don't indicate a problem (e.g., decreasing undelivered messages and increasing storage usage would imply healthy processing) or monitor metrics that are not relevant to the described problem (e.g., instance/storage/usedbytes for the source is not a standard Pub/Sub metric).
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed