PUBLIC QUESTION PREVIEW
Cybersecurity interview questions
OWASP Top 10, encryption, authentication, network security, penetration testing, and secure coding practices.
Showing 12 of 40 source questions. Sample answers are study material, not employer-specific hiring guidance.
How to work through this preview
Attempt each question before reading its answer. For a concept, give a definition and a concrete example. For code, state constraints, walk through a small input, and check complexity. For design, separate requirements from assumptions and explain failure handling. Use real situations for behavioral answers.
QUESTION 1 / easy / conceptual
What is the CIA triad? Why is it the foundation of information security?
Sample answer
Hints to guide your next attempt
- Confidentiality, Integrity, Availability
- Each maps to a class of security control
Source tags: cia-triad / confidentiality / integrity / availability / fundamentals
QUESTION 2 / medium / conceptual
What is the OWASP Top 10? Name all 10 and explain the most critical ones.
Sample answer
Hints to guide your next attempt
- 2021 edition is current
- Injection, Broken Access Control, Cryptographic Failures are top 3
Source tags: owasp / top-10 / injection / broken-access-control / security
QUESTION 3 / easy / conceptual
What is SQL injection? How do you prevent it?
Sample answer
Hints to guide your next attempt
- User input interpreted as SQL code
- Parameterised queries are the fix
Source tags: sql-injection / owasp / injection / parameterised-queries / security
QUESTION 4 / medium / conceptual
What is Cross-Site Scripting (XSS)? Types and prevention.
Sample answer
Hints to guide your next attempt
- Inject scripts into pages viewed by other users
- Stored, Reflected, DOM-based
Source tags: xss / cross-site-scripting / owasp / csp / output-encoding
QUESTION 5 / medium / conceptual
What is CSRF (Cross-Site Request Forgery)? How is it prevented?
Sample answer
Hints to guide your next attempt
- Tricks authenticated user into making unintended requests
- CSRF tokens, SameSite cookies
Source tags: csrf / security / tokens / samesite / owasp
QUESTION 6 / easy / conceptual
What is authentication vs authorisation? Explain common auth mechanisms.
Sample answer
Hints to guide your next attempt
- AuthN = who are you, AuthZ = what can you do
- JWT, OAuth2, session cookies
Source tags: authentication / authorisation / jwt / oauth2 / session / security
QUESTION 7 / medium / conceptual
How does HTTPS/TLS work? What does a TLS handshake involve?
Sample answer
Hints to guide your next attempt
- Asymmetric key exchange, then symmetric encryption
- Certificate verification chain
Source tags: tls / https / encryption / certificates / pki
QUESTION 8 / easy / conceptual
What is the difference between symmetric and asymmetric encryption?
Sample answer
Hints to guide your next attempt
- Symmetric = same key both ways, Asymmetric = public/private key pair
Source tags: symmetric / asymmetric / encryption / aes / rsa / cryptography
QUESTION 9 / medium / conceptual
What is JWT? What are common JWT vulnerabilities?
Sample answer
Hints to guide your next attempt
- Header.Payload.Signature
- alg:none attack, weak secret, missing expiry
Source tags: jwt / security / authentication / vulnerabilities / tokens
QUESTION 10 / medium / conceptual
What is OAuth 2.0? Explain the Authorization Code flow.
Sample answer
Hints to guide your next attempt
- Delegated access, access token vs refresh token
- State parameter prevents CSRF
Source tags: oauth2 / authorization-code / security / access-token / pkce
QUESTION 11 / easy / conceptual
What is a firewall? Types and how they work.
Sample answer
Hints to guide your next attempt
- Network traffic filter
- Stateless vs stateful vs application layer
Source tags: firewall / network-security / waf / stateful / packet-filtering
QUESTION 12 / medium / conceptual
What is an IDS vs IPS? How do they differ from a firewall?
Sample answer
Hints to guide your next attempt
- IDS detects, IPS detects + blocks
- Signature-based vs anomaly-based detection
Source tags: ids / ips / network-security / intrusion-detection / snort
Check understanding, not recognition
- Can you explain the answer without reading it?
- Can you show when the approach fails or needs a different assumption?
- Can you connect the concept to a real project, task, or decision you have made?
- Can you distinguish a simplified interview example from a production requirement?
A LITTLE MORE CLARITY
Frequently asked questions
How many Cybersecurity questions are shown here?
This public preview shows 12 questions with the supplied answers from the app's 40-question Cybersecurity bank. Full interactive practice requires signing in.
Should I memorize the sample answers?
Use them as reference explanations, not a script or a guarantee of technical correctness for every environment. Explain your assumptions, validate code against your language and version, and discuss trade-offs. Behavioral answers should be built from your own experience.
What do hints and solution steps mean?
Hints identify ideas to consider before reading the answer. When the source question includes steps, they are shown as a separate walkthrough. Example capacities and design targets in a solution are assumptions for that exercise, not real system statistics.
BUILD YOUR NEXT OPPORTUNITY
Practice Cybersecurity actively.
Sign in to use the full topic bank and interactive practice workspace.