Troubleshooting
A monitoring platform must learn about a failed CI build as soon as it happens, without repeatedly querying the CI server. Which data acquisition method fits?
Show the answer
Correct answerB. A webhook the CI server sends to a receiver URL when a build fails
AWhy not this: Polling repeatedly queries the server, which the requirement rules out, and it can lag by up to a minute.
BWhy this is right: A webhook pushes an HTTP request to a preconfigured URL the moment the event occurs.
CWhy not this: SNMP GET is also polling, and a CI build result is not something SNMP normally exposes.
DWhy not this: Copying logs hourly is batch collection, so the failure would be seen up to an hour late.
A webhook is push-based: the source sends an HTTP request, usually a POST, to a receiver URL as soon as the event occurs. Polling is the opposite model, where the monitoring system repeatedly asks the source for its status.