An organization is moving a legacy application to the cloud and wants to minimize changes to the application code. They require full control over the operating system and middleware. Which cloud service model is most appropriate?
IaaS supplies virtualised compute, storage, and networking while leaving the guest operating system and middleware under customer control. This satisfies the requirement for full OS and middleware control with minimal code changes, unlike PaaS, which abstracts the platform layer.
Why this answer
IaaS provides the customer with virtualized compute, storage, and networking while giving them full control over the operating system, middleware, and runtime — exactly what a legacy application needing minimal code changes requires. The customer manages the guest OS and above, while the provider handles the physical infrastructure and hypervisor. This makes IaaS the most appropriate model for lift-and-shift migrations with OS-level control requirements.
Exam trap
CCSP often tests the control-versus-management tradeoff across service models; the trap is choosing PaaS because it 'sounds modern,' ignoring the requirement for full OS and middleware control.
How to eliminate wrong answers
Option A is wrong because PaaS abstracts the OS and middleware, so the customer cannot control the operating system and would likely need to modify the application to fit platform constraints. Option B is wrong because SaaS delivers a fully managed application, offering no control over OS or middleware and typically requiring significant application changes or replacement. Option D is wrong because FaaS (serverless functions) abstracts everything below the function code, imposes execution time limits, and is unsuitable for a legacy application requiring persistent OS-level control.