Skip to main content

220-1202 practice question · Operating Systems

A technician wants to check a Windows PC's basic network configuration (IP address, subnet mask, default gateway) from…

A technician wants to check a Windows PC's basic network configuration (IP address, subnet mask, default gateway) from the command line, without opening any graphical settings window. What command should they run?

  • Aipconfig
  • Bdiskpart
  • Cgpupdate
  • Dchkdsk
Show the answer and explanation

Correct answer: A) ipconfig

Why each option is right or wrong

  • A) Correct. ipconfig displays the local machine's current network configuration directly in the command line, including IP address, subnet mask, and default gateway, without needing to open any graphical network settings window.
  • B) Incorrect. diskpart is a command-line disk partitioning utility, unrelated to viewing network configuration.
  • C) Incorrect. gpupdate refreshes Group Policy settings on a domain-joined machine; it doesn't display network configuration.
  • D) Incorrect. chkdsk checks a storage volume's file system for errors; it has no network configuration display function.
Exam domain
Operating Systems · 28% of 220-1202
Question type
Multiple choice (one answer)

Practise the full 220-1202 exam

This question is one of a small free sample from the CertRidge 220-1202 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with CompTIA; never copied from the real exam.