Which cloud service model would a company use if they want to manage their application code and data but leave the OS, runtime, and hardware management to the provider?
PaaS satisfies the stem's constraint by abstracting the OS, runtime, and hardware layers, leaving the provider responsible for patching, scaling, and infrastructure. The company retains control only over its application code and data, which matches the stated requirement precisely. IaaS would still demand OS management, while SaaS removes application control entirely.
Why this answer
PaaS (Platform as a Service) provides a platform allowing customers to develop, run, and manage applications without the complexity of building and maintaining the infrastructure. The provider manages the OS, runtime, and hardware, while the customer manages the application code and data.
Exam trap
CLO-002 often tests the distinction between PaaS and serverless, and candidates may choose serverless thinking it's the same, but serverless is event-driven and may not suit all applications; PaaS is broader for application hosting.
How to eliminate wrong answers
Option A is wrong because IaaS provides virtualized computing resources, but the customer still manages the OS, runtime, and middleware. Option C is wrong because SaaS provides fully managed applications, where the customer only uses the software and does not manage code or data in the same sense. Option D is wrong because serverless (FaaS) abstracts even more, but the customer still manages code and data, yet the question specifies managing application code and data while leaving OS, runtime, and hardware to the provider, which is exactly PaaS; serverless is a subset of PaaS but often focuses on functions, not full applications.