Question

Difficulty: EasyDefine API Management Policies

Complete the statement to identify the XML element required to inherit and execute policies from a parent scope in Azure API Management.

Answer:In Azure API Management, parent policies are not inherited by default at lower scopes. To inherit and execute policies defined at a higher scope within a specific policy section, you must include the 【base】 XML element inside that section.

Answer

The base element (or <base />)
The base element (often written as <base />) is used in Azure API Management policies to inherit and execute policies configured at a higher scope (such as Product or Global) inside the current scope (such as API or Operation). Its placement determines whether the current scope's policies run before or after the parent scope's policies.

Step-by-Step Solution

1
Identify the mechanism in Azure API Management policies that controls policy inheritance.
Policies are evaluated hierarchically (Global -> Product -> API -> Operation).
To avoid overriding parent policies, APIM uses a specific element to reference parent-level rules.
2
Determine the correct XML element for this mechanism.
The <base /> element represents the execution of policies from the parent scope.
Including <base /> tells the gateway to run the inherited policies at that exact point in the execution pipeline.

Key Concept

API Management policy inheritance and scoping
Estimated Time:45s
Rate this question