PT0-003 Practice Test practice questions, page 3 of 14, with answer review and explanations.
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?
dig +short A AAAA local.domain
nslookup local.domain
dig afxr @local.dns.server
nslookup -server local.dns.server local.domain *
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?
Sniffing
Banner grabbing
TCP/UDP scanning
Ping sweeps
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?
Implementing a logging framework
Removing the five code lines reported with issues
Initiating a secure coding-awareness program with all the developers
Documenting the vulnerability as a false positive
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?
Burp Suite
Wireshark
Zed Attack Proxy
Metasploit
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?