A legacy Windows line-of-business app needs a full guest operating system and vendor-supported OS-level agents, while a new stateless REST API packages cleanly with its runtime. How should the city optimize packaging?
Select an answer to reveal the explanation.
Short Explanation
The old Windows app is like a whole house that needs its own foundation and utilities — that is VM territory. The little stateless API is more like a packed lunch you can drop on any counter — containers shine there. Match the packaging to what each workload actually needs.
Full Explanation
Virtual machines provide a full guest OS, which suits legacy applications that depend on OS-level configuration, agents, or Windows-specific support. Containers package application runtimes more lightly and fit stateless, cloud-friendly services well. Optimization compares workload OS dependency and packaging needs rather than forcing one pattern for everything.