Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
EC-Council logo

EC-CouncilWeb Application Hacking and Security

Domain 5Objective 3

HTTP Security Header Directives WAHS Practice Questions (Page 1)

Part of the Cryptographic Failures and Transport Security domain, which makes up ~11% of our current practice bank. EC-Council does not publish an official question count, but from its 360-minute exam (~145–240 total, ~16–26 in this domain), expect 5–9 from this objective — we provide 34 practice questions to prepare you well beyond it. (estimate)

34questions here
7free pages
10concepts

Questions 1–5

  1. 1expert · hard

    A security engineer is reviewing the response headers of a production web application. They see the following headers: 'Content-Security-Policy: default-src 'self'; script-src 'self' https://cdn.example.com' and 'Strict-Transport-Security: max-age=31536000'. The application also uses inline scripts for critical functionality. What is the most likely issue?

    Select an answer first
  2. 2foundation · easy

    What is the purpose of the Permissions-Policy header?

    Select an answer first
  3. 3application · easy

    A file-sharing site allows users to upload documents and then serves them with a Content-Type header based on the file extension. A security auditor warns that browsers might interpret an uploaded HTML file as a different MIME type, leading to stored XSS. Which header should the site add to its responses to prevent this?

    Select an answer first
  4. 4foundation · easy

    Which of the following is a best practice when implementing HTTP security headers?

    Select an answer first
  5. 5expert · hard

    A developer is configuring CORS for an API that supports both a web frontend at https://app.example.com and a mobile app. The mobile app does not send an Origin header. The API currently returns 'Access-Control-Allow-Origin: *'. The team wants to allow the web frontend to send credentials (cookies) but does not want to break the mobile app. What is the best approach?

    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.