Question 31 — AZ-104 Practice Exam 5
A company runs multiple web apps where user session state is stored locally on individual servers. They need to ensure that all client requests during a session are routed to the same server. Which Application Gateway feature should they use? (Select one answer)
Health probes
TLS termination
Session affinity
Web application firewall
Correct answers
Session affinity
Explanations
Correct:
Session affinity – Ensures all requests from a client session go to the same server, critical when session state is stored locally.
Wrong:
Health probes – Ensure traffic only goes to healthy servers but do not preserve session continuity.
TLS termination – Offloads encryption but unrelated to session persistence.
Web application firewall – Protects against threats, not session handling.