Question 56 — AZ-104 Practice Exam 4
A developer is deploying a custom container to App Service on Linux. The container requires a script to run automatically at startup. How should the developer configure this? (Select one answer)
Enable Always On
Configure an optional startup command or file
Map a custom domain
Use session affinity
Correct answers
Configure an optional startup command or file
Explanations
Correct:
Configure an optional startup command or file – Linux and custom container apps allow specifying a startup file or command.
Wrong:
Enable Always On – Keeps app loaded but doesn’t set startup behavior.
Map a custom domain – A DNS-related feature, unrelated to startup.
Use session affinity – Controls client routing, not startup execution.