Computer Security & Viruses MCQs
20 practice MCQs on this page Page 9 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-8149
Which isolated network segment sits between an organisation's internal network and the internet, hosting public-facing servers?
- AVirtual Private Network
- BDemilitarised Zone (DMZ) ✓ Correct answer
- CIntranet
- DExtranet
✓ Correct answer: Demilitarised Zone (DMZ)
Full explanation
A Demilitarised Zone (DMZ) is the isolated network segment between an organisation's internal network and the internet, hosting public-facing servers.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8150
Which technique lets many devices on a private network share a single public IP address when accessing the internet?
- ANetwork Address Translation (NAT) ✓ Correct answer
- BSubnetting
- CRouting
- DSwitching
✓ Correct answer: Network Address Translation (NAT)
Full explanation
Network Address Translation (NAT) lets many devices on a private network share a single public IP address when accessing the internet.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8151
Which reconnaissance activity probes a computer's ports to discover which services are running and open to attack?
- APacket sniffing
- BPassword cracking
- CVulnerability patching
- DPort scanning ✓ Correct answer
✓ Correct answer: Port scanning
Full explanation
Port scanning is the reconnaissance activity that probes a computer's ports to discover which services are running and open to attack.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8152
Which authorised security exercise simulates a real attack on a system to discover weaknesses before criminals find them?
- AVulnerability scanning
- BRisk assessment
- CPenetration testing ✓ Correct answer
- DSecurity audit
✓ Correct answer: Penetration testing
Full explanation
Penetration testing is the authorised security exercise that simulates a real attack on a system to discover weaknesses before criminals find them.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8153
Which process systematically identifies, classifies and ranks the security weaknesses present in a system or network?
- APenetration testing
- BVulnerability assessment ✓ Correct answer
- CIncident response
- DDisaster recovery
✓ Correct answer: Vulnerability assessment
Full explanation
A vulnerability assessment systematically identifies, classifies and ranks the security weaknesses present in a system or network.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8154
Which process identifies threats to an organisation's assets, estimates their likelihood and impact, and guides security decisions?
- ARisk assessment ✓ Correct answer
- BVulnerability assessment
- CPenetration testing
- DThreat modelling
✓ Correct answer: Risk assessment
Full explanation
A risk assessment identifies threats to an organisation's assets, estimates their likelihood and impact, and guides security decisions.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8155
According to the 3-2-1 backup rule, how many copies of important data should be kept in total?
- ATwo copies
- BFour copies
- CFive copies
- DThree copies ✓ Correct answer
✓ Correct answer: Three copies
Full explanation
According to the 3-2-1 backup rule, three copies of important data should be kept in total: the original plus two backups.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8156
Which plan sets out how an organisation restores its IT systems and data after a major disaster such as a fire or cyberattack?
- ABusiness continuity plan
- BIncident response plan
- CDisaster recovery plan ✓ Correct answer
- DRisk management plan
✓ Correct answer: Disaster recovery plan
Full explanation
A disaster recovery plan sets out how an organisation restores its IT systems and data after a major disaster such as a fire or cyberattack.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8157
Which list defines, for each resource, which users or systems are allowed to access it and what they may do?
- AAccess Control Matrix
- BAccess Control List (ACL) ✓ Correct answer
- CCapability List
- DSecurity Policy
✓ Correct answer: Access Control List (ACL)
Full explanation
An Access Control List (ACL) defines, for each resource, which users or systems are allowed to access it and what they may do.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8158
Which security principle states that a user should be given only the minimum access rights needed to do their job, and nothing more?
- APrinciple of least privilege ✓ Correct answer
- BPrinciple of defence in depth
- CPrinciple of separation of duties
- DPrinciple of fail-safe defaults
✓ Correct answer: Principle of least privilege
Full explanation
The principle of least privilege states that a user should be given only the minimum access rights needed to do their job, and nothing more.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8159
Which three goals form the CIA triad, the foundation of information security?
- AConfidentiality, Integrity and Authentication
- BControl, Integrity and Availability
- CConfidentiality, Identification and Authorisation
- DConfidentiality, Integrity and Availability ✓ Correct answer
✓ Correct answer: Confidentiality, Integrity and Availability
Full explanation
The CIA triad is Confidentiality, Integrity and Availability, the three goals at the foundation of information security.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8160
Which security property ensures that a person cannot later deny having sent a message or performed an action?
- AConfidentiality
- BIntegrity
- CNon-repudiation ✓ Correct answer
- DAvailability
✓ Correct answer: Non-repudiation
Full explanation
Non-repudiation is the security property that ensures a person cannot later deny having sent a message or performed an action.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8161
Which security step verifies who a user is, before the system decides what that user is allowed to do?
- AAuthorisation
- BAuthentication ✓ Correct answer
- CAccounting
- DAuditing
✓ Correct answer: Authentication
Full explanation
Authentication is the security step that verifies who a user is, before the system decides what that user is allowed to do.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8162
Which attack steals a user's active session token so the attacker can impersonate the user on a website without logging in?
- ASession hijacking ✓ Correct answer
- BCross-site scripting
- CSQL injection
- DPhishing
✓ Correct answer: Session hijacking
Full explanation
Session hijacking steals a user's active session token so the attacker can impersonate the user on a website without logging in.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8163
Which attack automatically downloads malware onto a visitor's computer simply because they visited an infected website?
- APhishing email
- BTrojan horse
- CWorm infection
- DDrive-by download ✓ Correct answer
✓ Correct answer: Drive-by download
Full explanation
A drive-by download automatically downloads malware onto a visitor's computer simply because they visited an infected website.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8164
Which deceptive software frightens users with fake warnings about viruses in order to sell them useless security products?
- AAdware
- BSpyware
- CScareware ✓ Correct answer
- DRansomware
✓ Correct answer: Scareware
Full explanation
Scareware is the deceptive software that frightens users with fake warnings about viruses in order to sell them useless security products.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8165
Which type of encryption uses the same single key both to encrypt and to decrypt a message?
- AAsymmetric encryption
- BSymmetric encryption ✓ Correct answer
- CHashing
- DEncoding
✓ Correct answer: Symmetric encryption
Full explanation
Symmetric encryption uses the same single key both to encrypt and to decrypt a message.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8166
Which type of encryption uses a pair of keys — a public key and a private key — for encrypting and decrypting messages?
- AAsymmetric encryption ✓ Correct answer
- BSymmetric encryption
- CHashing
- DSteganography
✓ Correct answer: Asymmetric encryption
Full explanation
Asymmetric encryption uses a pair of keys — a public key and a private key — for encrypting and decrypting messages.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8167
In Pakistan, which federal agency's Cybercrime Wing investigates offences under the Prevention of Electronic Crimes Act?
- ANational Accountability Bureau (NAB)
- BFederal Board of Revenue (FBR)
- CNational Database and Registration Authority (NADRA)
- DFederal Investigation Agency (FIA) ✓ Correct answer
✓ Correct answer: Federal Investigation Agency (FIA)
Full explanation
In Pakistan, the Federal Investigation Agency (FIA) and its Cybercrime Wing investigate offences under the Prevention of Electronic Crimes Act.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8240
Which type of malware disguises itself as legitimate software to trick users into installing it?
- ATrojan horse ✓ Correct answer
- BComputer worm
- CRootkit
- DLogic bomb
✓ Correct answer: Trojan horse
Full explanation
A Trojan horse disguises itself as legitimate software to trick users into installing it, unlike a worm which spreads on its own.
Practice these MCQs interactively
← Computer Science MCQs