You are deploying updates to an Azure Function App (V4 runtime) running on an Elastic Premium hosting plan. The function app connects to an Azure SQL Database.
You must implement a deployment process that meets the following requirements:
- Updates must be tested in a staging environment before being routed to production.
- Zero downtime must occur during the deployment transition.
- The staging and production environments must use different database connection strings.
- Database connection strings must not be swapped when the update goes live.
You need to configure the deployment slots and perform the deployment.
Which sequence of actions should you perform? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.
- 1Create a deployment slot named staging under the Function App.
- 2Define the database connection string application setting in both slots and configure it as a deployment slot setting.
- 3Deploy the updated function code to the staging slot.
- 4Verify the function behavior and warm up the instance in the staging slot.
- 5Swap the staging slot with the production slot.