CompTIA Linux+ (XK0-004) — Question 256

A network administrator requested a change in workstation routing to a new access point.
Which of the following will display the current settings for wlan0 and set the new access point name to lab?

Answer options

Correct answer: B

Explanation

The correct answer is B because 'iwconfig wlan0' shows the current settings for the wlan0 interface, and 'iwconfig essid lab' sets the access point name to lab. Option A does not specify the interface, C uses the wrong syntax for setting the ESSID, and D incorrectly combines display and setting commands.