200-901 Understanding and Using APIs Practice Question
A Webex bot needs to receive real-time notifications when a new message is posted in a Webex space. Which Webex API feature should the bot implement?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Webhooks
Webhooks allow the bot to receive HTTP callbacks for events like message creation.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Long polling
Why it's wrong here
Long polling holds an HTTP connection open until data arrives, but Webex does not expose a long-polling endpoint; the bot would still need to re-request repeatedly. It is tempting because long polling suits environments where inbound webhooks are blocked, yet Webex's supported push mechanism is webhooks.
- ✗
Polling the messages API every second
Why it's wrong here
Polling every second wastes API quota and still introduces up to one second of latency, so notifications are not truly real-time and rate limits may throttle the bot. It is tempting because polling is simple to implement and works when webhooks cannot be exposed publicly, such as behind restrictive firewalls.
- ✓
Webhooks
Why this is correct
Webhooks let the bot register a callback URL that Webex pushes events to, delivering new-message notifications in real time. Polling the messages endpoint would add latency and waste API calls, so webhooks satisfy the real-time constraint directly.
- ✗
Server-Sent Events
Why it's wrong here
Server-Sent Events provide a one-way stream from server to client, but Webex does not offer an SSE endpoint for space messages; the bot cannot subscribe this way. It is tempting because SSE delivers real-time updates over HTTP, which suits streaming dashboards where the client initiates a persistent connection.
Go deeper
Related to this question
About these practice questions
This 200-901 question is part of Courseiva's 975-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 200-901 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 200-901 exam.