Skip to main content
  1. Public practice questions
  2. AZ-104 Practice Exams | Azure Administrator Associate
  3. AZ-104 Practice Exam 4

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)

  1. Enable Always On

  2. Configure an optional startup command or file

  3. Map a custom domain

  4. Use session affinity

Correct answers

  1. 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.