AZ-700 exam dumps

AZ-700 practice question 204 of 310

Designing and Implementing Microsoft Azure Networking Solutions. Professional level, Microsoft. Free question with the correct answer and a full explanation.

AZ-700 Question 204

Select 2

You have deployed an Azure Application Gateway to distribute traffic to a set of backend web servers. Your application must receive the original host header for licensing checks, and you also need session-based persistence. Which two settings should you configure in the Application Gateway� HTTP settings to fulfill these requirements? (Choose two.)

  1. A

    Disable the 'Override with a specific domain name' setting

  2. B

    Enable 'Cookie-based affinity'

  3. C

    Enable 'Override with a specific domain name' and provide the custom domain

  4. D

    Specify a custom path override (e.g., /myapp/)

  5. E

    Configure Connection Draining

Show answer and explanation

Correct answers: A, B

Explanation

To configure HTTP settings on an Azure Application Gateway so that the backend servers receive the original host header (critical for applications relying on it) and to maintain session-based persistence, you must disable overrides that would replace or modify the incoming host header and enable cookie-based affinity. Refer to Microsoft Documentation on Azure Application Gateway (https://learn.microsoft.com/azure/application-gateway/configuration-overview#http-settings) to see how host header preservation and cookie-based affinity are configured under HTTP settings.

  • A. Correct.

    Option 1: Correct. Disabling the 'Override with a specific domain name' means the Application Gateway will pass the original host header to the backend, preserving upstream data needed for licensing checks.

  • B. Correct.

    Option 2: Correct. Enabling 'Cookie-based affinity' ensures that each client stays on the same backend server, providing session persistence.

  • C. Incorrect.

    Option 3: Incorrect. Enabling this override would replace the original host header with a custom domain name, which would break the licensing checks that depend on the original host header.

  • D. Incorrect.

    Option 4: Incorrect. Specifying a custom path override adjusts the path portion of the request, not the host header or session affinity. It� unrelated to preserving the original host header or managing session-based persistence.

  • E. Incorrect.

    Option 5: Incorrect. Connection Draining is useful when removing backend instances but does not affect host headers or session-based persistence settings.

Timed practice exam

Take a AZ-700 practice test under exam conditions

70 questions in 100 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam