nerdexam
Cisco

300-910 · Question #8

What is the best description of a docker file?

The correct answer is A. Text document used to build an image.. A Dockerfile is a plain text document containing a set of instructions that the Docker engine uses to automatically build a Docker image.

Containerization

Question

What is the best description of a docker file?

Exhibits

300-910 question #8 exhibit 1
300-910 question #8 exhibit 2

Options

  • AText document used to build an image.
  • BMessage Daemon files.
  • CSoftware used to manage containers.
  • DRepository for docker images.

How the community answered

(19 responses)
  • A
    95% (18)
  • D
    5% (1)

Why each option

A Dockerfile is a plain text document containing a set of instructions that the Docker engine uses to automatically build a Docker image.

AText document used to build an image.Correct

A Dockerfile is a script composed of various commands (instructions) that are executed sequentially by the Docker daemon to assemble a Docker image. It acts as a blueprint, defining the base image, necessary files, environment setup, and commands to run.

BMessage Daemon files.

Message Daemon files are typically related to background processes or messaging systems, which is unrelated to a Dockerfile's purpose.

CSoftware used to manage containers.

Docker itself (the Docker Engine) is the software used to manage containers, not a Dockerfile, which is a configuration file.

DRepository for docker images.

A repository (like Docker Hub or a private registry) stores Docker images, while a Dockerfile is used to *create* an image.

Concept tested: Dockerfile definition and purpose

Source: https://docs.docker.com/engine/reference/builder/

Topics

#Dockerfile#Docker Image#Image Building#Containerization

Community Discussion

No community discussion yet for this question.

Full 300-910 Practice