PT0-002 Engagement Management Practice Question
A penetration tester is scoping a web application penetration test. The client wants to include a third-party API that processes payments. Which TWO are appropriate considerations?
⚠ Common exam trap
Many candidates assume a well-known API is inherently secure (Option A) or that testing only the client's code is sufficient (Option B), overlooking the legal necessity of permission and the risk of integration flaws.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Obtain written permission from the third-party provider before testing
Option C is correct because testing a third-party payment API without the provider's explicit written authorization is unauthorized access, regardless of the client's ownership of the application; the tester must obtain permission from the API provider (or verify the client has it) before sending any test traffic to that API. Option E is correct because if the provider does not grant permission, the API must be formally documented as out-of-scope in the rules of engagement and scope statement, so the tester avoids any unauthorized testing while still delivering a clear, defensible report. Option A is wrong because assuming a well-known provider is secure is an unfounded trust assumption that ignores the need for verification and authorization. Option B is wrong because ignoring the API entirely may leave critical integration risks (authentication, data flow, error handling) untested and unassessed. Option D is wrong because criticality to the application never overrides the legal and ethical requirement for explicit permission before testing third-party systems.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Assume the API is secure because it is a well-known provider
Why it's wrong here
Relying on a provider's reputation or market share is a form of trust-based risk assumption, which violates the fundamental scoping principle that authorization must be explicit and documented for every system under test. Even well-known APIs can have misconfigurations, deprecated endpoints, or tenant-specific flaws that are not the provider's responsibility but could still be exposed through the client's integration. Furthermore, 'well-known' does not equate to 'in-scope,' and without a written authorization boundary, any testing performed against that API could constitute unauthorized access, creating legal liability for the tester and the client.
- ✗
Test only the client's code and ignore the API entirely
Why it's wrong here
Excluding the API from testing entirely creates a false sense of coverage because the interaction between the client-side code and the API is often where injection flaws, authentication bypasses, and business logic issues manifest. A penetration test scope should encompass the entire attack surface of the application, including third-party dependencies that process or store sensitive data, not just the code the client owns. While it may be tempting to limit testing to the client's code for simplicity, doing so leaves the most critical trust boundaries unexamined and fails to provide the client with a meaningful risk assessment of the application as a whole.
- ✓
Obtain written permission from the third-party provider before testing
Why this is correct
Written permission from the third-party provider is the only legally defensible basis for actively testing their API, as it establishes an authorization boundary that protects both the tester and the client from claims of unauthorized access under laws like the Computer Fraud and Abuse Act (CFAA) and similar regulations. This permission should explicitly define the testing scope, allowed techniques, and time windows, and it should ideally be obtained through the provider's official pen-testing authorization process or by adding the tester to the client's contract with the provider. Without such written authorization, even well-intentioned security testing can be construed as malicious activity, so obtaining this document is a non-negotiable prerequisite before any API testing begins.
- ✗
Include the API in scope without permission because it is critical to the application
Why it's wrong here
Including the API in scope without the provider's permission is a direct violation of the rule that penetration testing must only be performed within the boundaries of explicit authorization. Even if the API is critical to the application's functionality, the tester does not have the standing to grant permission to themselves or to the client to test infrastructure owned by a third party. Unauthorized testing could lead to civil liability, criminal charges, or a permanent ban of the client's access to the API, which would be far more damaging than documenting the API as out-of-scope. The correct approach is to either obtain permission or formally exclude the API from the test and note it as a limitation in the final report.
- ✓
Document the API as out-of-scope if permission is not granted
Why this is correct
Documenting the API as out-of-scope when permission is not granted is the professional and defensible way to manage scoping constraints, because it preserves the legal integrity of the entire penetration test while ensuring the client understands the residual risk. This documentation should appear in the rules of engagement, the scope section of the final report, and any executive summary so that stakeholders are aware that the API was not tested and may contain vulnerabilities. Additionally, the tester should recommend specific compensating controls, such as reviewing API logs for suspicious activity or performing a separate assessment once permission is obtained, to help mitigate the risk in the interim.
Go deeper
Related to this question
Learn chapter
Debriefing the Client After a PenTest
Key term
Authorization
Authorization determines what an authenticated user is allowed to do within a system, such as accessing files, running programs, or changing settings.
Key term
Scope
In IT, scope defines the boundaries, goals, and deliverables of a project, assessment, or engagement, specifying what is included and what is excluded.
About these practice questions
One of 777 original PT0-003 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PT0-003 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PT0-003 exam.