CompTIA Security+ (SY0-501) — Question 652

A network technician discovered the usernames and passwords used for network device configuration have been compromised by a user with a packet sniffer.
Which of the following would secure the credentials from sniffing?

Answer options

Correct answer: B

Explanation

Using SSH for remote access encrypts the data transmitted over the network, including usernames and passwords, thus protecting them from being captured by a packet sniffer. In contrast, implementing complex passwords does not prevent interception, configuring SNMPv2 does not provide encryption, and TFTP transmits data in plain text without encryption, making it insecure.