SALESFORCE-PD1 Developer Fundamentals Practice Question
Which TWO statements are true regarding the Salesforce security model and Apex execution context? Choose 2 answers.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Apex code runs in system mode by default, ignoring object and field-level permissions.
Apex runs in system mode by default (ignoring FLS and CRUD), and sharing rules are only enforced if 'with sharing' is declared.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Apex code runs in system mode by default, ignoring object and field-level permissions.
Why this is correct
By default, Apex has access to all objects and fields regardless of user permissions.
- ✗
System mode ignores record-level sharing rules and user permissions entirely.
Why it's wrong here
System mode ignores FLS and CRUD, but if 'with sharing' is present, sharing rules are still enforced.
- ✗
Apex code automatically enforces sharing rules unless declared 'without sharing'.
Why it's wrong here
Sharing rules are only enforced if 'with sharing' or 'inherited sharing' is specified on the class.
- ✓
The 'with sharing' keyword enforces record-level sharing rules.
Why this is correct
'with sharing' ensures that sharing rules are respected during queries and DML.
- ✗
Profile permissions always override Apex system mode execution.
Why it's wrong here
Profile permissions do not restrict code execution when running in system mode.
About these practice questions
This SALESFORCE-PD1 question is part of Courseiva's 493-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Salesforce exam blueprint
This SALESFORCE-PD1 practice question is part of Courseiva's free Salesforce certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SALESFORCE-PD1 exam.