What is the primary function of AES (Advanced Encryption Standard)?
Correct answer:
B) Symmetric encryption
Explanation: AES is a symmetric encryption algorithm that encrypts data using the same key for both encryption and decryption.
What is the primary function of AES (Advanced Encryption Standard)?
Correct answer:
B) Symmetric encryption
Explanation: AES is a symmetric encryption algorithm that encrypts data using the same key for both encryption and decryption.
Which encryption 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.
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.
What does the term ‘collision’ refer to in cryptography?
Correct answer:
B) Two different inputs produce the same hash value
Explanation: A collision occurs when two different inputs produce the same hash value, compromising the security of the hash function.
Which of the following is a major advantage of using elliptic curve cryptography (ECC) over RSA?
Correct answer:
A) ECC provides stronger encryption with smaller key sizes
Explanation: ECC offers equivalent security to RSA with much smaller key sizes, making it more efficient for encryption and key exchange.
Which of the following is the primary purpose of a digital certificate?
Correct answer:
B) To establish the identity of a sender or receiver
Explanation: Digital certificates are used to verify the identity of the sender or receiver in a communication, ensuring that public keys belong to the intended party.
Which algorithm is primarily used for generating digital signatures?
Correct answer:
C) RSA
Explanation: RSA is commonly used for generating digital signatures, which provide authentication and ensure the integrity of a message.
Which of the following best describes the purpose of a block cipher mode of operation?
Correct answer:
B) To define how encryption and decryption are performed on data blocks
Explanation: Block cipher modes of operation define how data blocks are encrypted and decrypted using a block cipher algorithm like AES or DES.
Which type of 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.
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.
Which cryptographic algorithm is based on the difficulty of factorizing large prime numbers?
Correct answer:
B) RSA
Explanation: RSA relies on the mathematical difficulty of factorizing large prime numbers, which is the basis for its security.
What is the purpose of hashing in cryptography?
Correct answer:
B) To ensure data integrity
Explanation: Hashing is used to ensure data integrity by producing a fixed-length hash value from input data, allowing verification that the data has not been altered.
Which cryptographic concept ensures that a communication session is secure, even if long-term keys are compromised?
Correct answer:
A) Forward secrecy
Explanation: Forward secrecy ensures that if long-term keys are compromised, past communication sessions remain secure because session keys are not derived from long-term keys.
Which of the following best describes a stream cipher?
Correct answer:
A) It encrypts data one bit at a time
Explanation: Stream ciphers encrypt data one bit at a time, making them faster for real-time applications compared to block ciphers.
Which of the following algorithms is a public key encryption method?
Correct answer:
C) RSA
Explanation: RSA is a public key encryption algorithm, while AES, DES, and RC5 are symmetric encryption algorithms.
What is the primary function of salting in cryptographic hashing?
Correct answer:
A) To enhance the security of the hash by adding random data
Explanation: Salting adds random data to the input before hashing, preventing attackers from using precomputed rainbow tables to crack the hash.
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.
Which of the following describes a chosen-ciphertext attack?
Correct answer:
B) The attacker selects ciphertext to decrypt and obtain the corresponding plaintext
Explanation: In a chosen-ciphertext attack, the attacker selects specific ciphertext to be decrypted, using the resulting plaintext to analyze the encryption method.
Which of the following is a symmetric encryption algorithm?
Correct answer:
B) AES
Explanation: AES is a symmetric encryption algorithm, meaning the same key is used for both encryption and decryption.
Which of the following is a key exchange protocol used in asymmetric encryption?
Correct answer:
C) Diffie-Hellman
Explanation: Diffie-Hellman is a key exchange protocol used in asymmetric encryption to establish a shared secret between two parties over an insecure channel.
Which type of cipher involves shifting the letters of the plaintext by a fixed number of positions?
Correct answer:
B) Caesar cipher
Explanation: The Caesar cipher is a simple substitution cipher that shifts the letters of the plaintext by a fixed number of positions.
Which block cipher mode of operation involves XORing each plaintext block with the previous ciphertext block?
Correct answer:
B) CBC
Explanation: Cipher Block Chaining (CBC) mode XORs each plaintext block with the previous ciphertext block before encryption, ensuring that identical plaintext blocks produce different ciphertexts.
Which of the following encryption algorithms is based on the difficulty of solving discrete logarithms?
Correct answer:
C) ECC
Explanation: Elliptic Curve Cryptography (ECC) is based on the mathematical difficulty of solving discrete logarithms, making it secure for encryption and key exchange
Which of the following best describes a hash function?
Correct answer:
B) It generates a fixed-length output from variable-length input
Explanation: A hash function generates a fixed-length output (hash) from a variable-length input, ensuring data integrity without being reversible.
Which of the following algorithms is commonly used for creating a digital signature?
Correct answer:
B) RSA
Explanation: RSA is widely used for creating digital signatures, ensuring message integrity and authenticity.
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.
Which cryptographic attack involves manipulating the encryption algorithm to find weaknesses?
Correct answer:
C) Cryptanalysis attack
Explanation: A cryptanalysis attack involves manipulating the encryption algorithm to find weaknesses or patterns that can be exploited to break the encryption.
Which of the following encryption modes allows for parallel processing of encrypted blocks?
Correct answer:
D) CTR
Explanation: Counter (CTR) mode allows for parallel processing because each block is encrypted independently, improving performance in high-speed environments.
What is the primary purpose of forward secrecy?
Correct answer:
C) To ensure that past sessions remain secure even if long-term keys are compromised
Explanation: Forward secrecy ensures that even if long-term keys are compromised, past communication sessions remain secure because session keys are not reused.
Which type of encryption algorithm uses the same key for both encryption and decryption?
Correct answer:
B) Symmetric encryption
Explanation: In symmetric encryption, the same key is used for both encryption and decryption, requiring secure key exchange between the parties.
Which of the following protocols is used to check the validity of digital certificates in real-time?
Correct answer:
B) OCSP
Explanation: The Online Certificate Status Protocol (OCSP) is used to check the validity of digital certificates in real-time, ensuring that they have not been revoked.
Which of the following best describes the function of a digital signature?
Correct answer:
B) To verify 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.
Which encryption algorithm is typically used in blockchain technologies for securing transactions?
Correct answer:
C) ECC
Explanation: Elliptic Curve Cryptography (ECC) is commonly used in blockchain technologies for securing transactions due to its efficiency and smaller key sizes.
Which type of cryptographic attack involves capturing and reusing valid data transmissions?
Correct answer:
C) Replay attack
Explanation: In a replay attack, an attacker captures valid data transmissions and reuses them at a later time to gain unauthorized access
Which cryptographic algorithm is used for generating a hash value?
Correct answer:
B) SHA-256
Explanation: SHA-256 is a cryptographic hash algorithm that generates a fixed-length hash value, ensuring data integrity.
Which of the following describes a man-in-the-middle attack?
Correct answer:
A) An attacker intercepts and alters communications between two parties
Explanation: In a man-in-the-middle attack, an attacker intercepts and potentially alters the communication between two parties without their knowledge.
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.
What is the purpose of a nonce in encryption?
Correct answer:
A) To provide a unique value used only once to ensure data uniqueness
Explanation: A nonce is a value used only once in encryption to ensure that the same plaintext encrypted multiple times results in different ciphertexts.
Which of the following is a primary advantage of elliptic curve cryptography (ECC)?
Correct answer:
A) It uses smaller key sizes for the same level of security as RSA
Explanation: ECC provides equivalent security to RSA but with much smaller key sizes, making it more efficient in terms of computation and storage.
Which encryption mode produces identical ciphertext for identical plaintext blocks, making it vulnerable to pattern analysis?
Correct answer:
C) ECB
Explanation: In ECB mode, identical plaintext blocks produce identical ciphertext blocks, making it vulnerable to pattern analysis attacks.
A Caesar cipher is an example of a:
Correct answer:
A) Substitution cipher that shifts letters a fixed number of positions
Explanation: Each letter is replaced by one a fixed number of places down the alphabet. With only 25 shifts, it is trivially broken.
A transposition cipher works by:
Correct answer:
B) Rearranging the order of the characters without changing them
Explanation: Transposition ciphers, such as the rail fence cipher, scramble the positions of characters. Substitution ciphers change the characters.
The Vigenere cipher improves on simple substitution by:
Correct answer:
C) Using a keyword to apply different shifts to different letters (polyalphabetic substitution)
Explanation: Vigenere uses multiple shifted alphabets based on a keyword, which makes simple frequency analysis harder.
Frequency analysis is most effective against:
Correct answer:
D) Simple monoalphabetic substitution ciphers
Explanation: Monoalphabetic ciphers keep letter frequencies, so common letters such as E can be identified from the ciphertext.
Key escrow refers to:
Correct answer:
A) Storing a copy of encryption keys with a trusted third party so they can be recovered if needed
Explanation: Escrowed keys can be recovered by authorized parties, for example if an employee leaves or a key is lost.
Which key management practice involves replacing encryption keys at regular intervals?
Correct answer:
B) Key rotation
Explanation: Rotating keys limits the amount of data protected by any one key and reduces the impact of a key compromise.
Key stretching techniques such as PBKDF2 are used to:
Correct answer:
C) Make weak passwords more resistant to brute force by deriving keys through many iterations
Explanation: Key stretching repeatedly applies a hash or cipher, which greatly increases the cost of each guess for an attacker.
A hardware security module (HSM) is used to:
Correct answer:
D) Securely generate, store and use cryptographic keys in tamper-resistant hardware
Explanation: HSMs protect keys from extraction and perform cryptographic operations inside secure hardware.
A Trusted Platform Module (TPM) is:
Correct answer:
A) A chip on a computer's motherboard that stores keys and supports secure boot and disk encryption
Explanation: TPMs store keys and measurements securely and are used by features such as BitLocker and secure boot.
Which property means that a small change in the input of a hash function produces a very different output?
Correct answer:
B) Avalanche effect
Explanation: With the avalanche effect, changing one input bit changes about half of the output bits, so similar inputs give unrelated hashes.
If this exam is giving you a hard time, let us be your helping hand. Contact us, and we'll provide the assistance you need to pass and move forward.