Skip to content
Sharp

Microservice Architecture · interview question

When designing a Dockerfile for a microservice, which component should NOT be included to maintain immutability?

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

Correct answer

B. Dynamic configuration files

Why

Dynamic configuration files should not be included in an immutable Docker image since they can change based on the environment; it's better to manage them externally.

Test yourself on Microservice Architecture

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

Start free test
All Microservice Architecture questions →