az-801 Practice Question 1919

Exam: az-801
Domain: Migrate servers and workloads
Topic: Migrate IIS and AD DS workloads
Difficulty: medium
In a scenario where you need to migrate an IIS web application from one server to another using Web Deploy, which command-line tool would you use to perform the migration while ensuring that the application pool and site settings are also transferred correctly?

Answer Options

A
robocopy
B
msdeploy.exe
C
dism.exe
D
wbadmin

Correct Answer

B: msdeploy.exe

Explanation

The correct answer is `msdeploy.exe` with the appropriate parameters to ensure that the application pool and site settings are transferred along with the content. `robocopy` is used for file copying but does not handle application pool or site settings. `dism.exe` is used for deploying Windows features and updates, not for web application migration. `wbadmin` is used for system state backup and recovery, not for web application migration.

Related Practice Questions