A developer needs a collection that maps each Account Id to its Account record for fast lookup by Id. Which Apex collection type is designed for this?
Platform Developer I
SALESFORCE_PDIReady to test yourself?
A timed, blueprint-proportional exam drawn fresh from this bank β with a per-domain score report.
π Free preview: showing 10 of 30 questions. Unlock the full bank β every question, explanation, and reference.
Unlock all 30 questions β10 questions across 4 topics. Choose an answer for each question, then check it to see the correct answer and explanation.
Filter by topic
7 questions in Developer Fundamentals
Developer Fundamentals
7 questions in topicApex language basics, data types, SOQL/SOSL, multi-tenancy, and platform architecture.
A feature must find all records containing the text 'Acme' across Accounts, Contacts, AND Leads in one search. Which query language is appropriate?
Why does Salesforce enforce governor limits (SOQL query limits, DML limits, CPU time) on Apex code?
In one SOQL query, a developer must fetch Accounts together with all of their related Contacts. Which query accomplishes this?
An Apex class declared 'with sharing' behaves differently from one declared 'without sharing'. What does 'with sharing' enforce?
A developer writes: for (Account a : [SELECT Id, Name FROM Account WHERE Industry = 'Tech']) { ... }. What is this construct called and why is it recommended for large result sets?
When should a team choose APEX over declarative automation (Flow) for a requirement?