{"id":17023,"date":"2026-09-21T06:04:45","date_gmt":"2026-09-21T06:04:45","guid":{"rendered":"https:\/\/www.examlabs.com\/certification\/?p=17023"},"modified":"2026-09-21T06:04:45","modified_gmt":"2026-09-21T06:04:45","slug":"comptia-pentest-pt0-003-practice-test-questions-and-exam-dumps-part2-q21-40","status":"publish","type":"post","link":"https:\/\/www.examlabs.com\/certification\/comptia-pentest-pt0-003-practice-test-questions-and-exam-dumps-part2-q21-40\/","title":{"rendered":"CompTIA Pentest+ PT0-003 Practice Test Questions and Exam Dumps Part2 Q21-40"},"content":{"rendered":"<h2><b>View Full <\/b><a href=\"https:\/\/www.examlabs.com\/pt0-003-exam-dumps\"><b>CompTIA PT0-003 Exam Dumps<\/b><\/a><b> and Practice Test Dumps.<\/b><\/h2>\n<p>&nbsp;<\/p>\n<h3><b>Question 21<\/b><\/h3>\n<p><b>Which reconnaissance technique involves collecting information about a target without directly interacting with its systems?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Passive reconnaissance<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Privilege escalation<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Exploitation<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Lateral movement<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Passive reconnaissance gathers information about a target without directly interacting with the target&#8217;s systems. A penetration tester may review publicly available websites, search-engine results, certificate information, public records, job postings, and other sources to build an understanding of the environment. This approach generally creates less detectable activity than active reconnaissance. Active reconnaissance, by contrast, involves direct interaction such as scanning hosts or services. Privilege escalation, exploitation, and lateral movement occur later in the attack lifecycle. Therefore, passive reconnaissance is the correct technique described.<\/span><\/p>\n<h3><b>Question 22<\/b><\/h3>\n<p><b>A penetration tester discovers a company&#8217;s public DNS records and identifies an unexpected mail server. What should the tester do next to better understand the exposed service?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Destroy the server<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Enumerate the identified service<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Reset all employee passwords<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Disable DNS<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">After discovering an unexpected exposed service, service enumeration can provide additional information about its implementation and configuration. The tester may identify the software, version, supported protocols, and other characteristics that can help determine potential weaknesses within the authorized scope. Discovery alone does not establish that a vulnerability exists. Destructive actions and disabling infrastructure are inappropriate unless explicitly authorized, while resetting passwords is unrelated to understanding the mail service. Therefore, enumerating the identified service is the appropriate next step.<\/span><\/p>\n<h3><b>Question 23<\/b><\/h3>\n<p><b>Which DNS record identifies the mail servers responsible for receiving email for a domain?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">A<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">TXT<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">MX<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">CNAME<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">An MX, or Mail Exchange, record identifies the mail servers responsible for accepting email for a domain. During reconnaissance, reviewing MX records can reveal externally accessible mail infrastructure and provide useful information about an organization&#8217;s email architecture. A records map names to IPv4 addresses, CNAME records create aliases for other names, and TXT records can contain text-based information such as domain verification or email-security data. Therefore, the MX record is the correct DNS record for identifying mail servers associated with a domain.<\/span><\/p>\n<h3><b>Question 24<\/b><\/h3>\n<p><b>A tester wants to identify employee names, job roles, and technologies used by an organization by reviewing publicly available information. Which reconnaissance source can be particularly useful?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Job postings<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Disk encryption<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Local firewall logs<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Memory dumps<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Public job postings can provide valuable reconnaissance information because organizations often mention technologies, operating systems, cloud platforms, security products, programming languages, and job responsibilities in their descriptions. Employee names and roles may also be identified through professional profiles and company information. This information can help a tester understand potential technologies and organizational structure before technical testing begins. Disk encryption, local firewall logs, and memory dumps generally require access to internal systems and are not typical public reconnaissance sources. Therefore, job postings are particularly useful for this purpose.<\/span><\/p>\n<h3><b>Question 25<\/b><\/h3>\n<p><b>Which protocol is commonly used to securely transfer files over an SSH connection?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">FTP<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Telnet<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">SCP<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">HTTP<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Secure Copy Protocol, or SCP, uses SSH to securely transfer files between systems. Because the communication occurs through an SSH-protected channel, authentication and data transfer can be protected from interception compared with unencrypted protocols such as traditional FTP or Telnet. During penetration testing, identifying SCP or SSH services can help testers understand available remote-access and file-transfer capabilities. HTTP is primarily an application-layer web protocol. Therefore, SCP is the protocol most directly associated with secure file transfer over an SSH connection.<\/span><\/p>\n<h3><b>Question 26<\/b><\/h3>\n<p><b>A web application accepts a filename from a user and executes operating-system commands based on that input without proper validation. Which vulnerability should be investigated?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Command injection<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Clickjacking<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">DNS tunneling<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Credential stuffing<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Command injection occurs when untrusted input is incorporated into operating-system commands in a way that allows an attacker to influence command execution. If a web application uses a user-supplied filename to construct a system command without adequate validation or safe handling, an attacker may potentially manipulate that input to execute unintended commands. Clickjacking concerns deceptive user-interface framing, DNS tunneling abuses DNS for data transfer, and credential stuffing uses previously compromised credentials. Therefore, command injection is the vulnerability that should be investigated.<\/span><\/p>\n<h3><b>Question 27<\/b><\/h3>\n<p><b>During a wireless assessment, a tester discovers that a corporate access point uses WPA2 with a weak shared password. What should the tester assess next?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Whether the wireless credentials can be compromised within scope<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Whether the web server supports IPv6<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Whether the database uses SQL<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Whether the company has cloud storage<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A weak shared wireless password can represent a significant security risk because anyone who obtains or recovers the credential may gain access to the protected wireless network. During an authorized wireless assessment, the tester can evaluate whether the credential is susceptible to compromise using permitted techniques and then determine what network resources become accessible. Testing unrelated web, database, or cloud characteristics does not directly address the identified wireless weakness. Therefore, the next step should be assessing whether the wireless credentials can be compromised within the approved engagement scope.<\/span><\/p>\n<h3><b>Question 28<\/b><\/h3>\n<p><b>Which wireless security protocol provides stronger modern protection than WEP and is commonly associated with enterprise wireless authentication?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">WPA2<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">FTP<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">SNMPv1<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Telnet<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">WPA2 provides substantially stronger wireless security than the older WEP protocol and has been widely deployed in enterprise wireless environments. Enterprise WPA2 commonly uses 802.1X authentication with an authentication server rather than relying solely on a shared password. Although newer standards such as WPA3 provide additional security improvements, WPA2 remains important when assessing existing enterprise environments. FTP, SNMPv1, and Telnet are network protocols unrelated to wireless encryption standards. Therefore, WPA2 is the correct choice among the listed options.<\/span><\/p>\n<h3><b>Question 29<\/b><\/h3>\n<p><b>A tester identifies an exposed SMB service on a Windows server. Which information would be most useful to gather before attempting exploitation?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Monitor brightness settings<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Service version and configuration<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Keyboard layout only<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Browser bookmarks<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Service version and configuration information can help determine whether an exposed SMB service has known vulnerabilities or insecure settings that warrant further testing. Enumeration may reveal the protocol version, available shares, authentication configuration, and other relevant characteristics. This information allows the tester to select appropriate validation techniques while reducing unnecessary or potentially disruptive activity. Monitor brightness, keyboard layout, and browser bookmarks do not directly help evaluate the exposed SMB service. Therefore, gathering service version and configuration information is the most useful next step.<\/span><\/p>\n<h3><b>Question 30<\/b><\/h3>\n<p><b>Which attack attempts to trick a user into revealing sensitive information by pretending to be a trusted person or organization?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Phishing<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Port scanning<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Hash cracking<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Packet fragmentation<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Phishing is a social-engineering technique that attempts to deceive users into providing sensitive information, opening malicious content, or performing an unintended action. Attackers commonly impersonate trusted organizations, coworkers, service providers, or other legitimate entities. During an authorized penetration test, phishing simulations can be used to evaluate employee awareness and organizational defenses when explicitly permitted. Port scanning discovers network services, hash cracking targets password hashes, and packet fragmentation concerns how network packets are divided. Therefore, phishing is the attack technique described.<\/span><\/p>\n<h3><b>Question 31<\/b><\/h3>\n<p><b>A tester sends carefully crafted email messages to selected employees to determine whether they will interact with a simulated malicious attachment. What type of security testing is being performed?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Social engineering<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Database replication<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Network segmentation<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Storage enumeration<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A controlled email campaign designed to measure whether users interact with simulated malicious content is a form of social-engineering testing. The purpose is generally to assess human susceptibility, security awareness, reporting behavior, and organizational controls around suspicious messages. Such testing should have clearly defined authorization and rules of engagement because it directly involves employees and potentially sensitive communication systems. Database replication, network segmentation, and storage enumeration address technical infrastructure rather than human manipulation. Therefore, this scenario represents social-engineering testing.<\/span><\/p>\n<h3><b>Question 32<\/b><\/h3>\n<p><b>Which authentication attack uses previously exposed username-and-password combinations against other services?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Password spraying<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Credential stuffing<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Brute-force scanning<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Kerberoasting<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Credential stuffing uses previously compromised username-and-password combinations and attempts them against other services, relying on password reuse by users. It differs from password spraying, which typically attempts a small set of commonly used passwords across many accounts. Brute-force attacks systematically attempt many possible credentials, while Kerberoasting targets service-account authentication material associated with Kerberos environments. During an authorized assessment, credential stuffing can demonstrate the risk created by password reuse. Therefore, credential stuffing is the technique described in this scenario.<\/span><\/p>\n<h3><b>Question 33<\/b><\/h3>\n<p><b>A tester is assessing an application that stores user input and later displays it to other users without proper output encoding. Which type of XSS is most likely involved?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Reflected XSS<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Stored XSS<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Blind SQL injection<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Command injection<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Stored cross-site scripting occurs when malicious or attacker-controlled input is saved by an application and later delivered to other users when they access the affected content. Because the payload is persisted, multiple users may be exposed without the attacker needing to send each victim a specially crafted request. Reflected XSS generally involves input returned immediately in a response without persistent storage. SQL injection and command injection are different vulnerability classes. Therefore, stored XSS is the most likely vulnerability in this scenario.<\/span><\/p>\n<h3><b>Question 34<\/b><\/h3>\n<p><b>A tester wants to identify potentially vulnerable software versions across many hosts before manually validating individual findings. Which activity is most appropriate?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Vulnerability scanning<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Data destruction<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Social engineering<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Password reset<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Vulnerability scanning can efficiently examine many systems for known weaknesses, outdated software, insecure configurations, and other indicators. The results can then help penetration testers prioritize systems for manual validation and controlled exploitation where permitted. Automated scanners are useful for coverage but can generate false positives and do not necessarily establish real-world exploitability. Data destruction and password resets are unrelated, while social engineering evaluates human behavior rather than software exposure. Therefore, vulnerability scanning is the most appropriate activity for broad initial vulnerability identification.<\/span><\/p>\n<h3><b>Question 35<\/b><\/h3>\n<p><b>A tester compromises one workstation and uses it to reach another internal server that was not directly accessible from the internet. What attack activity does this demonstrate?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Lateral movement<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Passive reconnaissance<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Data masking<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Vulnerability disclosure<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Lateral movement occurs when an attacker or penetration tester moves from one compromised system to additional systems within an environment. It is often performed after obtaining an initial foothold and may involve credential reuse, remote services, trust relationships, or other authorized techniques. In this scenario, the tester uses the compromised workstation as a pathway to reach an internal server that was not directly exposed externally. Passive reconnaissance occurs before or around initial access, while the other choices do not describe internal movement. Therefore, this is lateral movement.<\/span><\/p>\n<h3><b>Question 36<\/b><\/h3>\n<p><b>Which technique attempts to exploit weaknesses in how an application handles file paths by using encoded or manipulated directory references?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Directory traversal<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Password spraying<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">VLAN hopping<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">ARP poisoning<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Directory traversal targets applications that improperly process file paths and allow users to reference files outside the intended directory. Attackers may manipulate path components or encoding to attempt to bypass application restrictions. During an authorized penetration test, testers can determine whether the application properly validates requested paths and whether unintended files become accessible. Password spraying targets authentication, VLAN hopping attempts to cross network segmentation boundaries, and ARP poisoning manipulates local network address resolution. Therefore, directory traversal is the technique associated with manipulated file paths.<\/span><\/p>\n<h3><b>Question 37<\/b><\/h3>\n<p><b>A penetration tester needs to identify the technologies and frameworks used by a public web application before deeper testing. Which activity is useful?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Technology fingerprinting<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Disk wiping<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Credential rotation<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Database deletion<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Technology fingerprinting attempts to identify software technologies, frameworks, web servers, content-management systems, libraries, and other components used by an application. This information can help testers understand the attack surface and select appropriate testing methods. Fingerprinting may use HTTP responses, headers, page characteristics, public information, and specialized tools. Disk wiping, credential rotation, and database deletion do not help identify the technologies powering the public application. Therefore, technology fingerprinting is the appropriate reconnaissance activity.<\/span><\/p>\n<h3><b>Question 38<\/b><\/h3>\n<p><b>A tester discovers that an application uses predictable session identifiers. What security area should receive further testing?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Session management<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Physical security<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">DNS availability<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Storage capacity<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Predictable session identifiers can weaken session management because an attacker may potentially infer or guess valid identifiers and gain unauthorized access to another user&#8217;s session. A penetration tester should examine how session tokens are generated, transmitted, protected, expired, and invalidated. Additional testing should remain within the engagement scope and avoid unnecessary access to unrelated accounts. Physical security, DNS availability, and storage capacity do not directly address the identified weakness. Therefore, session management should receive further testing.<\/span><\/p>\n<h3><b>Question 39<\/b><\/h3>\n<p><b>Which assessment approach provides the tester with limited internal information, such as credentials or architecture details, while still requiring some reconnaissance?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Black-box testing<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Gray-box testing<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Blind exploitation<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Passive-only testing<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Gray-box testing provides the penetration tester with some internal information or limited privileges while still requiring the tester to investigate parts of the environment. This approach can simulate an attacker who has obtained partial knowledge or compromised a legitimate account. Black-box testing generally begins with minimal target information, while white-box testing provides extensive internal information. Gray-box assessments can therefore balance external realism with targeted coverage of authenticated or internal functionality. The scenario described is most consistent with gray-box testing.<\/span><\/p>\n<h3><b>Question 40<\/b><\/h3>\n<p><b>A penetration tester discovers an exposed administrative interface that requires authentication. Which action provides the most useful next step during an authorized assessment?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Identify and test the authentication controls<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Permanently disable the interface<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Delete the associated account<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Shut down the server<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Testing the authentication controls can reveal weaknesses such as weak password policies, improper lockout behavior, insecure session handling, default credentials, or other authentication flaws. The tester should perform these checks only within the approved scope and according to the rules of engagement. Permanently disabling an interface, deleting accounts, or shutting down the server can disrupt business operations and are not appropriate assessment steps unless explicitly authorized. Therefore, evaluating the administrative interface&#8217;s authentication controls is the most useful next step.<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>View Full CompTIA PT0-003 Exam Dumps and Practice Test Dumps. &nbsp; Question 21 Which reconnaissance technique involves collecting information about a target without directly interacting with its systems? Passive reconnaissance Privilege escalation Exploitation Lateral movement Correct Answer: 1 Explanation Passive reconnaissance gathers information about a target without directly interacting with the target&#8217;s systems. A penetration [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1648,1647],"tags":[],"_links":{"self":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/17023"}],"collection":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/comments?post=17023"}],"version-history":[{"count":1,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/17023\/revisions"}],"predecessor-version":[{"id":17024,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/17023\/revisions\/17024"}],"wp:attachment":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/media?parent=17023"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/categories?post=17023"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/tags?post=17023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}