Question 90
In an Azure AI application: A Python FastAPI container listens on port 8000 but the Azure App Service health check cannot reach it. What underlying service behavior is most relevant?
Explanation
Correct Answer
Container hosting must route incoming traffic to the actual listening port according to supported App Service settings. The scenario specifically states: A Python FastAPI container listens on port 8000 but the Azure App Service health check cannot reach it. Container hosting must route incoming traffic to the actual listening port according to supported App Service settings. The stated requirement hinges on the exact service behavior, not a different component. The decisive evidence to inspect is Inspect application listening address, port logs and App Service container port setting. The important remaining qualification is: Opening the port does not validate downstream model or database connectivity.
Incorrect Answers
App Service application settings are exposed to supported container environments at runtime. That addresses a different mechanism; this question turns on Container hosting must route incoming traffic to the actual.
App Service deployment slots allow controlled staging and swap of supported app configurations. That observation may hold without resolving the relevant issue: Container hosting must route incoming traffic to the actual.
A supported App Service managed identity needs registry pull authorization and configured identity-based image retrieval. It does not verify the requested outcome; here the decisive check concerns Container hosting must route incoming traffic to the actual.