nerdexam
Exams220-1002Questions#614
CompTIA

220-1002 · Question #614

220-1002 Question #614: Real Exam Question with Answer & Explanation

The correct answer is B: Use the petsh command to reset the workstation adapter. Then use the ipconfig /renew command. The requirement is to switch workstations from static IP addresses to DHCP-assigned addresses using only a command-line utility, without Group Policy. The netsh command (Network Shell) can programmatically set a network adapter to obtain an IP address automatically from DHCP (e.g

Question

A technician is setting up network adapter settings on Windows clients that have static IP address assignments. The technician has more than 100 workstation to complete and wants to automate the process. The requirements for the adapter settings are as follows: - They must utilize a command line utility - The technician has no access to Group Policy - All work tation should have an IP address assigned by the DHCP. Which of the following steps should the technician perform to meet these requirements?

Options

  • AUse the ipconfig/release and ipconfig /renev command to have the workstation contact the DHCP
  • BUse the petsh command to reset the workstation adapter. Then use the ipconfig /renew command
  • CUse the net use command to view active connection on the network. Then use the ipconf /renew
  • DUse the netstat command to find connections on the workstation adapter. Then use the ipconf

Explanation

The requirement is to switch workstations from static IP addresses to DHCP-assigned addresses using only a command-line utility, without Group Policy. The netsh command (Network Shell) can programmatically set a network adapter to obtain an IP address automatically from DHCP (e.g., 'netsh interface ip set address "Local Area Connection" dhcp'). After changing the adapter configuration to DHCP mode, ipconfig /renew forces the adapter to contact the DHCP server and obtain a lease. ipconfig /release and /renew (A) only work if the adapter is already configured for DHCP; they cannot switch a static-IP adapter to DHCP. net use (C) manages network share connections, not adapter IP settings. netstat (D) displays active TCP/IP connections and port information and cannot reconfigure adapter settings.

Community Discussion

No community discussion yet for this question.

Full 220-1002 Practice