fundamentals
AI security interview questions tagged fundamentals, across every topic.
58 questions · 23 unlocked for you
Concepts behind "fundamentals"
Explanations of the mechanisms these questions rely on.
Foundational
Trust Boundaries, Assets and AdversariesSecurity reasoning starts with three questions: what is worth protecting, who could want it and with what ability, and where data or control crosses from one level of trust to another. A trust boundary marks a change in authority or trust. Reviewing the checks at those crossings helps explain failures such as SQL injection and prompt injection. Security Foundations
Foundational
Confidentiality, Integrity, Availability and AuthenticitySecurity controls exist to protect a small set of properties: confidentiality (only the right parties can read), integrity (nothing changes without authority), availability (the system works when needed) and authenticity (you know who or what you are dealing with). Naming the property a control protects is the fastest way to see what it does not protect, and AI systems put new pressure on every one of them. Security Foundations
Foundational
Threat Modeling with Data-Flow Diagrams and STRIDEThreat modeling is a structured way to find what can go wrong in a design before it is built. Draw a data-flow diagram, mark the trust boundaries, and walk each element through STRIDE: spoofing, tampering, repudiation, information disclosure, denial of service and elevation of privilege. The output is a list of specific threats, each with a decision: mitigate, accept, transfer or remove the feature. Security Foundations
Foundational
Attacker Positions on the NetworkNetwork attacks are best understood by the attacker's position: on the local link (ARP spoofing, rogue DHCP, evil-twin Wi-Fi), in name resolution (DNS spoofing, resolver compromise, registrar takeover), in routing (BGP hijacks and leaks), or as a trusted intermediary (an interception proxy or an installed root). Each position lets the attacker read or alter traffic that is not protected end to end. TLS with proper certificate validation defeats all of them unless the attacker can make the client trust their certificate, which is why the strongest network defences are authentication, plus controls that stop the attacker getting into position. Network Security
Foundational
TCP/IP for Security EngineersIP does not authenticate source addresses, so spoofing is possible wherever networks skip ingress filtering, and spoofed UDP becomes reflection and amplification. TCP's handshake and sequence numbers stop an off-path attacker from blindly injecting data, but only probabilistically, and side channels have repeatedly narrowed the odds. Neither layer offers confidentiality or integrity against anyone on the path. Security engineers need these limits to reason about SYN floods, blind resets, off-path DNS poisoning and why every channel worth protecting needs TLS or another authenticated layer above. Network Security
Foundational
How LLM Applications WorkAn LLM application selects context, invokes a model and routes its output to readers, tools or stores. Review source and processor permissions, application or provider-managed history, and the actual consumers of each result. A model proposal and a completed authorized action are different observations. How LLM Systems Work