Exam Information
Free practice questions with explanations
GAQM CPEH-001 Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 14
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Module Information - 1
A penetration tester is assessing a client's internal network. The client's security policy forbids any scan traffic that could trigger the IDS signature for SYN floods, and the tester must still identify which hosts have TCP port 445 open within a four-hour window. The network contains about 900 hosts across two subnets, and the tester's scanner is limited to a maximum of 150 packets per second. Which scanning approach BEST meets these constraints?
Correct Answer: CExplanationRestricting the scan to port 445 and reducing the send rate keeps the packet volume under the 150 packets per second ceiling and avoids the burst pattern that trips SYN flood signatures, while host discovery first limits probes to live addresses. A full connect scan across 65535 ports would exceed the time window and the rate limit by a wide margin. UDP scanning does not identify a TCP service such as SMB on 445, so its results would not answer the question. An ACK scan reveals filtering rather than open ports, so it cannot confirm that 445 is open even though a follow-up SYN scan is reasonable.
-
2 Question 2 Single choice Module Information - 2
A red team has obtained a Meterpreter session on a Windows workstation inside a segmented corporate network. The rules of engagement prohibit touching domain controllers and require that the team avoid writing new executables to disk. The team needs to gather the local password hashes and then pivot to a server subnet that the workstation can reach. Which combination of actions BEST satisfies these rules?
Correct Answer: CExplanationThe hashdump command in Meterpreter extracts local account hashes through the existing session without writing a new executable, and the autoroute module adds a route so traffic to the server subnet travels through the compromised host. Uploading Mimikatz to disk violates the no-new-executables rule. Targeting the domain controller is explicitly prohibited. Dropping a script and exporting the SAM hive writes new artifacts to disk, which the scope forbids, even though the SOCKS listener would support pivoting.
-
3 Question 3 Single choice Module Information - 3
A web application team stores user passwords using a fast unsalted hash, and an audit flagged this as a finding. During a password cracking assessment on a dump of 40,000 hashes, the tester must choose an approach that recovers the most passwords within an eight-hour GPU budget while respecting that the dump came from an unsalted MD5 implementation. Which strategy is the MOST effective first step?
Correct Answer: BExplanationBecause the hashes are unsalted MD5, identical passwords produce identical hashes, so a dictionary with mangling rules can crack many accounts at once at very high GPU speed. The team should start with the most likely candidates to maximise yield within the budget. Brute force over all printable eight-character strings is far too slow for the window, and the stem states the hashes are MD5 rather than bcrypt, which makes the bcrypt rainbow table choice wrong. A numeric-only mask of length twelve targets a narrow pattern and is unlikely to be the most productive first step.
-
4 Question 4 Single choice Module Information - 1
A junior analyst on a red team is asked to fingerprint the operating system of a target web server during reconnaissance. The engagement requires that the analyst does not send any packet that completes a full TCP three-way handshake with the target, and the analyst's tool supports passive OS fingerprinting from captured traffic. Which action should the analyst take?
Correct Answer: DExplanationPassive fingerprinting analyses existing traffic such as TTL, window size and TCP option ordering, so no new packets are sent to the target and the no-handshake rule holds. Active nmap -O sends crafted probes that break the passive-only requirement. Reading an HTTP banner requires completing a handshake, and an SSH banner grab also opens a connection, so both violate the constraint. Relying on a banner would also be a weak inference of the operating system.
-
5 Question 5 Multiple choice Module Information - 2
A security consultant is preparing a social engineering pretext for a client that allows phone-based testing but prohibits any contact with employees outside business hours and any collection of personal data beyond job titles. The consultant wants to gain the help desk's assistance in resetting a target employee's account. Which TWO actions are the MOST appropriate within these rules? (Choose two.)
Correct Answer: B, CExplanationCalling during business hours with a pretext against a test account and securing written authorisation naming the help desk both respect the phone-only scope, the time restriction and the rule against unnecessary personal data. Using personal mobile numbers after hours breaks the time rule. Requesting home addresses collects personal data beyond job titles. Photographing access logs in the lobby goes beyond the phone-based scope and gathers sensitive personal information.
-
6 Question 6 Drag and drop Module Information - 3
A tester is planning a web application assessment for a retailer whose checkout flow passes session tokens in URL parameters and which uses a legacy file upload feature. The tester must document the tests against vulnerability classes that match these observed behaviours. Match each observed behaviour to the vulnerability class it most directly indicates.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Search parameter value is reflected into the page without encodingSession token appears in the query string and is logged by a proxyUploaded file with a double extension is executed by the serverSession fixation and token exposureClickjackingUnrestricted file uploadBlind SQL injectionReflected cross-site scriptingCorrect Answer:- Session token appears in the query string and is logged by a proxy → Session fixation and token exposure
- Uploaded file with a double extension is executed by the server → Unrestricted file upload
- Search parameter value is reflected into the page without encoding → Reflected cross-site scripting
ExplanationTokens placed in URLs leak through logs, referrers and proxies, which is a token exposure weakness that also enables session fixation. A file with a double extension that the server executes shows the upload filter accepts dangerous content. Unencoded reflection of input into the response is the defining trait of reflected cross-site scripting. Blind SQL injection depends on inferring database responses without visible output, and clickjacking relies on framing, so neither matches the observed behaviours.
-
7 Question 7 Order list Module Information - 1
A tester has been granted a black-box engagement against a single public web server for a two-day window. The client wants a report of the reachable services, the versions in use and any known vulnerabilities, with no denial-of-service testing. Arrange the steps in the correct order the tester should perform them.
Drag the steps into the correct order, or use the arrows.
- Scan the full port range to enumerate all open TCP ports on the target
- Map the identified versions against vulnerability databases and verify candidates
- Perform host discovery and confirm the target is live within the authorised scope
- Run a service and version detection scan on the discovered open ports
Correct Answer:- Perform host discovery and confirm the target is live within the authorised scope
- Run a service and version detection scan on the discovered open ports
- Map the identified versions against vulnerability databases and verify candidates
- Scan the full port range to enumerate all open TCP ports on the target
ExplanationConfirming the target is live within scope comes first so no effort is wasted on out-of-scope addresses. A full port enumeration then reveals which ports to examine. Version detection requires known open ports to target, and correlating versions with vulnerability data comes last, after verified version information exists. Verifying candidates before reporting keeps the findings accurate without any denial-of-service activity.
-
8 Question 8 Dropdown Module Information - 2
A tester is running a post-exploitation review on a Linux host where a low-privileged account has already been obtained. The rules of engagement state that the tester must identify SUID binaries that could allow privilege escalation and must not modify any system file. Complete the command by selecting the correct value for each blank.
Choose the correct value for each blank.
find / -perm -4000 -type f 2>/dev/null the search to the root filesystem and the output to the list of SUID filesCorrect Answer:find / -xdev -perm -4000 -type f 2>/dev/null confined the search to the root filesystem and pipes the output to the list of SUID files
ExplanationThe find command accepts -xdev to avoid crossing into other mounted filesystems, which keeps the search on the intended volume. Confining the search keeps the scan focused as the scope requires. Piping the list onward is how output is passed to further analysis without writing a file to disk, which respects the no-modification rule. The other values are not valid find options or do not describe the redirection that keeps the system unchanged.
-
9 Question 9 Single choice Module Information - 2
A penetration test on an enterprise network found a Windows file server that is vulnerable to an exploit in the SMB service. The client's operations team requires that the server remain available for a nightly backup job that runs from 01:00 to 03:00, and the exploit has a known crash risk that could terminate the service. The tester must demonstrate remote code execution and must not disrupt the backup. Which action should the tester take FIRST?
Correct Answer: BExplanationA high-risk exploit against a production file server calls for coordination first, so the tester should agree a window that avoids the backup and have a contact ready if the service crashes. Running the exploit immediately ignores the disruption risk the client flagged. Exploitation is not inherently prohibited in production when authorised, so swapping it for a login attempt misreads the scope. Stopping the client's backup job interferes with their operations without permission.
-
10 Question 10 Single choice Module Information - 3
A tester has recovered a session cookie from a web application that sets the HttpOnly and Secure flags on its authentication cookie. The application has an XSS flaw in a comment field, and the tester must demonstrate impact without violating the rule that real customer sessions may not be used beyond proof. Which approach BEST demonstrates the risk?
Correct Answer: AExplanationThe HttpOnly flag blocks JavaScript from reading the authentication cookie, so the cookie theft the tester expected is not possible, and the honest finding is that execution is confirmed while cookie theft is constrained. Showing execution and explaining the mitigation demonstrates impact without touching real customer data. Using the recovered cookie or reading and exfiltrating it violates the proof-only rule. Deleting sessions is destructive and outside the stated scope.
-
11 Question 11 Drag and drop Module Information - 1
A consultant is preparing a network sniffing assessment for a company that uses switched Ethernet and wants to know whether an attacker on a single access port could observe traffic from other hosts. Match each condition to the technique that would make the traffic visible to the tester on a switched segment.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Traffic must be inspected without changing any switch configurationTraffic from other hosts must be visible on the tester's portFrames for the whole VLAN must be copied to the tester's portPromiscuous mode on a routed interfaceHub-based sniffing on a shared segmentPassive DNS monitoringARP spoofing to redirect trafficSwitched Port Analyzer mirroringCorrect Answer:- Traffic from other hosts must be visible on the tester's port → ARP spoofing to redirect traffic
- Frames for the whole VLAN must be copied to the tester's port → Switched Port Analyzer mirroring
- Traffic must be inspected without changing any switch configuration → Hub-based sniffing on a shared segment
ExplanationA switch forwards unicast frames only to the destination port, so ARP spoofing is needed to place the tester in the path of another host's traffic. Mirroring copies frames to a monitoring port and is the approach when the tester has configuration access. A hub repeats all frames to every port, so it provides visibility without changing switch settings, though hubs are rare in modern networks. Promiscuous mode on a routed interface does not expose traffic between other hosts on a switched segment, and passive DNS monitoring observes name resolution rather than all frames.
-
12 Question 12 Single choice Module Information - 3
During a web application assessment, a tester finds that an API endpoint accepts a JSON body with a user identifier and returns the matching profile. The tester has a valid low-privilege account and wants to verify the access control weakness with the smallest possible impact on production data. Which test is MOST appropriate?
Correct Answer: CExplanationRequesting the identifier of a dedicated test account confirms the broken object-level authorisation without exposing real customer records or modifying data. Enumerating a large identifier range collects far more personal data than needed. PUT and DELETE requests change production records, which is disproportionate when a read-only proof is sufficient. The chosen test keeps the impact minimal while demonstrating the flaw.
-
13 Question 13 Single choice Module Information - 2
A client's security team wants a tester to evaluate whether an internal wireless network is vulnerable to an evil twin attack. The authorised scope permits passive monitoring and a rogue access point, but forbids deauthentication frames sent to client devices that belong to the production network. The tester wants to demonstrate that clients will associate with a rogue SSID cloned from the corporate network. Which approach respects the scope while demonstrating the risk?
Correct Answer: BExplanationDeploying the cloned SSID in an agreed test area and observing whether test devices associate proves the susceptibility without sending deauthentication frames to production clients. Sending deauthentication to production devices is explicitly forbidden. Cracking the production key goes beyond the evil twin scope and is not the demonstrated risk. Flooding the production channel disrupts the network and is not a controlled proof.
-
14 Question 14 Dropdown Module Information - 3
A tester is evaluating a Linux server that stores application logs and must confirm that a suspected brute-force attack against SSH is visible in the authentication log without modifying the log. The tester uses a read-only inspection and wants to count failed password attempts for a single user. Complete the command by selecting the correct value for each blank.
Choose the correct value for each blank.
-c 'Failed password for invalid user' /var/log/ |Correct Answer:grep -c 'Failed password for invalid user' /var/log/auth.log | wc -l
Explanationgrep with -c counts matching lines without altering the file, and on Debian-style systems the authentication events are recorded in auth.log. Piping the count to wc -l is a valid read-only way to reduce output, although grep -c already returns the count. The other values either are not matching tools, point at a file that does not hold SSH authentication events, or would modify files, which the read-only requirement forbids.
These are 14 of the 877 questions in the full CPEH-001 pack.
Get All 877 QuestionsGet all 877 questions & answers
Full access options for GAQM CPEH-001
Self-study
PDF Version
- 877 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 877 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 877 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the CPEH-001 Exam (Certified Professional Ethical Hacker (CPEH) Exam) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.