An ASP.NET Core app uses the feature manager with the flag declaration shown in the exhibit. No other settings are applied to the NewCheckout flag. The following table shows each request's time and the result the Percentage filter would return:
| Request | Request time (UTC) | Percentage filter |
|---|---|---|
| Request 1 | 2026-06-15 12:00:00 | Not enabled |
| Request 2 | 2026-07-01 12:00:00 | Enabled |
| Request 3 | 2026-07-02 12:00:00 | Not enabled |
"FeatureManagement": {
"NewCheckout": {
"EnabledFor": [
{
"Name": "TimeWindow",
"Parameters": {
"Start": "Mon, 01 Jun 2026 00:00:00 GMT",
"End": "Tue, 30 Jun 2026 23:59:59 GMT"
}
},
{
"Name": "Percentage",
"Parameters": {
"Value": 50
}
}
]
}
}
For which requests is the NewCheckout feature flag on?
The configured filters enable the feature when at least one returns true. Request 1 occurs during the time window, so evaluation stops with the feature enabled. Request 2 occurs outside that window but is enabled by the Percentage filter. Request 3 meets neither condition, so the feature is off.
- Correct: Request 1 and Request 2. Request 1 falls within the configured time window, so its first filter enables the feature. Request 2 falls outside the window, but its Percentage filter enables the feature. Neither filter enables Request 3.
- Not correct: Request 1. Request 1 is within the time window, but it is not the only enabled request. Evaluation continues when a filter returns false, so the Percentage filter also enables Request 2.
- Not correct: Request 1, Request 2, and Request 3. Request 3 occurs after the time window ends, and its Percentage filter also returns false. With neither filter enabling the feature, Request 3 remains off.
- Not correct: Request 2. Request 1 is within the time window and is therefore enabled by the first filter. Once a filter enables the feature, the remaining filters are skipped.