comptia-a-plus-core2/quizzes/OS-4-quiz.md

1.3 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

  1. Which command shows detailed Windows network adapter information, including DNS and DHCP details?

A. ping
B. hostname
C. winver
D. ipconfig /all

  1. A user can ping 8.8.8.8 but cannot browse to example.com. Which command should the technician use to test DNS resolution?

A. chkdsk /f
B. gpupdate /force
C. nslookup example.com
D. format

  1. Which command shows active connections, listening ports, and process IDs?

A. sfc /scannow
B. netstat -ano
C. dir
D. whoami

  1. Which command scans protected Windows system files and repairs them when possible?

A. tracert
B. net use
C. pathping
D. sfc /scannow

  1. Which command forces Group Policy to refresh on a Windows system?

A. gpupdate /force
B. gpresult /r
C. winver
D. hostname

  1. Which command-line tool can manage partitions and is dangerous if misused?

A. whoami
B. nslookup
C. diskpart
D. help dir

  1. Which command displays syntax help for many Windows commands?

A. ..
B. /?
C. 127.0.0.1
D. C:

Answer Key For Instructor

  1. D
  2. C
  3. B
  4. D
  5. A
  6. C
  7. B