Design Resilient Architectures

Two Linux microservices require incompatible versions of a user-space library but can share the same kernel. The team wants reproducible deployments without maintaining a separate guest operating system for each service. Which approach BEST fits?

Show the answer

Correct answerD. Package each service and its dependencies in a container.

AWhy not this: Moving application logic into a database does not solve packaging requirements for the existing Linux microservices.

BWhy not this: A shared host environment does not isolate the incompatible library requirements.

CWhy not this: Virtual machine images isolate dependencies but require a separate guest operating system for each virtual machine.

DWhy this is right: Separate container images isolate the library dependencies while sharing the host operating system kernel.

Containers package separate user-space dependencies while sharing the host kernel, supporting reproducible deployment without a guest OS per service. Separate virtual machines isolate dependencies too, but each introduces its own guest operating system.