CompTIA Operating Systems 5 — Questions and Answers
Question 1: Which Windows tool allows a technician to view, start, stop, and configure background services?
- Task Manager
- services.msc (Correct answer)
- msconfig
- regedit
Correct answer: services.msc
The Services console (services.msc) provides full control over Windows services including start/stop, startup type configuration, and recovery options.
Question 2: A technician needs to find which process is using a specific TCP port on a Windows machine. Which command is most helpful?
- ipconfig /all
- netstat -ano (Correct answer)
- nslookup
- tracert
Correct answer: netstat -ano
The 'netstat -ano' command lists active TCP/UDP connections with the local port, remote address, state, and the PID of the owning process.
Question 3: Which Linux filesystem type is commonly used as the default for most modern Linux distributions?
- FAT32
- ext4 (Correct answer)
- NTFS
- HFS+
Correct answer: ext4
ext4 is the fourth extended filesystem and is the default filesystem for most mainstream Linux distributions due to its journaling, performance, and reliability.
Question 4: What does the 'ipconfig /flushdns' command do on a Windows machine?
- Renews the DHCP IP address lease
- Clears the local DNS resolver cache (Correct answer)
- Resets all network adapters
- Releases the current IP address
Correct answer: Clears the local DNS resolver cache
The 'ipconfig /flushdns' command purges the local DNS cache, which can resolve name resolution issues caused by stale or incorrect cached DNS records.
Question 5: Which Windows OS feature prevents unauthorized changes by prompting the user for approval or credentials before allowing administrative actions?
- Windows Firewall
- User Account Control (UAC) (Correct answer)
- Windows Defender SmartScreen
- Credential Manager
Correct answer: User Account Control (UAC)
User Account Control (UAC) prompts users to confirm or provide administrator credentials before allowing programs to make changes that could affect the system.
Question 6: A macOS user wants to reinstall the operating system without erasing their data. Which macOS recovery option best accomplishes this?
- Erase and reinstall from macOS Recovery
- Reinstall macOS from Recovery Mode (Correct answer)
- Time Machine restore
- Internet Recovery with full erase
Correct answer: Reinstall macOS from Recovery Mode
Reinstalling macOS from Recovery Mode overlays the OS over the existing installation, preserving user data and applications while repairing system files.
Question 7: In the context of operating systems, what is a 'kernel'?
- The graphical user interface of the OS
- The core component that manages hardware resources and system calls (Correct answer)
- A type of virtual machine
- The OS installer program
Correct answer: The core component that manages hardware resources and system calls
The kernel is the core of an operating system that directly manages hardware resources, handles system calls, and mediates communication between software and hardware.
Which Windows tool allows a technician to view, start, stop, and configure background services?