OPS-1 through OPS-10, OS-2, OS-3 went from 5 → 15. OS-1, OS-4 through OS-11, SEC-1 through SEC-11, TRB-1 through TRB-4 went from 7 → 15. Questions cover exam-weight scenarios not duplicated from original content. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2.6 KiB
OS-4 Quiz: Windows Command Line
Take this after studying notes/OS-4-windows-command-line.md.
Reply with answers like:
1B 2A 3D 4C 5B 6A 7D
Questions
- Which command shows detailed Windows network adapter information, including DNS and DHCP details?
A. ping
B. hostname
C. winver
D. ipconfig /all
- A user can ping
8.8.8.8but cannot browse toexample.com. Which command should the technician use to test DNS resolution?
A. chkdsk /f
B. gpupdate /force
C. nslookup example.com
D. format
- Which command shows active connections, listening ports, and process IDs?
A. sfc /scannow
B. netstat -ano
C. dir
D. whoami
- Which command scans protected Windows system files and repairs them when possible?
A. tracert
B. net use
C. pathping
D. sfc /scannow
- Which command forces Group Policy to refresh on a Windows system?
A. gpupdate /force
B. gpresult /r
C. winver
D. hostname
- Which command-line tool can manage partitions and is dangerous if misused?
A. whoami
B. nslookup
C. diskpart
D. help dir
- Which command displays syntax help for many Windows commands?
A. ..
B. /?
C. 127.0.0.1
D. C:
- Which command checks and repairs disk errors on a drive?
A. sfc /scannow
B. netstat -ano
C. chkdsk /f
D. gpresult /r
- A technician wants to see the path network packets take to a remote host. Which command is best?
A. hostname
B. whoami
C. tracert
D. net use
- Which command maps a network drive to a drive letter?
A. diskpart
B. net use Z: \\server\share
C. gpupdate
D. sfc
- A PC needs an immediate shutdown. Which command achieves this?
A. shutdown /r /t 0
B. shutdown /s /t 0
C. gpupdate /force
D. sfc /scannow
- Which command repairs the Windows boot record when a system cannot start?
A. chkdsk /r
B. diskpart
C. bootrec /fixmbr
D. netstat -ano
- What does
DISM /Online /Cleanup-Image /RestoreHealthdo?
A. Formats the system drive
B. Repairs the Windows component store using Windows Update
C. Forces a Group Policy refresh
D. Stops all running services
- Which command terminates a running process by its process ID?
A. net stop
B. gpresult /r
C. taskkill /PID <id> /F
D. sfc /scannow
- Which command releases the current DHCP lease on a Windows machine?
A. ipconfig /renew
B. ipconfig /flushdns
C. ipconfig /release
D. ipconfig /all
Answer Key For Instructor
- D
- C
- B
- D
- A
- C
- B
- C
- C
- B
- B
- C
- B
- C
- C