nerdexam
CompTIACompTIA

XK0-005 · Question #267

XK0-005 Question #267: Real Exam Question with Answer & Explanation

The correct answer is D: It allows the administrator to interact with the character device connected to USB0.. The screen /dev/USB0 command opens a terminal session that connects to the specified serial port, allowing direct interaction with a device attached via a USB-to-serial adapter. This is commonly used for console access to network equipment.

Troubleshooting

Question

A systems administrator is using a Linux laptop to troubleshoot network devices. The administrator runs the following command: # screen /dev/USB0 Which of the following does this command MOST likely accomplish?

Options

  • AIt copies the network traffic from the device connected to USB0 and screens out rejected traffic.
  • BIt logs all troubleshooting output from the monitor to external USB0 storage.
  • CIt monitors USB0 waiting for a network device to be connected to it as an Ethernet device.
  • DIt allows the administrator to interact with the character device connected to USB0.

Explanation

The screen /dev/USB0 command opens a terminal session that connects to the specified serial port, allowing direct interaction with a device attached via a USB-to-serial adapter. This is commonly used for console access to network equipment.

Common mistakes.

  • A. The screen command does not inherently copy or screen network traffic; it manages terminal sessions or serial connections.
  • B. While screen can log output, its primary function with a device path is to establish an interactive connection, not just log to external storage.
  • C. The command immediately attempts to connect to the specified device and does not monitor for a connection or treat it as an Ethernet device.

Concept tested. Linux serial console interaction via screen command

Reference. https://man7.org/linux/man-pages/man1/screen.1.html

Topics

#GNU Screen utility#Linux character devices#Serial console access#Network troubleshooting

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions