
Answer-first summary for fast verification
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
The correct answer is B. To monitor the pipeline effectively with Cloud Stackdriver, you need to set up alerts that indicate when the pipeline is failing to process data correctly. Specifically, if the pipeline fails, the number of undelivered messages in the Pub/Sub subscription (subscription/num_undelivered_messages) will increase because the source has consistent throughput and messages will start piling up. Simultaneously, the rate of change for the used storage in the destination (instance/storage/used_bytes) will decrease because no new data is being written to the Cloud Storage bucket. Therefore, 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 is appropriate.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
As a data engineer responsible for managing a Cloud Dataflow streaming pipeline, you need to ensure the smooth functioning and performance of this pipeline. The pipeline aggregates events from a Cloud Pub/Sub subscription source within a specified window and writes the aggregated results to a Cloud Storage bucket. Given that the source maintains consistent throughput, it is crucial to monitor and set up alerts using Cloud Stackdriver (now known as Google Cloud's Operations Suite) to ensure that the pipeline processes data correctly and efficiently. What specific Stackdriver alerts should you configure to achieve this monitoring?
A
An alert based on a decrease of subscription/num_undelivered_messages for the source and a rate of change increase of instance/storage/used_bytes for the destination
B
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
C
An alert based on a decrease of instance/storage/used_bytes for the source and a rate of change increase of subscription/num_undelivered_messages for the destination
D
An alert based on an increase of instance/storage/used_bytes for the source and a rate of change decrease of subscription/num_undelivered_messages for the destination