50 multiple-choice questions with answers and detailed explanations. Untimed — choose an answer to check it instantly.
0/50 answered0 correct
Question 1 of 50
Which of the following best describes the concept of “non-repudiation” in cryptography?
Correct answer: B) Preventing the sender from denying they sent a message
Explanation: Non-repudiation ensures that the sender of a message cannot deny having sent it, typically achieved using digital signatures.
Question 2 of 50
What is the primary characteristic of a public key in asymmetric encryption?
Correct answer: C) It is used for encryption and can be freely distributed
Explanation: In asymmetric encryption, the public key is used for encryption and can be freely distributed, while the private key is kept secret and used for decryption.
Question 3 of 50
Which of the following describes the main difference between RSA and Elliptic Curve Cryptography (ECC)?
Correct answer: B) ECC requires smaller key sizes for equivalent security
Explanation: ECC provides the same level of security as RSA but with much smaller key sizes, making it more efficient in terms of storage and computation.
Question 4 of 50
What is the primary function of a digital certificate?
Correct answer: B) To provide authentication and public key verification
Explanation: A digital certificate is used to verify the identity of an entity and associate it with a public key for secure communications.
Question 5 of 50
Which of the following cryptographic techniques provides forward secrecy?
Correct answer: B) Diffie-Hellman
Explanation: Diffie-Hellman provides forward secrecy by ensuring that session keys are not derived from long-term keys, preventing compromise of past sessions.
Question 6 of 50
Which of the following encryption modes uses a counter and allows parallel processing of blocks?
Correct answer: D) CTR
Explanation: Counter (CTR) mode allows for parallel processing of blocks because each block is encrypted independently, improving encryption performance.
Question 7 of 50
Which of the following describes a “replay attack”?
Correct answer: A) An attacker intercepts and reuses valid data transmissions
Explanation: A replay attack involves capturing and reusing legitimate data transmissions, often to gain unauthorized access or deceive systems.
Question 8 of 50
What is the key length for AES-128 encryption?
Correct answer: A) 128 bits
Explanation: AES-128 uses a 128-bit key for encryption, providing a balance between security and performance.
Question 9 of 50
Which of the following cryptographic attacks involves analyzing the time taken to execute encryption operations to deduce the key?
Correct answer: A) Side-channel attack
Explanation: In a side-channel attack, the attacker analyzes the time, power consumption, or other physical characteristics of encryption operations to gather information about the encryption key.
Question 10 of 50
Which of the following cryptographic protocols is used for secure key exchange over an untrusted network?
Correct answer: C) Diffie-Hellman
Explanation: Diffie-Hellman is a key exchange protocol that allows two parties to securely exchange cryptographic keys over an untrusted network.
Question 11 of 50
What is the primary role of hashing in digital signatures?
Correct answer: C) To ensure data integrity
Explanation: Hashing in digital signatures ensures that the data has not been altered by creating a unique hash of the data, which is signed by the sender for verification by the recipient.
Question 12 of 50
Which of the following describes the Caesar cipher?
Correct answer: C) A substitution cipher that shifts letters by a fixed number
Explanation: The Caesar cipher is a simple substitution cipher that shifts each letter of the plaintext by a fixed number of positions in the alphabet.
Question 13 of 50
What is the primary advantage of using elliptic curve cryptography (ECC) in mobile devices?
Correct answer: B) It uses smaller key sizes, requiring less computational power
Explanation: ECC uses smaller key sizes compared to RSA, making it more efficient for mobile devices with limited computational power.
Question 14 of 50
Which of the following describes a chosen-plaintext attack?
Correct answer: A) The attacker chooses plaintext to encrypt and observe the resulting ciphertext
Explanation: In a chosen-plaintext attack, the attacker selects plaintext to encrypt and uses the resulting ciphertext to gather information about the encryption algorithm.
Question 15 of 50
Which of the following block cipher modes of operation ensures that each ciphertext block depends on all previous blocks?
Correct answer: B) CBC
Explanation: Cipher Block Chaining (CBC) mode ensures that each ciphertext block depends on the encryption of the previous block, making it more secure than ECB.
Question 16 of 50
What is the primary purpose of a cryptographic nonce?
Correct answer: B) To ensure that identical plaintexts produce different ciphertexts
Explanation: A nonce is a random value used only once in encryption to ensure that the same plaintext encrypted multiple times results in different ciphertexts.
Question 17 of 50
Which of the following describes a public key in asymmetric encryption?
Correct answer: A) It is used for encryption and can be freely distributed
Explanation: In asymmetric encryption, the public key is used for encryption and can be freely distributed, while the private key is kept secret for decryption.
Question 18 of 50
Which cryptographic algorithm is typically used for digital signatures?
Correct answer: B) RSA
Explanation: RSA is commonly used for digital signatures because it provides authentication and data integrity by allowing the recipient to verify the identity of the sender.
Question 19 of 50
What is the primary purpose of salting in password hashing?
Correct answer: B) To ensure that the same password generates different hash values
Explanation: Salting adds random data to passwords before hashing to ensure that identical passwords result in different hash values, preventing attackers from using precomputed tables to crack hashes.
Question 20 of 50
Which of the following encryption methods is used to secure Wi-Fi networks under WPA2?
Correct answer: B) AES
Explanation: AES is used to secure Wi-Fi networks under WPA2, providing strong encryption to protect wireless communications.
Question 21 of 50
What is the main purpose of a Certificate Authority (CA) in cryptography?
Correct answer: B) To issue and manage digital certificates
Explanation: A Certificate Authority (CA) is responsible for issuing, managing, and validating digital certificates, which are used to verify the identity of parties in secure communications.
Question 22 of 50
Which of the following is the most secure symmetric encryption algorithm?
Correct answer: C) AES
Explanation: AES is considered the most secure symmetric encryption algorithm, offering strong encryption with key sizes of 128, 192, and 256 bits.
Question 23 of 50
Which type of cryptographic attack involves capturing and reusing valid data transmissions?
Correct answer: B) Replay attack
Explanation: In a replay attack, the attacker captures valid data transmissions and reuses them at a later time to gain unauthorized access.
Question 24 of 50
Which cryptographic algorithm is used for generating a hash value?
Correct answer: C) SHA-256
Explanation: SHA-256 is a cryptographic hash algorithm that generates a fixed-length hash value, ensuring data integrity.
Question 25 of 50
Which of the following describes a digital signature?
Correct answer: B) It verifies the identity of the sender and the integrity of the message
Explanation: A digital signature verifies the identity of the sender and ensures that the message has not been tampered with during transmission.
Question 26 of 50
Which of the following cryptographic methods uses different keys for encryption and decryption?
Correct answer: B) Asymmetric encryption
Explanation: Asymmetric encryption uses different keys for encryption and decryption, typically a public key for encryption and a private key for decryption.
Question 27 of 50
Which of the following is a symmetric block cipher?
Correct answer: C) AES
Explanation: AES is a symmetric block cipher that encrypts data in fixed-size blocks using the same key for both encryption and decryption.
Question 28 of 50
Which type of cryptographic attack exploits weaknesses in the physical implementation of encryption, such as timing or power consumption?
Correct answer: B) Side-channel attack
Explanation: A side-channel attack exploits weaknesses in the physical implementation of encryption, such as timing, power consumption, or electromagnetic leaks, to deduce the encryption key or other sensitive information.
Question 29 of 50
What is the block size of the AES encryption algorithm?
Correct answer: B) 128 bits
Explanation: AES has a fixed block size of 128 bits, regardless of the key length used in the encryption process.
Question 30 of 50
Which of the following describes a brute-force attack?
Correct answer: A) The attacker decrypts a message by trying all possible keys
Explanation: A brute-force attack involves trying all possible keys until the correct key is found to decrypt the ciphertext.
Question 31 of 50
What is the key length for AES-256 encryption?
Correct answer: C) 256 bits
Explanation: AES-256 uses a 256-bit key for encryption, providing a higher level of security than AES-128 or AES-192.
Question 32 of 50
Which of the following best describes the function of hashing in cryptography?
Correct answer: B) It ensures data integrity by producing a fixed-length output from a variable-length input
Explanation: Hashing ensures data integrity by producing a unique, fixed-length hash value from a variable-length input, allowing verification that the data has not been altered.
Question 33 of 50
Which of the following block cipher modes of operation is vulnerable to pattern analysis because identical plaintext blocks produce identical ciphertext blocks?
Correct answer: A) ECB
Explanation: In Electronic Codebook (ECB) mode, identical plaintext blocks produce identical ciphertext blocks, making it vulnerable to pattern analysis attacks.
Question 34 of 50
Which of the following best describes forward secrecy?
Correct answer: B) It ensures that a session key is not reused in future sessions
Explanation: Forward secrecy ensures that session keys are not reused in future sessions, providing additional security by preventing compromise of past communications.
Question 35 of 50
Which of the following cryptographic algorithms is based on the difficulty of factorizing large prime numbers?
Correct answer: B) RSA
Explanation: RSA is based on the mathematical difficulty of factorizing large prime numbers, which forms the basis of its security
Question 36 of 50
What is the primary advantage of using a symmetric encryption algorithm like AES?
Correct answer: A) It allows for faster encryption and decryption
Explanation: Symmetric encryption algorithms like AES are generally faster than asymmetric algorithms because they use the same key for both encryption and decryption.
Question 37 of 50
What is the primary disadvantage of symmetric encryption?
Correct answer: C) It requires secure key distribution
Explanation: The main disadvantage of symmetric encryption is the need for secure key distribution between parties, as both must use the same key.
Question 38 of 50
Which of the following describes the primary weakness of DES?
Correct answer: A) It uses a small key size
Explanation: DES has a small key size of 56 bits, which makes it vulnerable to brute-force attacks.
Question 39 of 50
Which cryptographic algorithm is commonly used for securing web traffic via HTTPS?
Correct answer: A) RSA
Explanation: RSA is commonly used in HTTPS for securing web traffic, as it provides strong encryption for key exchanges and digital signatures.
Question 40 of 50
Which type of cryptographic attack attempts to decrypt ciphertext by trying all possible keys?
Correct answer: B) Brute-force attack
Explanation: In a brute-force attack, the attacker tries every possible key until the correct one is found to decrypt the ciphertext.
Question 41 of 50
Pre-image resistance in a hash function means:
Correct answer: C) Given a hash value, it is infeasible to find an input that produces it
Explanation: Pre-image resistance makes hashes one-way, which protects stored password hashes.
Question 42 of 50
Which statement about encoding (such as Base64) is correct?
Correct answer: D) It changes the format of data but provides no security, because anyone can decode it
Explanation: Encoding is reversible without a key and is used for data transport, not for protecting data.
Question 43 of 50
What is the main advantage of symmetric encryption compared with asymmetric encryption?
Correct answer: A) It is much faster for encrypting large amounts of data
Explanation: Symmetric algorithms are computationally efficient, which is why they encrypt bulk data while asymmetric methods exchange the keys.
Question 44 of 50
What is the main challenge of symmetric encryption?
Correct answer: B) Securely distributing the shared secret key to all parties
Explanation: Both parties need the same key, so getting it to them securely is difficult. Asymmetric key exchange solves this problem.
Question 45 of 50
How many keys are needed for 10 users to communicate privately in pairs using only symmetric encryption?
Correct answer: C) 45
Explanation: Each pair needs its own key: n(n-1)/2 = 10 x 9 / 2 = 45 keys. With asymmetric encryption, each user needs only one key pair.
Question 46 of 50
In a hybrid cryptosystem, a symmetric session key is typically:
Correct answer: D) Encrypted with the recipient's public key and sent along with the encrypted data
Explanation: Hybrid systems such as PGP and TLS combine fast symmetric encryption for data with asymmetric encryption to protect the session key.
Question 47 of 50
PGP (Pretty Good Privacy) uses which trust model instead of a central certificate authority?
Correct answer: A) Web of trust
Explanation: In PGP's web of trust, users sign each other's public keys to vouch for their authenticity.
Question 48 of 50
Which protocol uses tickets issued by a key distribution center to authenticate users on a network?
Correct answer: B) Kerberos
Explanation: Kerberos uses a trusted Key Distribution Center that issues time-limited tickets, avoiding sending passwords across the network.
Question 49 of 50
IPsec in tunnel mode:
Correct answer: C) Encrypts the entire original IP packet and adds a new IP header
Explanation: Tunnel mode protects the whole original packet, which is common in site-to-site VPNs. Transport mode protects only the payload.
Question 50 of 50
Which IPsec protocol provides integrity and authentication but NOT encryption?
Correct answer: D) Authentication Header (AH)
Explanation: AH authenticates packets and protects their integrity. Encapsulating Security Payload (ESP) also provides encryption.
Set 4 complete
You scored 0%
0 correct out of 0 answered (50 questions in this set).