312-50V13 · Question #258
Susan, a software developer, wants her web API to update other applications with the latest information. For this purpose, she uses a user-defined HTTP tailback or push APIs that are raised based on…
The correct answer is B. Webhooks. Webhooks are the technique Susan is using because they are user-defined HTTP callbacks triggered by specific events, allowing a server to automatically "push" real-time data to other applications the moment something happens - rather than requiring those applications to…
Question
Options
- Aweb shells
- BWebhooks
- CREST API
- DSOAP API
How the community answered
(34 responses)- A6% (2)
- B91% (31)
- D3% (1)
Explanation
Webhooks are the technique Susan is using because they are user-defined HTTP callbacks triggered by specific events, allowing a server to automatically "push" real-time data to other applications the moment something happens - rather than requiring those applications to repeatedly poll for updates.
Why the distractors are wrong:
- Web shells (A) are malicious scripts used by attackers to gain unauthorized remote access to a server - they are a cybersecurity threat, not a legitimate API communication method.
- REST API (C) is a widely-used architectural style for APIs, but it operates on a pull model where the client must make requests to retrieve data - it does not automatically push updates on trigger events.
- SOAP API (D) is a protocol-based API standard that also relies on client-initiated requests and uses XML messaging - it does not natively support event-driven push notifications.
Memory Tip: Think of Webhooks as a doorbell - instead of you constantly checking if someone is at the door (polling), the doorbell alerts you the moment someone arrives (event-triggered push). The key phrase to recognize in exam questions is "user-defined HTTP callback," "trigger events," or "real-time push" - these all point directly to Webhooks.
Topics
Community Discussion
No community discussion yet for this question.