StudyFox
कीमतेंब्लॉगएक्सटेंशनमुफ़्त टूल
  • कीमतें
  • ब्लॉग
  • एक्सटेंशन
  • मुफ़्त टूल
  • शुरू करेंसाइन इन
StudyFox

अपने नोट्स, PDF और स्लाइड्स को फ़्लैशकार्ड, क्विज़, नोट्स और माइंड मैप में बदलें।

StudyFox खोलें

स्टडी टूल्स

  • होमवर्क हेल्पर
  • नोट मेकर
  • फ़्लैशकार्ड मेकर
  • क्विज़ मेकर
  • माइंड मैप मेकर

प्रोडक्ट

  • कीमतें
  • Chrome एक्सटेंशन
  • मुफ़्त एक्सटेंशन
  • स्टडी सेट देखें
  • ब्लॉग

सहायता

  • सहायता केंद्र
  • संपर्क करें
  • गोपनीयता नीति
  • सेवा की शर्तें

तुलना करें

  • Chegg का विकल्प
  • Course Hero का विकल्प
  • Coursology का विकल्प
  • Photomath का विकल्प
  • Gauthmath का विकल्प
  • PhotoSolve का विकल्प
  • CollegeTools का विकल्प
  • Transcript का विकल्प
  • SmartSolve का विकल्प
  • Homeworkify का विकल्प
  • AnswersAi का विकल्प
  • StudyX का विकल्प
  • Quizlet का विकल्प
  • Anki का विकल्प
  • Knowt का विकल्प
  • Brainscape का विकल्प
  • सभी तुलनाएँ

© 2026 StudyFox AI. सर्वाधिकार सुरक्षित।

  • X
  • Discord
  • Instagram
ExploreEngineering & TechInformation TechnologyCybersecurity Fundamentals: Attacks, Defenses and Cryptography

Quiz · Medium

Cybersecurity Fundamentals: Attacks, Defenses and Cryptography

The CIA triad, phishing and social engineering, SQL injection, XSS, CSRF, password storage, encryption, digital signatures, MFA and ransomware. Security+ style concepts in plain language.

by Kill h.15 questionsCreated Nov 8, 2026, 08:04 PM
Information Technology· CybersecurityTags#cybersecurity#security-plus#cryptography#web-security

15 questions

  1. 1

    A distributed denial-of-service (DDoS) attack mainly targets which part of the CIA triad?

    • A

      Confidentiality

    • Availability

    • C

      Integrity

    • D

      Authentication

    A DDoS floods a service with traffic so real users cannot reach it. It usually steals nothing (confidentiality) and changes no data (integrity).

  2. 2

    An attacker researches a company's finance manager and sends her a convincing email that appears to come from the CEO. This is:

    • A

      Vishing

    • Spear phishing

    • C

      A brute-force attack

    • D

      Tailgating

    Spear phishing is phishing aimed at a specific person with tailored details. Vishing uses phone calls, and tailgating is following someone through a secure door.

  3. 3

    What is the most effective defense against SQL injection?

    • A

      Hiding database error messages

    • B

      Using HTTPS

    • C

      Blocking the words SELECT and DROP in input

    • Parameterized queries (prepared statements)

    Parameterized queries send user input as data, never as part of the SQL code, so it cannot change the query. Hiding errors and keyword blocklists can be bypassed, and HTTPS only protects data in transit.

  4. 4

    An attacker posts a comment containing a script that runs in other users' browsers when they view the page. This is:

    • Stored cross-site scripting (XSS)

    • B

      SQL injection

    • C

      Cross-site request forgery (CSRF)

    • D

      A man-in-the-middle attack

    The malicious script is stored on the server and served to every visitor. Defenses include encoding output for its context and a Content Security Policy. SQL injection targets the database, not other users' browsers.

  5. 5

    What is the best way to store user passwords?

    • A

      AES encryption with the key stored on the server

    • A slow, salted password hash such as Argon2 or bcrypt

    • C

      A single fast MD5 hash

    • D

      Base64 encoding

    Password hashing should be one-way and deliberately slow, so stolen hashes are expensive to crack. Encryption can be reversed by anyone who gets the key, MD5 is far too fast, and Base64 is not security at all.

  6. 6

    Why is a unique random salt added to each password before hashing?

    • A

      To make the password easier to remember

    • B

      To encrypt the password so it can be recovered later

    • C

      To make hashing faster

    • So identical passwords get different hashes and precomputed rainbow tables are useless

    Without salts, everyone with the password "123456" shares one hash, and attackers can look hashes up in precomputed tables. Salts are not secret; they are stored next to the hash.

  7. 7

    Which of these is an asymmetric (public-key) algorithm?

    • A

      AES

    • B

      SHA-256

    • RSA

    • D

      DES

    RSA uses a key pair: a public key and a private key. AES and DES are symmetric ciphers that use one shared key. SHA-256 is a hash function, not encryption.

  8. 8

    To digitally sign a document, the sender uses:

    • Their own private key, and anyone can verify with the sender's public key

    • B

      The recipient's public key

    • C

      The recipient's private key

    • D

      A shared symmetric key

    Only the sender holds the private key, so a valid signature proves who signed and that the document was not changed. Encrypting a message for someone uses the recipient's public key, which is the opposite case.

  9. 9

    Which login combination is true multi-factor authentication?

    • A

      A password plus a security question

    • B

      A password plus a PIN

    • C

      Two different passwords

    • A password plus a code from an authenticator app

    MFA needs factors from different categories: something you know, something you have and something you are. Passwords, PINs and security questions are all something you know, so combining them is still one factor.

  10. 10

    Which measure best limits the damage of a ransomware attack?

    • A

      Paying the ransom quickly

    • B

      Using a longer Wi-Fi password

    • Regular backups kept offline or immutable, and tested restores

    • D

      Turning off the firewall

    Ransomware encrypts your files. With offline or immutable backups you can restore without paying, and paying is no guarantee of getting your data back. Backups the malware can reach may get encrypted too.

  11. 11

    Giving each user only the access they need to do their job is called:

    • A

      Defense in depth

    • B

      Separation of duties

    • C

      Security through obscurity

    • The principle of least privilege

    Least privilege limits what an attacker can do with a compromised account. Defense in depth means layering several controls, and separation of duties splits critical tasks between people.

  12. 12

    Someone without a badge follows an employee through a secure door before it closes. This is:

    • A

      Phishing

    • Tailgating

    • C

      Shoulder surfing

    • D

      Pretexting

    Tailgating (also called piggybacking) bypasses physical access control. Shoulder surfing is watching someone type a password or PIN.

  13. 13

    What is a zero-day vulnerability?

    • A

      A bug that is fixed on the day it is found

    • B

      Malware that deletes itself after one day

    • C

      A vulnerability with no real impact

    • A flaw unknown to the vendor, so no patch exists yet

    The vendor has had zero days to fix it, which makes zero-days valuable to attackers. Defense relies on layered controls and monitoring until a patch arrives.

  14. 14

    A malicious site makes a logged-in user's browser submit a money-transfer form to their bank. Which defense is designed for this attack?

    • Anti-CSRF tokens and SameSite cookies

    • B

      Parameterized SQL queries

    • C

      Hashing passwords with bcrypt

    • D

      Disk encryption

    This is cross-site request forgery: the browser automatically attaches the bank's cookies. A secret per-form token that the attacker cannot read, plus SameSite cookies, blocks forged requests.

  15. 15

    You download a file and compare its SHA-256 value with the one published on the vendor's site. What does this check?

    • Integrity: whether the file was altered or corrupted

    • B

      Confidentiality: whether anyone else read the file

    • C

      Availability: whether the server is online

    • D

      That the file contains no malware

    A matching hash shows the file is identical to the one the vendor hashed. It does not prove the file is safe, and if attackers replaced both the file and the published hash, the check would not catch it. Signed releases close that gap.