Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Configure integration by using webhooks, MCP servers, and skills

A worked example

Single answer

An external deployment service starts an Azure Automation runbook through an enabled, unexpired webhook. The service already has the generated webhook URL.

For an additional validation check, the service sends a shared verification value only in a custom HTTP request header. This value differs from the webhook name and the URL's security token. The runbook declares a WebhookData parameter and must compare the supplied verification value with an expected value before making changes.

Which value should the runbook inspect to obtain the supplied verification value?

Choose one answer
Why

Inspect WebhookData.RequestHeader to obtain the custom header value. The runbook can compare that value with its expected value as an additional validation step. The webhook name and URL token serve different purposes.

  • Not correct: The WebhookName property of the WebhookData parameter. For a webhook invocation, WebhookName contains the name of the webhook. It does not supply the separate verification value carried in the custom header.
  • Not correct: The security token embedded in the generated webhook URL. The source explains that the URL token permits webhook invocation. The scenario requires an additional check using a different value supplied in an HTTP header.
  • Not correct: The RequestBody property of the WebhookData parameter. The source identifies RequestBody as another property available for validation, but the caller places this verification value in a header rather than the body.
  • Correct: The RequestHeader property of the WebhookData parameter. The source describes inspecting RequestHeader for additional request validation. This property contains the HTTP header information supplied by the caller.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free