SF-PD2 • Practice Test 10
Free SF-PD2 practice test — 10 questions with explanations. Set 10. No signup required.
A developer is creating a REST API endpoint in Salesforce that external systems will call to create Case records. The external system sends a JSON payload with a custom header 'X-API-Key' for authentication. The developer needs to validate this key against a custom setting before processing the request. Which Apex class should the developer use to implement this endpoint?
Choose an answer to begin — your selection is scored in the full session.
10 questions · instant feedback and full explanations after every question.