PT-AM-CPE practice question 16 of 35
Which of the following options represents best practice for an implementation that configures an ID token in a subject condition for policies validating the token's claims?
Full set: 100 questionsThe PingAM policy engine is designed for authorization, not for token validation. It evaluates the claims within a provided JWT against policy conditions but inherently trusts that the JWT itself is valid. Therefore, the best practice is for the client or API gateway to first validate the ID token's signature, issuer, audience, and expiration. Only after the token's authenticity and integrity are confirmed should it be passed to PingAM for fine-grained policy decisions based on its claims.
A. Validating the token after policy evaluation is insecure, as an action may have been permitted based on a fraudulent token.
B. Failing to validate the ID token at all is a major security vulnerability, as it allows forged tokens to be used.
D. The PingAM policy engine does not validate the ID token itself; it only evaluates the claims within it. Relying on it for validation is incorrect.
1. Ping Identity, Access Management Documentation, "Policy conditions", Section: "JWT claims in subject conditions". The documentation explicitly states: "AM policy evaluation only validates the claims, not the JWT itself. The JWT should be validated before making the policy evaluation request."
2. OpenID Connect Core 1.0 specification, Section 3.1.3.7 "ID Token Validation". This standard, which PingAM implements, outlines the mandatory steps a client MUST perform to validate an ID Token before its contents can be trusted and used.
Keep practicing
Take the free PT-AM-CPE practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other PT-AM-CPE practice questions
- Question 1Which area of PingAM does affinity mode relate to?
- Question 2Which of the following actions can be specified in a policy by default?
- Question 3Which of the following parameters must be provided by the edge client when requesting ste…
- Question 4Which of the following code examples inserts a may_act claim to the resulting token in a …
- Question 5A user enters their credentials, but is faced with the error message "user requires profi…
- Question 6The Core Token Service (CTS) can be used for storing which of the following?
