Courseiva
Develop Azure compute solutionseasyMultiple ChoiceObjective-mapped

AZ-204 Practice Question: Azure App Configuration for runtime feature flags…

Configuration values that control whether a new checkout experience is enabled must be changeable without redeploying the App Service application. The team uses ASP.NET Core. Which Azure service provides the correct combination of runtime configuration reload and feature flag management?

⚠ Common exam trap

Watch out — candidates often confuse App Service Application Settings (which require a restart) with Azure App Configuration (which supports dynamic reload), or they assume pipeline variables can be changed at runtime without understanding they are compile-time artifacts.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Azure App Configuration with the feature management library enabled for ASP.NET Core

Azure App Configuration with the feature management library for ASP.NET Core provides a centralized, managed service that supports dynamic configuration reload without restarting the application and built-in feature flag management. The feature management library integrates with the .NET Core configuration system, allowing feature flags to be evaluated and toggled at runtime via the `IFeatureManager` interface, with automatic refresh based on a configurable cache expiration. This meets the requirement of changing the checkout experience without redeploying the App Service.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Azure App Configuration with the feature management library enabled for ASP.NET Core

    Why this is correct

    App Configuration's feature flags integrate with IFeatureManager in ASP.NET Core. The library polls App Configuration at a configurable interval (e.g., 30 seconds). Toggling a feature flag in the portal causes the running application to pick up the change at the next polling cycle without a restart or redeployment.

  • App Service Application Settings with the flag stored as an environment variable

    Why it's wrong here

    Application Settings are environment variables injected at container startup. Changing an Application Setting requires the App Service to restart all instances to pick up the new value. This is a deployment-like operation, not a runtime toggle.

  • An ARM template parameter file stored in the application's repository

    Why it's wrong here

    ARM template parameter files are declarative definitions used to configure Azure infrastructure resources during an Azure Resource Manager deployment. These parameters are evaluated and consumed exclusively by the ARM service at deployment time, not by the application itself at runtime. Consequently, modifying a feature flag value within an ARM template parameter file would necessitate a complete re-deployment of the infrastructure, which is a static, deployment-time operation, not a dynamic runtime toggle for application features.

  • An Azure DevOps pipeline variable referenced during the build stage

    Why it's wrong here

    Azure DevOps pipeline variables are scoped to the execution of CI/CD pipelines and are primarily used to parameterize build and release processes. While these variables can inject values into application configuration files or environment variables during the deployment stage, they are not accessible to the running application for dynamic modification post-deployment. Toggling a feature flag via a pipeline variable would require triggering a new pipeline run to rebuild and redeploy the application, which is not a runtime change without application restart.

About these practice questions

One of 881 original AZ-204 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AZ-204 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-204 exam.