Master SOQL & bulkified Apex triggers.
Practise Salesforce interview questions the LeetCode way: SOQL queries and Apex triggers judged against thousands of mock Accounts, Contacts and Opportunities, with the governor limits that trip up real interviews.
1SELECT Name, (SELECT LastName FROM Contacts)2FROM Account3WHERE Rating = 'Hot'4 AND Id IN (SELECT AccountId FROM Opportunity5 WHERE CloseDate = THIS_QUARTER)6ORDER BY Name
Today's problems
View daily pageLearn the topics interviewers ask about
All study notesSOQL fundamentals
Query syntax, filtering, sorting and relationship queries, plus the patterns interviewers expect you to write from memory.
Read SOQL fundamentals Study noteApex triggers & the handler pattern
Trigger events, context variables, before vs after, one trigger per object, recursion control and addError.
Read the Apex triggers guide Study noteGovernor limits & bulkification
The limits every interviewer asks about, and the code patterns that avoid “Too many SOQL queries: 101”.
Read about governor limits Study noteApex testing
Test classes, data factories, startTest/stopTest, assertions, bulk tests and mocking callouts.
Read the Apex testing guideFree Salesforce interview prep: SOQL, Apex triggers and interview questions
ForceChallenges is a practice platform for Salesforce developers and admins preparing for interviews and certifications. Solve LeetCode-style SOQL and Apex trigger challenges, learn from concise study notes, and revise theory questions with answers — all checked against a simulated org that enforces real governor limits.
SOQL practice
Relationship queries, aggregates, subqueries and date literals on realistic data.
Apex trigger challenges
Bulkified before/after triggers, handler classes and governor limits.
Salesforce interview questions
Theory questions and answers by topic and company.
Study notes
Concise guides for admins and developers, linked to practice problems.
Daily problems
One SOQL and one trigger challenge every day.
Popular topics
- SOQL relationship queries
- SOQL aggregate functions
- bulkified Apex triggers
- governor limits
- trigger handler pattern
- Apex test classes
- Lightning Web Components
- Salesforce CPQ & nCino questions
Frequently asked questions
- How do I practise SOQL for a Salesforce developer interview?
- Open a SOQL problem, write your query in the editor and run it against a realistic mock org with thousands of Accounts, Contacts and Opportunities. You get instant feedback on the rows you return, including relationship queries, aggregates, semi-joins and date literals.
- Can I practise Apex triggers and governor limits here?
- Yes. Write real Apex triggers and handler classes, then submit them against bulk inserts, updates and deletes delivered in chunks of 200 records. SOQL or DML inside a loop fails with the same governor-limit errors you would see in Salesforce.
- Are there Salesforce interview questions with answers?
- The interview questions section lists theory questions with model answers, grouped by topic and tagged with the companies that ask them, next to study notes on SOQL, Apex triggers, bulkification, testing and more.
- Do I need a Salesforce org or any setup?
- No. Everything runs in your browser against a simulated Salesforce org, so you can start immediately. You can optionally connect your own org to run trigger challenges as real Apex.
- Is it free?
- ForceChallenges is free to use: practise problems, read the notes, revise the interview questions and take the daily challenges.