Computer Security & Viruses MCQs

20 practice MCQs on this page Page 12 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-8360

Which attack takes over a user's active web session by stealing the session token?

  1. ASession hijacking ✓ Correct answer
  2. BPhishing
  3. CSQL injection
  4. DCross-site scripting
Computer ScienceComputer Security & Viruses PPSCID: LTP-8361

Which attack tricks a user into clicking a hidden button on a web page?

  1. APhishing
  2. BClickjacking ✓ Correct answer
  3. CRansomware
  4. DSpoofing
Computer ScienceComputer Security & Viruses PPSCID: LTP-8362

Which term describes a network of infected computers controlled remotely by an attacker?

  1. AFirewall
  2. BProxy
  3. CBotnet ✓ Correct answer
  4. DVPN
Computer ScienceComputer Security & Viruses PPSCID: LTP-8363

Which malware attaches itself to a host file and spreads when the file is run?

  1. AComputer worm
  2. BTrojan horse
  3. CSpyware
  4. DComputer virus ✓ Correct answer
Computer ScienceComputer Security & Viruses PPSCID: LTP-8364

Which malware spreads on its own across a network without a host file?

  1. AWorm ✓ Correct answer
  2. BVirus
  3. CTrojan horse
  4. DRootkit
Computer ScienceComputer Security & Viruses PPSCID: LTP-8440

Which practice helps prevent cross-site scripting by escaping user input before display?

  1. AOutput encoding ✓ Correct answer
  2. BDisabling the firewall
  3. CSharing passwords
  4. DUsing HTTP only
Computer ScienceComputer Security & Viruses PPSCID: LTP-8441

Which technique prevents SQL injection by separating SQL code from user data?

  1. AOutput encoding
  2. BPrepared statements ✓ Correct answer
  3. CInput validation only
  4. DDisabling cookies
Computer ScienceComputer Security & Viruses PPSCID: LTP-8442

Which attack tricks a logged-in user into submitting an unwanted request to a website?

  1. ACross-site scripting
  2. BSQL injection
  3. CCross-Site Request Forgery (CSRF) ✓ Correct answer
  4. DPhishing
Computer ScienceComputer Security & Viruses PPSCID: LTP-8443

Which attack steals a session cookie to impersonate a logged-in user?

  1. AClickjacking
  2. BPhishing
  3. CSpoofing
  4. DSession hijacking ✓ Correct answer
Computer ScienceComputer Security & Viruses PPSCID: LTP-8444

Which security model assumes no user or device is trusted by default, even inside the network?

  1. AZero Trust model ✓ Correct answer
  2. BPerimeter security
  3. CTrust all model
  4. DOpen network model
Computer ScienceComputer Security & Viruses PPSCID: LTP-8445

Which activity systematically reviews systems and policies to find security weaknesses?

  1. APenetration testing only
  2. BSecurity audit ✓ Correct answer
  3. CData backup
  4. DSoftware update
Computer ScienceComputer Security & Viruses PPSCID: LTP-8446

Which activity simulates a real attack to test how well a system resists intruders?

  1. ASecurity audit
  2. BData backup
  3. CPenetration testing ✓ Correct answer
  4. DPatching
Computer ScienceComputer Security & Viruses PPSCID: LTP-8447

Which process handles a security breach from detection through recovery?

  1. ARisk assessment
  2. BVulnerability scanning
  3. CPatch management
  4. DIncident response ✓ Correct answer
Computer ScienceComputer Security & Viruses PPSCID: LTP-8448

Which process identifies threats and estimates their impact before choosing controls?

  1. ARisk assessment ✓ Correct answer
  2. BIncident response
  3. CPenetration testing
  4. DData backup
Computer ScienceComputer Security & Viruses PPSCID: LTP-8449

Which automated activity searches systems for known security weaknesses?

  1. APenetration testing
  2. BVulnerability scanning ✓ Correct answer
  3. CPhishing simulation
  4. DData encryption
Computer ScienceComputer Security & Viruses PPSCID: LTP-8450

Which practice protects stored data by encrypting it on disk?

  1. AEncryption in transit
  2. BHashing
  3. CEncryption at rest ✓ Correct answer
  4. DTokenisation
Computer ScienceComputer Security & Viruses PPSCID: LTP-8451

Which practice protects data while it travels over a network?

  1. AEncryption at rest
  2. BHashing
  3. CBacking up
  4. DEncryption in transit ✓ Correct answer
Computer ScienceComputer Security & Viruses PPSCID: LTP-8452

In asymmetric encryption, which key can be shared openly with anyone?

  1. APublic key ✓ Correct answer
  2. BPrivate key
  3. CSession key
  4. DMaster key
Computer ScienceComputer Security & Viruses PPSCID: LTP-8453

In asymmetric encryption, which key must be kept secret by its owner?

  1. APublic key
  2. BPrivate key ✓ Correct answer
  3. CSession key
  4. DShared key
Computer ScienceComputer Security & Viruses PPSCID: LTP-8454

Which document binds a public key to a website's identity and is signed by a trusted authority?

  1. APassword file
  2. BSession token
  3. CDigital certificate ✓ Correct answer
  4. DCookie

Practice these MCQs interactively