Google Cloud Professional Data Engineer — Question 118

You are operating a Cloud Dataflow streaming pipeline. The pipeline aggregates events from a Cloud Pub/Sub subscription source, within a window, and sinks the resulting aggregation to a Cloud Storage bucket. The source has consistent throughput. You want to monitor an alert on behavior of the pipeline with Cloud
Stackdriver to ensure that it is processing data. Which Stackdriver alerts should you create?

Answer options

Correct answer: B

Explanation

The correct answer is B because an increase in subscription/num_undelivered_messages indicates that messages are not being processed, which is a problem, while a decrease in instance/storage/used_bytes suggests that fewer resources are being utilized, possibly due to a lack of activity. The other options either indicate normal processing or incorrect alert conditions that do not effectively monitor the pipeline's health.