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
Question
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
Community Discussion
No community discussion yet for this question.
