Security Architecture: Zero Trust and OWASP Top 10 Interview Questions
261 multiple-choice tech interview questions on Security Architecture: Zero Trust and OWASP Top 10: Zero trust principles, defense in depth, threat modeling with STRIDE, the OWASP Top 10:2025, authentication and authorization patterns, and secure software supply chains. Written for technical phone screens and interview prep, organized by subtopic, with a short explanation for every answer. Learn the 66 key terms with the flashcards first, then test yourself.
Take the practice test · Flashcards · All study tools
What it covers
- 10.1 Security principles and secure design
- 10.2 Zero trust architecture
- 10.3 Threat modeling
- 10.4 OWASP Top 10:2025 for architects
- 10.5 Network and infrastructure security architecture
- 10.6 Identity and privileged access architecture
- 10.7 Data protection and cryptography architecture
- 10.8 Software supply chain and secure SDLC
- 10.9 Security operations, response and compliance
Key terms
10.1 Security principles and secure design
- Complete mediation
- Checking every access against current rights
- Economy of mechanism
- Keeping security mechanisms small and simple
- Open design
- Security that doesn't rely on secret designs
- Separation of duties
- Requiring more than one person for critical actions
- Non-repudiation
- Proof that someone can't deny an action
- Privilege separation
- Running risky parts of a program with fewer rights
- Compensating control
- An alternative safeguard when the usual one isn't possible
- Secure by design
- Building security in from the start
10.2 Zero trust architecture
- Zero trust
- Verify explicitly, least privilege, assume breach
- Defense in depth
- Multiple independent layers of security controls
- Zero trust architecture
- Security that verifies every request instead of trusting location
- Policy decision point
- The part that decides whether to grant access
- Policy enforcement point
- The gate that allows or blocks a connection
- BeyondCorp
- Google's model for access without a trusted network
- ZTNA
- Per-app access brokered after identity and device checks
- Lateral movement
- An attacker spreading between systems
- Device posture
- A device's security state, like patches and encryption
- Protect surface
- The most critical data and services to protect first
10.3 Threat modeling
- STRIDE
- Threat categories: spoofing, tampering, repudiation, disclosure, DoS, elevation
- Trust boundary
- Where data crosses between different trust levels
- Threat Modeling Manifesto
- Principles and four key questions for threat modeling
- LINDDUN
- A privacy threat modeling framework
- PASTA
- A seven-stage risk-centric threat modeling method
- Attack tree
- A diagram of the ways to reach an attacker's goal
- Data flow diagram
- A map of processes, stores, flows and boundaries
- Abuse case
- A scenario describing how a feature could be misused
- Threat actor
- A person or group that might attack a system
- Risk acceptance
- Choosing to live with a known risk
10.4 OWASP Top 10:2025 for architects
- Broken access control
- OWASP A01:2025; users acting outside their permissions
- IDOR
- Insecure direct object reference; accessing others' data by changing an ID
- SSRF
- Making a server fetch attacker-chosen URLs
- Mishandling of exceptional conditions
- Errors handled in ways that fail open or leak data
- Software supply chain failure
- A compromise in dependencies, builds or distribution
- Deny by default
- Refusing access unless a rule allows it
- Failing open
- Allowing access when a check errors out
10.5 Network and infrastructure security architecture
- Bastion host
- A hardened entry point for admin access
- C2 channel
- A link attackers use to direct compromised machines
- Virtual patch
- A temporary WAF rule blocking an exploit
- CIS Benchmark
- A consensus system hardening guide
- Remote attestation
- Signed proof of a device or workload's state
10.6 Identity and privileged access architecture
- Tier 0
- Systems whose compromise gives control of everything
- Privileged access workstation
- A locked-down device used only for admin work
- Standing privilege
- Admin rights that are always active
- Confused deputy
- A trusted service tricked into misusing its rights
- Golden SAML
- Forging SAML tokens with a stolen signing key
- Illicit consent grant
- Tricking a user into approving a malicious app
10.7 Data protection and cryptography architecture
- Data minimization
- Collecting and keeping only needed data
- Format-preserving encryption
- Encryption that keeps the data's format
- Crypto-agility
- Ability to swap cryptographic algorithms easily
- Harvest now, decrypt later
- Storing ciphertext to break with future quantum computers
- BYOK
- Customer-controlled keys used by a provider
- DLP
- Tools that stop sensitive data from leaving
10.8 Software supply chain and secure SDLC
- SBOM
- Inventory of software components and versions
- PKCE
- OAuth extension binding the code exchange to the client that started it
- DAST
- Testing a running app with crafted requests
- SCA
- Scanning third-party packages for flaws and licenses
- Reproducible build
- A build that always yields identical output
- Build provenance
- Signed metadata on how an artifact was built
- VEX
- A statement of whether known flaws affect a product
- Security champion
- A developer leading security practices in a team
10.9 Security operations, response and compliance
- SOAR
- Automated playbooks that respond to security alerts
- EDR
- Endpoint detection and response
- MITRE ATT&CK
- A knowledge base of attacker tactics and techniques
- Purple team
- Attackers and defenders working together
- EPSS
- A score estimating the chance of exploitation
- NIST CSF
- A framework organizing security outcomes by function
Sample practice questions
What is defense in depth?
- Relying on one very strong firewall at the edge of the network
- Hiding the application's source code so attackers can't read it
- Placing the database physically deep inside the data center
- Layering independent controls so one failure doesn't expose the system
Answer: D. Layering independent controls so one failure doesn't expose the system Example: WAF, authentication, authorization checks, input validation, encryption and monitoring together.
What is the core idea of zero trust?
- Trust everything that's inside the corporate network, and verify the rest
- Remove all authentication so that access is simpler and faster for everyone
- Trust each user fully once a year, right after the annual security audit
- Never trust by location; verify every request by identity, device and context
Answer: D. Never trust by location; verify every request by identity, device and context Microsoft summarizes it as verify explicitly, use least privilege and assume breach.
What is threat modeling?
- Building detailed 3D models of hackers to study how they behave
- Analyzing a design for what can go wrong, its risk and the mitigations
- Running an antivirus scan across every server in the environment
- Writing penetration test reports after the system has been released
Answer: B. Analyzing a design for what can go wrong, its risk and the mitigations Common framing: What are we building? What can go wrong? What will we do about it? Did we do a good job?
Which category is ranked number one in the OWASP Top 10:2025?
- Injection
- Cryptographic Failures
- Security Misconfiguration
- Broken Access Control
Answer: D. Broken Access Control It was also number one in 2021; 2025 folds server-side request forgery (SSRF) into it.
What is the role of a web application firewall (WAF)?
- An extra layer that inspects HTTP and blocks common attack patterns
- A complete replacement for secure coding practices in the app
- A service that encrypts databases at rest with managed keys
- A system for storing and managing users' passwords centrally
Answer: A. An extra layer that inspects HTTP and blocks common attack patterns A WAF is defense in depth, not a substitute for fixing vulnerabilities.
What is a common secure pattern for browser apps handling OAuth tokens?
- The implicit flow, with access tokens stored in localStorage for reuse
- Sending the user's password along with every request to every API
- Putting access tokens in URL query strings so links can be shared
- Auth code flow with PKCE, ideally with tokens server-side in a BFF
Answer: D. Auth code flow with PKCE, ideally with tokens server-side in a BFF OAuth 2.1 drops the implicit flow and requires PKCE.
Why classify data (public, internal, confidential, restricted)?
- Regulators ban unclassified data
- It lets everyone read restricted data
- Classification encrypts data automatically
- Controls can then match each class's sensitivity
Answer: D. Controls can then match each class's sensitivity Drives encryption, access and retention.
What is an SBOM?
- A software bill of materials: an inventory of components and versions
- A secure backup of the main production database, stored offsite
- A server benchmark report comparing performance across instance types
- A type of firewall rule that blocks traffic from unknown sources
Answer: A. A software bill of materials: an inventory of components and versions Formats include SPDX and CycloneDX; they speed up response to new CVEs.
Why does a SIEM need consistent time across log sources?
- SIEMs reject logs from other zones
- Timestamps make logs smaller
- Logs can't be stored without a clock
- Correlating events depends on accurate ordering
Answer: D. Correlating events depends on accurate ordering NTP everywhere.
What does the CIA triad stand for in security?
- Code, infrastructure and access
- Compliance, identity and auditing
- Confidentiality, integrity and availability
- Certificates, isolation and authentication
Answer: C. Confidentiality, integrity and availability Each threat and control can be mapped to which of the three it affects.
More Architecture
- System Design Interview Fundamentals
- Monoliths vs Microservices
- Event-Driven Architecture
- Scalability: Horizontal and Vertical Scaling, Sharding and Partitioning
- CAP Theorem and Distributed Consistency
- High Availability and Fault Tolerance
- API Gateways and Service Meshes
- Domain-Driven Design
- Clean and Hexagonal Architecture
- AI and LLM Integration: RAG, Prompts and APIs