CompTIA Security+ (SY0-701) — Question 97
A visitor plugs a laptop into a network jack in the lobby and is able to connect to the company's network. Which of the following should be configured on the existing network infrastructure to best prevent this activity?
Answer options
- A. Port security
- B. Web application firewall
- C. Transport layer security
- D. Virtual private network
Correct answer: A
Explanation
Port security is the correct solution because it restricts the devices that can connect to a switch port, preventing unauthorized access. The other options, such as a web application firewall and transport layer security, do not directly manage physical device access to the network, and a virtual private network primarily secures remote connections rather than local access control.