Developer Fundamentals
27%of exam
Process Automation and Logic
28%of exam
User Interface
25%of exam
Testing, Debugging, and Deployment
20%of exam
Quick Facts
- Credential
- Salesforce Certified Platform Developer
- Questions
- 60 scored; up to 5 unscored
- Format
- Multiple choice
- Time
- 105 minutes
- Passing score
- 68%
- Exam version
- Summer ’25 release
- Registration
- US$200 plus applicable tax
- Retake
- US$100 plus applicable tax
- Prerequisite
- None
- Delivery
- Proctored onsite or online
- References
- Closed book
- Maintenance
- Annual Trailhead maintenance badge
Data Model Memory
Field calculates; master accumulates; rule rejects
Lookup vs Master-Detail
Lookup
- Independent ownership generally
- Can be optional
- No native custom roll-up
Master-detail
- Master controls detail sharing
- Required master
- Cascade delete
Loose link vs dependency
Modeling Picker
- Compute a display value→Formula field
- Summarize master-detail children→Roll-up summary
- Reject invalid input→Validation rule
- Child depends on parent→Master-detail
- Link independent records→Lookup
- Connect two many-sided objects→Junction object
- Match imported external records→External ID
- Draft repetitive Apex→Agentforce for Developers(Review and test output)
Platform Model
- Multitenancy
- Shared infrastructure; isolated org data
- Governor limits
- Fair resource consumption
- Metadata
- Application structure and configuration
- sObject
- Typed Salesforce record
- MVC model
- Objects and fields
- MVC view
- User-facing components
- MVC controller
- Application behavior
- Custom object API name
- Ends in __c
Formula vs Roll-Up
Formula
- Single-record calculation
- Cross-object parent references
- Read-only result
Roll-up
- Aggregate related details
- Defined on master
- COUNT, SUM, MIN, MAX
Calculate fields vs aggregate children
Data Relationships
- Lookup
- Loosely linked records
- Master-detail
- Dependent child; inherited record access
- Delete master
- Cascades to detail records
- Junction object
- Two master-detail links
- Many-to-many
- Junction object connects parents
- Hierarchical relationship
- User-to-user lookup
- External ID
- External-system record matching
- Unique field
- Prevents duplicate values
- Custom parent traversal
- Relationship name ending __r
Calculated Fields
- Formula field
- Read-only calculated value
- Cross-object formula
- References related parent fields
- Roll-up summary
- Aggregates details onto master
- COUNT
- Number of matching details
- SUM
- Total of eligible numeric fields
- MIN
- Smallest eligible value
- MAX
- Largest eligible value
- Validation rule
- True means reject save
Agentforce for Developers
- Developer assistant
- Suggests code from context
- Code generation
- Draft Apex or component code
- Test generation
- Draft unit test cases
- Generated output
- May be inaccurate
- Human verification
- Review correctness and permissions
- Release readiness
- Compile and test generated code
Synchronous Limit Anchors
100 SOQL, 150 DML statements, 50k queried rows
Before vs After Trigger
Before insert/update
- Trigger.new is writable
- No extra DML needed
- Save not completed
After insert/update
- Trigger.new is read-only
- Assigned IDs available
- Related-record processing
Change pending vs react to save
Automation Picker
- Set triggering record fields→Before-save flow
- Create related records declaratively→After-save flow
- Collect user input→Screen flow
- Route for approval→Approval process
- Complex reusable code→Apex class
- Complex save-time logic→Apex trigger(Bulkify)
- Flow calls custom code→@InvocableMethod
- Find text across objects→SOSL
- Filter known object fields→SOQL
- Allow mixed insert outcomes→Database.insert with false
Apex Essentials
- List
- Ordered collection; duplicates allowed
- Set
- Unique elements; no guaranteed order
- Map
- Keys map to values
- static
- Class-level member
- final
- Assignable only once
- Interface
- Method contract
- global
- Cross-namespace visibility
- if/else
- Conditional branching
- for
- Collection or counter iteration
- try/catch/finally
- Exception handling
- Custom exception
- Extend Exception; name ends Exception
- LimitException
- Cannot be caught
- static final
- Class-level constant
- virtual
- Allow subclassing or method overriding
Batch Lifecycle
Start gathers, execute chunks, finish concludes
SOQL vs SOSL
SOQL
- Known object and fields
- Relationship queries
- Structured filters
SOSL
- Text matching
- Search multiple objects
- Results grouped by object
Query structure vs search text
Async Picker
- Background job with complex objects→Queueable
- Process millions of records→Batch Apex
- Run code at specified time→Scheduled Apex
- Existing simple future wrapper→@future
Flow and Apex Actions
- Before-save flow
- Update triggering record efficiently
- After-save flow
- Related records and actions
- Screen flow
- Guided user interaction
- Autolaunched flow
- No interactive screens
- Scheduled path
- Later record-relative action
- Approval process
- Route records for approval
- @InvocableMethod
- Expose Apex as action
- @InvocableVariable
- Expose action input or output
- Invocable method signature
- Public or global; static
- Agent action
- Can invoke Apex action
DML Statement vs Database Method
DML statement
- All-or-none by default
- DmlException on failure
Database method
- Optional partial success
- Inspect per-record results
Inspect results for partial success
Query and DML
- SOQL
- Structured object queries
- SOSL
- Text search across objects
- WHERE
- Filter records
- GROUP BY
- Aggregate by field
- Parent-to-child
- Nested relationship query
- Child-to-parent
- Dot notation
- insert
- Create; assign record IDs
- update
- Modify existing record
- upsert
- Match then insert or update
- undelete
- Restore recoverable deleted records
- DML statement
- All-or-none operation
- Database.insert(records, false)
- Allow per-record failures
- SaveResult
- Inspect individual insert outcomes
- Savepoint / rollback
- Restore transaction checkpoint
Queueable vs Batch Apex
Queueable
- One background job
- Supports complex inputs
- Can chain jobs
Batch Apex
- Large dataset in scopes
- Separate limits per execute
- start, execute, finish
Job orchestration vs chunk processing
Governor Limits
- SOQL queries
- 100 sync; 200 async
- SOQL rows
- 50,000 per transaction
- SOSL searches
- 20 per transaction
- SOSL results
- 2,000 rows per search
- DML statements
- 150 per transaction
- DML rows
- 10,000 per transaction
- CPU time
- 10s sync; 60s async
- Scheduled Apex
- Uses synchronous limits
- Batch execute
- Fresh limits each chunk
- Flow plus triggers
- Share transaction limits
- Object DML trigger batch
- Up to 200 records
- Bulk DML list
- One statement for list
Trigger Timing
- Before insert/update
- Change Trigger.new without DML
- After insert/update
- Read-only triggering records
- Before/after delete
- Old records available
- After undelete
- Restored records available
- Trigger.new
- Insert, update, undelete records
- Trigger.old
- Update and delete prior values
- Trigger.newMap
- Update, after insert, after undelete
- Trigger.oldMap
- Update and delete prior records
- addError()
- Block affected record operation
- Bulkify
- Gather IDs; query collections
- Recursion control
- Compare old and new values
- Trigger handler
- Centralize reusable logic
Selected Save Sequence
- Before-save flow
- Before Apex before triggers
- Before triggers
- Modify eligible pending records
- Custom validation
- Reject invalid values
- Duplicate rules
- Block configured duplicates
- Preliminary save
- Not committed yet
- After triggers
- Read saved record values
- Assignment and auto-response
- Following after triggers
- Workflow field update
- May rerun update triggers
- After-save flow
- Later in save sequence
- Roll-up recalculation
- May invoke parent's save sequence
- Commit
- Persist transaction changes
- Post-commit
- Queued asynchronous work
Async Apex
- @future
- Legacy background static void method
- Queueable
- Background job with complex inputs
- System.enqueueJob
- Returns job ID
- Job chaining
- Queueable follow-on processing
- Batchable
- Process dataset in chunks
- Batch QueryLocator
- Up to 50 million records
- Batch default scope
- 200 records
- Schedulable
- Run at scheduled times
- AsyncApexJob
- Job status and errors
Component Communication
Properties down; events up; messages across
Wired Apex vs Imperative Apex
Wired Apex
- Reactive provisioning
- Read-only cached method
- Receives data or error
Imperative Apex
- Explicit execution timing
- Supports write operations
- Promise-based result
Reactive reads vs controlled calls
Interface Picker
- New custom Lightning UI→LWC
- Standard record editing→lightning-record-edit-form
- Read record with managed caching→Lightning Data Service
- Read reactive custom Apex data→@wire(Cacheable Apex)
- Invoke Apex on user click→Imperative Apex
- Send data upward→CustomEvent
- Communicate across page→Lightning Message Service
- Retain standard Visualforce behavior→Standard controller
- Add Visualforce page behavior→Controller extension
- Reject unauthorized data access→User-mode operations
Lightning Components
- LWC
- HTML, JavaScript, CSS
- Aura
- Component framework; existing apps
- @api
- Public component property or method
- CustomEvent
- Signal up component hierarchy
- Lightning Message Service
- Communicate across supported components
- lightning-record-form
- Record display and editing
- Lightning App Builder
- Compose Lightning page components
- @AuraEnabled
- Expose Apex to Lightning
- Exposed Apex method
- Static; public or global
- lightning__FlowScreen
- Expose LWC on Flow screens
Data Access and Caching
- Lightning Data Service
- Record access and client cache
- UI API
- Respects object, field, record permissions
- @wire
- Reactive data provisioning
- Wired Apex
- Requires cacheable=true
- cacheable=true
- Read-only Apex method
- Imperative Apex
- Explicit promise-based invocation
- refreshApex()
- Refresh wired Apex data
- notifyRecordUpdateAvailable()
- Signal stale LDS records
UI and Apex Security
- CRUD
- Object operation permissions
- FLS
- Field-level permissions
- Sharing
- Record access
- with sharing
- Enforce record sharing rules
- WITH USER_MODE
- Enforce sharing, CRUD, FLS
- Security.stripInaccessible()
- Remove inaccessible fields
- Apex class access
- Grant authorized users access
- SOQL bind variables
- Separate query from input values
- API 66.0 and earlier
- Database operations default system mode
- API 67.0 and later
- Database operations default user mode
- API 67+ omitted sharing keyword
- Classes default to with sharing
Visualforce Controllers
- Visualforce
- Server-rendered page markup
- Standard controller
- Built-in record behavior
- Custom controller
- Apex-defined page behavior
- Controller extension
- Extend existing controller behavior
- Merge expression
- Evaluate controller property
- View state
- Preserves postback page state
- Standard list controller
- Operate on record collections
- Getter
- Return value to page
- Setter
- Accept page input
Test Sequence
Arrange, start, act, stop, assert
Scratch Org vs Sandbox
Scratch org
- Temporary org
- Source-driven configuration
- Created through Dev Hub
Sandbox
- Copy of production metadata
- Data depends on type
- Refresh instead of recreate
Disposable build vs production replica
Release Picker
- Create isolated test records→Test data factory
- Test first-level async work→Test.startTest and Test.stopTest
- Inspect completed Apex execution→Apex Replay Debugger
- Monitor running batch→Apex Jobs
- Temporary source-driven development→Scratch org
- Test with sampled business data→Partial Copy sandbox
- Metadata deployment between connected orgs→Change set
- Automate source deployment→Salesforce CLI
Apex Testing
- @IsTest
- Declare Apex test
- Default test isolation
- No existing business records
- @testSetup
- Shared test-data initialization
- Test data factory
- Reusable synthetic records
- Test.startTest()
- New governor limit context
- Test.stopTest()
- Run first-level queued test work
- Assert.areEqual()
- Verify expected versus actual
- System.runAs()
- Test another user's context
- Bulk tests
- Exercise multi-record behavior
- Negative tests
- Verify rejection and errors
- Production coverage
- 75% aggregate under default testing
- Trigger coverage
- Every trigger needs coverage
- Deployment tests
- Required tests must pass
- RunSpecifiedTests
- 75% each deployed class/trigger
- Flow test scenarios
- Assert expected flow outcomes
Development Environments
- Developer sandbox
- Metadata only
- Developer Pro sandbox
- Metadata; more data storage
- Partial Copy
- Metadata plus sampled records
- Full sandbox
- Metadata and production data
- Scratch org
- Temporary source-driven org
- Dev Hub
- Manages scratch orgs
- Developer Edition
- Standalone development org
- Production
- Live business environment
Debug and Deploy
- Developer Console
- Browser-based queries and tests
- Execute Anonymous
- Run unsaved Apex block
- System.debug()
- Write debug log message
- Trace flag
- Set logging scope and levels
- Apex Replay Debugger
- Inspect execution from log
- Apex Jobs
- Monitor asynchronous jobs
- Salesforce CLI
- Script source and test tasks
- Change set
- Move metadata between connected orgs
- Metadata API
- Deploy supported configuration
- Unlocked package
- Versioned metadata distribution
- Validate deployment
- Check without applying changes
- Flow debugging
- Trace flow execution path
- Flow interview monitor
- Find paused or failed flows
Common Traps
Calculated value vs save rule
Formula displays a value ≠ Validation true blocks save
Before trigger vs after trigger
Before insert/update records writable ≠ After trigger records read-only
Saved vs committed
After trigger precedes commit ≠ Post-commit runs after transaction
Rows vs statements
150 DML statements ≠ 10,000 DML rows
Scheduled vs other async
Scheduled uses synchronous limits ≠ Batch execute uses asynchronous limits
Sharing vs field permissions
Sharing governs records ≠ FLS governs fields
Wire vs writes
Wired Apex must read only ≠ Imperative Apex may write
API version matters
API ≤66 default system operations ≠ API ≥67 default user operations
Coverage vs correctness
Coverage measures lines exercised ≠ Assertions verify business behavior
Test limits vs production limits
startTest allocates new limits ≠ Does not remove governor limits
Deployment vs data transfer
Change sets move metadata ≠ Data import moves records
External ID vs Unique
External ID matches source records ≠ Unique prevents duplicate values
Last Minute
- 1.Fundamentals 27%; automation 28%
- 2.UI 25%; testing/deployment 20%
- 3.Formula calculates; validation true rejects
- 4.Master-detail enables native custom roll-ups
- 5.SOQL queries; SOSL searches text
- 6.100 synchronous SOQL queries
- 7.150 DML statements per transaction
- 8.Bulk queries and DML outside loops
- 9.Before insert/update edits pending records
- 10.After triggers run before commit
- 11.Scheduled Apex uses synchronous limits
- 12.Wire Apex requires cacheable=true
- 13.Sharing alone cannot enforce FLS
- 14.Test both bulk and failure paths
- 15.Production default: 75% aggregate Apex coverage
- 16.Cover every trigger; tests pass
- 17.RunSpecifiedTests: 75% per deployed class/trigger
Explore More Salesforce Certifications
Continue into nearby exams from the same family. Each card keeps practice questions, study guides, flashcards, videos, and articles in one place.
More From This Family
Videos and articles for deeper review.
