nerdexam
Microsoft

AZ-800 · Question #266

While creating a new container image on Windows Admin Center, which of the following options would you use to create a new container image using the IIS base image?

The correct answer is D. IIS web application/static web application folder. When creating a new container image using Windows Admin Center that is based on the IIS base image, the correct option is 'IIS web application/static web application folder'. This option instructs Windows Admin Center to build a new container image starting from the IIS base…

Manage virtual machines and containers

Question

While creating a new container image on Windows Admin Center, which of the following options would you use to create a new container image using the IIS base image?

Options

  • AUse an existing Dockerfile
  • BIIS web application/Visual Studio solution (ASP.NET)
  • CIIS web application/Web Deploy (exported Zip file)
  • DIIS web application/static web application folder

How the community answered

(20 responses)
  • A
    5% (1)
  • C
    5% (1)
  • D
    90% (18)

Explanation

When creating a new container image using Windows Admin Center that is based on the IIS base image, the correct option is 'IIS web application/static web application folder'. This option instructs Windows Admin Center to build a new container image starting from the IIS base image and then copy the contents of a specified local folder (containing static HTML, CSS, JavaScript, or other static web assets) into the image's IIS web root. Option A (existing Dockerfile) is for when you already have a Dockerfile written. Option B (ASP.NET/Visual Studio solution) is for compiled .NET web applications. Option C (Web Deploy exported Zip file) is for applications exported via Web Deploy from IIS. Since the task is specifically to use the IIS base image with a folder of content, option D is the appropriate workflow.

Topics

#Windows Admin Center#Containerization#IIS#Image Build

Community Discussion

No community discussion yet for this question.

Full AZ-800 Practice