Configure web app settings Flashcards
What is the primary purpose of app settings in Azure App Service?
a) To control app scaling options
b) To pass environment variables to the application code
c) To modify the pricing tier of the app
d) To configure user authentication
b) To pass environment variables to the application code
In a default Linux App Service, how should nested JSON keys like ApplicationInsights:InstrumentationKey be formatted in app settings?
a) Use a single underscore for nested keys
b) Replace : with __ (double underscore)
c) Replace . with :
d) Use / for nested keys
b) Replace : with __ (double underscore)
How are app settings stored in Azure App Service?
a) As plain text
b) Encrypted-at-rest
c) Encrypted only if marked as sensitive
d) Only encrypted during deployment
b) Encrypted-at-rest
What should .NET apps targeting PostgreSQL set the connection string type to, as a workaround for a known issue?
a) SQLServer
b) MySQL
c) Custom
d) PostgreSQL
c) Custom
What command is used in Azure CLI to set app settings for a custom container?
a) az webapp create setting
b) az webapp config appsettings set
c) az webapp set settings
d) az appservice env set
b) az webapp config appsettings set
What is the purpose of the Always On
setting in Azure App Service?
a) It keeps the app unloaded to save resources
b) It ensures the app is continuously loaded to reduce latency
c) It disables background jobs
d) It turns off all incoming requests
b) It ensures the app is continuously loaded to reduce latency
Which of the following protocols is supported by most modern browsers only over TLS?
a) HTTP/1.1
b) HTTPS/2
c) HTTP/2
d) TLS/1.0
c) HTTP/2
What happens if the ‘ARR affinity’ setting is turned off in a multi-instance deployment?
a) Clients are routed to different instances randomly
b) Clients are routed to the same instance for the session
c) The app is scaled down automatically
d) Incoming requests are blocked
a) Clients are routed to different instances randomly
What does the ‘Minimum TLS version’ setting configure in Azure App Service?
a) The maximum encryption version allowed
b) The minimum encryption version required
c) The programming stack version
d) The supported HTTP protocol
b) The minimum encryption version required
When does remote debugging automatically turn off for ASP.NET or Node.js apps?
a) After 12 hours
b) After 24 hours
c) After 48 hours
d) After 72 hours
c) After 48 hours
What does a handler mapping allow you to do in a Windows App Service?
a) Change the default file extension of your app
b) Add custom script processors to handle requests for specific file extensions
c) Move the app root directory to a different server
d) Modify the app’s security settings
b) Add custom script processors to handle requests for specific file extensions
What is the default root path for an uncontainerized Windows app in App Service?
a) C:\home\site\wwwroot
b) D:\home\site\wwwroot
c) /var/www/html
d) E:\app\root
b) D:\home\site\wwwroot
What type of custom storage is supported by Windows container apps in Azure App Service?
a) Azure Blobs (read-write)
b) Azure Files
c) Local storage only
d) Amazon S3
b) Azure Files
When configuring virtual directories in a Windows app, what is the purpose of clearing the ‘Directory’ checkbox?
a) To mark it as a read-only directory
b) To mark it as a virtual directory
c) To mark it as a web application
d) To enable script processing
c) To mark it as a web application
What is the main purpose of application logging in App Service?
a) To monitor network traffic
b) To log messages generated by your application code
c) To secure the application against attacks
d) To update your application automatically
b) To log messages generated by your application code