
EC-CouncilCertified Penetration Testing Professional
Domain 3Objective 2
API and Java Web Token Penetration Testing CPENT Practice Questions (Page 8)
Part of the Web and API Penetration Testing domain, which makes up ~15% of our current practice bank.
68questions here
14free pages
17concepts
Questions 36–40
- 36
What is the primary goal of API authorization testing?
Select an answer first - 37
You are testing an API that uses JWT for authentication. You have a valid token for a regular user. You want to test for privilege escalation by modifying the token. The server uses RS256. Which approach is most likely to succeed?
Select an answer first - 38
Which API authentication method involves the client presenting a unique identifier that is typically included in an HTTP header, and the server treats this identifier as a bearer credential without requiring a signature or session?
Select an answer first - 39
What is the most common way to test an API parameter for SQL injection?
Select an answer first - 40
A web API accepts JWTs for authentication. During testing, you send a token with the header 'alg': 'none' and an empty signature. The API returns a 200 OK response with the user's profile. Which vulnerability is present?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by EC-Council. “CPENT” is a trademark of its owner, used for identification only.