Security MCQs with Answers
Security PracticePractice Security MCQs covering Ethical Hacking, Computer and Network Security, Cryptography with verified answers and step-by-step explanations.
Security / Security
Ethical Hacking MCQs
50 QuestionsPractice Ethical Hacking MCQs with answers.
2What is the primary function of a 'Bug Bounty Program' in modern organizational defense?
3In cloud penetration testing, what is 'Cloud Metadata Sifting'?
4What is an 'Insecure Deserialization' vulnerability in modern web applications?
5What is 'SSL Pinning' (Certificate Pinning) in mobile applications?
6What is 'WPS Pixie Dust' attack?
7In wireless security, what is 'SSID Cloaking' (disabling SSID broadcast), and why is it ineffective as a security defense?
8What is a 'CORS Misconfiguration' that exposes private user API data to unauthorized third-party websites?
9In web application testing, what does an HTTP response header of 'X-Content-Type-Options: nosniff' enforce?
10What is an 'Open Redirect' vulnerability in web applications?
11What is the recommended development practice to completely neutralize XML External Entity (XXE) attacks?
12What is an 'XML External Entity' (XXE) vulnerability?
13How does the 'SameSite=Lax' cookie attribute mitigate CSRF attacks in modern web browsers?
14What is 'Cross-Site Request Forgery' (CSRF)?
15Which HTTP response security header definitively protects web applications against Clickjacking by controlling whether the site can be rendered inside an iframe?
16What is 'Clickjacking' (UI Redressing) in web security?
17In web application testing, what is 'Server-Side Template Injection' (SSTI)?
18What is the primary vulnerability exploited by the infamous Mirai IoT botnet in 2016 to compromise hundreds of thousands of consumer IP cameras and home routers?
19What made the 2010 Stuxnet cyberweapon a landmark event in industrial cyber warfare history?
20Why is the legacy Modbus industrial protocol (TCP port 502) heavily vulnerable to cyberattacks in Operational Technology (OT) and SCADA environments?
21Which IEEE standard hardware boundary-scan interface is used by hardware security researchers to inspect chip registers, flash memory, and processor debugging states on IoT circuit boards?
22In Internet of Things (IoT) hardware penetration testing, which physical hardware serial communication interface is commonly tapped using a logic analyzer or FTDI adapter to obtain an unauthenticated root root shell?
23Which AWS CLI command allows an ethical hacker to test whether an Amazon S3 bucket is misconfigured to allow public anonymous file listing?
24In cloud security, what is the 'Shared Responsibility Model'?
25What does 'Jailbreaking' an Apple iOS device achieve for a security researcher?
26In an Android APK package, which essential configuration file declares application permissions, package names, activities, services, and broadcast receivers?
27In Android application security analysis, what is the primary role of 'Frida'?
28In Android application reverse engineering, which tool decodes the compiled 'resources.arsc', XML layouts, and converts DEX bytecode into editable Smali code?
29How does WPA3 defend against offline dictionary attacks even if users select relatively weak passwords?
30The 'Reaver' and 'Pixie Dust' attacks target which vulnerable wireless router feature to recover the WPA/WPA2 passphrase in minutes?
31What is an 'Evil Twin' attack in wireless penetration testing?
32Why is capturing the 4-Way Handshake essential for cracking a WPA/WPA2-Personal (PSK) wireless network?
33What type of attack does 'aireplay-ng -0' execute against a target wireless network to force connected clients to re-authenticate?
34In wireless penetration testing, which tool in the Aircrack-ng suite is used to capture raw 802.11 frames, display nearby APs and connected client MAC addresses, and log handshakes to a PCAP file?
35Which command in the Aircrack-ng suite puts a wireless interface (wlan0) into Monitor Mode?
36What is the primary difference between a wireless interface operating in 'Promiscuous Mode' versus 'Monitor Mode'?
37How does AWS Instance Metadata Service Version 2 (IMDSv2) defend against Server-Side Request Forgery (SSRF) exploits compared to IMDSv1?
38In Amazon AWS cloud environments, which link-local IP address is heavily targeted via SSRF vulnerabilities to extract temporary IAM security credentials for the running EC2 instance?
39What is Server-Side Request Forgery (SSRF)?
40In PHP web application penetration testing, which stream wrapper is commonly abused in Local File Inclusion (LFI) to read base64-encoded PHP source code without executing it?
41In a web application security assessment, what vulnerability is present when a URL parameter accepts '../' sequences (e.g., http://example.com/view?file=../../../../etc/passwd)?
42What is an Insecure Direct Object Reference (IDOR) / Broken Object Level Authorization (BOLA)?
43What is the primary security benefit of configuring the 'HttpOnly' flag on session authentication cookies?
44In client-side web application attacks, what is DOM-Based Cross-Site Scripting (DOM XSS)?
45What is the primary operational difference between Stored (Persistent) XSS and Reflected (Non-Persistent) XSS?
46In sqlmap, which command-line option specifies the target vulnerable URL to be tested?
47Which command-line tool completely automates the detection and exploitation of SQL injection flaws and database takeover across target web applications?
48Which Burp Suite Intruder attack type is best suited for brute-forcing HTTP Basic Authentication forms where multiple payload sets (e.g., usernames and passwords) must be tested across all possible Cartesian permutations?
49In Burp Suite Intruder, which attack type places the identical single payload simultaneously into all defined payload marker positions for each request?
50Which tool in the Burp Suite ecosystem acts as an HTTP/HTTPS proxy server, allowing ethical hackers to intercept, inspect, and modify web requests in real time before they reach the web server?
Comprehensive Question Hub
Subject-Wise MCQ Practice
Select any core Computer Science or programming subject below to access dedicated practice questions, answers, and topic-wise modules.
Practice Computer Science MCQs27 Core Subjects
Fundamental CS engineering subjects covering systems, theory, and data architecture.
Programming Language MCQs9 Languages
Practice coding output questions, language syntax, OOP paradigms, and standard libraries.
MCQs for Competitive Exams
Prepare with exam-specific question banks tailored to syllabi, previous years' question papers, and negative-marking criteria.
BPSC TRE 2.0 Computer Science
Practice BPSC TRE 2.0 Class 11-12 Computer Science previous-year questions with solutions.
BPSC TRE 3.0 Computer Science
Practice BPSC TRE 3.0 Class 11-12 Computer Science previous-year questions with solutions.
BPSC TRE 4.0 Computer Science
Practice BPSC TRE 4.0 Class 11-12 Computer Science previous-year questions with solutions.
Bihar STET Paper II Computer Science
Practice Bihar STET Paper II Class 11-12 Computer Science questions with solutions.
GATE Computer Science (CSE)
High-yield engineering questions covering Algorithms, Theory of Computation, Compiler Design, Computer Organization, and Operating Systems.
UGC NET Computer Science
Comprehensive question sets aligned with NTA UGC NET Paper II syllabus, featuring theoretical foundations, discrete math, and systems.
SSC & State Technical Exams
Foundational and practical MCQs for technical assistants, programmers, and informatics officers in central and state departments.
Why Practice MCQs on CodeZov?
A modern, high-yield practice platform designed to build speed, accuracy, and deep conceptual clarity.
Instant Answers & In-Depth Explanations
Receive immediate validation with step-by-step technical explanations and code breakdown so you learn from mistakes on the spot.
Full-Screen Distraction-Free Exam Mode
Simulate authentic exam environments with dedicated Full-Screen mode, keyboard shortcuts (1-4, A-D, Enter), and a live question matrix.
Topic-Wise & Subject-Wise Syllabus
Explore modular practice sets across Data Structures, Algorithms, DBMS, Operating Systems, Computer Networks, and modern programming languages.
Previous Year Questions (PYQs)
Solve authentic previous year questions adapted from BPSC TRE Computer Science, GATE CSE, and UGC NET question papers.
Ready to Deepen Your Conceptual Knowledge?
MCQ practice is most effective when paired with structured conceptual tutorials, career roadmaps, and full-length timed mock tests. Check out CodeZov's free resources to boost your preparation.
Core Syllabus Coverage
- Programming (C, C++, Java, Python, SQL)
- Data Structures & Algorithms
- Database Management Systems (DBMS)
- Operating Systems & Architecture
- Computer Networks & Cybersecurity
Frequently Asked Questions
Answers to common questions about practicing Computer Science MCQs on CodeZov.
What are MCQs?
Multiple-Choice Questions (MCQs) are objective assessment questions where learners select the correct option from multiple choices. In Computer Science, MCQs evaluate theoretical understanding, code snippet outputs, algorithm time complexities, and system architecture fundamentals.
Can I practice Computer Science MCQs online?
Yes, CodeZov offers 100% free online Computer Science MCQ practice with instant scoring, step-by-step explanations, code execution analysis, and Hindi translations without requiring mandatory registration or fees.
Are MCQs available topic-wise?
Yes, all questions on CodeZov are systematically organized by subject (such as DBMS, Operating Systems, Data Structures) and further categorized into specific topics (such as Trees, Normalization, CPU Scheduling, and TCP/IP) for focused preparation.
Do MCQs include answers and explanations?
Every MCQ on CodeZov features verified correct answers alongside in-depth conceptual explanations. Many questions also include bilingual Hindi explanations and line-by-line code breakdowns to ensure complete conceptual clarity.
Which subjects are available for MCQ practice?
CodeZov provides MCQs across over 40 technical subjects including C Programming, C++, Java, Python, Data Structures, Algorithms, DBMS, Operating Systems, Computer Networks, Theory of Computation, Compiler Design, Digital Logic Design, and Software Engineering.
Can I use MCQs to prepare for competitive exams?
Yes, our question bank is specifically curated for competitive examinations including BPSC TRE Computer Science (Class 11-12), GATE CSE, NTA UGC NET / JRF, ISRO, NIELIT, Kendriya Vidyalaya (KVS/NVS) PGT Computer Science, and university semester exams.