
EC-CouncilWeb Application Hacking and Security
Domain 6Objective 2
Directory Browsing and Bruteforcing WAHS Practice Questions (Page 2)
Part of the Security Misconfiguration domain, which makes up ~13% of our current practice bank. EC-Council does not publish an official question count, but from its 360-minute exam (~145–240 total, ~19–31 in this domain), expect 6–10 from this objective — we provide 42 practice questions to prepare you well beyond it. (estimate)
42questions here
9free pages
6concepts
Questions 6–10
- 6
A developer is configuring an Apache web server for a new application. The application needs to serve user-uploaded images from the /media/ directory. The developer wants to ensure that users cannot see a listing of all uploaded files but can still access individual files by their exact URL. Which configuration should the developer apply?
Select an answer first - 7
A system administrator is configuring a new Nginx web server. The administrator wants to ensure that directory listings are disabled by default for all locations. Which configuration directive should be used?
Select an answer first - 8
A penetration tester is assessing a web application and discovers that the /admin/ directory returns a 403 Forbidden error. However, when the tester requests /admin/backup/, the server responds with a directory listing that includes files such as 'users.sql' and 'config.php.bak'. The tester wants to identify additional hidden directories that may not be linked from the application. Which approach is most effective for this purpose?
Select an answer first - 9
A system administrator is hardening an IIS web server. The server hosts multiple applications, and some directories should not be browsable. The administrator wants to disable directory browsing for the entire server while ensuring that applications can still serve their default documents. Which configuration change should be made?
Select an answer first - 10
Why is directory browsing considered a security risk for a web application?
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. “WAHS” is a trademark of its owner, used for identification only.