📝 Recovery in window 7 (12 MCQs)
Restoring Windows System Operation After Failure
Recovery in Windows 7 includes mechanisms for repairing startup problems, restoring system configuration, recovering files, and returning a computer to an operational state after software or hardware failure. Facilities include Startup Repair, System Restore, backup and recovery tools, Safe Mode, and filesystem journaling. Each addresses different failure categories and offers different levels of restoration.
Why Different Failures Need Different Recovery Methods
A damaged boot configuration requires different treatment from a deleted document or corrupted system file. No single recovery facility restores every type of information. Windows separates startup repair, configuration restoration, file backup, and filesystem recovery so administrators can choose an appropriate response to the failure.
Startup Repair, System Restore and Backup Recovery
Startup Repair analyses selected startup problems. System Restore can return system files, drivers, and registry settings to an earlier restore point. Windows Backup restores backed-up files and system images, while NTFS journaling recovers selected filesystem metadata after an interrupted transaction.
Example of Recovering After a Faulty Driver Update
A newly installed driver causes Windows to fail during normal startup. The user enters the recovery environment and selects System Restore to return system configuration to a point before installation. Windows restores affected system settings and drivers, although personal files and recent data still require separate backup protection.
Recovery Coverage and Data Loss Risks
Recovery tools improve system availability and reduce repair time. Restore points do not replace complete backups, and System Restore does not guarantee recovery of personal documents. Hardware failure, malware, damaged storage, or missing recovery media may prevent successful restoration, so regular independent backups remain necessary.
Misconceptions About Windows Recovery
'System Restore is identical to a full system image backup' is false because their coverage differs. 'Startup Repair restores every deleted document' ignores its focus on boot problems. 'NTFS journaling recovers files deleted by a user' is incorrect because journaling primarily protects filesystem consistency.
Exam Focus: Matching Recovery Tools to Failures
Distinguish Startup Repair, System Restore, file backup, system image recovery, Safe Mode, and NTFS journaling. Given a failure, select the appropriate recovery method and explain its scope. Questions may ask why restore points are not backups or how startup recovery differs from file restoration.
Key Terms of Windows Recovery
- Startup Repair - Diagnoses selected boot problems.
- System Restore - Restores selected system configuration.
- Restore point - Saved system configuration state.
- System image - Backup of a complete system volume.
- Safe Mode - Starts Windows with limited drivers and services.
📝 All Recovery in window 7 MCQs
Q1. What does a zero value in the valid bit of a page‑table entry indicate?
📖 Explanation: A zero valid bit tells the operating system that the page is not present in RAM, so any access causes a page‑fault and the page must be brought in from the page file or another source. The other options describe protection or sharing attributes, which are controlled by different bits. Recognizing the meaning of the valid bit helps understand why a fault occurs and how the system recovers the needed data.
Q2. Why does Windows increment the age of pages that have not been marked as referenced since the last sweep?
📖 Explanation: When a page’s reference bit stays clear, the system assumes the page has not been used recently. Incrementing its age flags it as a candidate for removal during a trimming operation, freeing physical memory for active pages. The other choices describe unrelated behaviors: cache locking, dirty status, and protection changes, none of which are driven by the aging mechanism.
Q3. A process has a working set of 150 MB and the system is low on memory. The VM manager must trim 30 MB from this process. Which pages will be removed first?
📖 Explanation: The trimming algorithm targets pages that have the greatest age because they have not been referenced for the longest time, making them the best candidates for eviction. Recently referenced pages are kept to preserve performance, and protected or locked pages are typically exempt from trimming. Selecting the oldest pages aligns with the LRU policy and ensures minimal impact on active work.
Q4. If the page‑file offset field is 32 bits and each page is 4 KB, what is the maximum number of distinct pages that can be addressed?
📖 Explanation: A 32‑bit offset counts bytes, so the total addressable space is bytes. Dividing by the page size of 4 KB ( bytes) yields pages. The other options represent larger numbers that would require more offset bits than are available. Understanding this calculation shows how the offset field limits the number of pages the OS can track in the page file.
Q5. How does the per‑working‑set LRU policy differ from a global LRU policy in terms of page‑replacement decisions?
📖 Explanation: A per‑working‑set LRU keeps separate age counters for each process, allowing the system to trim pages that are idle within that specific process rather than affecting other processes. This isolation prevents one heavy user from causing unrelated processes to lose pages. The other choices describe inaccurate behaviors: focusing on a single process, ignoring references, or selecting pages randomly, none of which reflect the per‑process LRU strategy.
Q6. A Windows 7 system has a process whose working set is growing rapidly despite ample RAM. Which VM‑manager behavior will most likely improve overall system responsiveness?
📖 Explanation: Even when memory is plentiful, Windows 7 may still trim a fast‑growing working set to keep the system responsive for other applications. Trimming removes older pages from that process, freeing RAM for more active tasks. Raising limits or disabling trimming would worsen responsiveness, and adding a dedicated paging file does not directly address the immediate need to rebalance memory usage.
Q7. During a periodic sweep, a page’s reference bit is cleared but its age counter is not incremented. What does this indicate about the page’s recent activity?
📖 Explanation: If the reference bit is cleared yet the age does not increase, the page must have been referenced again after the sweep, causing the reference bit to be set and preventing the age increment. This shows the page is still in active use. The other options describe states unrelated to the observed combination of reference and age behavior.
Q8. What is the purpose of the 4 bits that select the paging file in a page‑file PTE?
📖 Explanation: Windows can maintain more than one paging file, and the 4‑bit field tells the OS which file contains the stored page. This enables flexible storage across different drives. The other options refer to functions handled by other fields: physical frame numbers, protection bits, and dirty flags, none of which are encoded in the paging‑file selector.
Q9. A system with 8 GB RAM experiences a sudden memory pressure spike. The VM manager decides to trim 10 % of each process’s working set. Process X has a working set of 2 GB with an average page age of 5 sweeps. Which action will most likely be taken for Process X?
📖 Explanation: When trimming, the manager prefers the oldest pages because they have not been used recently. An average age of 5 sweeps means many pages meet or exceed that threshold, so those pages are prime candidates for removal. Newer pages are kept to preserve performance, random removal would be inefficient, and locked pages are typically exempt from trimming.
Q10. An administrator configures a hard limit of 500 MB for a critical service. The service’s working set has grown to 600 MB while the system still has free memory. What will the VM manager do?
📖 Explanation: A hard limit caps the amount of physical memory a process may use regardless of overall system availability. When the service exceeds 500 MB, the VM manager will trim the excess pages to enforce the limit, ensuring fairness and preventing a single process from monopolizing memory. The other options either ignore the limit, adjust it without policy, or take extreme actions not required by the hard‑limit rule.
Q11. Why does Windows encode a pointer to the section object in PTEs for pages mapped through section objects?
📖 Explanation: Section objects represent memory‑mapped files or images. Storing a pointer to the section object in the PTE allows the OS to instantly find the file or image that backs a given page, facilitating fast fault handling and sharing. The other choices describe unrelated functions: protection bits are separate, paging is still allowed, and dirty status is tracked elsewhere.
Q12. Explain how the 20 reserved bits in a page‑file PTE could be utilized by the OS without affecting existing functionality.
📖 Explanation: Reserving bits gives the operating system room to add new features, such as flags for predictive paging, compression status, or security tags, without altering the current layout. Because these bits are not interpreted by existing code, adding meaning to them does not break compatibility. The other options assign specific, currently unsupported purposes that would require redesign of the PTE handling.