نظام تشغيل:7 محاضرةWindows
Answers
1. What file system is `convert F: /fs:ntfs` command is used to
convert to?
A. FAT16
B. FAT32
C. NTFS
D. exFAT
Answer: NTFS (C)
The `convert` command with the `/fs:ntfs` parameter is specifically used to
convert a drive's file system to NTFS.
2. Before converting FAT32 to NTFS using the GUI method, what is
the first step you should take?
A. Right-click the flash drive.
B. Disable write caching
C. Defragment the drive
D. Run Disk Cleanup
Answer: Right-click the flash drive. (A)
The initial step in converting a flash drive from FAT32 to NTFS using the GUI
involves right-clicking the flash drive to access its properties.
3. In Windows, what command is used in the command prompt to
initiate a system file check to repair potentially corrupted system
files?
A. CHKDSK /R
B. DISM /ONLINE /CLEANUP-IMAGE /RESTOREHEALTH
C. FORMAT C: /FS:NTFS
D. SFC /SCANNOW
Answer: SFC /SCANNOW (D)
The command `sfc /scannow` is used to initiate the System File Checker, which
scans and repairs corrupted system files in Windows.
4. After running `sfc /scannow`, what might be required to fully
implement the repairs?
A. A system restart
B. A clean installation of Windows
C. A BIOS update
D. A system restore
Answer: A system restart (A)
After running the System File Checker, a system restart may be necessary to
finalize the replacement of corrupted files.
5. If `SFC /SCANNOW` fails to repair corrupted files, which command
should be used as an alternative to repair the Windows image?
A. DISM /Online /Cleanup-Image /RestoreHealth
B. TASKKILL /F /IM EXPLORER.EXE
C. CHKDSK /F
D. MSCONFIG
Answer: DISM /Online /Cleanup-Image /RestoreHealth (A)
If SFC fails, the DISM command with the `RestoreHealth` option is used to repair
or replace corrupted system images from online resources.
6. If you plan to use DISM to repair the Windows image, what is a
key prerequisite to ensure the process completes successfully?
A. Administrator privileges
B. Antivirus software disabled
C. A wired network connection
D. An active internet connection
Answer: An active internet connection (D)
Using DISM with the `RestoreHealth` option requires an active internet
connection, as it downloads replacement files from Microsoft update servers.
7. What is the initial step to create a system restore point in
Windows?
A. Run Disk Defragmenter
B. Press Ctrl+Alt+Delete
C. Open Task Manager
D. Search for 'Create a restore point' in Settings
Answer: Search for 'Create a restore point' in Settings (D)
To start creating a system restore point, the first step is to search for 'Create a
restore point' in the Windows Settings.
8. Once you locate the System Restore function, what action is
required to initiate the creation of a restore point?
A. Click 'Scan for affected programs'
B. Select a previous restore point
C. Choose 'Recommended restore'
D. Click the 'Create' button
Answer: Click the 'Create' button (D)
After locating the 'System Restore' settings, clicking the 'Create' button starts the
process of making a new system restore point.
9. When the system is not starting normally, how can you access the
Advanced startup options to initiate a system restore?
A. Remove the battery
B. Press F1 during startup
C. Press Ctrl + Alt + Del repeatedly
D. Press Shift + F8 or F8 during startup
Answer: Press Shift + F8 or F8 during startup (D)
When a system fails to boot, pressing Shift + F8 or F8 during startup can lead to
the Advanced startup options, allowing for system restoration.
10. In the Advanced startup options, which path is typically followed
to start System Restore when the system fails to boot?
A. Command Prompt > SFC /scannow
B. Troubleshoot > Advanced options > System Restore
C. UEFI Firmware Settings
D. Startup Settings > Safe Mode
Answer: Troubleshoot > Advanced options > System Restore (B)
The correct path when a system doesn't boot is Troubleshoot > Advanced
options > System Restore to initiate the restoration process.
11. What is the first step to disable non-essential programs from
starting up with Windows using `msconfig`?
A. Search for 'Startup Apps' in Settings
B. Run `CMD` as administrator
C. Press Windows + R and type `msconfig`
D. Open Task Manager directly
Answer: Press Windows + R and type `msconfig` (C)
To begin disabling startup programs via msconfig, press Windows + R, then type
`msconfig` and press Enter to open the System Configuration utility.
12. After opening the System Configuration using `msconfig`, which
tab contains the list of programs that start with Windows?
A. Startup
B. Boot
C. Services
D. General
Answer: Startup (A)
The 'Startup' tab in the System Configuration utility lists programs that launch
during Windows startup.
13. In the Startup tab of MSConfig, how do you transition to Task
Manager to disable startup programs?
A. Click 'Open Task Manager'
B. Select each program and click 'Properties'
C. Click 'Disable all'
D. Right-click and select 'Disable'
Answer: Click 'Open Task Manager' (A)
In the Startup tab in MSConfig, you must click the button that says `Open Task
Manager` to transition to the task manager.
14. To remove a program that cannot be uninstalled normally via
settings, what command can be used in PowerShell to list all
installed applications?
A. Show-InstalledApps
B. Remove-AppxPackage
C. Get-AppxPackage | Select Name, PackageFullName
D. Get-AppxPackage *
Answer: Get-AppxPackage | Select Name, PackageFullName (C)
`Get-AppxPackage | Select Name, PackageFullName` in PowerShell lists all
installed applications along with their full package names, necessary for
removal.
15. What account permissions are required to run the PowerShell
command `Get-AppxPackage | Select Name, PackageFullName`
effectively?
A. Standard user
B. Administrator
C. Guest account
D. Power user
Answer: Administrator (B)
To effectively use the `Get-AppxPackage` command, PowerShell must be run
with Administrator privileges to access all application details.
16. What information do you need from the `Get-AppxPackage`
command to remove a specific application using PowerShell?
A. The PackageFullName
B. The installation date
C. The IP address of the server hosting the application
D. The application's display name
Answer: The PackageFullName (A)
To remove an application using PowerShell, you need its PackageFullName,
which uniquely identifies the application package.
17. After you identify the “PackageFullName”, which PowerShell
command do you use to uninstall the package? (Replace
`packagename` with the appropriate information.)
A. Delete-AppxPackage “packagename”
B. Remove-AppxPackage “packagename”
C. Erase-AppxPackage “packagename”
D. Uninstall-AppxPackage “packagename”
Answer: Remove-AppxPackage “packagename” (B)
The command `Remove-AppxPackage` followed by the application's package
name uninstalls the specified application from the system.
18. What Windows tool is used to scan for malware using the
command line?
A. DefenderUI.exe
B. MpCmdRun.exe
C. MSASCui.exe
D. Taskmgr.exe
Answer: MpCmdRun.exe (B)
`MpCmdRun.exe` is the command-line tool associated with Windows Defender,
used for running scans and managing malware detection.
19. In the command `"ProgramFiles%\Windows
Defender\MpCmdRun.exe" -Scan -%"`, what does the `-Scan`
parameter signify?
A. It excludes certain file types from the scan.
B. It specifies the type of scan to perform.
C. It sets the priority of the scan process.
D. It defines the scan timeout duration.
Answer: It specifies the type of scan to perform. (B)
The `-Scan` parameter in the `MpCmdRun.exe` command specifies that a scan
should be performed, with additional parameters determining the type of scan.
20. In the command `"ProgramFiles%\Windows
Defender\MpCmdRun.exe" -Scan -%" ScanType 2`, What type of scan
does `ScanType 2` perform?
A. Offline Scan
B. Custom Scan
C. Full Scan
D. Quick Scan
Answer: Full Scan (C)
`ScanType 2` indicates a full system scan, checking all files and running
processes for malware.