
EC-CouncilEthical Hacking Essentials
Domain 6Objective 1
Web Server Attacks EHE Practice Questions (Page 7)
Part of the Web Application Attacks and Countermeasures domain, which makes up ~9% of our current practice bank.
44questions here
9free pages
4concepts
Questions 31–35
- 31
A web server is found to be vulnerable to directory traversal. The application is written in PHP and uses user input to include files. The development team wants to fix the issue without rewriting the entire application. Which countermeasure is most appropriate?
Select an answer first - 32
A security analyst is investigating a web server that is responding slowly. The analyst notices a large number of requests for a single URL, each with a different 'User-Agent' string and from different source IPs. The requests are all for a resource that requires significant CPU processing. What type of attack is this, and what is the best immediate mitigation?
Select an answer first - 33
A security audit reveals that a web server is running with default credentials on the management console, has an outdated version of the web server software, and has several unnecessary modules enabled. The server is critical and cannot be taken offline for more than 30 minutes. Which remediation plan should be prioritized?
Select an answer first - 34
A penetration tester is assessing a web server that only allows GET and POST requests. The tester sends a PUT request to upload a file, but the server responds with '405 Method Not Allowed'. The tester then sends an OPTIONS request and sees that TRACE is also listed. Which attack technique is the tester exploring, and what should the administrator do?
Select an answer first - 35
A security consultant is reviewing the attack surface of a web server that hosts a public e-commerce site. The server runs Apache, PHP, and MySQL, and has an admin panel accessible from the internet. The consultant wants to reduce the attack surface without affecting the site's functionality. Which action should the consultant recommend?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by EC-Council. “EHE” is a trademark of its owner, used for identification only.