Question 190
A robotics cell runs a controller that must respond to safety-interlock signals within a bounded number of milliseconds. Testing shows that a shared general-purpose virtual-machine scheduler cannot guarantee that timing under other tenants’ peak loads. Which computing model best meets the control-system requirement?
Explanation
Correct Answer
A real-time embedded operating system uses scheduling policies and bounded execution characteristics designed to meet explicit response deadlines. In this robotics cell, safety interlock signals require predictable processing even under concurrent load; deterministic scheduling is more important than elastic resource sharing. The complete safety case must also include tested hardware, interrupt handling and worst-case timing analysis because the OS alone does not certify an interlock. The key difference is bounded latency, not average throughput.
Incorrect Answers
A general-purpose shared virtual-machine scheduler may delay control threads unpredictably as unrelated workloads compete for resources. It can be suitable for office applications but does not guarantee the bounded interlock response measured in milliseconds. Running the PLC workload on that scheduler would preserve the timing failure already demonstrated by the tests.
Serverless functions are invoked through provider-managed runtimes and network services, and cold starts or service contention can add variable delays. They are well suited to asynchronous event processing but unsuitable as the sole millisecond-bounded controller for a safety interlock. Cloud invocation latency cannot provide the deterministic local deadline stated in the question.
Containers normally share a host kernel and are governed by the underlying operating system’s scheduler. Without real-time scheduling guarantees, multi-tenant resource pressure can delay critical control processes just as it does in general-purpose VMs. Packaging software in a container does not itself make control-loop timing deterministic.