nerdexam
Microsoft

AZ-204 · Question #498

Drag and Drop Question You develop and deploy several APIs to Azure API Management. You create the following policy fragment named APICounts: The policy fragment must be reused across various scopes a

The correct answer is inbound; include-fragment; fragment-id. The correct arrangement uses 'inbound' as the policy section because the fragment must run when a calling system invokes any API, meaning it needs to execute during the inbound processing phase (before the request reaches the backend). The 'include-fragment' element is the correc

Submitted by fernanda_arg· Mar 30, 2026Implement API Management policies and policy fragments to manage and secure APIs in Azure - typically mapped to the 'Design and Implement API Management' domain of the AZ-204 or AZ-305 certification.

Question

Drag and Drop Question You develop and deploy several APIs to Azure API Management. You create the following policy fragment named APICounts: The policy fragment must be reused across various scopes and APIs. The policy fragment must be applied to all APIs and run when a calling system invokes any API. You need to implement the policy fragment. Answer:

Exhibit

AZ-204 question #498 exhibit

Answer Area

Drag items

nameinboundoutboundset-variablefragment-idinclude-fragment

Correct arrangement

  • inbound
  • include-fragment
  • fragment-id

Explanation

The correct arrangement uses 'inbound' as the policy section because the fragment must run when a calling system invokes any API, meaning it needs to execute during the inbound processing phase (before the request reaches the backend). The 'include-fragment' element is the correct XML tag used in Azure API Management to reference and reuse a policy fragment, and 'fragment-id' is the required attribute on the include-fragment element that specifies which named fragment (APICounts) to include. Together, these three elements form the correct XML structure: placing an <include-fragment fragment-id='APICounts' /> tag inside the <inbound> policy section.

Topics

#Azure API Management#Policy Fragments#Inbound Policies#API Governance

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice