In a multi-server deployment, what is the impact of not ensuring stickiness in the load balancer configuration?
Correct Answer: D
In a high-availability PingAM 8.0.2 cluster, the Load Balancer (LB) is responsible for distributing traffic across multiple AM instances. Session Stickiness (also known as session affinity) ensures that all requests from a specific user session are routed to the same AM server that initially created the session. According to the PingAM "Deployment Planning" and "Load Balancing" documentation, PingAM is designed to be "sticky-preferred" but not "sticky-required" if the Core Token Service (CTS) is used. If stickiness is not ensured: Performance Impact: Every time a user request lands on a different AM server (Server B) than the one that holds the session in local memory (Server A), Server B must query the CTS (External Store) to retrieve the session details, deserialize the object, and reconstruct the session state. This cross-server look-up introduces significant latency and increases the load on the PingDS instances hosting the CTS. CTS Load: Without stickiness, every single request becomes a "Global" session lookup. This drastically increases the I/O and CPU overhead on the back-end directory servers, potentially leading to performance degradation of the entire identity platform. Why other options are incorrect: Option A: Session failover requires the CTS, but stickiness actually minimizes the need for failover logic during normal operation. Failover still works without stickiness, it just becomes the "default" behavior for every request. Option B: AM servers in a cluster share the same encryption keys and back-end stores. Any server can technically validate a session by looking it up in the CTS; the browser doesn't "know" which server is correct. Option C: Redirects are handled at the application logic level. While some internal processing changes, it doesn't necessarily result in extra browser-level HTTP redirects. Thus, the primary negative impact of lacking stickiness in a correctly configured cluster is a decrease in performance (Option D) due to the constant session synchronization overhead.
PT-AM-CPE Exam Question 7
A customer wishes to customize the OpenID Connect (OIDC) id_token JSON Web Token (JWT) to include the subject's employee number. Which of the following scripts should be customized to meet this requirement?
Correct Answer: B
In PingAM 8.0.2, the OpenID Connect (OIDC) Claims Script is the specific extensibility point designed to govern how user information is mapped and transformed into claims within an OIDC ID token or the UserInfo response. While PingAM supports standard scopes like profile and email out of the box, specialized business requirements-such as including an "employee number" which might be stored as employeenumber in an LDAP directory-require a custom transformation. According to the "OIDC Claims Script" reference in the PingAM documentation: The script acts as a bridge between the Identity Store (the source of truth) and the OIDC Provider (the issuer). When a client requests a token, PingAM executes this script, providing it with a claimObjects map and the userProfile. The developer can then write Groovy or JavaScript logic to retrieve the employeeNumber attribute from the user's profile and add it to the resulting claims set. The script typically follows this logical flow: Identify the requested claims from the OIDC scope. Fetch the corresponding raw attributes from the Identity Store (e.g., PingDS or AD). Format and name the claim as per the OIDC specification or the specific client requirement (e.g., mapping LDAP employeenumber to OIDC claim emp_id). Return the claims to be signed and embedded into the JWT. Why other options are incorrect: Options A, C, and D reference script types that do not exist under those specific names in the standard PingAM 8.0.2 scripting engine. While there are "Access Token Modification" scripts and "Client Registration" scripts, the OIDC Claims Script is the only one authorized and designed to manage the payload of the id_token.
PT-AM-CPE Exam Question 8
Which statements are correct in relation to an OAuth2 token exchange impersonation pattern? A) The client may want to act as the subject on another service. B) The client is used by a subject to act on behalf of another subject. C) The requested token exchange involves a subject token only. D) The requested token exchange involves a subject and actor token.
Correct Answer: D
In PingAM 8.0.2, the OAuth 2.0 Token Exchange (RFC 8693) supports two primary patterns: delegation and impersonation. Understanding the difference between these is critical for secure microservices architecture. According to the "Demonstrate Impersonation" section of the PingAM documentation, impersonation is a pattern where a client (the "Actor") acts as another identity (the "Subject") in a way that the downstream resource server sees only the Subject's identity. Statement A is correct: In an impersonation flow, the client (which has been authorized by the user or is a trusted service) requests a token where it effectively "becomes" the subject to interact with another service. The downstream service treats the request as if it were coming directly from the subject, often with the same set of permissions. Statement D is correct: To perform a token exchange for impersonation, the client must provide specific parameters to the /oauth2/access_token endpoint. It provides the subject_token (representing the identity to be impersonated) and the actor_token (representing the identity of the client/service that is performing the impersonation). PingAM validates both tokens to ensure the "Actor" has the permission to impersonate the "Subject." Why other statements are incorrect: Statement B describes delegation (where an actor acts on behalf of a subject but maintains their own identity in the act claim). Statement C is incorrect because a token exchange inherently requires proving who the requester is (the actor) and whom they represent (the subject). Without both tokens, the AM server cannot verify the authorization relationship required for impersonation. Therefore, the combination of A and D accurately reflects the impersonation pattern in PingAM 8.0.2.
PT-AM-CPE Exam Question 9
Which one of the default PingAM audit log file contains messages related to changes made to sessions by end users?
Correct Answer: A
In PingAM 8.0.2, the audit logging service is designed to provide a comprehensive record of events for security, compliance, and troubleshooting. The audit logs are categorized by the type of event they record. According to the "Audit Logging Reference," PingAM generates several default log files, typically in JSON format. The access.audit.json file is the primary log for events related to the lifecycle of a session and access to resources. This includes: Session Creation: When a user successfully authenticates and a new session is established. Session Termination: When a user logs out or a session expires. Session Updates: Any changes made to the session, such as a Session Upgrade or modification of session properties by the end user or an application. Policy Evaluations: Records of when a user requests access to a protected resource and the resulting permit or deny decision. By contrast, the config.audit.json (Option B) records administrative changes to the system configuration (e.g., modifying a realm or a node). The authentication.audit.json (Option C) focuses specifically on the steps within an authentication tree, such as which nodes were visited and whether they succeeded or failed. While session changes happen after or as a result of authentication, the resulting session management event is logged in the access audit. The activity.audit.json (Option D) is generally used for internal system tasks and background processes. Therefore, for monitoring end-user session modifications, the access.audit.json is the correct authoritative source defined in the PingAM 8 documentation.
PT-AM-CPE Exam Question 10
Which of the following actions can be specified in a policy by default?
Correct Answer: A
In PingAM 8.0.2, Authorization Policies define who can perform what actions on a specific resource. These "Actions" are defined within a Resource Type. When you create a new policy, you must select which actions are allowed or denied. According to the "Resource Types" documentation, PingAM includes several "Default" resource types (such as URL, RPC, and others).9 For the most common resource type, the URL Resource Type, PingAM defines a set of standard HTTP-related actions by default: GET POST PUT DELETE HEAD OPTIONS PATCH HEAD (Option A) is a standard HTTP method and is included in the default list for URL-based policies. INSERT, CREATE, and UPDATE (Options B, C, and D) are not provided by default in the standard URL resource type. While an administrator can certainly create a Custom Resource Type and define "INSERT" or "UPDATE" as valid actions (common for database or API-specific policies), they are not present in the "default" out-of-the-box configuration for web-based resources. Understanding the default action set is important for administrators when quickly securing web applications without the need for custom schema development.