Back to Tech Interviews

Ethical Hacking & Cyber Security Master

100+ Ethical Hacking questions covering Penetration Testing phases, OWASP Top 10, SQLi, XSS, Metasploit, Cryptography, and Incident Response.

Total: 100 QuestionsLearned: 0 / 100 (0%)
Difficulty Filters

Tools & Options
Showing 100 of 100 questions
Beginner
What is Ethical Hacking?

Ethical hacking involves an authorized attempt to gain unauthorized access to a computer system, application, or data. The goal is to identify security vulnerabilities which can then be resolved before a malicious attacker can exploit them. It is also known as 'Penetration Testing' or 'White Hat Hacking'.

Beginner
Explain the CIA Triad.

The CIA triad is a foundational model for information security:

1. **Confidentiality**: Ensuring that data is accessible only to authorized individuals.

2. **Integrity**: Ensuring that data is accurate and has not been tampered with.

3. **Availability**: Ensuring that systems and data are accessible when needed.

Beginner
What are the different types of hackers?

- **White Hat**: Ethical hackers who use their skills for defensive purposes with permission.

- **Black Hat**: Malicious hackers who violate security for personal gain or damage.

- **Grey Hat**: Hackers who may violate laws but usually don't have malicious intent (e.g., exposing a bug without permission but not exploiting it).

Beginner
What is Footprinting?
Beginner
What is the difference between VAPT and Penetration Testing?
Beginner
What is Social Engineering?
Beginner
What is Phishing?
Beginner
What is a Firewall?
Beginner
What is an IDS and IPS?
Beginner
What is the purpose of Cryptography?
Beginner
What is Symmetric vs Asymmetric Encryption?
Beginner
What is Hashing?
Beginner
What is a DoS and DDoS attack?
Beginner
What is a Botnet?
Beginner
What is the 5-step process of Hacking?
Beginner
What is Brute Force Attack?
Beginner
What is a Rootkit?
Beginner
What is the difference between a Virus and a Worm?
Beginner
What is the OSI Model?
Beginner
What is Port Scanning?
Beginner
Common ports to remember?
Beginner
What is a VPN?
Beginner
What is the 'Principle of Least Privilege' (PoLP)?
Beginner
What is a SQL Injection (SQLi)?
Beginner
What is the difference between TCP and UDP?
Intermediate
What are the 6 phases of Penetration Testing?
Intermediate
What is OWASP Top 10?
Intermediate
What is XSS (Cross-Site Scripting)?
Intermediate
Explain the three types of XSS.
Intermediate
What is CSRF (Cross-Site Request Forgery)?
Intermediate
What is a 'Man-in-the-Middle' (MitM) attack?
Intermediate
What is ARP Spoofing?
Intermediate
Explain the difference between Encoding, Encrypting, and Hashing.
Intermediate
What is SQLmap and how do you use its basic command?
Intermediate
What is Burp Suite?
Intermediate
What is a Reverse Shell vs Bind Shell?
Intermediate
What is Enumeration?
Intermediate
Explain Nmap scripts (NSE).
Intermediate
What is 'Salting' in password hashing?
Intermediate
What is a 'Zombie' in the context of cyberattacks?
Intermediate
What is Metasploit Framework?
Intermediate
What is the difference between a False Positive and a False Negative?
Intermediate
What is a 'Buffer Overflow'?
Intermediate
What is 'Netcat' (nc)?
Intermediate
What is Sniffing?
Intermediate
What is the 'Same-Origin Policy' (SOP)?
Intermediate
What is Cross-Site Scripting (XSS) Mitigation?
Intermediate
What is 'Broken Access Control'?
Intermediate
What is 'Credential Stuffing'?
Intermediate
What is the difference between vulnerability scanning and port scanning?
Advanced
Explain 'Pivoting' in penetration testing.
Advanced
What is a 'Zero-Day' vulnerability?
Advanced
What is 'Steganography'?
Advanced
Explain 'Honey Pots'.
Advanced
What is the difference between a Black Box and a White Box test?
Advanced
What is 'Fuzzing'?
Advanced
What is an 'Evil Twin' attack?
Advanced
Explain 'DDoS Mitigation' techniques.
Advanced
What is 'DNS Tunneling'?
Advanced
What is 'BlueTeaming' vs 'RedTeaming'?
Advanced
What is 'Privilege Escalation'?
Advanced
What is a 'Sandbox' in cybersecurity?
Advanced
What is 'WAF' (Web Application Firewall)?
Advanced
What is 'Penetration Testing Reporting'?
Advanced
What is 'Session Hijacking'?
Advanced
Explain 'Cryptography' vs 'Steganography'.
Advanced
What are the common vulnerabilities in IoT devices?
Advanced
What is 'Air Gapping'?
Advanced
Explain the importance of 'Patch Management'.
Advanced
What is 'Packet Injection'?
Advanced
What is an 'SQL Injection' (Blind SQLi)?
Advanced
Explain 'Bug Bounty' programs.
Advanced
What is 'Cyber Forensics'?
Advanced
What is 'Bypassing 2FA' techniques?
Advanced
What is 'Reverse Engineering' in security?
Scenario
Scenario: You find an open port 80. What is your next step?
Scenario
Scenario: How to identify the operating system of a remote host?
Scenario
Scenario: You want to capture passwords on a local network. Tools?
Scenario
Scenario: How to check if a website is vulnerable to SQL injection using a tool?
Scenario
Scenario: How to perform a dictionary attack on an SSH service?
Scenario
Scenario: You need to bypass a firewall to scan a target. Techniques?
Scenario
Scenario: How to find hidden directories on a web server?
Scenario
Scenario: You have a hash and want to crack it. Tool?
Scenario
Scenario: How to generate a malicious payload for a Windows machine?
Scenario
Scenario: How to listen for a reverse shell connection?
Scenario
Scenario: You suspect an employee is sending sensitive data in images. Technique?
Scenario
Scenario: How to check for vulnerabilities in a WordPress site?
Scenario
Scenario: How to conduct a DNS zone transfer attempt?
Scenario
Scenario: How to identify subdomains of a target domain?
Scenario
Scenario: What is 'Shodan' and how is it used?
Scenario
Scenario: How to automate security headers check for a website?
Scenario
Scenario: You find a 'git' directory exposed on a web server. Importance?
Scenario
Scenario: How to check if a specific CV-2021-44228 (Log4Shell) exists on a network?
Scenario
Scenario: How to perform Google Dorking for sensitive files?
Scenario
Scenario: What to look for in a post-exploitation phase?
Scenario
Scenario: How to identify the used web framework in a browser?
Scenario
Scenario: How to test for insecure direct object references (IDOR)?
Scenario
Scenario: How to check if an email has been leaked in a data breach?
Scenario
Scenario: A server is responding slowly to all requests after a specific time. Possible cause?
Scenario
What is your ethical responsibility after finding a vulnerability?

Technical Interview Mastery Blueprint

Proven methodologies and frameworks to succeed in technical and architecture rounds.

1. The Engineering STAR Technique

When responding to architectural or situational questions, structure your answer using Situation, Technical Constraint, Action, and Measurable Result. Rather than jumping straight to syntax, articulate the business problem, why certain patterns (e.g. caching, queuing, immutability) were selected over alternatives, and what latency or throughput improvements were achieved.

2. Defending Architectural Trade-Offs

Senior interviewers evaluate how you weigh trade-offs. Always explain why you chose an approach: e.g., memory overhead vs CPU cycle speed, consistency vs availability (CAP theorem), or normalized schemas vs denormalized fast reads. Stating the drawbacks of your own proposal demonstrates maturity and production experience.

3. Clean Code & Edge-Case Proactivity

In live-coding rounds, communicate your thinking aloud before typing. State edge cases explicitly: null or undefined inputs, extreme boundary values, concurrency races, and network timeouts. Writing modular, well-named functions with deterministic unit tests separates junior candidates from staff-level engineers.

4. Antipatterns to Avoid

Avoid reciting memorized definitions without practical context. Never dismiss non-functional requirements such as security (CSRF, injection, token rotation), observability (logging, metrics), and accessibility (ARIA, semantic standards). Always ask clarifying scope questions before writing complex implementations.

Continuous learning: Practice daily, mark completed questions as learned, and revisit difficult concepts.Explore All Interview Tracks →

Explore Related Tools

Hand-picked utilities and calculators related to this tool.

Related Tools