- A
Begin testing the API because it is part of the client's environment
Why wrong: This is incorrect because testing a third-party service without authorization is illegal and could breach contracts.
- B
Request written permission from the payment processor
This is the correct first step. The tester must obtain explicit permission from the third party to ensure legal and ethical testing.
- C
Only test the client's internal systems, excluding the API
Why wrong: This ignores the client's requirement to test the API; if permission can be obtained, it should be included.
- D
Use the payment processor's sandbox environment without notifying them
Why wrong: Even sandbox environments are subject to terms of use; unauthorized testing is still not allowed.
Quick Answer
The correct first action is to request written permission from the payment processor, because the API is owned and operated by a third party, not the client. Testing a third-party API without explicit authorization could violate the Computer Fraud and Abuse Act (CFAA) and the payment processor’s terms of service, exposing both the tester and the client to legal liability. On the CompTIA PenTest+ PT0-002 exam, this scenario tests your understanding of scope and legal boundaries—specifically that obtaining permission to test third-party API endpoints must come from the API owner, not just the client. A common trap is assuming the client’s authorization covers all integrated services, but the key distinction is system ownership. Remember the mnemonic “Third-party, third-party permission”—if the system belongs to someone else, you need their written go-ahead before touching it.
PT0-002 Planning and Scoping Practice Question
This PT0-002 practice question tests your understanding of planning and scoping. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A penetration testing firm is hired to assess a client's web application that integrates with a third-party payment processor's API. The client wants to include the payment processor's API in the test scope. Which action should the tester take FIRST?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"first"Why it matters: Order matters here. You are being tested on which action comes before the others — not which action is generally useful.
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
Request written permission from the payment processor
The correct first action is to request written permission from the payment processor because the API is owned and operated by a third party, not the client. Testing a third-party API without explicit authorization could violate the Computer Fraud and Abuse Act (CFAA) and the payment processor's terms of service, potentially leading to legal liability for both the tester and the client. The scope of a penetration test must be legally defined and agreed upon by all parties whose systems are being tested.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Begin testing the API because it is part of the client's environment
Why it's wrong here
This is incorrect because testing a third-party service without authorization is illegal and could breach contracts.
- ✓
Request written permission from the payment processor
Why this is correct
This is the correct first step. The tester must obtain explicit permission from the third party to ensure legal and ethical testing.
Clue confirmation
The clue word "first" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Only test the client's internal systems, excluding the API
Why it's wrong here
This ignores the client's requirement to test the API; if permission can be obtained, it should be included.
- ✗
Use the payment processor's sandbox environment without notifying them
Why it's wrong here
Even sandbox environments are subject to terms of use; unauthorized testing is still not allowed.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates assume the client's request automatically grants legal authority to test any integrated system, overlooking the critical distinction between ownership and integration in scoping agreements.
Detailed technical explanation
How to think about this question
Third-party API integrations often involve OAuth 2.0 tokens, API keys, or mutual TLS for authentication, and testing these endpoints without permission could trigger rate limiting, account suspension, or intrusion detection alerts on the payment processor's side. In a real-world scenario, a tester might inadvertently send malformed requests that cause the processor's backend to log security incidents, leading to an investigation and potential breach of contract. Written permission should include a clear scope of testing methods (e.g., no DoS, no data exfiltration) and a point of contact for coordination.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A security analyst at a medium-sized enterprise encounters this scenario during an investigation or architecture review. The correct answer reflects best practice for the specific threat or control described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Security exam questions test whether you can match controls to threats in context — not just recall definitions.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Planning and Scoping — study guide chapter
Learn the concepts, then practise the questions
- →
Planning and Scoping practice questions
Targeted practice on this topic area only
- →
All PT0-002 questions
509 questions across all exam domains
- →
CompTIA PenTest+ PT0-002 study guide
Full concept coverage aligned to exam objectives
- →
PT0-002 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related PT0-002 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Planning and Scoping practice questions
Practise PT0-002 questions linked to Planning and Scoping.
Information Gathering and Vulnerability Scanning practice questions
Practise PT0-002 questions linked to Information Gathering and Vulnerability Scanning.
Attacks and Exploits practice questions
Practise PT0-002 questions linked to Attacks and Exploits.
Reporting and Communication practice questions
Practise PT0-002 questions linked to Reporting and Communication.
Tools and Code Analysis practice questions
Practise PT0-002 questions linked to Tools and Code Analysis.
PT0-002 fundamentals practice questions
Practise PT0-002 questions linked to PT0-002 fundamentals.
PT0-002 scenario practice questions
Practise PT0-002 questions linked to PT0-002 scenario.
PT0-002 troubleshooting practice questions
Practise PT0-002 questions linked to PT0-002 troubleshooting.
Practice this exam
Start a free PT0-002 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this PT0-002 question test?
Planning and Scoping — This question tests Planning and Scoping — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Request written permission from the payment processor — The correct first action is to request written permission from the payment processor because the API is owned and operated by a third party, not the client. Testing a third-party API without explicit authorization could violate the Computer Fraud and Abuse Act (CFAA) and the payment processor's terms of service, potentially leading to legal liability for both the tester and the client. The scope of a penetration test must be legally defined and agreed upon by all parties whose systems are being tested.
What should I do if I get this PT0-002 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Are there clue words in this question I should notice?
Yes — watch for: "first". Order matters here. You are being tested on which action comes before the others — not which action is generally useful.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
2 more ways this is tested on PT0-002
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A client hires a penetration testing firm to assess a web application that integrates with a third-party API for payment processing. The client wants to include the API endpoint in the test scope. What should the penetration tester do FIRST to ensure the test is conducted ethically and legally?
medium- A.Assume the client has already obtained permission from the API provider
- ✓ B.Obtain written authorization from the third-party API provider
- C.Rely on the client's statement that the API is within scope
- D.Test only the client's application code and ignore the API
Why B: Option B is correct because the penetration tester must obtain explicit written authorization from the third-party API provider before testing. Without this, testing the API endpoint could violate the Computer Fraud and Abuse Act (CFAA) or similar laws, as the tester would be accessing a system they do not own or have contractual permission to test. The client's scope inclusion does not grant legal access to the third-party's infrastructure.
Variation 2. A penetration tester is hired to assess a web application that integrates with a third-party payment API. The client wants the API included in the test but does not have a signed agreement with the vendor. What is the most appropriate action for the tester?
medium- ✓ A.Ask the client to obtain a written authorization from the third-party vendor before testing the API.
- B.Proceed with testing the API using anonymous techniques to avoid detection.
- C.Test only the client's application logic but not the actual API endpoint.
- D.Include the API in the test because the client owns the integration.
Why A: Option A is correct because testing a third-party API without explicit written authorization from the vendor violates legal and contractual boundaries, potentially constituting unauthorized access under laws like the Computer Fraud and Abuse Act (CFAA). The penetration tester must obtain signed authorization to ensure the test is legally defensible and within scope, as the client cannot grant permission for assets they do not own.
Last reviewed: Jun 11, 2026
This PT0-002 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-002 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.