Microsoft DevOps Engineer Expert AZ-400 Practice Question

Your company runs an ASP.NET Core 6.0 web API in Azure Kubernetes Service. The application retrieves configuration and feature flags from Azure App Configuration by using the Microsoft.FeatureManagement libraries. Product owners want to turn feature flags on or off in the Azure portal and see the change reflected in production within 30 seconds, without recycling pods or redeploying the application. Which approach should you implement to satisfy this requirement?

  • Enable the RefreshAll feature in the Azure portal and set a global cache TTL of 30 seconds for the App Configuration store.

  • Define a CacheExpiration setting in appsettings.json for Microsoft.FeatureManagement and rely on IOptionsMonitor to reload configuration.

  • Add UseAzureAppConfiguration and UseFeatureFlags in Program.cs and call ConfigureRefresh to register a sentinel key with SetCacheExpiration(TimeSpan.FromSeconds(30)).

  • Send configuration change events to Azure Event Grid and trigger an AKS rolling restart to apply updated environment variables.

Microsoft DevOps Engineer Expert AZ-400
Design and implement build and release pipelines
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot