SALESFORCE-PD1 Process Automation And Logic Practice Question
A developer writes an Apex trigger that performs a SOQL query inside a standard for-loop processing Trigger.new. Which governor limit is most likely to be exceeded?
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
✓
Total number of SQL queries issued (100)
Querying inside loops easily exhausts the total SOQL queries issued per transaction limit of 100.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Total number of SQL queries issued (100)
Why this is correct
Placing a SOQL query inside a loop causes a query to run for every record in the batch, hitting the 100 SOQL query limit.
- ✗
Total heap size (6 MB)
Why it's wrong here
Heap size limits are related to large data structures, not necessarily loop queries.
- ✗
Total number of records retrieved by SOQL queries (50,000)
Why it's wrong here
The record row limit is less likely to be hit by single-record queries in a loop than the query count limit.
- ✗
Total CPU time (10,000 milliseconds)
Why it's wrong here
While CPU time increases, the SOQL query limit is the primary direct governor limit violated by queries in loops.
About these practice questions
Courseiva writes every SALESFORCE-PD1 question from scratch — 488 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.