ACE-P-ALE1-04 practice question 20 of 35

Which of these items runs in user space?

Full set: 100 questions
Answer options
A: System daemons Correct answer
B: The IPC system
C: The process scheduler
D: Libraries and APIs Correct answer
E: The C Standard Library Correct answer
Correct Answer:
A. System daemons; D. Libraries and APIs; E. The C Standard Library
Explanation

In a Linux-based operating system like Arista EOS, a clear distinction exists between kernel space and user space. User space is the memory area where applications and less-privileged system components execute. System daemons (A) are background processes (e.g., sshd, snmpd, Arista agents) that run in user space. Libraries (D, E), such as the C Standard Library, are collections of code linked by applications. This code is loaded into an application's memory and executes entirely within the process's user space. APIs provided by these libraries often act as wrappers for system calls, which are the interface to the kernel. These components operate with restricted privileges and must request services from the kernel via system calls.

Why Incorrect

B. The IPC system: The core Inter-Process Communication (IPC) mechanisms are fundamental services provided and managed by the operating system kernel, operating in the privileged kernel space.
C. The process scheduler: The process scheduler is an essential component of the kernel that manages CPU allocation. This is a highly privileged task that must run in kernel space.

References

1. Arista Networks White Paper. (2020). Arista EOS: A Revolutionary Extensible Operating System. Page 3, Section "The Power of Linux": "EOS runs a standard, unmodified Linux kernel. All non-kernel processes run in user-space, including the system database (Sysdb), and all of the EOS agents such as Spanning Tree, LACP, MLAG, OSPF, BGP, etc." (This directly supports option A).

2. Arpaci-Dusseau, R. H., & Arpaci-Dusseau, A. C. (2018). Operating Systems: Three Easy Pieces. Arpaci-Dusseau Books. Chapter 2, "Introduction to Operating Systems", Figure 2.1 ("The OS and You"). This diagram explicitly places "User Programs" (which include daemons) and the "Standard Library" in user space, above the system call interface. It places the CPU scheduler within the kernel. (This supports A, D, E as correct and C as incorrect).

3. Arista Networks. (2023). EOS 4.31.1F Configuration Guide. Section: "Architectural Overview". The guide states, "Arista EOS is a modular network operating system... This is all running on top of an unmodified Linux kernel." The description of agents as separate processes implies a standard user space/kernel space architecture where these processes are user-space entities. (This supports option A).

Scroll to Top