πŸ”

PT0-003 β€” all questions

334 practice questions with answers and explanations.

Topic 1 Β· Question 1

A penetration tester wants to send a specific network packet with custom flags and sequence numbers to a vulnerable target. Which of the following should the tester use?

  • Atcprelay
  • BBluecrack
  • CScapy (correct answer)
  • Dtcpdump
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Scapy

Topic 1 Β· Question 2

Which of the following explains the reason a tester would opt to use DREAD over PTES during the planning phase of a penetration test?

  • AThe tester is conducting a web application test.
  • BThe tester is assessing a mobile application.
  • CThe tester is evaluating a thick client application.
  • DThe tester is creating a threat model. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: The tester is creating a threat model.

Topic 1 Β· Question 3

A penetration tester is performing a security review of a web application. Which of the following should the tester leverage to identify the presence of vulnerable open-source libraries?

  • AVM
  • BIAST
  • CDAST
  • DSCA (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: SCA This option keeps traffic private / properly secured as required.

Topic 1 Β· Question 4

A penetration tester finds that an application responds with the contents of the /etc/passwd file when the following payload is sent: Which of the following should the tester recommend in the report to best prevent this type of vulnerability?

Exhibit 1 for question 4
  • ADrop all excessive file permissions with chmod o-rwx.
  • BEnsure the requests application access logs are reviewed frequently.
  • CDisable the use of external entities. (correct answer)
  • DImplement a WAF to filter all incoming requests.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Disable the use of external entities.

Topic 1 Β· Question 5

A penetration tester is conducting reconnaissance for an upcoming assessment of a large corporate client. The client authorized spear phishing in the rules of engagement. Which of the following should the tester do first when developing the phishing campaign?

  • AShoulder surfing
  • BRecon-ng
  • CSocial media (correct answer)
  • DPassword dumps
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Social media

Topic 1 Β· Question 6

A penetration tester needs to test a very large number of URLs for public access. Given the following code snippet: Which of the following changes is required?

Exhibit 1 for question 6
  • AThe condition on line 6 (correct answer)
  • BThe method on line 5
  • CThe import on line 1
  • DThe delimiter in line 3
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: The condition on line 6

Topic 1 Β· Question 7

During a penetration test, a tester captures information about an SPN account. Which of the following attacks requires this information as a prerequisite to proceed?

  • AGolden Ticket
  • BKerberoasting (correct answer)
  • CDCShadow
  • DLSASS dumping
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Kerberoasting

Topic 1 Β· Question 8

While performing an internal assessment, a tester uses the following command: crackmapexec smb 192.168.1.0/24 -u user.txt -p Summer123@ Which of the following is the main purpose of the command?

  • ATo perform a pass-the-hash attack over multiple endpoints within the internal network
  • BTo perform common protocol scanning within the internal network
  • CTo perform password spraying on internal systems (correct answer)
  • DTo execute a command in multiple endpoints at the same time
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: To perform password spraying on internal systems

Topic 1 Β· Question 9

A penetration testing team needs to determine whether it is possible to disrupt the wireless communications for PCs deployed in the client's offices. Which of the following techniques should the penetration tester leverage?

  • APort mirroring
  • BSidecar scanning
  • CARP poisoning
  • DChannel scanning (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Channel scanning

Topic 1 Β· Question 10

Which of the following tasks would ensure the key outputs from a penetration test are not lost as part of the cleanup and restoration activities?

  • APreserving artifacts (correct answer)
  • BReverting configuration changes
  • CKeeping chain of custody
  • DExporting credential data
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Preserving artifacts

Topic 1 Β· Question 11

A tester gains initial access to a server and needs to enumerate all corporate domain DNS records. Which of the following commands should the tester use?

  • Adig +short A AAAA local.domain
  • Bnslookup local.domain
  • Cdig afxr @local.dns.server (correct answer)
  • Dnslookup -server local.dns.server local.domain *
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: dig afxr @local.dns.server

Explanation

DNS resolves host names to records such as IP addresses and service locations.

Topic 1 Β· Question 12

A penetration tester is performing network reconnaissance. The tester wants to gather information about the network without causing detection mechanisms to flag the reconnaissance activities. Which of the following techniques should the tester use?

  • ASniffing (correct answer)
  • BBanner grabbing
  • CTCP/UDP scanning
  • DPing sweeps
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Sniffing

Topic 1 Β· Question 13

A penetration tester reviews a SAST vulnerability scan report. The following lines of code have been reported as vulnerable: Which of the following is the best method to remediate this vulnerability?

Exhibit 1 for question 13
  • AImplementing a logging framework (correct answer)
  • BRemoving the five code lines reported with issues
  • CInitiating a secure coding-awareness program with all the developers
  • DDocumenting the vulnerability as a false positive
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Implementing a logging framework

Topic 1 Β· Question 14

During a security assessment, a penetration tester uses a tool to capture plaintext log-in credentials on the communication between a user and an authentication system. The tester wants to use this information for further unauthorized access. Which of the following tools is the tester using?

  • ABurp Suite
  • BWireshark (correct answer)
  • CZed Attack Proxy
  • DMetasploit
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Wireshark This option keeps traffic private / properly secured as required.

Topic 1 Β· Question 15

A penetration tester established an initial compromise on a host. The tester wants to pivot to other targets and set up an appropriate relay. The tester needs to enumerate through the compromised host as a relay from the tester's machine. Which of the following commands should the tester use to do this task from the tester's host?

  • Aattacker_host$ nmap -sT | nc -n 22
  • Battacker_host$ mknod backpipe pattacker_host$ nc -l -p 8000 | 0 80 | tee backpipe
  • Cattacker_host$ nc -nlp 8000 | nc -n attacker_host$ nmap -sT 127.0.0.1 8000
  • Dattacker_host$ proxychains nmap -sT (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: attacker_host$ proxychains nmap -sT

Topic 1 Β· Question 16

A penetration tester is unable to identify the Wi-Fi SSID on a client's cell phone. Which of the following techniques would be most effective to troubleshoot this issue?

  • ASidecar scanning
  • BChannel scanning (correct answer)
  • CStealth scanning
  • DStatic analysis scanning
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Channel scanning

Topic 1 Β· Question 17

During a web application assessment, a penetration tester identifies an input field that allows JavaScript injection. The tester inserts a line of JavaScript that results in a prompt, presenting a text box when browsing to the page going forward. Which of the following types of attacks is this an example of?

  • ASQL injection
  • BSSRF
  • CXSS (correct answer)
  • DServer-side template injection
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: XSS

Topic 1 Β· Question 18

A penetration tester attempts unauthorized entry to the company’s server room as part of a security assessment. Which of the following is the best technique to manipulate the lock pins and open the door without the original key?

  • APlug spinner
  • BBypassing
  • CDecoding
  • DRaking (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Raking This option keeps traffic private / properly secured as required.

Topic 1 Β· Question 19 Β· Select all that apply

Which of the following technologies is most likely used with badge cloning? (Choose two.)

  • ANFC (correct answer)
  • BRFID (correct answer)
  • CBluetooth
  • DModbus
  • EZigbee
  • FCAN bus
Reveal answer & explanation
Correct answer: A, B

The correct answer is A, B. Option A: NFC Option B: RFID

Topic 1 Β· Question 20

During a penetration test of a web application, the tester gains full access to the application's source code. The application repository includes thousands of code files. Given that the assessment timeline is very short, which of the following approaches would allow the tester to identify hard-coded credentials most effectively?

  • ARun TruffleHog against a local clone of the application. (correct answer)
  • BScan the live web application using Nikto.
  • CPerform a manual code review of the Git repository.
  • DUse SCA software to scan the application source code.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Run TruffleHog against a local clone of the application.

Showing questions 1–20 of 334 Β· Page 1 of 17