🎓 BookMCQ
← Back to 11. File System Interface

📝 Other protection approaches in File System Interface (13 MCQs)

Additional Mechanisms for Protecting Stored Information

File-system protection extends beyond basic read, write, and execute permissions to include mechanisms that strengthen confidentiality, integrity, accountability, and controlled sharing. Common approaches include encryption, authentication, capability-based access, auditing, file locking, backup protection, and mandatory access-control policies. These mechanisms complement ordinary permissions by addressing different security threats and operational requirements within local and networked file systems.

Why Permission Bits Cannot Address Every Security Threat

Basic permissions determine whether an operation is authorised, but they do not necessarily protect data if storage media are stolen or privileged accounts are compromised. Multiple users may also require controlled delegation, traceable activity, and protection against unauthorised system-wide access. Additional security mechanisms address these risks through cryptographic protection, stronger identities, monitored operations, and policy enforcement.

Encryption, Capabilities and Security Auditing

Encryption transforms file contents into ciphertext that requires an authorised key for recovery. Capability-based systems use protected references that identify objects and permitted operations. Auditing records significant access events, while mandatory access control applies system-wide security policies. File locks coordinate permitted concurrent operations, and authentication establishes the identity associated with an access request.

Protecting a Confidential File on a Shared Computer

Suppose a computer stores a confidential report on a shared storage volume. File permissions restrict ordinary users, encryption protects the contents when storage is accessed without authorised keys, and auditing records access attempts. These mechanisms address different risks: permissions regulate operations, encryption protects stored data, and auditing provides evidence of activity.

Layered Security and Operational Overhead

Combining protection mechanisms reduces dependence on a single security boundary. Encryption protects data at rest, authentication verifies identities, and auditing supports accountability. However, key management, policy administration, audit storage, and cryptographic processing introduce additional costs. No single mechanism prevents every threat, and effective protection also requires secure software, reliable backups, and appropriate recovery procedures.

Distinguishing Encryption, Authentication and Authorisation

'Encryption determines which user owns a file' is incorrect because ownership is filesystem metadata. 'Authentication automatically grants permission to every file' is incorrect because authorisation separately evaluates permitted actions. 'Auditing prevents every unauthorised operation' is incorrect because it primarily records activity, although monitoring information can support detection and investigation.

Exam Focus: Comparing Complementary Protection Mechanisms

Compare encryption, authentication, authorisation, capabilities, auditing, mandatory access control, and file locking according to their purposes. Identify which mechanism protects confidentiality, verifies identity, regulates operations, or records events. Analyse scenarios involving stolen storage, unauthorised access, and concurrent modifications. Explain why layered protection provides broader security than ordinary file permissions alone.

Key Terms of Advanced File Protection

  • Encryption - Protects data using cryptography.
  • Authentication - Verifies user identity.
  • Authorisation - Determines permitted operations.
  • Capability - Protected object-access reference.
  • Auditing - Records security-related activity.
  • Mandatory access control - Enforces system-wide security policies.
2
Easy
7
Medium
4
Hard

📝 All Other protection approaches in File System Interface MCQs

Q1. What term describes a set of disks that appear as a single logical disk to the operating system?

A.Partition
B.Volume
C.RAID ✅
D.File system
💡 Difficulty: easy | ✅ Correct: C

📖 Explanation: The correct answer is RAID because it combines multiple physical disks into one logical unit, providing redundancy or performance benefits. A partition merely divides a single disk, a volume is a generic term for a storage area, and a file system defines how data is organized. RAID is the only option that creates a unified view of several disks, which is essential for protection strategies that rely on mirroring or parity.

Q2. What structure stores metadata about each file in a volume?

A.Inode
B.Device directory ✅
C.Superblock
D.Allocation table
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: A device directory (often called a volume table of contents) holds information such as file names, locations, sizes, and permissions. Inodes serve a similar purpose but are specific to Unix-like file systems; a superblock contains overall file system information, and an allocation table tracks free space. The question asks for the general metadata holder, which is the device directory, making option B the correct choice.

Q3. Why is partitioning a disk useful when multiple operating systems need to coexist on the same hardware?

A.It encrypts each OS
B.It isolates file systems ✅
C.It speeds up the CPU
D.It reduces power consumption
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Partitioning creates separate logical regions on a single physical disk, allowing each OS to have its own file system and preventing one system from accidentally overwriting another's data. Encryption, CPU speed, and power usage are unrelated to the primary benefit of isolation. Therefore, the correct answer is that partitioning isolates file systems, supporting safe multi‑OS installations.

Q4. How does using a RAID 1 set protect data compared to storing a file on a single disk?

A.RAID 1 mirrors data, providing redundancy ✅
B.RAID 1 compresses data
C.RAID 1 increases CPU speed
D.RAID 1 encrypts data
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: RAID 1 creates an exact copy of data on two disks, so if one disk fails the other still contains the same information, offering redundancy. Compression, CPU acceleration, and encryption are not inherent features of RAID 1. Hence, the mirroring property described in option A is the correct way RAID 1 protects data relative to a single‑disk scenario.

Q5. In a system where each partition uses a different file system type, what is the primary advantage of this heterogeneity?

A.Uniform performance across workloads
B.Ability to match file system features to workload ✅
C.Simplified backup procedures
D.Reduced hardware cost
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: Different file systems provide distinct features—such as journaling, snapshot capability, or support for large files—that may be better suited to particular workloads. By assigning each partition a file system that aligns with its intended use, administrators can optimize performance and reliability. Uniform performance, simplified backups, and lower hardware costs do not directly arise from using varied file systems, making option B the correct advantage.

Q6. A server has a 4‑TB disk that must store a database, logs, and a backup. The admin creates three partitions: 2 TB for the database (ext4), 1 TB for logs (XFS), and 1 TB for a RAID‑0 mirror with another disk for backups. Which statement correctly describes the protection strategy?

A.Only the backup partition is protected by mirroring ✅
B.All data is protected by RAID‑0
C.Logs are protected by partitioning
D.Database is protected by RAID‑1
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: The backup partition is the only one placed in a RAID‑0 mirror, giving it redundancy; the other two partitions reside on the single 4‑TB disk without mirroring, so they lack protection against disk failure. RAID‑0 does not provide redundancy, and there is no RAID‑1 for the database. Therefore, option A accurately reflects the implemented protection approach.

Q7. A workstation uses a solid‑state drive (SSD) and a separate HDD combined in a RAID‑5 array. If the SSD fails, what happens to the logical volume?

A.Data is lost immediately
B.The array continues operating with degraded performance ✅
C.The array automatically rebuilds using the HDD
D.The system reboots
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: RAID‑5 tolerates a single disk failure by using parity information to reconstruct missing data on the fly, allowing the volume to stay online albeit with reduced performance while the failed disk is replaced. Data is not instantly lost, and automatic rebuilding occurs only after a replacement, not instantly. Rebooting is not required, making option B the correct description.

Q8. Consider a system where a 500 GB partition is formatted with a file system that does not support sparse files, and another 500 GB partition uses a file system that does. An application creates a 200 GB sparse file on the second partition. How much physical space is initially consumed?

A.200 GB
B.Near 0 GB ✅
C.2 GB
D.100 GB
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: Sparse files allocate space only for the portions that contain actual data. Assuming a typical block size of 4 KB, a 200 GB sparse file would initially occupy roughly 200 GB4 KB×4 KB\frac{200\text{ GB}}{4\text{ KB}} \times 4\text{ KB} of real data, which is often a few gigabytes; 2 GB is a reasonable estimate. Options A and D overstate consumption, and option B suggests virtually no space, which is unrealistic for a large sparse file. Hence, 2 GB (option C) best matches expected initial usage.

Q9. A company stores sensitive logs on a volume that is part of a RAID‑1 set and also encrypts the volume. If one disk in the mirror is stolen, which security properties remain intact?

A.Confidentiality only
B.Integrity only
C.Both confidentiality and integrity ✅
D.Neither
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: Because the volume is encrypted, the data remains unreadable to an attacker, preserving confidentiality. RAID‑1 ensures that the remaining disk holds an exact copy, so the integrity of the data is also maintained. Neither confidentiality nor integrity is compromised by the theft of a single mirrored disk, making option C the correct answer.

Q10. An administrator wants to limit the impact of a corrupted file system. Which strategy best achieves isolation while still allowing the system to boot?

A.Use a single large partition
B.Create separate partitions for /, /home, and /var ✅
C.Store all data on a RAID‑0 array
D.Disable swap
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Separating critical directories into distinct partitions means that if one file system becomes corrupted, only the affected partition is compromised, while other parts of the system (including the root) can still function. A single large partition provides no isolation, RAID‑0 offers no redundancy, and disabling swap does not address file‑system corruption. Thus, option B is the optimal approach.

Q11. What is the key difference between a volume and a partition in terms of logical abstraction?

A.A volume can span multiple physical devices, a partition cannot ✅
B.A partition can span multiple devices
C.Both are identical
D.A volume is always smaller than a partition
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: A volume is an abstract storage entity that may be built from one or more physical devices (e.g., a RAID set), whereas a partition is a fixed slice of a single physical disk. This distinction allows volumes to provide greater flexibility and redundancy. The other statements either reverse the relationship or incorrectly claim equivalence. Therefore, option A correctly captures the primary logical difference.

Q12. A backup system writes incremental snapshots to a volume that is a RAID‑5 set. After three disk failures, what is the expected outcome?

A.All data is recoverable
B.Data is lost
C.Only the most recent snapshot is lost ✅
D.System continues without impact
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: RAID‑5 can tolerate only a single disk failure; the parity information cannot rebuild data after two or more failures. With three disks failed, the array collapses and the stored snapshots become unrecoverable. Options A and D incorrectly assume continued availability, and option C suggests partial loss, which is not accurate for RAID‑5 beyond its tolerance. Hence, data loss (option B) is the correct outcome.

Q13. Why might a file system store its metadata in a dedicated device directory rather than intermixing it with user data blocks?

A.To improve random access performance ✅
B.To simplify user permissions
C.To reduce power consumption
D.To increase network latency
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: Keeping metadata separate allows the system to locate file‑system structures quickly without scanning user data, which enhances random‑access speed and reduces seek times. While permissions are part of metadata, the primary benefit is performance. Power consumption and network latency are unrelated to the storage layout. Therefore, option A correctly explains the design choice.

🔗 Related Topics (MCQs)