Microsoft Azure Administrator Associate AZ-104 Practice Question
Your company hosts a web application with multiple backend servers. Users experience issues when their requests are processed by different backend servers during the same session. You need to ensure that each user's requests are consistently handled by the same backend server via the Application Gateway. What should you configure to resolve the issue?
Implement Azure Traffic Manager
Enable cookie-based affinity in the Application Gateway settings
To ensure that each user's requests are consistently handled by the same backend server, you should enable cookie-based affinity in the Application Gateway settings. Cookie-based affinity uses a gateway-managed cookie to keep a user session on the same backend server. This helps maintain session state and provides a consistent user experience.
Configuring URL path-based routing allows you to route traffic based on URL paths but does not help with directing users to the same backend server.
Enabling SSL offloading terminates the SSL connection at the gateway, reducing the load on backend servers, but doesn't address the session persistence issue.
Implementing Azure Traffic Manager is used for DNS-based traffic routing across multiple endpoints in different regions and is not suitable for maintaining session affinity within an Application Gateway.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is cookie-based affinity in Application Gateway?
Open an interactive chat with Bash
How does cookie-based affinity differ from URL path-based routing?
Open an interactive chat with Bash
When should Azure Traffic Manager be used instead of Application Gateway?
Open an interactive chat with Bash
Microsoft Azure Administrator Associate AZ-104
Configure and manage virtual networking
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .