An administrator is configuring a swap with preview for an Azure App Service web app named WebApp1. WebApp1 runs on a Premium V3 App Service plan and has a production slot and a deployment slot named staging. Regional virtual network integration is configured as follows: the production slot is integrated with VNet1/Subnet1, and the staging slot is integrated with VNet1/Subnet2. An Azure SQL database named SQLDB1 is configured with a virtual network rule that allows connections only from VNet1/Subnet1. The App Setting DbConnectionString (with the Deployment slot setting checkbox unselected) points to SQLDB1 in the production slot and to TestDB in the staging slot. The administrator initiates a swap with preview from the staging slot to the production slot. During the preview phase of the swap, what will be the behavior when the application in the staging slot attempts to connect to a database?
- AThe application in the staging slot will attempt to connect to TestDB using traffic routed through VNet1/Subnet2, and the connection will succeed.
- BThe application in the staging slot will attempt to connect to SQLDB1 using traffic routed through VNet1/Subnet1, and the connection will succeed.
- The application in the staging slot will attempt to connect to SQLDB1 using traffic routed through VNet1/Subnet2, and the connection will fail.Cevap
- DThe application in the staging slot will attempt to connect to TestDB using traffic routed through VNet1/Subnet1, and the connection will fail.