Soru

Zorluk: OrtaConfigure Azure App Services

You have an Azure App Service web app named WebApp1 that is hosted on a Standard S1 App Service plan. WebApp1 has a production slot and a deployment slot named staging. You configure regional virtual network integration for the staging slot to connect to a virtual network named VNet1. The production slot does not have virtual network integration configured. You perform a slot swap between the staging slot and the production slot. What is the status of the virtual network integration for the slots after the swap?

  1. The staging slot remains integrated with VNet1, and the production slot has no virtual network integration.Cevap
  2. B
    The production slot becomes integrated with VNet1, and the staging slot has no virtual network integration.
  3. C
    Both the production slot and the staging slot become integrated with VNet1.
  4. D
    The slot swap fails because regional virtual network integration must be configured on both slots before a swap can occur.

Cevap

The staging slot remains integrated with VNet1, and the production slot has no virtual network integration.
Virtual network integration is a slot-specific (sticky) setting in Azure App Service. When you perform a slot swap, slot-specific settings do not change their assignment. Therefore, the staging slot retains its integration with VNet1, and the production slot remains without any virtual network integration.

Adım Adım Çözüm

1
Identify the setting being modified, which is regional virtual network integration configured on an Azure App Service deployment slot.
Recognized that VNet integration is a network configuration setting applied to a specific slot.
Before performing a swap, it is necessary to determine which configurations are slot-specific and which ones travel with the swap.
2
Verify if regional virtual network integration is listed as a setting that swaps or remains sticky to the slot during a swap operation.
Confirmed that virtual network integration is sticky to the slot (does not swap) according to Azure App Service architecture rules.
This determines whether the configuration remains bound to the staging slot or transfers to the production slot during the swap.
3
Deduce the final state of both slots after the swap is completed.
The staging slot keeps VNet1 integration, and the production slot remains without VNet integration.
Since the setting does not swap, the network configuration stays assigned to the original slot names.

Anahtar Kavram

Understanding which Azure App Service settings are sticky to the slot and do not swap during a slot swap operation.
Tahmini Süre:1m 30s
Bu soruyu puanla