Question 750
A design review raises this concern: An App Service instance repeatedly restarts but operations cannot see why the Python worker process exits. Which technical principle should guide the solution?
Explanation
Correct Answer
App Service container logging and diagnostic log streams expose startup/runtime failures when enabled. The scenario specifically states: An App Service instance repeatedly restarts but operations cannot see why the Python worker process exits. App Service container logging and diagnostic log streams expose startup/runtime failures when enabled. The stated requirement hinges on the exact service behavior, not a different component. The decisive evidence to inspect is Review container stdout/stderr, deployment log and health status for failing instances. The important remaining qualification is: Log retention and sensitive-data redaction still need deliberate settings.
Incorrect Answers
App Service application settings are exposed to supported container environments at runtime. That addresses a different mechanism; this question turns on App Service container logging and diagnostic log streams expose.
Custom container startup behavior must match the image entrypoint or an explicitly configured startup command. In the present case the governing issue is App Service container logging and diagnostic log streams expose, which this does not resolve.
App Service deployment slots allow controlled staging and swap of supported app configurations. That observation may hold without resolving the relevant issue: App Service container logging and diagnostic log streams expose.