This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
A container image is configured to listen on port 8000. After deploying to App Service, requests to the application return connection errors. What configuration change resolves this issue?
Set the WEBSITES_PORT app setting to 8000.
WEBSITES_PORT
Modify the Dockerfile to use EXPOSE 80.
Enable the HTTP/2 protocol in the platform settings.
A document processing application writes output files during processing. After a container restart, the output files are missing. How do you configure App Service to persist these files?
Set WEBSITES_ENABLE_APP_SERVICE_STORAGE to true and write files to the /home directory.
WEBSITES_ENABLE_APP_SERVICE_STORAGE
/home
Configure a larger container image with more disk space.
Enable always-on to prevent container restarts.
A production application requires different API endpoint URLs for staging and production deployment slots. Which configuration approach ensures the staging URL doesn't swap to production during a slot swap?
Configure the API_ENDPOINT setting as a slot setting.
Store the API endpoint in the container image for each environment.
Use connection strings instead of app settings for the API endpoint.
A container starts successfully but health checks are failing, and App Service removes instances from the load balancer. The application has a /healthz endpoint that returns HTTP 200. What is the most likely cause?
/healthz
The health check path in App Service is configured differently than the application's health endpoint path.
Health checks require HTTPS, but the container only serves HTTP.
The container needs more memory to handle health check requests.
A developer needs to verify that app settings are correctly injected into a running container. Which diagnostic tool provides this information?
The Kudu diagnostic console Environment page.
The log stream in the Azure portal.
The App Service metrics dashboard.
You must answer all questions before checking your work.
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?