Cyber Security MCQs
35 free Cyber Security multiple-choice questions for UPSC GK. Tap an option to answer — you get instant feedback, the correct answer, and a detailed explanation for every question.
Which of the following terms refers to a cyber-attack where the attacker intercepts and potentially alters the communication between two parties who believe they are directly communicating with each other?
- A Phishing Attack
- B Man-in-the-Middle Attack
- C Denial of Service (DoS) Attack
- D SQL Injection Attack
Correct answer: Man-in-the-Middle Attack
A Man-in-the-Middle attack occurs when a perpetrator positions themselves between a user and an application to eavesdrop or impersonate one of the parties. This allows the attacker to steal login credentials or personal information in real-time.
What is the primary purpose of a 'Firewall' in a network security system?
- A To provide physical protection for the server against fire damage
- B To encrypt all data files stored locally on a hard drive
- C To monitor and control network traffic based on security rules
- D To increase the overall internet speed of a local area network
Correct answer: To monitor and control network traffic based on security rules
A firewall acts as a barrier between a trusted network and an untrusted network, such as the internet. It inspects data packets to determine whether they should be allowed through or blocked based on a defined security policy.
In cyber security, what does the acronym 'CIA Triad' stand for?
- A Central Intelligence Agency
- B Confidentiality, Integrity, and Availability
- C Control, Identification, and User Authentication
- D Computing, Information, and Algorithms
Correct answer: Confidentiality, Integrity, and Availability
The CIA Triad is a foundational model designed to guide policies for information security within an organization. It focuses on keeping data private, ensuring it is accurate and unaltered, and making sure it is accessible to authorized users when needed.
Which type of malware is specifically designed to encrypt a victim's files, with the attacker demanding payment to restore access?
- A Spyware
- B Ransomware
- C Adware
- D Trojan Horse
Correct answer: Ransomware
Ransomware is a subset of malware in which the data on a victim's computer is locked, typically by encryption, and payment is demanded before the ransomed data is decrypted. Notable examples include WannaCry and Petya.
What is 'Phishing' in the context of cyber threats?
- A A hobbyist method of searching publicly around town for open, unsecured Wi-Fi networks
- B A technique used to bypass or permanently disable hardware firewall protections
- C A fraudulent attempt to obtain sensitive information by posing as a trustworthy entity
- D The routine process of clearing and optimizing a computer's memory cache
Correct answer: A fraudulent attempt to obtain sensitive information by posing as a trustworthy entity
Phishing is a form of social engineering where attackers send malicious emails or messages to trick users into revealing passwords or credit card numbers. These messages often appear to come from legitimate sources like banks or government agencies.
Which of the following is a 'Zero-Day Vulnerability'?
- A A software flaw that has already been patched for over a year
- B A security flaw unknown to the vendor with no patch yet available
- C A virus that only activates on the first day of the calendar year
- D A type of attack that takes exactly twenty-four hours to complete
Correct answer: A security flaw unknown to the vendor with no patch yet available
A Zero-Day vulnerability refers to a security flaw that is exploited by hackers before the software creator is even aware of its existence. Because the 'day zero' represents the day the vendor learns of the flaw, there is no time to release a fix before it can be exploited.
The 'Pegasus' spyware, which gained international attention, was developed by a company based in which country?
- A USA
- B Russia
- C Israel
- D China
Correct answer: Israel
Pegasus is a highly sophisticated spyware developed by the Israeli cyber-arms firm NSO Group. It is designed to be covertly installed on mobile phones running iOS and Android to extract messages, photos, and record calls.
What is the function of 'Two-Factor Authentication' (2FA)?
- A Installing and running two different antivirus programs on a device at once
- B Requiring two separate passwords to be set for every user account
- C Adding an extra layer of security using a second form of identification
- D Allowing two different people to share and use the same account
Correct answer: Adding an extra layer of security using a second form of identification
2FA enhances security by requiring users to provide two different authentication factors to verify themselves. This typically involves something the user knows (password) and something the user has (a code sent to a mobile device).
Which organization in India is the national nodal agency for responding to computer security incidents?
- A ISRO
- B CERT-In
- C NITI Aayog
- D CBI
Correct answer: CERT-In
The Indian Computer Emergency Response Team (CERT-In) is a functional organization of the Ministry of Electronics and Information Technology. Its objective is to secure Indian cyberspace by providing incident prevention and response services.
What does 'SQL Injection' target?
- A Individual users' email accounts
- B The physical hardware of a server
- C The database of a web application
- D Satellite communication links
Correct answer: The database of a web application
SQL Injection (SQLi) is a type of vulnerability where an attacker can interfere with the queries that an application makes to its database. It allows attackers to view data they are not normally able to retrieve, such as customer information or passwords.
Which of the following is a 'Distributed Denial of Service' (DDoS) attack?
- A Cracking a password through repeated trial-and-error guesses
- B Flooding a target server with traffic from many compromised systems
- C Secretly stealing stored data from many different computers at once
- D Encrypting the files on a single targeted computer's hard drive
Correct answer: Flooding a target server with traffic from many compromised systems
In a DDoS attack, the incoming traffic flooding the victim originates from many different sources, making it impossible to stop the attack simply by blocking a single source. These sources are often part of a 'botnet' of infected computers.
What is a 'Honeypot' in cyber security?
- A A secure backup server used to store sensitive passwords safely
- B A high-speed dedicated connection used for offsite data backup
- C Software used to sweeten the interface of enterprise security tools
- D A decoy system designed to lure attackers and study their methods
Correct answer: A decoy system designed to lure attackers and study their methods
A honeypot is a security mechanism that creates a virtual trap to lure attackers. An intentionally compromised computer system allows defenders to track the methods used by hackers without risking their actual production network.
The 'Budapest Convention', sometimes discussed in the context of cyber laws, is related to:
- A International trade of computer hardware
- B Standardization of internet protocols
- C Cybercrime and international cooperation
- D Protection of intellectual property in software
Correct answer: Cybercrime and international cooperation
The Budapest Convention on Cybercrime is the first international treaty seeking to address Internet and computer crime by harmonizing national laws and improving investigative techniques. India is currently not a signatory to this convention.
What is 'Social Engineering' in the field of cybersecurity?
- A Designing social media platforms with much stronger default privacy and security
- B Building and steadily growing a large community of white-hat hackers
- C Upgrading the professional social status of certified security experts
- D Psychological manipulation of people into revealing confidential information
Correct answer: Psychological manipulation of people into revealing confidential information
Social engineering relies on human error and trust rather than technical hacking techniques. Attackers use deception to trick individuals into giving away access to restricted systems or sensitive private data.
Which of the following describes a 'White Hat' hacker?
- A A hacker who steals money from criminals to donate to charity
- B A hacker who secretly works for a foreign government to steal state secrets
- C A person who writes computer viruses for fun with no malicious intent
- D An ethical security professional who finds and fixes system vulnerabilities
Correct answer: An ethical security professional who finds and fixes system vulnerabilities
White hat hackers are ethical hackers who operate with permission from the system owners. They help organizations strengthen their security by identifying weaknesses before malicious (black hat) hackers can exploit them.
What is 'Brute Force' attack?
- A Physically breaking into a company's secured server room
- B Using a high-powered magnet to erase data from hard drives
- C Threatening employees in person to reveal their login details
- D A trial-and-error method used to decode encrypted passwords
Correct answer: A trial-and-error method used to decode encrypted passwords
A brute force attack consists of an attacker submitting many passwords or passphrases with the hope of eventually guessing correctly. Modern software can automate this process, trying millions of combinations per second.
In encryption, what is the 'Public Key' used for in an asymmetric system?
- A To decrypt messages that have already been encrypted once before
- B To grant members of the public open access to a private server
- C To act as a physical key that opens the office building's front door
- D To encrypt data that only the matching private key can decrypt
Correct answer: To encrypt data that only the matching private key can decrypt
Asymmetric encryption uses a pair of keys: a public key and a private key. Data encrypted with the public key can only be decrypted with the private key, ensuring that only the intended recipient can read the information.
What is the 'Dark Web'?
- A An internet layer not indexed by search engines, reached only via special software
- B A private network that is only ever operational during nighttime hours
- C The offsite backup servers maintained by major technology companies all around the world
- D A collection of ordinary websites that are designed with plain black backgrounds
Correct answer: An internet layer not indexed by search engines, reached only via special software
The Dark Web is a subset of the Deep Web that is intentionally hidden and requires specific browsers (like Tor) to access. While it has legitimate uses for privacy, it is also frequently used for illegal activities due to its anonymity.
Which of the following is a 'Botnet'?
- A A specialized private internet infrastructure built exclusively for robots
- B A security tool used to identify and block automated bots on a website
- C A high-speed fiber optic network reserved only for enterprise customers
- D A network of infected computers controlled without their owners' knowledge
Correct answer: A network of infected computers controlled without their owners' knowledge
A botnet is a collection of internet-connected devices, which may include PCs, servers, and IoT devices, that are infected and controlled by a common type of malware. They are often used to send spam or launch DDoS attacks.
Under the Information Technology Act of India, which section was famously struck down by the Supreme Court for being unconstitutional in the Shreya Singhal case?
- A Section 66A
- B Section 43
- C Section 69
- D Section 70
Correct answer: Section 66A
Section 66A of the IT Act, which allowed for arrests for 'offensive' online posts, was struck down by the Supreme Court in 2015. The court ruled that the section was vague and violated the fundamental right to freedom of speech and expression.
Which section of the Information Technology Act, 2000 prescribes punishment for cyber terrorism?
- A Section 66D
- B Section 66C
- C Section 66E
- D Section 66F
Correct answer: Section 66F
Section 66F, inserted by the 2008 amendment, deals with cyber terrorism and carries punishment up to life imprisonment. Section 66C covers identity theft, 66D cheating by personation and 66E violation of privacy.
Publishing or transmitting obscene material in electronic form is punishable under which section of the IT Act, 2000?
- A Section 43
- B Section 66A
- C Section 67
- D Section 72
Correct answer: Section 67
Section 67 punishes publishing or transmitting obscene material in electronic form. Section 66A (offensive messages) was struck down in 2015, Section 43 deals with compensation for damage to computer systems and Section 72 with breach of confidentiality.
Which is considered the first computer virus to target IBM PC compatible (MS-DOS) computers?
- A Storm
- B Brain
- C Creeper
- D ILOVEYOU
Correct answer: Brain
Brain, a boot-sector virus written in Pakistan in 1986, is regarded as the first virus for IBM PC compatibles. Creeper (1971) was an earlier experimental program on ARPANET, not a PC virus, while ILOVEYOU (2000) and the Storm worm (2007) came much later.
The WannaCry ransomware attack of 2017 spread by exploiting a flaw in which Windows protocol?
- A SMB
- B DNS
- C RDP
- D FTP
Correct answer: SMB
WannaCry used the EternalBlue exploit against the Server Message Block (SMB) file-sharing protocol to spread between unpatched Windows machines. RDP is a common ransomware entry point in other attacks, but it was not WannaCry's propagation method.
Which type of malware replicates itself across a network without needing to attach to a host file?
- A Computer worm
- B Trojan horse
- C Boot sector virus
- D File virus
Correct answer: Computer worm
A worm is standalone and spreads over networks on its own. File and boot sector viruses, by contrast, need to attach to a host file or program and rely on that file being run.
Which type of spyware secretly records every key a user presses to capture passwords?
- A Ransomware
- B Adware
- C Keylogger
- D Logic bomb
Correct answer: Keylogger
A keylogger records keystrokes, allowing attackers to harvest passwords and card numbers. Adware only displays unwanted advertisements and does not by itself log keystrokes.
Malicious code that stays dormant until a specific date or event triggers its payload is called a:
- A Backdoor
- B Logic bomb
- C Trojan horse
- D Spyware
Correct answer: Logic bomb
A logic bomb is inserted into a system and activates only when a set condition, such as a date or an employee's removal from payroll, is met. A backdoor provides hidden access but is not defined by a trigger condition.
A phishing attack carried out through fraudulent phone calls is known as:
- A Baiting
- B Pharming
- C Smishing
- D Vishing
Correct answer: Vishing
Vishing (voice phishing) uses phone calls to trick victims into revealing information. Smishing is the SMS-based variant, which is the most commonly confused term.
Redirecting users from a genuine website to a fake one by poisoning DNS records is called:
- A Sniffing
- B Vishing
- C Pharming
- D Spamming
Correct answer: Pharming
Pharming manipulates DNS entries or host files so that typing a correct address still lands the user on a fraudulent site. Sniffing refers to capturing network traffic, not redirecting it.
In the acronym CAPTCHA, what does the letter "P" stand for?
- A Protected
- B Private
- C Pseudo
- D Public
Correct answer: Public
CAPTCHA stands for Completely Automated Public Turing test to tell Computers and Humans Apart. "Private" is a common guess, but the test is described as public.
Certifying Authorities that issue digital signature certificates in India are licensed by which body?
- A CCA
- B UIDAI
- C CERT-In
- D NIC
Correct answer: CCA
The Controller of Certifying Authorities (CCA), appointed under the IT Act, licenses and regulates Certifying Authorities. CERT-In handles cyber security incident response, not digital signature licensing.
Which of the following is an asymmetric (public-key) encryption algorithm?
- A Blowfish
- B RSA
- C AES
- D DES
Correct answer: RSA
RSA uses a public and private key pair, making it asymmetric. AES, DES and Blowfish are symmetric ciphers that use the same secret key to encrypt and decrypt.
The MD5 hash function produces a message digest of what length?
- A 128 bits
- B 256 bits
- C 512 bits
- D 160 bits
Correct answer: 128 bits
MD5 produces a 128-bit digest, usually shown as 32 hexadecimal characters. The 160-bit output belongs to SHA-1 and 256 bits to SHA-256.
India's National Cyber Security Policy was released in which year?
- A 2016
- B 2000
- C 2008
- D 2013
Correct answer: 2013
The Ministry of Electronics and Information Technology released the National Cyber Security Policy in 2013. The year 2008 is when the IT Act was amended and 2000 when it was enacted.
What is the national helpline number for reporting cyber financial fraud in India?
- A 112
- B 1091
- C 1930
- D 1098
Correct answer: 1930
Helpline 1930, run under the Indian Cyber Crime Coordination Centre, is for reporting cyber financial fraud. 1098 is the child helpline, 1091 the women helpline and 112 the general emergency number.