exam questions

Exam Associate Data Practitioner All Questions

View all questions & answers for the Associate Data Practitioner exam

Exam Associate Data Practitioner topic 1 question 38 discussion

Actual exam question from Google's Associate Data Practitioner
Question #: 38
Topic #: 1
[All Associate Data Practitioner Questions]

Your organization sends IoT event data to a Pub/Sub topic. Subscriber applications read and perform transformations on the messages before storing them in the data warehouse. During particularly busy times when more data is being written to the topic, you notice that the subscriber applications are not acknowledging messages within the deadline. You need to modify your pipeline to handle these activity spikes and continue to process the messages. What should you do?

  • A. Retry messages until they are acknowledged.
  • B. Implement flow control on the subscribers.
  • C. Forward unacknowledged messages to a dead-letter topic.
  • D. Seek back to the last acknowledged message.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
n2183712847
1 month, 3 weeks ago
Selected Answer: B
Flow control helps with spikes.
upvoted 1 times
...
n2183712847
2 months ago
Selected Answer: B
The best solution is B. Implement flow control on the subscribers. Flow control directly addresses the issue of subscribers being overwhelmed during activity spikes by regulating the rate of message delivery, preventing them from being overloaded and ensuring messages are acknowledged within the deadline. Option A (Retry) worsens overload. Option C (Dead-letter topic) is for handling failed messages, not overload, and risks data loss in this scenario. Option D (Seek back) is for reprocessing and would exacerbate the overload issue. Therefore, Option B is the correct and most effective approach to handle activity spikes and ensure continuous message processing.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago