Security interview questions
Dependency Hygiene, Deserialization Safety, Input Validation, Log Redaction, Safe Subprocess Calls, Secrets Management
200 questions with answers and explanations · 184 flashcards
Questions (page 2 of 4)
- When is sql injection prevention being used in the wrong way?Multiple choiceMedium
- A bug appears around safe subprocess calls. What is the strongest first debugging move?Multiple choiceMedium
- Another engineer will maintain this code later. What choice helps the most around deserialization safety?Multiple choiceHard
- Another engineer will maintain this code later. What choice helps the most around safe subprocess calls?Multiple choiceMedium
- Which option describes the most likely pitfall around input validation?Multiple choiceEasy
- Which boundary choice best fits safe subprocess calls in a maintainable Python system?Multiple choiceMedium
- A senior interviewer asks for one tradeoff behind sql injection prevention. What is the strongest follow-up?Multiple choiceHard
- Which boundary choice best fits input validation in a maintainable Python system?Multiple choiceEasy
- Which option is the safer default when shipping code around safe subprocess calls?Multiple choiceHard
- When is safe subprocess calls being used in the wrong way?Multiple choiceMedium
- Which judgment is strongest when choosing a data shape for safe subprocess calls?Multiple choiceMedium
- Which option treats dependency hygiene as an engineering policy decision instead of a syntax trick?Multiple choiceHard
- Which move is the best default when token and auth handling becomes part of this workflow?Multiple choiceMedium
- Which option describes the most likely pitfall around sql injection prevention?Multiple choiceMedium
- When is dependency hygiene being used in the wrong way?Multiple choiceHard
- If you wrote a test around secrets management, what should the test prove first?Multiple choiceEasy
- A teammate submits shaky secrets management code. Which review comment is the strongest?Multiple choiceEasy
- Which option treats safe subprocess calls as an engineering policy decision instead of a syntax trick?Multiple choiceHard
- Which boundary choice best fits dependency hygiene in a maintainable Python system?Multiple choiceHard
- A senior interviewer asks for one tradeoff behind secrets management. What is the strongest follow-up?Multiple choiceHard
- Which explanation would sound strongest in an interview when discussing deserialization safety?Multiple choiceHard
- A teammate submits shaky log redaction code. Which review comment is the strongest?Multiple choiceHard
- Which option describes the most likely pitfall around safe subprocess calls?Multiple choiceMedium
- Which explanation would best help the team align on sql injection prevention?Multiple choiceMedium
- Which explanation would sound strongest in an interview when discussing dependency hygiene?Multiple choiceHard
- Which response shows the healthiest evidence-first mindset around dependency hygiene?Multiple choiceHard
- What kind of contract clarity matters most for log redaction?Multiple choiceHard
- What kind of contract clarity matters most for input validation?Multiple choiceHard
- Which naming or modeling choice is strongest for safe subprocess calls?Multiple choiceMedium
- Which option treats log redaction as an engineering policy decision instead of a syntax trick?Multiple choiceHard
- Which option is the safer default when shipping code around dependency hygiene?Multiple choiceHard
- Which judgment is strongest when choosing a data shape for secrets management?Multiple choiceMedium
- What kind of contract clarity matters most for token and auth handling?Multiple choiceHard
- Another engineer will maintain this code later. What choice helps the most around sql injection prevention?Multiple choiceMedium
- When is secrets management being used in the wrong way?Multiple choiceMedium
- Which explanation would sound strongest in an interview when discussing safe subprocess calls?Multiple choiceMedium
- Which response shows the healthiest evidence-first mindset around sql injection prevention?Multiple choiceHard
- You cannot rewrite everything today. What is the best incremental improvement around log redaction?Multiple choiceHard
- Another engineer will maintain this code later. What choice helps the most around secrets management?Multiple choiceMedium
- What production risk should you worry about most if sql injection prevention is handled lazily?Multiple choiceMedium
- You cannot rewrite everything today. What is the best incremental improvement around secrets management?Multiple choiceMedium
- Which judgment is strongest when choosing a data shape for dependency hygiene?Multiple choiceHard
- Which option is the safer default when shipping code around token and auth handling?Multiple choiceHard
- Which naming or modeling choice is strongest for input validation?Multiple choiceMedium
- Another engineer will maintain this code later. What choice helps the most around input validation?Multiple choiceMedium
- If you wrote a test around deserialization safety, what should the test prove first?Multiple choiceHard
- What do interviewers usually hear as a strong signal when you discuss dependency hygiene well?Multiple choiceHard
- Which response shows the healthiest evidence-first mindset around log redaction?Multiple choiceHard
- What assumption should be made explicit when working with deserialization safety?Multiple choiceHard
- Another engineer will maintain this code later. What choice helps the most around log redaction?Multiple choiceHard