A team uses Azure Pipelines to build a .NET Core application. The build pipeline runs successfully, but the release pipeline fails when deploying to Azure App Service with the error: 'ERROR_FILE_IN_USE'. What is the most likely cause?
Trap 1: The deployment slot is not configured correctly.
Slot configuration does not directly cause file lock errors.
Trap 2: The Azure App Service plan is not scaled appropriately.
Scaling does not cause file lock errors.
Trap 3: The build configuration is set to Release instead of Debug.
Build configuration does not affect deployment file locks.
- A
The deployment slot is not configured correctly.
Why wrong: Slot configuration does not directly cause file lock errors.
- B
The 'Take App Offline' setting is not enabled in the deployment task.
Taking the app offline releases file locks.
- C
The Azure App Service plan is not scaled appropriately.
Why wrong: Scaling does not cause file lock errors.
- D
The build configuration is set to Release instead of Debug.
Why wrong: Build configuration does not affect deployment file locks.