š Volume management and fault tolerance in window 7 (19 MCQs)
Managing Basic and Dynamic Storage Volumes
Windows 7 volume management organises physical disks into logical storage areas that can be formatted with filesystems such as NTFS. Disk Management supports basic partitions and dynamic disk volumes, including simple, spanned, striped, and mirrored configurations where supported. Fault-tolerant arrangements use redundancy so selected disk failures do not immediately destroy access to all stored data.
Why Logical Volumes Need Flexible Allocation
Physical disks may need to be combined, partitioned, resized, or arranged for performance and availability. Fixed partitions can limit flexibility when storage requirements change. Dynamic volumes provide additional organisation methods, but their suitability depends on edition support, disk configuration, and the desired balance between capacity, performance, and redundancy.
Simple, Spanned, Striped and Mirrored Volumes
A simple volume occupies one dynamic disk. A spanned volume combines space from multiple disks, while a striped volume distributes data across disks for performance without redundancy. A mirrored volume maintains duplicate copies on separate disks, allowing continued access after a supported single-disk failure.
Example of a Mirrored Volume
An administrator creates a mirrored volume using two 500 GB dynamic disks. The same data is written to both members, so the usable mirrored capacity is approximately 500 GB rather than 1 TB. If one disk fails, the surviving mirror can continue providing the data while repair is arranged.
Capacity, Performance and Fault Tolerance Trade-Offs
Striping can improve throughput, while mirroring improves availability at the cost of usable capacity. Spanning increases logical volume size but does not provide redundancy. Windows 7 client editions support a narrower feature set than Windows Server products, so advanced RAID arrangements must not be assumed available on every Windows 7 installation.
Misconceptions About Windows Volume Management
'A spanned volume is fault tolerant' is false because it lacks duplicate data. 'A striped volume protects against disk failure' ignores its dependence on every member disk. 'Mirroring doubles usable capacity' is incorrect because identical data occupies both members.
Exam Focus: Comparing Dynamic Volume Types
Compare simple, spanned, striped, and mirrored volumes by layout, performance, usable capacity, and fault tolerance. Calculate the usable capacity of a two-disk mirror and distinguish it from striping. Questions may ask which arrangement survives one disk failure or why volume availability does not replace independent backups.
Key Terms of Windows Volume Management
- Basic disk - Uses standard partition structures.
- Dynamic disk - Supports Windows dynamic volumes.
- Spanned volume - Combines space across disks.
- Striped volume - Distributes data across disks.
- Mirrored volume - Maintains duplicate data copies.
š All Volume management and fault tolerance in window 7 MCQs
Q1. A process with a 200āÆMB working set receives a hard limit of 150āÆMB. During a period of high CPU activity, the VM manager must trim pages. Which action best follows the managerās policy for trimming?
š Explanation: Option B is correct because the VM manager ages pages based on their last reference and removes the oldest unreferenced ones first, ensuring that only pages not recently used are trimmed while keeping the working set above the hard limit when possible. Option A is wrong; the policy does not target the newest pages. Option C is incorrect since trimming is not random. Option D is inaccurate because trimming can occur even when memory is not critically low if a hard limit is set. This reflects the managerās goal to preserve active data while respecting limits.
Q2. A page-file PTE contains a 32ābit offset field and a 4ābit pagingāfile selector. If the offset stored is 0x00A3F5C0 and the selector bits are 0110, what is the byte location on disk for this page assuming each paging file starts at byte 0?
š Explanation: Option B is correct because the 32ābit offset field directly gives the byte position within the selected paging file, and the selector bits 0110 represent the decimal valueāÆ6, indicating paging fileāÆ6. Thus the page resides at byteāÆ0x00A3F5C0 in that file. Option A uses the wrong file number (3). Option C assumes a selector ofāÆ0, which is not the case. Option D suggests a file numberāÆ12, exceeding the 4ābit range (maxāÆ15) but not matching the selector. Understanding the bit fields lets the system locate pages accurately, which is essential for fault recovery.
Q3. Why does Windows use a perāworkingāset leastārecentlyāused (LRU) replacement policy instead of a global LRU?
š Explanation: Option A is correct because a perāworkingāset LRU only examines pages belonging to a single process, reducing the amount of data the VM manager must scan and thus lowering CPU overhead. Option B is wrong; paging file size does not depend on the replacement policy. Option C is inaccurate because equal memory distribution is not guaranteed by the policy. Option D is false because a global LRU can track references, but it is more costly. The perāprocess approach balances performance with fairness, fitting Windowsā design goals.
Q4. How many bits are allocated for the pageāfile offset in a pageāfile PTE?
š Explanation: The pageāfile offset field stores the location of the page on disk, and the specification defines it as 32 bits wide. Therefore optionāÆA is correct. OptionsāÆB,āÆC, andāÆD refer to other fields: 20 bits are reserved for bookkeeping, 5 bits hold protection flags, and 4 bits select the paging file. Knowing the bit allocation helps the OS locate pages efficiently during paging operations.
Q5. What does it indicate when the T, P, and V bits are all zero in a pageāfile PTE?
š Explanation: When T (transition), P (present), and V (valid) bits are zero, the entry describes a page that is not currently in physical memory and has not been modified, so it is not dirty. OptionāÆB captures this meaning. OptionāÆA is opposite (page would be present), optionāÆC describes a lock state not encoded by these bits, and optionāÆD is unrelated to paging structures. This interpretation guides the VM manager when deciding whether to read the page from disk.
Q6. Why does Windows prefer a perāworkingāset LRU replacement policy instead of a single global LRU for all processes?
š Explanation: A perāworkingāset LRU keeps age information local to each process, so the OS does not need to lock a global list each time a page is referenced, reducing contention and improving scalability. OptionāÆA states this benefit. OptionāÆB is false because memory is allocated based on demand, not equality. OptionāÆC misrepresents the policyās purpose, and optionāÆD is unrelated to replacement strategy. Understanding this design explains why trimming can be done independently per process.
Q7. Process A has a hard workingāset limit of 200āÆMB while Process B has no limit. Both are running on a system with 4āÆGB RAM and 3āÆGB free. Which outcome is most likely when memory pressure increases?
š Explanation: When memory becomes scarce, the VM manager first enforces hard limits; ProcessāÆA cannot exceed 200āÆMB, so its pages are candidates for trimming regardless of overall free memory. OptionāÆA reflects this rule. OptionāÆB reverses the priority, optionāÆC suggests equal treatment which ignores hard limits, and optionāÆD is incorrect because the system will still trim to protect overall stability. This scenario shows how hard limits drive trimming decisions.
Q8. A process has 150 pages in its working set. The VM manager increments the age of pages not referenced in the last pass. If 30 pages have ageāÆ3, 50 pages have ageāÆ2, and the rest have ageāÆ1, and the system decides to trim pages with ageāÆā„āÆ2, how many pages will be removed?
š Explanation: Pages with ageāÆ3 and ageāÆ2 are eligible for trimming. Adding them gives pages, so optionāÆC is correct. OptionāÆA counts only the ageā3 pages, optionāÆB counts only the ageā2 pages, and optionāÆD exceeds the total eligible pages. This calculation demonstrates how the VM manager uses age thresholds to decide which pages to evict under pressure.
Q9. How do the 5 bits reserved for page protection in a pageāfile PTE affect the handling of a page that has been written to?
š Explanation: The protection bits remember the access rights (read, write, execute) that were in effect before the page was swapped out, allowing the OS to restore those rights when the page is read back. Hence optionāÆB is correct. OptionāÆA misstates the purpose, optionāÆC confuses protection with the dirty flag (which is separate), and optionāÆD incorrectly claims the bits are unused. Proper handling of these bits ensures security and correctness after paging.
Q10. Suppose a server runs two virtual machines, VMāX and VMāY. VMāX has a workingāset limit of 1āÆGB and currently uses 800āÆMB with 200āÆMB of pages agedāÆ4. VMāY has no limit and uses 1.2āÆGB with all pages agedāÆ1. If the system must free 300āÆMB, which set of pages will the VM manager likely select for trimming?
š Explanation: Because VMāX has a hard limit and contains the oldest pages (ageāÆ4), the manager will first trim those 200āÆMB. To reach the required 300āÆMB, it will continue trimming the next oldest pages from VMāX, which are at ageāÆ2, adding another 100āÆMB. OptionāÆD matches this behavior. OptionāÆA mixes in VMāY pages despite younger age, optionāÆB cannot supply enough memory, and optionāÆC ignores the hardālimit priority. This illustrates how age and limits guide trimming under severe pressure.
Q11. What is the primary reason the VM manager increments page ages only for pages that have not been marked as referenced since the last pass?
š Explanation: The VM manager uses the reference bit to detect recent activity; pages not referenced are considered unused and have their age increased, making them more likely to be evicted. This keeps frequently accessed pages in memory. OptionāÆB captures this logic. OptionāÆA is opposite, optionāÆC suggests randomness which is not used, and optionāÆD introduces an unrelated RAID concept. Recognizing this mechanism explains why recent usage protects pages from being trimmed.
Q12. What is the primary purpose of sector sparing in storage devices?
š Explanation: Sector sparing exists to keep a drive usable after a physical defect appears. When a sector becomes unreadable, the controller swaps it with a preāallocated spare sector, so the logical address still maps to a good location. This does not affect speed, compression, or encryption, so options A, C, and D are incorrect. In real systems, sparing lets users continue normal operation despite isolated defects.
Q13. Why does cluster remapping usually provide better data integrity than simple sector replacement?
š Explanation: Cluster remapping groups a set of contiguous bad sectors into a larger logical unit that can be redirected to a healthy area, preserving the relationship among neighboring blocks. Simple sector replacement only fixes one location and may leave surrounding data vulnerable. Encryption (option D) is unrelated, and spreading data across drives (option A) describes RAID, not remapping. Grouping bad sectors (option B) is part of remapping, but the integrity gain comes from maintaining logical continuity, which is why C is correct.
Q14. How does sector sparing influence wearāleveling strategies in solidāstate drives (SSDs)?
š Explanation: When a SSD marks a block as bad, sector sparing provides a spare block that can be written to later. Wearāleveling algorithms can then include these spares in their rotation, spreading erase cycles more evenly across the device. Ignoring spares (A) would shorten lifespan, and claiming reduced wearāleveling need (B) is false because the drive still requires balanced usage. Saying there is no effect (D) ignores the practical role spares play, making C the correct answer.
Q15. A hard drive reports three consecutive bad sectors. Which technique should the controller use to preserve usable capacity?
š Explanation: When bad sectors appear consecutively, the simplest method is to replace each with its own spare sector, a process known as sector sparing. Cluster remapping (option B) is more appropriate for larger groups or when spares are scarce, but using individual spares maintains the original logical layout. Reformatting (C) would erase all data, and ignoring the defects (D) would cause data loss, so option A is the correct, practical response.
Q16. After a firmware update, the logicalātoāphysical mapping of a drive changes. Which method ensures previously spared sectors remain correctly referenced?
š Explanation: Firmware updates can alter how logical addresses map to physical locations, but the drive must still know where its reserved spares reside. A translation layer (option C) preserves the relationship by converting old spare identifiers to the new physical addresses. Reāinitializing spares (A) would lose the history of which sectors were bad. A full scan (B) is costly and unnecessary for just the spares, and deleting spares (D) would expose the system to unrecoverable errors. Therefore, option C correctly maintains continuity.
Q17. Which statement best describes the performance tradeāoff when using sector sparing versus cluster remapping?
š Explanation: Sector sparing swaps a single bad sector with a spare, so the access time change is negligible. Cluster remapping, however, redirects an entire group of sectors, potentially causing the controller to handle larger, less optimal regions, which can raise latency for reads and writes. Options B and D exaggerate the effects, and C ignores the differing overheads. Thus, option A accurately captures the realāworld performance implications.
Q18. In SMART reporting, how is a sectorāsparing event distinguished from a remappedācluster event, and what does each indicate about drive health?
š Explanation: SMART defines separate attributes: āReallocated_Sector_Countā tracks individual sectors replaced via sparing, while āReallocated_Event_Countā records larger remapping actions such as cluster remapping. Therefore, a rise in the former signals isolated defects, whereas an increase in the latter suggests more extensive damage. Options A and B mix unrelated attributes, and D is incorrect because SMART does differentiate the events. Understanding this distinction helps technicians assess whether a drive is experiencing minor wear or a systemic failure.
Q19. Design a storage system that must tolerate up to sector failure without noticeable performance loss. Which combination of sector sparing and cluster remapping best meets this requirement?
š Explanation: To handle up to faulty sectors while keeping performance steady, the system should employ both techniques: sector sparing quickly replaces isolated bad blocks, preserving normal access patterns, while cluster remapping efficiently deals with groups of adjacent failures, preventing largeāscale fragmentation. Option A arbitrarily splits the failure range, which may not match actual defect patterns. Exclusively using cluster remapping (B) could increase latency, and reserving a large spare pool (C) wastes capacity. Hence, option D offers the balanced, realāworld solution.