Google Cloud Professional Data Engineer — Question 308

You have Cloud Functions written in Node.js that pull messages from Cloud Pub/Sub and send the data to BigQuery. You observe that the message processing rate on the Pub/Sub topic is orders of magnitude higher than anticipated, but there is no error logged in Cloud Logging. What are the two most likely causes of this problem? (Choose two.)

Answer options

Correct answer: C, E

Explanation

The correct answers are C and E. C is valid because if error handling is inadequate, it may not log or manage run-time errors, leading to a bottleneck. E is correct as well because if messages are not acknowledged, they will be redelivered, causing the subscriber to lag behind. Options A and B are incorrect because they do not directly relate to the processing rate issue described.