Bird
0
0

How does using webhooks to push notifications improve efficiency compared to polling?

easy📝 Conceptual Q2 of 15
Rest API - Webhooks and Events
How does using webhooks to push notifications improve efficiency compared to polling?
ABy requiring less secure connections
BBy compressing data before sending
CBy caching responses on the client side
DBy eliminating repeated requests when no new data exists
Step-by-Step Solution
Solution:
  1. Step 1: Identify polling drawbacks

    Polling sends requests at intervals regardless of data changes.
  2. Step 2: Understand webhook push advantage

    Webhooks send data only when events happen, reducing unnecessary traffic.
  3. Final Answer:

    By eliminating repeated requests when no new data exists -> Option D
  4. Quick Check:

    Push avoids empty polls [OK]
Quick Trick: Push sends only on events, polling repeats [OK]
Common Mistakes:
MISTAKES
  • Assuming data compression is the main benefit
  • Confusing caching with push notifications
  • Thinking webhooks reduce security requirements

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes