SP Cheat Sheet 2026
The 30 highest-yield SP facts, distilled from real exam questions. Print it, save it as a PDF, or study it here — free, no sign-up.
45 questions
60 min time limit
70.00% to pass
- Which Apex method converts a Datetime to a formatted String? → Datetime.format()
- An org needs to enforce that only one Opportunity can be in 'Closed Won' status per Account at a time. Which tool best enforces this cross-record validation? → Apex Trigger with SOQL aggregate check
- Which contract component defines the specific deliverables, timelines, and acceptance criteria for a Salesforce Service Provider engagement? → Statement of Work (SOW)
- A team is using GitFlow. After completing a hotfix branch merged into main, what additional step is required per GitFlow conventions? → Merge the hotfix branch back into the develop branch as well
- When configuring Salesforce for an organization that uses a forward proxy, what must be done to allow Salesforce callouts? → Add Salesforce IP ranges to the proxy's allowlist
- Which Apex collection method checks if a key exists in a Map before accessing its value to avoid null errors? → Map.containsKey(key)
- Which Salesforce feature allows service providers to enforce data residency requirements by storing specific records in designated geographic regions? → Salesforce Hyperforce with local region deployment
- Under the Salesforce Partner Code of Conduct, which behavior could result in a Service Provider's partner status being revoked? → Misrepresenting Salesforce certifications or partner tier to win a deal
- Which action should a Salesforce admin take immediately upon discovering that an employee's credentials have been compromised? → Freeze the user account, revoke active sessions, and rotate credentials
- A Salesforce Service Provider is asked to handle customer PII on behalf of a client. Which document primarily governs how the SP may process that data? → Data Processing Agreement (DPA)
- Which statement best describes a unit test in the context of Salesforce Apex development? → A test that validates a single method or small unit of code in isolation from dependencies
- Under the Salesforce Shared Responsibility Model, which of the following is the customer's (and Service Provider's) responsibility — NOT Salesforce's? → User access management and data classification
- Which Salesforce concept allows a subset of an unlocked package to be exposed to dependent packages without exposing all internal components? → Package Visibility (public vs. global access modifiers)
- What does the `@AuraEnabled` annotation do in an Apex class? → Exposes a method to Lightning components
- What is the key advantage of using a trie (prefix tree) over a hash table for autocomplete-style functionality in a custom Salesforce Lightning component? → Efficient prefix-based search without hashing all prefixes
- What is the primary purpose of the SP certification program? → To validate professional competence and knowledge in the field
- In Salesforce SOQL, which aggregate function returns the total sum of a numeric field across a set of records? → SUM()
- Which Salesforce tool allows developers to run Apex tests directly from the command line as part of a CI/CD pipeline? → Salesforce DX CLI (sf apex run test)
- What is the maximum number of custom fields allowed on a standard Salesforce object such as Account? → 800
- Which IP addressing version supports 128-bit addresses and was designed to solve IPv4 address exhaustion? → IPv6
- In Salesforce, what happens to a roll-up summary field when the child records associated with a master record are deleted? → The field recalculates automatically
- A hospitality company wants to manage group bookings and event sales in Salesforce. Which product provides built-in event management capabilities? → Salesforce for Hospitality with Event Management
- What does TTL (Time to Live) control in a DNS record? → How long a DNS response is cached before being refreshed
- What is the DRY principle in programming? → Dont Repeat Yourself — avoid code duplication
- Which of these is an example of a financial service provider? → Bank of America
- An organization uses Salesforce with a SAML SSO identity provider. Which network port must be open between the IdP and the user's browser? → Port 443 (HTTPS)
- Why is it a bad practice to use hardcoded IDs (e.g., `'0015000000XXXXX'`) in Apex test classes? → IDs are org-specific and will cause tests to fail when deployed to any other org
- Why is stakeholder management important in projects? → Because stakeholder support and engagement are critical to project success
- What governor limit concern arises when using recursive Apex methods to traverse deep data hierarchies in Salesforce? → Stack depth limit
- A SP engagement involves migrating data from a legacy system into Salesforce. Which compliance consideration is MOST critical during the data migration phase? → Validating that data transfer complies with applicable data residency and privacy laws
Turn these facts into recall: