Final exam
Introduction to Ethical Hacking
Before you start
- 20 questions, drawn at random from a pool of 32.
- Pass mark: 70%. Your final score is 30% practice + 70% exam.
- No time limit, but finish within 3 hours. You can move between questions before you submit.
- Failed? Review the lessons and try again: every attempt gets a new set of questions.
Question 1 of 20Choose one
What most fundamentally distinguishes an ethical hacker from a criminal hacker?
Question 2 of 20True or false
A gray hat who finds and reports a flaw without permission is protected from prosecution because their intentions were good.
Question 3 of 20Match the pairs
Match each engagement type to its key characteristic.
Tap an answer, then tap the place where it belongs (or drag it there).
- Vulnerability scan
- Penetration test
- Red team exercise
- White-box test
Question 4 of 20Select all that apply
Which should be defined in writing before a penetration test begins? Select all that apply.
Select all that apply.
Question 5 of 20What would you do?
What would you do?
A hosting company runs servers for your client. The client signs your authorization, but the hosting company's terms forbid customers from running intrusive tests without notice. What should happen before testing?
Question 6 of 20Choose one
What is the purpose of a 90-day disclosure deadline in coordinated vulnerability disclosure?
Question 7 of 20Fill in the blanks
Fill in the blanks
A unique public identifier for a disclosed vulnerability, such as CVE-2021-44228, comes from the program, while its 0 to 10 severity score comes from .
Question 8 of 20Put in order
Arrange these penetration test activities in their usual order.
Drag the items, or use the arrow buttons, to put them in order.
- Scan for open ports and services
- Sign authorization and rules of engagement
- Exploit a confirmed weakness
- Escalate privileges and demonstrate impact
- Deliver the report and confirm cleanup
- Gather OSINT about the target
Question 9 of 20Choose one
What does MITRE ATT&CK organize?
Question 10 of 20True or false
Searching a web archive for old versions of a company's website is active reconnaissance because it involves the company's site.
Question 11 of 20Sort into groups
Sort each source by what it most directly reveals.
Tap an item, then tap its group (or drag it there).
Question 12 of 20Choose one
A DNS CNAME record for promo.example.com points to a cloud storage resource that was deleted months ago. What risk does this create?
Question 13 of 20Work it out
How many TCP port numbers exist in total, counting from 0 to 65,535?
Question 14 of 20Sort into groups
Classify each response to a TCP SYN probe.
Tap an item, then tap its group (or drag it there).
Question 15 of 20Match the pairs
Match each service to its default port.
Tap an answer, then tap the place where it belongs (or drag it there).
- SMTP
- HTTP
- MySQL
- SSH
Question 16 of 20Choose one
A vulnerability scored CVSS 9.1 falls into which rating band?
Question 17 of 20Work it out
Scanning 50 hosts on 2,000 ports each at 400 probes per second takes how many seconds?
Question 18 of 20Choose one
An online banking app lets a logged-in user view statement 4410 at /statements/4410. Changing it to 4409 shows another customer's statement. What is this vulnerability?
Question 19 of 20Spot the mistake
Select the code lines that let user input change the structure of a database query.
Question 20 of 20True or false
Stored cross-site scripting can affect every visitor who views the page where the malicious input was saved.
Question 21 of 20Select all that apply
Which measures directly reduce the risk of SQL injection? Select all that apply.
Select all that apply.
Question 22 of 20Sort into groups
Match each scenario to the attack it describes.
Tap an item, then tap its group (or drag it there).
Question 23 of 20Work it out
An attacker sprays one password across 100 accounts, and each has a 2% chance of using it. What is the probability, in percent, that at least one account matches? Round to the nearest whole percent.
Question 24 of 20Choose one
An attacker who already has a user's password triggers dozens of login push notifications until the user taps Approve. What is this called?
Question 25 of 20What would you do?
What would you do?
A caller claiming to be from the IT help desk asks an employee to read out the code just sent to their phone 'to finish a security upgrade'. What should the employee do?
Question 26 of 20Choose one
Why was the Mirai botnet able to compromise so many devices in 2016?
Question 27 of 20Match the pairs
Match each finding to its category.
Tap an answer, then tap the place where it belongs (or drag it there).
- A normal user modifies a service binary that runs as SYSTEM
- One customer reads another customer's orders
- The same local admin password works on every workstation
- A database port is reachable from the entire internet
Question 28 of 20True or false
Network segmentation limits how far an attacker can move after compromising a single workstation.
Question 29 of 20Work it out
On a 5-by-5 risk matrix, a finding has likelihood 5 and impact 3. What is its risk score?
Question 30 of 20Choose one
Which remediation recommendation is most useful in a report?
Question 31 of 20Put in order
Order the activities that happen after testing finishes.
Drag the items, or use the arrow buttons, to put them in order.
- Tester retests the fixes
- Remove test accounts and tools
- Report is updated with retest results
- Deliver the report
- Client remediates the findings
Question 32 of 20Select all that apply
Which are legal ways to build hacking skills? Select all that apply.
Select all that apply.