Science and Technology

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.

Question 1 of 35 Medium

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?

  1. A Phishing Attack
  2. B Man-in-the-Middle Attack
  3. C Denial of Service (DoS) Attack
  4. 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.

Question 2 of 35 Medium

What is the primary purpose of a 'Firewall' in a network security system?

  1. A To provide physical protection for the server against fire damage
  2. B To encrypt all data files stored locally on a hard drive
  3. C To monitor and control network traffic based on security rules
  4. 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.

Question 3 of 35 Medium

In cyber security, what does the acronym 'CIA Triad' stand for?

  1. A Central Intelligence Agency
  2. B Confidentiality, Integrity, and Availability
  3. C Control, Identification, and User Authentication
  4. 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.

Question 4 of 35 Medium

Which type of malware is specifically designed to encrypt a victim's files, with the attacker demanding payment to restore access?

  1. A Spyware
  2. B Ransomware
  3. C Adware
  4. 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.

Question 5 of 35 Medium

What is 'Phishing' in the context of cyber threats?

  1. A A hobbyist method of searching publicly around town for open, unsecured Wi-Fi networks
  2. B A technique used to bypass or permanently disable hardware firewall protections
  3. C A fraudulent attempt to obtain sensitive information by posing as a trustworthy entity
  4. 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.

Question 6 of 35 Medium

Which of the following is a 'Zero-Day Vulnerability'?

  1. A A software flaw that has already been patched for over a year
  2. B A security flaw unknown to the vendor with no patch yet available
  3. C A virus that only activates on the first day of the calendar year
  4. 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.

Question 7 of 35 Medium

The 'Pegasus' spyware, which gained international attention, was developed by a company based in which country?

  1. A USA
  2. B Russia
  3. C Israel
  4. 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.

Question 8 of 35 Medium

What is the function of 'Two-Factor Authentication' (2FA)?

  1. A Installing and running two different antivirus programs on a device at once
  2. B Requiring two separate passwords to be set for every user account
  3. C Adding an extra layer of security using a second form of identification
  4. 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).

Question 9 of 35 Medium

Which organization in India is the national nodal agency for responding to computer security incidents?

  1. A ISRO
  2. B CERT-In
  3. C NITI Aayog
  4. 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.

Question 10 of 35 Medium

What does 'SQL Injection' target?

  1. A Individual users' email accounts
  2. B The physical hardware of a server
  3. C The database of a web application
  4. 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.

Question 11 of 35 Medium

Which of the following is a 'Distributed Denial of Service' (DDoS) attack?

  1. A Cracking a password through repeated trial-and-error guesses
  2. B Flooding a target server with traffic from many compromised systems
  3. C Secretly stealing stored data from many different computers at once
  4. 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.

Question 12 of 35 Medium

What is a 'Honeypot' in cyber security?

  1. A A secure backup server used to store sensitive passwords safely
  2. B A high-speed dedicated connection used for offsite data backup
  3. C Software used to sweeten the interface of enterprise security tools
  4. 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.

Question 13 of 35 Medium

The 'Budapest Convention', sometimes discussed in the context of cyber laws, is related to:

  1. A International trade of computer hardware
  2. B Standardization of internet protocols
  3. C Cybercrime and international cooperation
  4. 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.

Question 14 of 35 Medium

What is 'Social Engineering' in the field of cybersecurity?

  1. A Designing social media platforms with much stronger default privacy and security
  2. B Building and steadily growing a large community of white-hat hackers
  3. C Upgrading the professional social status of certified security experts
  4. 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.

Question 15 of 35 Medium

Which of the following describes a 'White Hat' hacker?

  1. A A hacker who steals money from criminals to donate to charity
  2. B A hacker who secretly works for a foreign government to steal state secrets
  3. C A person who writes computer viruses for fun with no malicious intent
  4. 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.

Question 16 of 35 Medium

What is 'Brute Force' attack?

  1. A Physically breaking into a company's secured server room
  2. B Using a high-powered magnet to erase data from hard drives
  3. C Threatening employees in person to reveal their login details
  4. 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.

Question 17 of 35 Medium

In encryption, what is the 'Public Key' used for in an asymmetric system?

  1. A To decrypt messages that have already been encrypted once before
  2. B To grant members of the public open access to a private server
  3. C To act as a physical key that opens the office building's front door
  4. 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.

Question 18 of 35 Medium

What is the 'Dark Web'?

  1. A An internet layer not indexed by search engines, reached only via special software
  2. B A private network that is only ever operational during nighttime hours
  3. C The offsite backup servers maintained by major technology companies all around the world
  4. 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.

Question 19 of 35 Medium

Which of the following is a 'Botnet'?

  1. A A specialized private internet infrastructure built exclusively for robots
  2. B A security tool used to identify and block automated bots on a website
  3. C A high-speed fiber optic network reserved only for enterprise customers
  4. 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.

Question 20 of 35 Medium

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?

  1. A Section 66A
  2. B Section 43
  3. C Section 69
  4. 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.

Question 21 of 35 Medium

Which section of the Information Technology Act, 2000 prescribes punishment for cyber terrorism?

  1. A Section 66D
  2. B Section 66C
  3. C Section 66E
  4. 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.

Question 22 of 35 Medium

Publishing or transmitting obscene material in electronic form is punishable under which section of the IT Act, 2000?

  1. A Section 43
  2. B Section 66A
  3. C Section 67
  4. 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.

Question 23 of 35 Hard

Which is considered the first computer virus to target IBM PC compatible (MS-DOS) computers?

  1. A Storm
  2. B Brain
  3. C Creeper
  4. 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.

Question 24 of 35 Hard

The WannaCry ransomware attack of 2017 spread by exploiting a flaw in which Windows protocol?

  1. A SMB
  2. B DNS
  3. C RDP
  4. 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.

Question 25 of 35 Easy

Which type of malware replicates itself across a network without needing to attach to a host file?

  1. A Computer worm
  2. B Trojan horse
  3. C Boot sector virus
  4. 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.

Question 26 of 35 Easy

Which type of spyware secretly records every key a user presses to capture passwords?

  1. A Ransomware
  2. B Adware
  3. C Keylogger
  4. 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.

Question 27 of 35 Easy

Malicious code that stays dormant until a specific date or event triggers its payload is called a:

  1. A Backdoor
  2. B Logic bomb
  3. C Trojan horse
  4. 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.

Question 28 of 35 Easy

A phishing attack carried out through fraudulent phone calls is known as:

  1. A Baiting
  2. B Pharming
  3. C Smishing
  4. 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.

Question 29 of 35 Medium

Redirecting users from a genuine website to a fake one by poisoning DNS records is called:

  1. A Sniffing
  2. B Vishing
  3. C Pharming
  4. 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.

Question 30 of 35 Medium

In the acronym CAPTCHA, what does the letter "P" stand for?

  1. A Protected
  2. B Private
  3. C Pseudo
  4. 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.

Question 31 of 35 Hard

Certifying Authorities that issue digital signature certificates in India are licensed by which body?

  1. A CCA
  2. B UIDAI
  3. C CERT-In
  4. 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.

Question 32 of 35 Medium

Which of the following is an asymmetric (public-key) encryption algorithm?

  1. A Blowfish
  2. B RSA
  3. C AES
  4. 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.

Question 33 of 35 Hard

The MD5 hash function produces a message digest of what length?

  1. A 128 bits
  2. B 256 bits
  3. C 512 bits
  4. 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.

Question 34 of 35 Hard

India's National Cyber Security Policy was released in which year?

  1. A 2016
  2. B 2000
  3. C 2008
  4. 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.

Question 35 of 35 Medium

What is the national helpline number for reporting cyber financial fraud in India?

  1. A 112
  2. B 1091
  3. C 1930
  4. 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.

Keep practicing

More Science and Technology MCQs

0 / 35 answered