Skip to main content
  1. Public practice questions
  2. AZ-900 Practice Exams | Azure Fundamentals
  3. Domain 3-Describe Azure management and governance | AZ-900 Practice Exam | 230 Questions

Question 123 — Domain 3-Describe Azure management and governance | AZ-900 Practice Exam | 230 Questions

An administrator tests a Docker image in a virtual machine. However, when the container is deployed on a Linux virtual machine, it fails to run and throws an incompatibility error. What is the likely cause of this error? (Select one answer).

  1. The Docker image is corrupt.

  2. The application runtime components are not compatible with the Linux OS.

  3. The Docker image was created with Windows OS as its primary operating system.

  4. The Docker image was built on Windows OS, but the developer forgot to include OS-compatible converters.

Correct answers

  1. The Docker image was created with Windows OS as its primary operating system.

Explanations

Correct:
The Docker image was created with Windows OS as its primary operating system.
Docker images are OS-specific. If the image was created using Windows as the base OS, it cannot run natively on a Linux host due to fundamental differences between the two operating systems. Docker containers require a base image compatible with the host's operating system kernel.

Wrong:
The Docker image is corrupt.
A corrupt image would result in a different error, typically indicating a failure to load or extract the image, not an incompatibility error.

The application runtime components are not compatible with the Linux OS.
While runtime compatibility is critical, the specific error here relates to OS incompatibility, not runtime components.

The Docker image was built on Windows OS, but the developer forgot to include OS-compatible converters.
Docker does not use "OS-compatible converters." Containers must match the host OS kernel, and cross-platform compatibility is achieved by rebuilding the image with the appropriate base OS.