Sample question 1 — Network Security
During an authorized assessment, a tester finds that an organization's public web server can be reached from the internal database VLAN, so a compromised web server could scan and attack internal database hosts. The web server still needs to serve public traffic. Which control best blocks that lateral path while keeping the site available?
- A. Move the database to a public subnet so its traffic no longer crosses the internal firewall rules.
- B. Disable the web server entirely and serve a static maintenance page until the assessment ends.
- C. Place the web server in a screened subnet and restrict its outbound access to only the database
- D. Log all packets between the web server and the database VLAN and review the logs each morning.
Answer: C. Option C is correct. Placing the web server in a screened subnet and restricting its outbound access to only the database ports it needs contains a compromise so the server cannot scan or reach unrelated internal hosts, while public traffic still flows. Option A is incorrect because moving the database to a public subnet increases its exposure rather than reducing it. Option B is incorrect because taking the site offline is unnecessary and does not design a lasting control. Option D is incorrect because logging alone detects activity after the fact and does not block the lateral path.
