Security Interview Questions
9 interview questions in our bank cover Security, most of them Coding Questions. They average 3.4/5 difficulty — medium — and each one was reported by a candidate after a real interview. Companies known to ask about Security: Okta, Robinhood, Amperity, Reflection AI, BMO, and 2 more.
Practice these on the problems board →Companies that ask about Security
Question mix
- Coding Questions4
- System Design for ML4
- LLMs & Prompt Engineering1
Difficulty
- 3/5 — medium5
- 4/5 — hard4
Security questions at Okta
Cross-Domain SSO After an Acquisition, and OIDC Across Sites
4/5Design the sign-in flow for a business that owns one domain and has just bought another, so that authenticating on either leaves the user authenticated on both. Reported by an Okta staff backend candidate, this round turns on a fact about browsers: no cookie can span two separate registrable domains, so the session has to be minted twice from one central authority. You will carry a short-lived single-use code between the domains, name the guards that make it safe, and extend the design to third-party tool access. The complete problem and the full design answer are available to subscribers.
System Design for MLOktaJWT-Protected MCP Server with a Scoped whoami Tool
3/5A backend engineering question about securing a tool server with bearer-token authentication. It tests token validation, scope-based authorization and returning the correct error codes for failed authentication versus failed authorization.
Coding QuestionsOktaFix a Sign-In Handler: Validation, Errors and Account Enumeration
3/5A debugging question about a short password sign-in function that misbehaves on bad input. The fix must reject malformed requests, turn every internal failure into a generic error, return only safe user fields, and make a missing account look exactly like a wrong password, including the amount of work done.
Coding QuestionsOkta
More Security questions
Security-Flavored Coding: Constrained Data Structure & Input Validation
4/5Tests whether you can build a capacity-limited structure and a strict string validator that stay safe under concurrent access and hostile input. Expect to defend your choices on thread safety, bounded memory and parser bypass risks.
Coding QuestionsRobinhoodDesign a Read-Once Password Sharing Service
4/5A system design question about handing a credential to another person through a link that stops working after the first successful open. The discussion is about correctness and awkward cases: many users, repeated texts, several recipients, and what it means to confirm a read.
System Design for MLAmperityLayered Defenses Against LLM Jailbreaks
3/5This Reflection AI hiring-manager question asks how you would stop a capable language model from being talked out of its rules, especially when it can call tools. Good answers treat it as a systems problem: several independent safeguards, an honest account of how their failures overlap, and the price paid in wrongly refused legitimate requests. Interviewers also listen for the difference between persuading a model directly and smuggling instructions in through the content it reads. The full prompt, the reasoning and the follow-ups are available with a subscription.
LLMs & Prompt EngineeringReflection AIDesign an Enterprise AI Coding Agent with a Multi-Agent Architecture
4/5A system design question about an AI assistant that helps engineers with software tasks by pulling context from ticketing, customer support, source control, documentation and business rule systems through several cooperating AI agents. It tests how a candidate divides and coordinates the work, keeps every action within the requesting user's permissions, validates proposed code changes, and keeps long tasks reliable for many users.
System Design for MLBMOCode Review of a Seeded Python Service
3/5A code review exercise: read a small Python module that mixes SQL, configuration, request handling and a payment call, and write actionable comments on its defects. It tests breadth of review across security, concurrency, schema design and error handling.
Coding QuestionsSalesforceLLM SQL Chatbot Access Control and Query Safety
3/5Explore a complex system architecture challenge reported from NVIDIA interviews focusing on the secure design of a natural language interface for database querying. The scenario requires balancing user accessibility with strict authorization boundaries, ensuring that generated queries respect enterprise permission levels while protecting downstream data infrastructure from catastrophic resource exhaustion. Candidates must address query validation, mitigation of hallucinated syntax, and resource management to prevent cluster instability. Gain full access to the complete design blueprint and expert recommendations with a subscription.
System Design for MLNVIDIA
Studied alongside
Security interview FAQ
- How many Security interview questions are there?
- 9 reported questions, mostly Coding Questions.
- Which companies ask Security questions?
- Okta (3), Robinhood (1), Amperity (1), Reflection AI (1), BMO (1), Salesforce (1), NVIDIA (1).
- How hard are Security questions?
- They average 3.4 out of 5: 5 at 3/5, 4 at 4/5.