Skip to content

systems security

AI security interview questions tagged systems security, across every topic.

11 questions · 0 unlocked for you

Concepts behind "systems security"

Explanations of the mechanisms these questions rely on.

Foundational
Systems & OS Security
How the Kernel Isolates ProcessesThe CPU runs applications in an unprivileged mode and the kernel in a privileged one. Each process gets its own virtual address space through page tables only the kernel can change, plus credentials and handles the kernel checks on every request. Programs reach privileged operations only through system calls, where the kernel must treat every argument as hostile. Isolation is deliberately relaxed through debugging interfaces, shared memory and IPC, and it collapses entirely if the kernel itself is exploited, which is why containers sharing one kernel are a weaker boundary than virtual machines.
Foundational
Systems & OS Security
The Linux Privilege Model: Permissions, setuid, Capabilities and MACLinux decides what a process may do in layers. Discretionary permissions (owner, group, others, plus ACLs) are set by the owner of each file. setuid and setgid executables run with their owner's identity, which makes every one an escalation surface. Capabilities split root into about forty separately grantable powers, some of which are nearly root on their own. Mandatory access control (SELinux, AppArmor) adds a system-wide policy no process can change. Hardening a service means working through all four layers, not just making sure it is not UID 0.
Foundational
Systems & OS Security
Memory Corruption and the Mitigations Against ItMemory-safety bugs are spatial (out-of-bounds writes and reads) or temporal (use-after-free, double free, uninitialised use). They become code execution when corrupted memory holds control data or security decisions. Mitigations each block one step: stack canaries detect stack overwrites, non-executable memory forces code reuse, ASLR hides addresses until something leaks, control-flow integrity and shadow stacks restrict where execution can go. None removes the bug, and data-only attacks sidestep the control-flow defences, so the durable answer is memory-safe code for anything that parses untrusted input.
Core
Systems & OS SecuritySign in
Secure Boot, Measured Boot and Remote Attestation in DepthSecure boot enforces: each stage runs the next only if it is signed and not revoked. Measured boot records: each stage extends a hash into a TPM register, blocking nothing by itself. Attestation proves that record to a remote verifier with a fresh nonce. A patched but still-signed boot component stays usable until it is revoked, which is why BlackLotus worked. PCR values break on every update, so policies use event logs or signatures. Confidential AI uses the same chain to release model weights only to attested machines.
Core
Systems & OS SecuritySign in
Linux Sandboxing Primitives: Namespaces, cgroups, seccomp and LandlockLinux has no single sandbox feature. Containers and sandboxes combine primitives that each answer a different question: namespaces decide what a process can see, cgroups how much it can use, capabilities which root powers remain, Landlock or a security module which files and ports it may touch, and seccomp which system calls it may make. no_new_privs ties them together by stopping privilege gain through exec. They must be applied in the right order, and all of them are enforced by one shared kernel, so they harden a process but do not isolate hostile code from a kernel bug.
Advanced
Systems & OS Security🔒 Premium
Active Directory Attack Paths and How Tiering Breaks ThemActive Directory compromises usually follow a path: a phished user, a shared local administrator password, a privileged credential cached on a workstation, a relayable authentication or a misconfigured certificate template, and then control of the domain. Each step is an edge in a graph, and defence means removing edges: Windows LAPS for unique local passwords, Protected Users and Credential Guard for privileged credentials, signing, channel binding and EPA against NTLM relay, careful AD CS templates, and an administrative model in which higher planes are never controlled from lower ones.