nerdexam
Microsoft

AZ-801 · Question #117

You have an on-premises IIS web server that hosts a web app named App1. You plan to migrate App1 to a container and run the container in Azure. You need to perform the following tasks: Export App1…

This question tests knowledge of the correct Microsoft toolchain for migrating an on-premises IIS web application to a container in Azure, specifically which tool handles each phase of the migration pipeline.

Migrate servers and workloads

Question

You have an on-premises IIS web server that hosts a web app named App1. You plan to migrate App1 to a container and run the container in Azure. You need to perform the following tasks:
  • Export App1 to a ZIP file.
  • Create a container image based on App1. The solution must minimize administrative effort. Which tool should you use for each task? To answer, drag the appropriate tools to the correct tasks. Each tool may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.

Explanation

This question tests knowledge of the correct Microsoft toolchain for migrating an on-premises IIS web application to a container in Azure, specifically which tool handles each phase of the migration pipeline.

Approach. For exporting App1 to a ZIP file, the correct tool is Web Deploy (MSDeploy) - the standard IIS tool for packaging web applications into portable ZIP-based deployment packages (.zip / .webdeploy). For creating a container image from that exported app, the correct tool is Docker - you use a Dockerfile (typically referencing a Windows Server Core or IIS base image) to COPY the exported ZIP contents and build a container image that can be pushed to Azure Container Registry and run in Azure Container Instances or AKS. This two-step approach (Web Deploy → Docker build) minimizes administrative effort by reusing existing IIS packaging tooling rather than manually recreating the app structure inside a container.

Concept tested. IIS-to-container migration toolchain: Web Deploy (MSDeploy) for IIS app export/packaging, and Docker for container image creation - a common scenario tested on AZ-104 and AZ-305 exams covering Azure migration and containerization workflows.

Reference. https://learn.microsoft.com/en-us/azure/migrate/tutorial-app-containerization-aspnet-kubernetes

Topics

#Web App Migration#IIS#Containerization#Docker

Community Discussion

No community discussion yet for this question.

Full AZ-801 Practice