Skip to content
Sharp

Microservice Architecture · interview question

Why does a Dockerfile matter in this design?

Multiple choiceEasychapter-18-curatedpremiummicroservice-architecturedocker-containerization
Choose one answer
Answer and explanation

Correct answer

D. To define the steps to create a Docker image.

Why

A Dockerfile contains a set of instructions that specify how to build a Docker image. It defines the base image, environment variables, commands to run, and files to copy into the container.

Test yourself on Microservice Architecture

A free test with instant, explained results. No account needed.

Start free test
All Microservice Architecture questions →