🎓 BookMCQ
← Back to 31. Cryptography and Network Security

📝 Confidentiality in network security (8 MCQs)

Preventing Unauthorized Disclosure of Network Data

Confidentiality ensures that information is not disclosed to unauthorized users, processes, or devices. It applies to messages in transit, files in storage, credentials, and network management data. Encryption is a principal technical safeguard, while identity checks and access permissions determine who may obtain the decryption capability or access the original information. The objective applies whether information is processed locally, stored remotely, or exchanged across public networks.

Encryption Keys and Access Permissions

Symmetric encryption uses one shared secret key for encryption and decryption, making secure key distribution essential. Public-key techniques can protect a session key or support key establishment. Access control limits which accounts may read data, and endpoint security protects plaintext before encryption and after decryption. Confidentiality therefore depends on both cryptography and system administration.

Protecting Data Before, During and After Transmission

A sender encrypts readable plaintext using an approved algorithm and key, producing ciphertext for transmission or storage. The recipient obtains the required key and decrypts the ciphertext. A secure protocol also authenticates peers and protects integrity, because confidentiality alone does not reveal whether the ciphertext was altered or who supplied it.

Example: Encrypting a File Before Network Transfer

An employee encrypts a sensitive report with AES using a randomly generated secret key before sending it to a colleague. The file travels as ciphertext, so an interceptor cannot directly read its contents. The key is delivered through a separately protected method, and access permissions restrict which recipient account can open the report.

Confidentiality Across Network and Storage Controls

Virtual private networks protect traffic across untrusted paths, while transport security protects application sessions. Full-disk and file encryption address data stored on devices or servers. These controls do not eliminate exposure from compromised endpoints, weak passwords, careless key handling, or authorized users misusing their access. Confidentiality requires protection throughout the information lifecycle.

Misconceptions About Data Confidentiality

'Ciphertext cannot be altered' is false; encryption alone may not detect modification. 'A public key must be secret' is false; public keys are openly distributed. 'Encrypted storage protects an unlocked device completely' is false; malware or an authorized session may still access decrypted data. Security decisions should therefore be based on the actual property each control provides.

Exam Focus: Identifying Confidentiality Protection

Explain plaintext, ciphertext, encryption, decryption, and key roles. Compare shared-key and public-key methods, and identify where keys must remain secret. In scenarios, distinguish data-in-transit protection from data-at-rest protection and explain why authentication, integrity checks, access permissions, and secure endpoint handling are also necessary. for both network traffic and stored information.

Confidentiality and Encryption Vocabulary

  • Plaintext - Readable information before encryption is applied.
  • Ciphertext - Encrypted information not directly readable.
  • Encryption - Conversion of plaintext into ciphertext.
  • Decryption - Recovery of plaintext using a key.
  • Secret key - Key kept confidential by authorized parties.
  • Access control - Rules limiting permitted information access.
2
Easy
4
Medium
2
Hard

📝 All Confidentiality in network security MCQs

Q1. Which of the following attacks directly threatens confidentiality by allowing an adversary to observe the content of communications without altering them?

A.Modification
B.Snooping ✅
C.Replay
D.Denial of Service
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: Snooping involves passive listening, letting an attacker read data without changing it. This exposure directly compromises confidentiality because the content becomes known to unauthorized parties. The other options either modify data, replay captured messages, or disrupt service, affecting integrity or availability rather than the secrecy of the information.

Q2. If a network suffers from traffic analysis, what can an attacker infer about the confidentiality of the data being transmitted?

A.That the data is encrypted
B.The exact plaintext
C.Patterns of communication ✅
D.That the data is being altered
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: Traffic analysis reveals metadata such as timing, volume, and communication patterns, enabling an attacker to infer who is communicating and when. While it does not disclose the actual plaintext, the knowledge of patterns can compromise confidentiality by exposing sensitive relationships. The other choices describe encryption status, exact content, or alteration, which are not primary effects of traffic analysis.

Q3. Compare traditional substitution ciphers with modern block ciphers in terms of their ability to provide confidentiality against brute‑force attacks.

A.Modern block ciphers offer significantly larger key spaces ✅
B.Substitution ciphers are more resistant
C.Both provide equal resistance
D.Block ciphers rely on secrecy of algorithm
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: Modern block ciphers like AES use key sizes of 128 bits or more, creating an astronomically large key space that resists exhaustive search. Traditional substitution ciphers typically employ keys derived from a limited alphabet, making them vulnerable to brute‑force attacks. Consequently, block ciphers provide far stronger confidentiality against such attacks compared to substitution ciphers.

Q4. Which statement best differentiates steganography from cryptography regarding confidentiality?

A.Steganography encrypts data
B.Cryptography hides the existence of communication
C.Steganography conceals the presence of hidden data ✅
D.Cryptography always uses symmetric keys
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: Steganography’s primary goal is to hide the existence of a message, making it invisible to observers, whereas cryptography transforms readable data into unreadable ciphertext but does not conceal that communication is occurring. Thus, the key differentiator is that steganography conceals the presence of hidden data, while cryptography secures the content.

Q5. Evaluate the impact of replay attacks on confidentiality when combined with a lack of proper nonce usage in a symmetric‑key protocol. Which outcome is most likely?

A.Confidentiality remains intact because data is encrypted
B.Confidentiality is compromised as old ciphertext can be reused to infer patterns ✅
C.Integrity is affected but confidentiality is not
D.Availability is the only affected property
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: When a protocol omits fresh nonces, an attacker can capture a ciphertext and later replay it. Although the data stays encrypted, the reuse of identical ciphertext allows the attacker to observe repeated patterns and potentially correlate them with known events, weakening confidentiality. The attack does not directly alter data (integrity) nor exhaust resources (availability), making confidentiality the most probable victim.

Q6. Apply the principle of defense in depth: how does integrating both cryptography and steganography enhance confidentiality in a multi‑layered security architecture?

A.It doubles the key length
B.It provides both encryption and concealment ✅
C.It eliminates the need for authentication
D.It prevents denial‑of‑service attacks
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Combining cryptography with steganography offers two complementary layers: encryption secures the content, and steganography masks the fact that encrypted data is being transmitted. This dual approach makes it harder for adversaries to detect and target the communication, thereby strengthening overall confidentiality within a defense‑in‑depth strategy.

Q7. Synthesize a scenario where an organization uses a modern stream cipher for real‑time video transmission, but an attacker performs traffic analysis. How can the organization mitigate the confidentiality breach while maintaining low latency?

A.Switch to a block cipher with larger blocks
B.Add padding and random delays
C.Use packet‑level encryption with additional header obfuscation ✅
D.Disable encryption to avoid analysis
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: To preserve low latency while protecting confidentiality against traffic analysis, the organization can encrypt each video packet and additionally obfuscate packet headers (e.g., randomizing sizes and timing). This packet‑level encryption with header camouflage maintains real‑time performance and reduces the information an analyst can glean from observable traffic patterns.

Q8. Which of the following best explains why denial‑of‑service attacks target availability rather than confidentiality?

A.They aim to corrupt data
B.They flood resources to prevent legitimate access ✅
C.They intercept and read messages
D.They modify encryption keys
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Denial‑of‑service attacks aim to overwhelm system resources, preventing legitimate users from accessing services, which directly impacts availability. They do not seek to read or alter data, so confidentiality remains unaffected. Consequently, the primary purpose of a DoS attack is to disrupt access rather than expose information.

🔗 Related Topics (MCQs)