Microsoft DevOps Engineer Expert AZ-400 Practice Question
Your Azure DevOps project must notify an internal line-of-business (LOB) HTTP endpoint whenever a work item is moved to the Done state under the Fabrikam\Web area path. The LOB endpoint expects a POST request, requires a Personal Access Token (PAT) supplied in a custom HTTP header, and must not receive calls for any other state changes.
Which Azure DevOps configuration meets these requirements while generating the fewest possible outbound calls?
Add a Service hooks subscription that posts work-item update events to a Microsoft Teams channel, then configure a Teams connector to forward messages to the LOB endpoint.
Enable the continuous deployment trigger on the team's release pipeline and set a post-deployment REST call task that targets the LOB endpoint.
Create a Service hooks subscription that uses the Work item updated trigger, adds filters for State = Done and Area Path = Fabrikam\Web, supplies the PAT in a custom header, and posts to the LOB endpoint URL.
Build an Azure Logic App that polls the Azure DevOps REST API every 5 minutes for work items whose State changed to Done and then calls the LOB endpoint.
Service hooks let an Azure DevOps project push event-based notifications to external systems. Creating a Service hooks subscription with the "Work item updated" trigger allows you to:
Filter on exact field changes (State equals Done and Area Path equals Fabrikam\Web) so no other updates raise the event.
Specify the LOB endpoint's URL as the webhook target.
Add a custom header that carries the PAT for the LOB API. Because the event fires only when the filter matches, the LOB system receives the minimal number of calls required. The other options either poll, use unrelated pipeline triggers, or deliver notifications to Microsoft Teams rather than the LOB endpoint.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are Service Hooks in Azure DevOps?
Open an interactive chat with Bash
What is a Personal Access Token (PAT) and how is it used?
Open an interactive chat with Bash
How does filtering on 'State' and 'Area Path' minimize outbound calls in Service Hooks?
Open an interactive chat with Bash
Microsoft DevOps Engineer Expert AZ-400
Design and implement processes and communications
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .