PT-AM-CPE practice question 18 of 35
To protect against cross-site request forgery attacks, a default PingAM installation requires that some requests, such as POST requests, include:
Full set: 100 questionsPingAM implements a Cross-Site Request Forgery (CSRF) protection mechanism for its REST endpoints. By default, it requires that state-changing requests (e.g., POST, PUT, DELETE) include a non-standard header that a browser would not automatically add to a cross-origin request initiated by a simple HTML form. The presence of a header like X-Requested-With (commonly added by JavaScript libraries for AJAX requests) or Accept-API-Version serves as an indication that the request is legitimate and not part of a CSRF attack.
A. The X-OpenAM-Password header is used for direct authentication to the REST API, not for CSRF protection.
B. The If-Match: rev header is used for concurrency control and preventing lost updates, not for CSRF mitigation.
D. The X-OpenAM-Username header is part of the authentication mechanism for the REST API, not a CSRF countermeasure.
1. Ping Identity, PingAM Documentation, "Security Guide," Chapter: "Preventing Common Vulnerabilities," Section: "Cross-Site Request Forgery." This section explicitly describes the CSRF protection mechanisms, including the requirement for custom headers on REST API calls.
2. Ping Identity, PingAM Documentation, "REST API Reference," Section: "API Security," Subsection: "CSRF Protection." This part of the documentation details that for requests that change state, a CSRF token or a specific header like X-Requested-With is required.
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?
