Question
You need to consider the underlined segment to establish whether it is accurate.
To compile an Internet Information Services (IIS) web application that runs docker, you should use a Default build agent pool. (Underlined segment: "Default".)
Select "No adjustment required" if the underlined segment is accurate. If the underlined segment is inaccurate, select the accurate option.
- A. No adjustment required.
- B. Hosted Windows Container Correct
- C. Hosted
- D. Hosted macOS
Explanation
An IIS application packaged in Docker needs a Windows agent that can build Windows containers, which is what the Microsoft-hosted Hosted Windows Container pool was provided for. The Default pool holds your own self-hosted agents with no guaranteed Docker or Windows container support, the generic Hosted pool was not intended for container builds, and Hosted macOS cannot build Windows containers. In current Azure Pipelines the equivalent is a Microsoft-hosted Windows image such as windows-latest, which includes Docker.