Back to Practice Computer Fundamentals

Computer Security - Practice MCQs for CCAT

50 Questions Section B: Programming Computer Fundamentals

Computer Security Question Bank for C-CAT

Practice 50 Computer Security multiple-choice questions designed for CDAC CCAT exam preparation. Questions are paginated in sets of 10 and include detailed explanations.

50 total MCQs 10 per page Detailed explanations

What this topic covers

  • Topic-wise Computer Security MCQs for C-CAT preparation.
  • Detailed explanations after every answer.
  • Focused revision questions for stronger preparation.
Q1.
A computer virus is:
AHardware malfunction
BMalicious software
CSystem update
DNetwork protocol
Show Answer & Explanation

Correct Answer: B - Malicious software

A computer virus is malicious software that can replicate and spread to other computers.

Q2.
Firewall is used to:
AIncrease speed
BStore data
CProtect from unauthorized access
DConnect to internet
Show Answer & Explanation

Correct Answer: C - Protect from unauthorized access

A firewall monitors and controls network traffic to protect from unauthorized access.

Q3.
Phishing is:
AFraudulent attempt to obtain sensitive data
BA game
CAntivirus software
DNetwork cable
Show Answer & Explanation

Correct Answer: A - Fraudulent attempt to obtain sensitive data

Phishing is a fraudulent attempt to obtain sensitive information by disguising as a trustworthy entity.

Q4.
Encryption is used to:
ASpeed up computer
BProtect data
CDelete files
DFormat disk
Show Answer & Explanation

Correct Answer: B - Protect data

Encryption converts data into a coded form to protect it from unauthorized access.

Q5.
A Trojan horse is:
AAntivirus
BBrowser
CFirewall
DMalware disguised as legitimate software
Show Answer & Explanation

Correct Answer: D - Malware disguised as legitimate software

A Trojan horse is malware that disguises itself as legitimate software to trick users.

Q6.
Spyware is designed to:
ASecretly collect user information
BProtect computer
CSpeed up internet
DUpdate software
Show Answer & Explanation

Correct Answer: A - Secretly collect user information

Spyware secretly monitors and collects user information without consent.

Q7.
What is a strong password?
Apassword123
BYour name
CMix of letters, numbers, symbols
D12345678
Show Answer & Explanation

Correct Answer: C - Mix of letters, numbers, symbols

A strong password contains a mix of uppercase, lowercase, numbers, and special symbols.

Q8.
Two-factor authentication uses:
ATwo different verification methods
BOnly password
COnly fingerprint
DOnly OTP
Show Answer & Explanation

Correct Answer: A - Two different verification methods

Two-factor authentication requires two different methods to verify identity.

Q9.
Malware stands for:
AMajor software
BMale software
CMalicious software
DMail software
Show Answer & Explanation

Correct Answer: C - Malicious software

Malware is short for malicious software - any software designed to harm.

Q10.
SSL is used for:
AFile compression
BEmail sending
CSecure web communication
DFile transfer
Show Answer & Explanation

Correct Answer: C - Secure web communication

SSL (Secure Sockets Layer) provides secure encrypted communication over the internet.

Q11.
What is a DDoS attack?
AData theft
BEmail spoofing
CPassword cracking
DOverwhelming a server with traffic
Show Answer & Explanation

Correct Answer: D - Overwhelming a server with traffic

DDoS (Distributed Denial of Service) floods a server with traffic to make it unavailable.

Q12.
Ransomware is:
AMalware that encrypts files and demands payment
BAntivirus software
CFirewall
DBackup software
Show Answer & Explanation

Correct Answer: A - Malware that encrypts files and demands payment

Ransomware encrypts user files and demands payment for the decryption key.

Q13.
What is social engineering in security?
ABuilding social networks
BSoftware development
CNetwork engineering
DManipulating people to reveal confidential information
Show Answer & Explanation

Correct Answer: D - Manipulating people to reveal confidential information

Social engineering manipulates people into revealing confidential information.

Q14.
A keylogger is:
AKeyboard type
BSoftware that records keystrokes
CEncryption tool
DPassword manager
Show Answer & Explanation

Correct Answer: B - Software that records keystrokes

A keylogger secretly records keyboard inputs to capture passwords and sensitive data.

Q15.
What is biometric authentication?
APassword-based login
BUsing physical characteristics for verification
CToken-based access
DPIN verification
Show Answer & Explanation

Correct Answer: B - Using physical characteristics for verification

Biometric authentication uses physical characteristics like fingerprint or retina for verification.

Q16.
VPN stands for:
AVirtual Public Network
BVery Private Network
CVirtual Private Network
DVerified Private Network
Show Answer & Explanation

Correct Answer: C - Virtual Private Network

VPN stands for Virtual Private Network, providing secure internet connections.

Q17.
What is a zero-day vulnerability?
AUnknown vulnerability exploited before patch
BFixed vulnerability
COld vulnerability
DMinor security issue
Show Answer & Explanation

Correct Answer: A - Unknown vulnerability exploited before patch

Zero-day vulnerability is a security flaw exploited before developers can create a patch.

Q18.
HTTPS uses which port by default?
A80
B443
C21
D25
Show Answer & Explanation

Correct Answer: B - 443

HTTPS uses port 443 by default for secure web communication.

Q19.
What is a rootkit?
ASystem utility
BAntivirus tool
CMalware that hides its presence and provides unauthorized access
DBackup software
Show Answer & Explanation

Correct Answer: C - Malware that hides its presence and provides unauthorized access

A rootkit is malware designed to hide its presence while providing unauthorized access.

Q20.
Digital signature is used for:
AVerifying authenticity and integrity
BCompressing files
CSpeeding up downloads
DCreating backups
Show Answer & Explanation

Correct Answer: A - Verifying authenticity and integrity

Digital signatures verify the authenticity and integrity of digital documents.

Q21.
What does CIA stand for in information security?
AConfidentiality, Integrity, Availability
BControl, Integrity, Authentication
CConfidentiality, Information, Access
DControl, Information, Availability
Show Answer & Explanation

Correct Answer: A - Confidentiality, Integrity, Availability

CIA stands for Confidentiality, Integrity, and Availability — the three fundamental principles of information security.

Q22.
Which type of malware replicates itself and spreads to other computers without human intervention?
AVirus
BTrojan Horse
CWorm
DSpyware
Show Answer & Explanation

Correct Answer: C - Worm

A worm is a self-replicating malware that spreads across networks without needing a host program or user action.

Q23.
What is the primary purpose of a firewall?
ASpeed up internet connection
BRemove viruses from files
CFilter incoming and outgoing network traffic
DEncrypt stored data
Show Answer & Explanation

Correct Answer: C - Filter incoming and outgoing network traffic

A firewall monitors and filters network traffic based on predefined security rules to protect the network.

Q24.
Which encryption method uses the same key for both encryption and decryption?
ASymmetric encryption
BAsymmetric encryption
CHashing
DDigital signature
Show Answer & Explanation

Correct Answer: A - Symmetric encryption

Symmetric encryption uses a single shared key for both encrypting and decrypting data.

Q25.
What is phishing?
AA network monitoring technique
BA firewall configuration technique
CA method of encrypting emails
DA fraudulent attempt to obtain sensitive information by disguising as a trusted entity
Show Answer & Explanation

Correct Answer: D - A fraudulent attempt to obtain sensitive information by disguising as a trusted entity

Phishing is a social engineering attack where attackers impersonate trusted entities to steal sensitive data.

Q26.
Which of the following is an example of two-factor authentication?
AUsername and password
BPassword and OTP sent to phone
CPassword and security question
DTwo different passwords
Show Answer & Explanation

Correct Answer: B - Password and OTP sent to phone

Two-factor authentication requires two different types of verification: something you know (password) and something you have (phone for OTP).

Q27.
What does a digital signature provide?
AConfidentiality only
BPassword protection
CEncryption only
DAuthentication, integrity, and non-repudiation
Show Answer & Explanation

Correct Answer: D - Authentication, integrity, and non-repudiation

A digital signature verifies the sender's identity (authentication), ensures data hasn't been altered (integrity), and prevents denial of sending (non-repudiation).

Q28.
Which type of attack floods a server with excessive requests to make it unavailable?
ADenial of Service (DoS)
BSQL Injection
CMan-in-the-Middle
DCross-Site Scripting
Show Answer & Explanation

Correct Answer: A - Denial of Service (DoS)

A Denial of Service (DoS) attack overwhelms a server with excessive traffic, making it unavailable to legitimate users.

Q29.
What is a Trojan Horse in computer security?
AA virus that deletes files
BMalware disguised as legitimate software
CA hardware security device
DA type of firewall
Show Answer & Explanation

Correct Answer: B - Malware disguised as legitimate software

A Trojan Horse is malware that disguises itself as legitimate software to trick users into installing it.

Q30.
Which protocol provides secure communication over the internet by encrypting data?
AHTTP
BFTP
CSMTP
DSSL/TLS
Show Answer & Explanation

Correct Answer: D - SSL/TLS

SSL/TLS (Secure Sockets Layer / Transport Layer Security) encrypts data transmitted over the internet.

Q31.
What is the purpose of a VPN?
AIncrease internet speed
BBlock advertisements
CCreate a secure encrypted connection over a public network
DManage user passwords
Show Answer & Explanation

Correct Answer: C - Create a secure encrypted connection over a public network

A VPN (Virtual Private Network) creates an encrypted tunnel over a public network to secure data transmission.

Q32.
Which of the following is a characteristic of ransomware?
AIt speeds up system performance
BIt encrypts files and demands payment for decryption
CIt monitors browsing habits
DIt improves network security
Show Answer & Explanation

Correct Answer: B - It encrypts files and demands payment for decryption

Ransomware encrypts the victim's files and demands a ransom payment in exchange for the decryption key.

Q33.
What does the term 'integrity' mean in the CIA triad?
AData is accessible when needed
BData has not been altered or tampered with
CData is protected from unauthorized access
DData is encrypted during transmission
Show Answer & Explanation

Correct Answer: B - Data has not been altered or tampered with

Integrity ensures that data remains accurate, complete, and unaltered by unauthorized modifications.

Q34.
Which of the following is an asymmetric encryption algorithm?
AAES
BDES
CBlowfish
DRSA
Show Answer & Explanation

Correct Answer: D - RSA

RSA is an asymmetric encryption algorithm that uses a public key for encryption and a private key for decryption.

Q35.
What is a brute force attack?
ASending phishing emails
BIntercepting network packets
CInjecting malicious SQL queries
DGuessing passwords by trying all possible combinations
Show Answer & Explanation

Correct Answer: D - Guessing passwords by trying all possible combinations

A brute force attack systematically tries every possible combination of characters to crack a password.

Q36.
Which security mechanism converts readable data into an unreadable format?
AAuthentication
BAuthorization
CAuditing
DEncryption
Show Answer & Explanation

Correct Answer: D - Encryption

Encryption converts plaintext data into ciphertext, making it unreadable without the decryption key.

Q37.
What is the function of an Intrusion Detection System (IDS)?
ABlock malicious traffic
BMonitor network for suspicious activity
CEncrypt data transmissions
DManage user passwords
Show Answer & Explanation

Correct Answer: B - Monitor network for suspicious activity

An IDS monitors network traffic and system activities for signs of malicious behavior or policy violations.

Q38.
Which type of malware records keystrokes to steal sensitive information?
AAdware
BRootkit
CKeylogger
DBotnet
Show Answer & Explanation

Correct Answer: C - Keylogger

A keylogger records keystrokes to capture passwords, credit card numbers, and other sensitive data.

Q39.
What does HTTPS ensure that HTTP does not?
AFaster loading
BLarger file transfer
CBetter search ranking
DData encryption during transmission
Show Answer & Explanation

Correct Answer: D - Data encryption during transmission

HTTPS encrypts data during transmission using SSL/TLS, which plain HTTP does not provide.

Q40.
Which of the following best describes a man-in-the-middle attack?
AIntercepting and altering communication between two parties
BAttacking a server with excessive traffic
CBreaking encryption using brute force
DExploiting software vulnerabilities
Show Answer & Explanation

Correct Answer: A - Intercepting and altering communication between two parties

In a man-in-the-middle attack, the attacker secretly intercepts and potentially alters communication between two parties.

Q41.
What is the primary purpose of hashing in security?
AVerifying data integrity by creating a fixed-length digest
BEncrypting files for secure storage
CCompressing data for faster transmission
DGenerating encryption keys
Show Answer & Explanation

Correct Answer: A - Verifying data integrity by creating a fixed-length digest

Hashing generates a fixed-length digest (hash value) from data, used to verify that data has not been modified.

Q42.
Which of the following is a common hashing algorithm?
ARSA
BAES
CSHA-256
DDES
Show Answer & Explanation

Correct Answer: C - SHA-256

SHA-256 (Secure Hash Algorithm 256-bit) is a widely used hashing algorithm for verifying data integrity.

Q43.
What is social engineering in cybersecurity?
AUsing advanced software to break encryption
BManipulating people to reveal confidential information
CBuilding secure network architectures
DDeveloping social media applications
Show Answer & Explanation

Correct Answer: B - Manipulating people to reveal confidential information

Social engineering manipulates people through psychological tactics to gain unauthorized access or information.

Q44.
What is the difference between authentication and authorization?
AAuthentication verifies identity, authorization determines access permissions
BThey are the same thing
CAuthorization verifies identity, authentication determines access
DAuthentication encrypts data, authorization decrypts it
Show Answer & Explanation

Correct Answer: A - Authentication verifies identity, authorization determines access permissions

Authentication verifies who a user is, while authorization determines what that authenticated user is allowed to do.

Q45.
Which of the following is a symmetric encryption algorithm?
ARSA
BAES
CDiffie-Hellman
DECC
Show Answer & Explanation

Correct Answer: B - AES

AES (Advanced Encryption Standard) is a symmetric encryption algorithm using the same key for encryption and decryption.

Q46.
What is a zero-day vulnerability?
AA vulnerability that has been patched
BA vulnerability in outdated software
CA vulnerability unknown to the software vendor with no available fix
DA vulnerability in network hardware
Show Answer & Explanation

Correct Answer: C - A vulnerability unknown to the software vendor with no available fix

A zero-day vulnerability is a previously unknown flaw that attackers can exploit before a patch is available.

Q47.
What does a certificate authority (CA) do?
AFilters network traffic
BManages firewall rules
CScans for malware
DIssues digital certificates to verify identities
Show Answer & Explanation

Correct Answer: D - Issues digital certificates to verify identities

A Certificate Authority issues digital certificates that authenticate the identity of websites and organizations.

Q48.
Which type of firewall examines the complete content of network packets?
ADeep Packet Inspection Firewall
BStateful Inspection Firewall
CPacket Filter Firewall
DProxy Firewall
Show Answer & Explanation

Correct Answer: A - Deep Packet Inspection Firewall

A Deep Packet Inspection (DPI) firewall examines the full content of packets, not just headers, for threats.

Q49.
What is the purpose of a honeypot in network security?
AEncrypt sensitive data
BBackup important files
CSpeed up network performance
DAttract and trap attackers to study their methods
Show Answer & Explanation

Correct Answer: D - Attract and trap attackers to study their methods

A honeypot is a decoy system designed to attract attackers, allowing security teams to study attack methods.

Q50.
Which of the following is NOT a type of malware?
ARansomware
BFirmware
CSpyware
DAdware
Show Answer & Explanation

Correct Answer: B - Firmware

Firmware is software stored in hardware for device control — it is not a type of malware.

Showing 1-10 of 50 questions