Computer Security & Viruses MCQs
20 practice MCQs on this page Page 11 of 18
Tap an option to check your answer — the correct answer and full explanation appear after you choose.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8264
Which term describes a software flaw that is unknown to the vendor and has no patch yet?
- AZero-day vulnerability ✓ Correct answer
- BKnown vulnerability
- CBackdoor
- DLogic bomb
✓ Correct answer: Zero-day vulnerability
Full explanation
A Zero-day vulnerability is a software flaw unknown to the vendor and with no patch yet, so attackers can exploit it before a fix exists.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8340
Which unwanted software displays advertisements on a computer without the user's consent?
- AAdware ✓ Correct answer
- BSpyware
- CRansomware
- DRootkit
✓ Correct answer: Adware
Full explanation
Adware displays advertisements on a computer without the user's consent, often slowing the system down.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8341
Which malicious code stays hidden until a specific date or event triggers it?
- ATrojan horse
- BLogic bomb ✓ Correct answer
- CWorm
- DVirus
✓ Correct answer: Logic bomb
Full explanation
A Logic bomb stays hidden until a specific date or event triggers it, then it carries out its harmful action.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8343
Which attack fakes an identity, such as a sender's email address, to deceive a victim?
- ASniffing
- BPhishing
- CBrute-force attack
- DSpoofing ✓ Correct answer
✓ Correct answer: Spoofing
Full explanation
Spoofing fakes an identity, such as a sender's email address, to deceive a victim into trusting the message.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8344
Which attack captures network traffic to read data passing over a network?
- APacket sniffing ✓ Correct answer
- BPhishing
- CSpoofing
- DRansomware
✓ Correct answer: Packet sniffing
Full explanation
Packet sniffing captures network traffic to read data passing over a network, which is why encryption matters.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8345
Which password attack tries words from a dictionary list instead of every combination?
- ABrute-force attack
- BDictionary attack ✓ Correct answer
- CPhishing
- DSpoofing
✓ Correct answer: Dictionary attack
Full explanation
A Dictionary attack tries words from a dictionary list instead of every combination, so common passwords fall quickly.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8346
Which attack manipulates people into revealing confidential information?
- APhishing only
- BSQL injection
- CSocial engineering ✓ Correct answer
- DDDoS attack
✓ Correct answer: Social engineering
Full explanation
Social engineering manipulates people into revealing confidential information by exploiting trust rather than technology.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8347
Which action should be taken first when a computer is suspected of being infected?
- ADelete all files
- BReinstall the operating system
- CDisconnect the monitor
- DRun a full antivirus scan ✓ Correct answer
✓ Correct answer: Run a full antivirus scan
Full explanation
When infection is suspected, the first action is to Run a full antivirus scan to identify and quarantine the malware.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8348
Which password is the strongest of the following?
- ATr7#kP9!zQ2 ✓ Correct answer
- Bpassword123
- Cali12345
- Dqwerty
✓ Correct answer: Tr7#kP9!zQ2
Full explanation
The strongest password is Tr7#kP9!zQ2 because it mixes upper and lower case letters, digits and symbols and has no dictionary word.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8349
Which authentication method uses a fingerprint or iris scan?
- APassword authentication
- BBiometric authentication ✓ Correct answer
- CToken authentication
- DPIN authentication
✓ Correct answer: Biometric authentication
Full explanation
Biometric authentication uses a fingerprint or iris scan, a physical trait unique to the person.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8350
Which hash algorithm produces a 256-bit digest?
- AMD5
- BSHA-1
- CSHA-256 ✓ Correct answer
- DDES
✓ Correct answer: SHA-256
Full explanation
SHA-256 produces a 256-bit digest and is widely used to verify data integrity.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8351
How many bits long is the digest produced by the MD5 hash function?
- A64 bits
- B160 bits
- C256 bits
- D128 bits ✓ Correct answer
✓ Correct answer: 128 bits
Full explanation
The MD5 hash function produces a digest that is 128 bits long.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8352
How many bits long is the effective key used by the DES encryption algorithm?
- A56 bits ✓ Correct answer
- B64 bits
- C128 bits
- D256 bits
✓ Correct answer: 56 bits
Full explanation
The DES encryption algorithm uses an effective key of 56 bits, which is why it is now considered insecure.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8353
Which trusted entity issues digital certificates that bind a public key to an identity?
- ADomain registrar
- BCertificate Authority (CA) ✓ Correct answer
- CInternet service provider
- DFirewall vendor
✓ Correct answer: Certificate Authority (CA)
Full explanation
A Certificate Authority (CA) issues digital certificates that bind a public key to an identity.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8354
Which system monitors a network for suspicious activity and raises alerts?
- AFirewall
- BAntivirus
- CIntrusion Detection System (IDS) ✓ Correct answer
- DVPN
✓ Correct answer: Intrusion Detection System (IDS)
Full explanation
An Intrusion Detection System (IDS) monitors a network for suspicious activity and raises alerts when it finds it.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8355
Which security tool is a decoy system set up to attract and study attackers?
- AFirewall
- BProxy server
- CSandbox
- DHoneypot ✓ Correct answer
✓ Correct answer: Honeypot
Full explanation
A Honeypot is a decoy system set up to attract and study attackers without risking real systems.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8356
Which practice fixes known security flaws by applying vendor updates?
- APatching ✓ Correct answer
- BFormatting
- CDefragmenting
- DOverclocking
✓ Correct answer: Patching
Full explanation
Patching fixes known security flaws by applying vendor updates to software and systems.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8357
Which practice protects data against ransomware by keeping copies that can be restored?
- APassword sharing
- BRegular backup ✓ Correct answer
- CDisabling antivirus
- DUsing public Wi-Fi
✓ Correct answer: Regular backup
Full explanation
Regular backup protects data against ransomware by keeping copies that can be restored after an attack.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8358
Which security principle gives users only the access they need to do their job?
- ADefence in depth
- BSecurity through obscurity
- CPrinciple of least privilege ✓ Correct answer
- DOpen access
✓ Correct answer: Principle of least privilege
Full explanation
The Principle of least privilege gives users only the access they need to do their job, limiting damage if an account is compromised.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8359
Which strategy uses several layers of security so that one failure does not expose a system?
- ASingle sign-on
- BSecurity through obscurity
- CLeast privilege
- DDefence in depth ✓ Correct answer
✓ Correct answer: Defence in depth
Full explanation
Defence in depth uses several layers of security so that one failure does not expose a system.
Practice these MCQs interactively
← Computer Science MCQs