Implement Azure App Service web apps > Configure web app settings Flashcards
Create application settings that are bound to deployment slots. Explain the options for installing SSL/TLS certificates for your app. Enable diagnostic logging for your app to aid in monitoring and debugging. Create virtual app to directory mappings.
How are app settings passed to the application code in App Service?
a) As command line arguments
b) As environment variables
c) As configuration files
d) As database entries
b) As environment variables
Where can you access application settings in App Service?
a) In the Azure portal under App Services
b) In the Azure CLI
c) In the Azure PowerShell
d) In the Azure DevOps
a) In the Azure portal under App Services
For ASP.NET developers, how do app settings in App Service compare to those in Web.config or appsettings.json?
a) They are ignored
b) They override the values in Web.config or appsettings.json
c) They are the same as in Web.config or appsettings.json
d) They are less secure
b) They override the values in Web.config or appsettings.json
What should be done to nested JSON key structures in app setting names for a default Linux app service?
a) Replace colons with double underscores and periods with single underscores
b) Replace colons with single underscores and periods with double underscores
c) Replace colons with periods and periods with colons
d) Replace colons with hyphens and periods with slashes
a) Replace colons with double underscores and periods with single underscores
What happens to app settings when stored in App Service?
a) They are stored as plain text
b) They are encrypted-at-rest
c) They are stored in a database
d) They are stored in a separate file
b) They are encrypted-at-rest
In which section can you configure common settings for your app in App Service?
a) Configuration > Advanced settings
b) Configuration > General settings
c) Configuration > Security settings
d) Configuration > Network settings
b) Configuration > General settings
What is required to configure some settings in the General settings section?
a) Higher pricing tiers
b) Lower pricing tiers
c) Specific programming languages
d) Custom DNS names
a) Higher pricing tiers
What does the ‘Always On’ setting do?
a) Keeps the app loaded even when there’s no traffic
b) Unloads the app after 10 minutes without traffic
c) Disables the app during off-peak hours
d) Enables automatic scaling
a) Keeps the app loaded even when there’s no traffic
For which type of apps is the ‘Platform bitness’ setting available?
a) Linux apps only
b) Windows apps only
c) Both Linux and Windows apps
d) Custom container apps only
b) Windows apps only
What does enabling ‘HTTPS Only’ do?
a) Redirects all HTTP traffic to HTTPS
b) Disables HTTP traffic
c) Enables HTTP/2 protocol
d) Requires a custom DNS name
a) Redirects all HTTP traffic to HTTPS
What is the purpose of the ‘ARR affinity’ setting?
a) Ensures the client is routed to the same instance for the life of the session
b) Disables session persistence
c) Enables load balancing
d) Configures the app’s startup command
a) Ensures the client is routed to the same instance for the life of the session
In which section can you configure handler mappings and virtual application and directory mappings?
a) Configuration > General settings
b) Configuration > Path mappings
c) Configuration > Security settings
d) Configuration > Network settings
b) Configuration > Path mappings
For Windows apps, what is the default root path where your code is deployed?
a) C:\inetpub\wwwroot
b) D:\home\site\wwwroot
c) E:\webapps\root
d) F:\app\wwwroot
b) D:\home\site\wwwroot
What can you add to handle requests for specific file extensions in Windows apps?
a) Virtual directories
b) Custom script processors
c) Storage mounts
d) Environment variables
b) Custom script processors
How do you mark a virtual directory as a web application in Windows apps?
a) Select the Web Application check box
b) Clear the Directory check box
c) Set the path to D:\home\site\wwwroot
d) Add a custom handler mapping
b) Clear the Directory check box