# Salesforce Platform Developer I (SPDI) practice exams

> Salesforce Platform Developer I practice exams: 290 questions in 5 timed tests, every answer explained.

Page: https://devopscodelab.com/exams/salesforce-platform-developer-i/

290 questions in 5 timed practice tests. Each test has about 60 questions and a 105-minute limit. The pass mark is 68%. Results are split across the 4 exam domains.

## Exam at a glance

| Setting | Value |
| --- | --- |
| Practice tests | 5 |
| Questions in total | 290 |
| Questions per test | About 60 |
| Time limit per test | 105 minutes |
| Pass mark | 68% |
| Question types | Single answer and multiple answer (30 multiple-answer questions) |
| Level | Associate |
| Category | Business Platforms |

These are the settings of our practice tests. Check the official Salesforce exam page for the current format before you book.

## Domains and weights

| Domain | Weight | Questions in our bank |
| --- | --- | --- |
| Developer Fundamentals | 23% | 67 |
| Process Automation and Logic | 30% | 87 |
| User Interface | 25% | 72 |
| Testing, Debugging, and Deployment | 22% | 64 |

## Price and access

- SPDI practice exams: $12.99 for 12 months of access.
- Free mini exam: 15 questions with explanations (free account): https://devopscodelab.com/app/exams/salesforce-platform-developer-i/mini/
- All-Access subscription includes every exam: https://devopscodelab.com/pricing/
- 10 free questions with answers: https://devopscodelab.com/exams/salesforce-platform-developer-i/free-practice-questions/

## Sample questions

### Question 1 of 3

An @AuraEnabled method returns Contact records to a Lightning web component. Users without read access to the Contact SSN__c field must receive the records with that field silently removed rather than an error. Which approach should the developer use?

- A. Pass the queried list through Security.stripInaccessible(AccessType.READABLE, records) and return getRecords()
- B. Query the records WITH USER_MODE so that inaccessible fields are removed from each returned record automatically
- C. Check Schema.sObjectType.Contact.isAccessible() before the query and return the records if it is true
- D. Declare the controller class with sharing so field-level security is applied to every queried field

**Answer:** A

**Explanation:** Security.stripInaccessible removes fields the user cannot read from the records and returns a sanitized list through getRecords(), without throwing an exception. WITH USER_MODE enforces field-level security but throws an exception when an inaccessible field is in the query instead of silently removing it. The with sharing keyword enforces record sharing only, never field-level security. An object-level isAccessible check does not evaluate individual field permissions.

### Question 2 of 3

A new developer asks why Apex code is subject to governor limits such as a cap on SOQL queries per transaction. Which explanation is accurate?

- A. Limits keep each org within the data storage allocation it purchased, so inserts stop before the org exceeds its storage quota
- B. Many orgs share the same servers and database in the multitenant architecture, so limits stop one tenant's code from monopolizing them
- C. Limits keep each user within the 24-hour API request entitlement licensed to the org, so Apex calls count against the same allowance
- D. Limits make sure each transaction finishes before the session timeout set in Session Settings expires for the running user's browser

**Answer:** B

**Explanation:** Governor limits exist because the platform is multitenant: orgs share infrastructure, so the runtime caps what any single transaction can consume. Data storage is enforced separately and does not throttle SOQL counts. The daily API request allowance applies to external API calls, not to Apex statements running inside a transaction. Session timeout controls user inactivity and has nothing to do with per-transaction resource caps.

### Question 3 of 3

A method builds a dynamic SOQL query by concatenating a search term that a user types into a Lightning web component. Which change best prevents SOQL injection?

- A. Convert the search term to lowercase with toLowerCase() before concatenating it into the query
- B. Wrap Database.query in a try-catch block so malformed injected queries return an empty list
- C. Run the dynamic query in a without sharing class so the query cannot reach restricted records
- D. Use a bind variable such as WHERE Name = :searchTerm, or Database.queryWithBinds with a bind map

**Answer:** D

**Explanation:** Bind variables (and Database.queryWithBinds with a bind map) pass user input as values rather than query text, so it cannot change the query's structure; String.escapeSingleQuotes is a fallback when concatenation is unavoidable. Running without sharing widens access and makes injection more dangerous. Changing letter case does not neutralize quotes or operators. Catching exceptions hides errors but does not stop a well-formed injected clause from returning extra data.


## Study plans

### Two weeks

1. Day 1: take practice test 1 in exam mode to get a baseline.
2. Days 2 to 5: domain mode on Process Automation and Logic and User Interface, the two most heavily weighted domains.
3. Day 6: practice test 2 in exam mode, then the mistakes quiz.
4. Days 7 to 12: practice tests 3 to 5, one every other day, each followed by its mistakes quiz.
5. Days 13 and 14: final mode. Book the exam when your readiness stays above the pass mark.

### Four weeks

1. Week 1: one practice test in practice mode, reading every explanation. Note your two lowest domains.
2. Week 2: domain mode on those two domains, then a second practice test in exam mode.
3. Week 3: practice tests 3 and 4 in exam mode, with the mistakes and flagged quizzes after each.
4. Week 4: practice test 5 and final mode until your readiness holds above the pass mark.

## Questions about the SPDI practice exams

**Are these real SPDI exam questions?**

No. We write every question ourselves and map it to the published SPDI exam objectives. We do not use leaked or recalled questions.

**Do the time limit and pass mark match the official exam?**

They match the settings of our practice tests. Exam providers change their format from time to time, so check the official exam page before you book.

**Can I try it before I pay?**

Yes. The free mini exam has 15 questions with full explanations and needs no account.

**How long do I keep access?**

A single-exam purchase gives you 12 months of access. All-Access includes this exam for as long as your subscription runs.

**What happens after I finish a test?**

You get a score, a pass or fail against the pass mark, a score per domain and every answer with its explanation.

Last updated November 2026.

DevOpsCode Lab is not affiliated with Salesforce. SPDI and related names are trademarks of their owners. We write every question ourselves; these are not real exam questions.
