Docker Certified Associate (DCA) — Question 41

Is this statement correct?
A Dockerfile stores persistent data between deployments of a container.

Answer options

Correct answer: B

Explanation

The statement is incorrect because a Dockerfile itself does not store persistent data; it is a script used to create Docker images. Persistent data can be managed using Docker volumes, not the Dockerfile.