Whenever you're ready, walk me through how you'd approach this.
What is an RTOS, and what is it used for?
Explain the core properties that distinguish an RTOS from a general-purpose operating system, including deterministic scheduling, task priorities, interrupts, timing guarantees, and resource constraints. Give one embedded example, describe how failures in timing or isolation could affect the device, and identify practical security controls you would expect in an RTOS-based product.