nerdexam
Microsoft

AZ-400 · Question #123

SIMULATION You need to configure an Azure web app named az400-9940427-main to contain an environmental variable named "MAX_ITEMS". The environmental variable must have a value of 50. To complete this

In Azure App Service, environment variables are configured as Application Settings under the Configuration blade, which makes them available to the application at runtime as environment variables. By navigating to Configuration > Application Settings and adding a new entry with t

Submitted by haru.x· Mar 6, 2026Develop an Instrumentation Strategy / Configure Azure App Service settings - aligns with AZ-400 domain: 'Implement and manage build and release pipelines' and 'Configure application infrastructure', specifically managing application configuration and environment-specific settings in Azure App Service.

Question

SIMULATION You need to configure an Azure web app named az400-9940427-main to contain an environmental variable named "MAX_ITEMS". The environmental variable must have a value of 50. To complete this task, sign in to the Microsoft Azure portal. Answer: 1. In the Azure portal, navigate to the az400-9940427-main app's management page. In the app's left menu, click Configuration > Application settings. 2. Click New Application settings 3. Enter the following: Name: MAX_ITEMS Value: 50 References: https://docs.microsoft.com/en-us/azure/app-service/configure-common

Exhibit

AZ-400 question #123 exhibit

Explanation

In Azure App Service, environment variables are configured as Application Settings under the Configuration blade, which makes them available to the application at runtime as environment variables. By navigating to Configuration > Application Settings and adding a new entry with the Name 'MAX_ITEMS' and Value '50', the web app will expose this as an environment variable accessible by the application code. This is the correct Azure-native approach because Application Settings in App Service automatically override any matching keys in configuration files and are injected as environment variables into the application process.

Topics

#Azure App Service#Application Configuration#Environment Variables#Azure Portal Administration

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice