Skip to content
Sharp

Microservice Architecture · interview question

Why do teams use a Docker image in a microservices environment in production code?

Multiple choiceEasychapter-18-curatedpremiummicroservice-architecturemessage-brokers-kafka
Choose one answer
Answer and explanation

Correct answer

B. To provide a reproducible environment for running applications

Why

Docker images contain everything needed to run an application, including code, runtime, and dependencies. This ensures that the application runs the same way in any environment, improving consistency and reliability.

Test yourself on Microservice Architecture

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

Start free test
All Microservice Architecture questions →