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 TechnologyCryptography, PKI and Authentication Quiz

Quiz · Medium

Cryptography, PKI and Authentication Quiz

Test your knowledge of encryption, hashing, keys and signatures, Kerberos, OAuth, MFA and access control models.

by Kill h.20 questionsCreated Nov 20, 2026, 08:27 PM
Information Technology· CybersecurityTags#cybersecurity#cryptography#authentication

20 questions

  1. 1

    The diagram shows Bob and Alice using one shared secret key. What type of encryption is this?

    • A

      Asymmetric encryption

    • Symmetric encryption

    • C

      Hashing

    • D

      Digital signature

    The same key encrypts and decrypts. The challenge is sharing that key securely, which is why symmetric ciphers are often paired with key exchange such as Diffie-Hellman.

  2. 2

    In the public-key diagram, which key must Alice keep secret?

    • The private key

    • B

      The public key

    • C

      The ciphertext

    • D

      The session key

    The public key can be shared with anyone for encryption; only the private key decrypts and must remain secret.

  3. 3

    Which key does Bob use to send Alice a confidential message with RSA?

    • A

      Alice's private key

    • B

      Bob's private key

    • C

      Bob's public key

    • Alice's public key

    Encrypt with the recipient's public key so only the recipient's private key can decrypt. Bob's private key would be used to sign, not to protect confidentiality.

  4. 4

    A message is signed to prove who sent it. Which key creates the signature?

    • A

      The sender's public key

    • B

      The recipient's public key

    • The sender's private key

    • D

      The recipient's private key

    Only the sender holds their private key, so a signature that verifies with the sender's public key proves origin and integrity (non-repudiation).

  5. 5

    Which algorithm is the current standard for symmetric encryption of data?

    • A

      DES

    • AES

    • C

      RSA

    • D

      MD5

    AES (128-bit block, 128/192/256-bit keys) replaced DES. RSA is asymmetric and MD5 is a hash function.

  6. 6

    Which cipher mode is considered unsafe because identical plaintext blocks produce identical ciphertext blocks?

    • ECB

    • B

      CBC

    • C

      GCM

    • D

      CTR

    ECB encrypts every block independently and leaks patterns. CBC, CTR and GCM chain or randomize blocks with an IV or counter.

  7. 7

    Which of these should be used to store user passwords in a database?

    • A

      SHA-256 without a salt

    • B

      AES-256 with a shared key

    • C

      Base64 encoding

    • bcrypt or Argon2 with a unique salt

    Password storage needs a slow, salted hash. Plain SHA-256 is too fast to brute-force safely, AES is reversible if the key leaks and Base64 is not security.

  8. 8

    What does a salt prevent?

    • A

      Man-in-the-middle attacks

    • B

      Phishing

    • Precomputed rainbow-table attacks and identical hashes for identical passwords

    • D

      Replay attacks

    A unique random salt per password makes precomputed tables useless and hides which users share a password.

  9. 9

    Perfect forward secrecy ensures that...

    • A

      the server certificate never expires

    • stealing the server's long-term key does not expose past sessions

    • C

      passwords are hashed twice

    • D

      all traffic is routed through a VPN

    PFS uses ephemeral key exchange (ECDHE) per session, so recorded traffic stays encrypted even if the long-term private key is later compromised.

  10. 10

    Which protocol checks whether a certificate has been revoked in real time?

    • OCSP

    • B

      CSR

    • C

      SAML

    • D

      IKE

    OCSP answers revocation status for a single certificate. A CSR requests a certificate and IKE negotiates IPsec keys.

  11. 11

    In the Kerberos diagram, what does the client receive first from the Authentication Server?

    • A

      A service ticket for the file server

    • B

      The service server's secret key

    • C

      A SAML assertion

    • A Ticket Granting Ticket (TGT)

    The AS issues the TGT; the client then presents it to the TGS to request service tickets. The service server's key never goes to the client.

    Image: Jeran Renz, CC BY-SA 4.0, via Wikimedia Commons.

  12. 12

    Kerberos authentication suddenly fails for all clients after a server's clock drifts by 20 minutes. Why?

    • A

      The TGT was encrypted with the wrong cipher

    • B

      The port 88 is closed by default

    • Kerberos tolerates only a small time skew (about 5 minutes) between hosts

    • D

      The password expired

    Tickets include timestamps to prevent replay; too much skew makes them invalid. Time synchronization (NTP) is essential in Active Directory.

  13. 13

    Which protocol provides authentication, authorization and accounting by encrypting the entire payload and using TCP?

    • A

      RADIUS

    • TACACS+

    • C

      LDAP

    • D

      SNMPv1

    TACACS+ (TCP 49) encrypts the whole packet and separates AAA. RADIUS (UDP) encrypts only the password field.

  14. 14

    A web app lets a user 'Sign in with Google' so the app receives an ID token with the user's identity. Which technology provides this authentication layer?

    • OpenID Connect

    • B

      OAuth 2.0 alone

    • C

      TACACS+

    • D

      Kerberos

    OAuth 2.0 is for delegated authorization; OpenID Connect adds identity (ID token) on top of it.

  15. 15

    Which access control model assigns permissions based on job function?

    • A

      DAC

    • B

      MAC

    • C

      Rule-based ACL on the router

    • RBAC

    Role-Based Access Control grants permissions to roles, and users get roles. DAC lets owners decide and MAC uses system-enforced labels.

  16. 16

    A fingerprint reader rejects many legitimate employees. Which metric is too high?

    • A

      False acceptance rate (FAR)

    • B

      Crossover error rate (CER)

    • False rejection rate (FRR)

    • D

      Entropy

    FRR measures valid users wrongly rejected. FAR measures impostors wrongly accepted.

  17. 17

    Which MFA method is the most resistant to phishing?

    • A

      SMS one-time code

    • FIDO2/WebAuthn security key or passkey

    • C

      Email one-time code

    • D

      Security questions

    FIDO2 binds the credential to the real website origin, so a fake site cannot capture a usable response. SMS and email codes can be relayed to a phishing site.

  18. 18

    Which statement about hashing is true?

    • A hash is one-way and always gives the same output length

    • B

      A hash can be decrypted with the right key

    • C

      SHA-1 is the recommended modern hash

    • D

      Longer inputs produce longer hashes

    Hashing is not encryption; there is no key and no decryption. SHA-1 is deprecated and output size is fixed (SHA-256 = 256 bits).

  19. 19

    What problem does HMAC solve that a plain hash does not?

    • A

      It encrypts the message

    • B

      It compresses the message

    • C

      It removes the need for a key

    • It authenticates the sender as well as checking integrity

    HMAC mixes a secret key into the hash, so only someone with the key can create a valid tag.

  20. 20

    Which attack allows an adversary to force a TLS connection to use an older, weaker protocol?

    • A

      Replay attack

    • B

      Smurf attack

    • Downgrade attack

    • D

      Bluejacking

    Downgrade attacks exploit backward compatibility. Disable SSL and old TLS versions to prevent them.