exam questions

Exam KCNA All Questions

View all questions & answers for the KCNA exam

Exam KCNA topic 1 question 105 discussion

Actual exam question from Linux Foundation's KCNA
Question #: 105
Topic #: 1
[All KCNA Questions]

What is a Dockerfile?

  • A. A bash script that is used to automatically build a docker image.
  • B. A config file that defines which image registry a container should be pushed to.
  • C. A text file that contains all the commands a user could call on the command line to assemble an image.
  • D. An image layer created by a running container stored on the host.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
shahy0
1 week, 1 day ago
Selected Answer: C
A Dockerfile is a text file that contains a set of instructions used to build a Docker image. It defines the steps needed to create a containerized application, including the base image, application code, dependencies, and configuration settings.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago