View Full CompTIA PT0-003 Exam Dumps and Practice Test Dumps.
Question 281
Which reconnaissance technique examines publicly available records to identify domains, organizations, and infrastructure without directly interacting with target systems?
- Active scanning
- Passive reconnaissance
- Exploit validation
- Privilege escalation
Correct Answer: 2
Explanation
Passive reconnaissance gathers information from publicly available sources without directly probing the target environment. Examples include public registration records, search engines, certificate transparency data, archived content, and publicly available DNS information. This approach can help a penetration tester build an initial understanding of an organization’s external presence while minimizing interaction with target systems. Active scanning, exploit validation, and privilege escalation involve direct interaction or testing activities. Passive reconnaissance is particularly useful during the early stages of an authorized engagement.
Question 282
A penetration tester discovers several hostnames in public certificate records. Some resolve to IP addresses outside the client’s documented scope. What should the tester do?
- Test every discovered hostname
- Treat all certificates as automatically authorized
- Verify each asset against the engagement scope
- Delete the certificate records
Correct Answer: 3
Explanation
Information discovered during reconnaissance does not automatically become part of the authorized testing scope. When certificate records reveal hostnames that resolve to infrastructure outside the documented asset list, the tester should verify ownership and authorization before performing active testing. Expanding the scope independently can create legal, operational, and contractual problems. Certificate information remains useful as reconnaissance evidence, but authorization must be established separately. A disciplined tester distinguishes between discovering an asset and receiving permission to assess it.
Question 283
Which tool is commonly associated with recovering passwords from hashes during an authorized offline password assessment?
- Hashcat
- Nmap
- Amass
- Nikto
Correct Answer: 1
Explanation
Hashcat is a password-recovery and auditing tool that can perform offline analysis of password hashes using various attack strategies. During an authorized penetration test, it can help determine whether organizational password policies produce credentials that are resistant to common password-recovery techniques. Nmap focuses primarily on network discovery and service enumeration, Amass supports attack-surface and DNS reconnaissance, and Nikto performs web-server security checks. Password-hash testing should always use credentials and hash material obtained within the approved scope.
Question 284
A tester needs to determine whether a remote service is actually running the version reported by a scanner. What is the most reliable approach?
- Manual service validation
- Changing the client’s password
- Reviewing the website logo
- Performing DNS recursion
Correct Answer: 1
Explanation
Manual service validation helps confirm whether an automated scanner’s identification is accurate. Scanner results can sometimes rely on banners, signatures, or inferred characteristics that do not perfectly represent the software actually running. A tester can compare observed service behavior, version information, and configuration evidence against the scanner’s result while remaining within scope. Confirming the service before reporting a vulnerability reduces false positives and improves report accuracy. Password changes, website logos, and DNS recursion do not directly validate a detected service version.
Question 285
Which vulnerability is most directly associated with an application failing to distinguish between trusted and untrusted XML external entities?
- XXE
- CSRF
- IDOR
- Open redirect
Correct Answer: 1
Explanation
XML External Entity, or XXE, vulnerabilities can occur when an application processes XML input with external entity functionality enabled or insufficiently restricted. Depending on the parser and application design, unsafe processing can expose local resources or cause unintended server-side requests. During an authorized assessment, testers should determine whether XML parsers safely handle external entities and whether secure parsing configurations are enforced. CSRF involves forged browser requests, IDOR concerns object authorization, and open redirect involves uncontrolled navigation destinations.
Question 286
A web application allows a user to provide a URL, and the server retrieves content from that address. Which control is most important for reducing SSRF risk?
- Strict destination validation and network restrictions
- Increasing password length
- Changing DNS record TTL values
- Disabling browser caching
Correct Answer: 1
Explanation
SSRF risk can be reduced by validating permitted destinations and restricting the server’s ability to communicate with sensitive internal or administrative resources. Applications should avoid blindly trusting user-supplied URLs and should use allowlists or other appropriate controls based on their architecture. Network-level restrictions can provide another layer of protection if application validation fails. Password length, DNS TTL values, and browser caching do not directly prevent server-side requests from reaching unintended destinations.
Question 287
A tester discovers that a user with basic privileges can invoke an administrative API function because the server checks only whether the user is authenticated. What issue does this demonstrate?
- Broken function-level authorization
- DNS poisoning
- Wireless deauthentication
- Information disclosure
Correct Answer: 1
Explanation
Broken function-level authorization occurs when an application verifies that a user is authenticated but fails to determine whether that user has permission to execute a particular function. Administrative APIs and privileged operations should enforce authorization independently on the server. A basic user should not gain administrative functionality simply because a valid session exists. DNS poisoning affects name resolution, wireless deauthentication affects wireless connectivity, and information disclosure concerns unintended exposure of data. Proper function-level authorization is essential for protecting privileged application capabilities.
Question 288
Which security control is intended to prevent an attacker from repeatedly submitting authentication requests at an unrestricted rate?
- Rate limiting
- DNSSEC
- VLAN tagging
- Certificate transparency
Correct Answer: 1
Explanation
Rate limiting restricts how frequently a client can perform a particular action within a defined period. For authentication endpoints, it can reduce the effectiveness of repeated password-guessing attempts and help protect services from excessive automated requests. Depending on the application, rate limiting may be combined with account protections, monitoring, and other controls. DNSSEC protects DNS integrity, VLAN tagging supports network segmentation, and certificate transparency provides visibility into issued certificates. Effective rate limiting should balance security with legitimate user access requirements.
Question 289
A tester identifies that an API returns different error messages depending on whether a supplied username exists. Which security concern should be investigated?
- Account enumeration
- VLAN hopping
- DNS tunneling
- Certificate pinning
Correct Answer: 1
Explanation
Account enumeration occurs when an application unintentionally reveals whether particular accounts or usernames exist. Differences in error messages, response codes, timing, or other observable behavior can sometimes allow testers to distinguish valid accounts from invalid ones. During an authorized assessment, the tester should document the observable difference and evaluate its security impact. VLAN hopping concerns network segmentation, DNS tunneling involves data communication through DNS, and certificate pinning concerns application trust validation. Consistent authentication responses can help reduce unnecessary account disclosure.
Question 290
Which network protocol is commonly used to synchronize clocks across systems and can be relevant when investigating authentication and log timelines?
- NTP
- FTP
- LDAP
- SMB
Correct Answer: 1
Explanation
Network Time Protocol, or NTP, synchronizes system clocks across networked devices. Accurate time is important for security monitoring, authentication protocols, certificate validation, and incident investigation because logs from different systems must be correlated reliably. During a penetration test, inconsistent system clocks may complicate evidence analysis or create authentication-related problems. FTP is a file-transfer protocol, LDAP provides directory services, and SMB supports file and resource sharing. Proper time synchronization contributes to reliable security monitoring and forensic analysis.
Question 291
A tester needs to identify directories and files that are not linked from a web application’s visible pages. Which technique is appropriate?
- Content discovery
- Packet fragmentation
- DNS recursion
- Password hashing
Correct Answer: 1
Explanation
Content discovery involves searching for directories, files, endpoints, and other web resources that may not be referenced through normal navigation. During an authorized assessment, tools can test a controlled list of candidate paths to identify potentially forgotten, hidden, or administrative resources. Discovered content should then be evaluated carefully rather than automatically treated as vulnerable. Packet fragmentation concerns network traffic, DNS recursion concerns name resolution, and password hashing protects stored credentials. Content discovery can reveal an application’s actual externally accessible surface.
Question 292
Which web security mechanism allows a site to specify trusted sources for scripts, stylesheets, images, and other content?
- Content-Security-Policy
- MX record
- Secure cookie attribute
- PTR record
Correct Answer: 1
Explanation
Content-Security-Policy, or CSP, is a browser-enforced security mechanism that allows applications to define permitted sources for different categories of content. A properly designed CSP can reduce the impact of certain injection and cross-site scripting scenarios by restricting where executable content may originate. MX records identify mail servers, the Secure cookie attribute controls when cookies are transmitted over HTTPS, and PTR records support reverse DNS. During a web assessment, testers can review CSP directives for unnecessary allowances or missing protections.
Question 293
A tester discovers that an application accepts an uploaded file and stores it in a location where the web server can execute certain file types. Which risk should be investigated?
- Server-side consequences of unrestricted file upload
- DNS cache expiration
- NTP drift
- Wireless channel overlap
Correct Answer: 1
Explanation
An unrestricted file-upload weakness can become more serious when uploaded content is placed in a location where the server can interpret or execute it. The exact impact depends on server configuration, application behavior, file validation, and storage controls. During an authorized assessment, the tester should safely determine whether uploaded files can influence server behavior without causing unnecessary damage. DNS expiration, NTP drift, and wireless channel overlap are unrelated infrastructure conditions. Secure upload handling should include appropriate validation, storage, and execution restrictions.
Question 294
Which technique can help a tester identify email-related infrastructure associated with a domain during reconnaissance?
- MX record enumeration
- TCP packet fragmentation
- Cookie analysis
- VLAN tagging
Correct Answer: 1
Explanation
MX record enumeration identifies the mail servers associated with a domain and can provide useful information about an organization’s email infrastructure. During reconnaissance, this may reveal whether email services are hosted internally, through a cloud provider, or through another external service. Testers should distinguish between discovering infrastructure and receiving authorization to test it. TCP packet fragmentation, cookie analysis, and VLAN tagging address different technical areas. DNS reconnaissance should be performed carefully because public records may expose infrastructure that is outside the engagement’s approved scope.
Question 295
A tester wants to identify whether a web server exposes unnecessary files, outdated components, or potentially risky default content. Which tool is commonly associated with this type of assessment?
- Nikto
- Hashcat
- BloodHound
- tcpdump
Correct Answer: 1
Explanation
Nikto is a web-server scanning tool that can identify various potentially risky conditions, including outdated components, common files, and server configuration issues. It is useful for generating leads that should then be manually validated. Hashcat focuses on password-hash auditing, BloodHound helps analyze relationships and privilege paths in directory environments, and tcpdump captures network traffic. Automated web-server scanning should be conducted within the approved scope and at an appropriate rate to reduce the possibility of disrupting production services.
Question 296
Which assessment activity is specifically intended to determine whether a previously reported vulnerability has actually been fixed?
- Remediation verification
- Initial reconnaissance
- Asset discovery
- Social engineering
Correct Answer: 1
Explanation
Remediation verification, often performed during a retest, determines whether previously identified vulnerabilities have been adequately addressed. The tester reviews the original finding, repeats appropriate validation activities, and documents whether the issue remains exploitable or otherwise present. This provides stakeholders with evidence about the effectiveness of remediation efforts. Initial reconnaissance identifies information before testing, asset discovery maps systems, and social engineering evaluates human-focused security controls. A remediation retest should focus on the specific corrective actions associated with the original finding.
Question 297
A penetration tester needs to preserve sensitive assessment files while preventing unauthorized personnel from viewing them. Which practice is most appropriate?
- Secure evidence storage with controlled access
- Public cloud sharing without restrictions
- Emailing all evidence to external contacts
- Storing evidence on an unrestricted public server
Correct Answer: 1
Explanation
Penetration-testing evidence may contain credentials, personal information, configuration details, screenshots, or other sensitive material. It should therefore be stored securely with access limited to authorized personnel. Appropriate controls may include encryption, access restrictions, secure transfer procedures, and defined retention periods. Publicly accessible storage or unrestricted sharing can create additional security and privacy risks. Protecting evidence is part of professional testing practice and helps ensure that information obtained during an engagement is handled according to contractual and organizational requirements.
Question 298
Which technique is most appropriate for determining whether a discovered vulnerability is genuinely present rather than relying solely on an automated scanner’s alert?
- Controlled vulnerability validation
- Increasing scan volume indefinitely
- Ignoring the affected asset
- Changing the report title
Correct Answer: 1
Explanation
Controlled vulnerability validation confirms whether a scanner-reported issue actually exists and whether its conditions match the affected system. Manual verification can involve reviewing configuration, software versions, application behavior, or other evidence appropriate to the vulnerability. Validation should be performed safely and within the engagement’s rules of engagement, especially when exploitation could affect production systems. Increasing scan volume does not establish accuracy, while ignoring the asset or changing a report title provides no evidence that the vulnerability is genuine.
Question 299
A tester wants to understand which findings require immediate attention based on both technical severity and the organization’s business context. Which factor should be considered?
- Risk and business impact
- Finding title length
- Scanner brand
- Number of screenshots
Correct Answer: 1
Explanation
Risk assessment should consider both the technical characteristics of a vulnerability and its potential effect on the organization’s systems, data, and business operations. A technically serious issue affecting an isolated noncritical system may have a different practical priority from a moderate weakness exposing a critical business service. Testers should communicate the factors supporting their assessment rather than relying solely on scanner labels. Finding titles, scanner brands, and screenshot counts do not determine business risk. Contextual risk information helps stakeholders make informed remediation decisions.
Question 300
During a penetration test, the tester discovers sensitive information that is unrelated to the original objective of the engagement. What is the most appropriate response?
- Collect as much additional information as possible
- Minimize collection and follow the engagement’s data-handling procedures
- Publish the information as proof of access
- Share it with unrelated organizations
Correct Answer: 2
Explanation
Data minimization means collecting and retaining only the information necessary to accomplish the authorized testing objective and document relevant findings. If unrelated sensitive information is encountered, the tester should avoid unnecessary access or copying and follow the engagement’s procedures for protecting, reporting, and disposing of the data. Publishing or sharing such information would create unnecessary privacy and security risks. A professional penetration test should balance effective security assessment with responsible handling of information discovered incidentally.