Salesforce Platform Developer II Exam

© examsiri.com
Question : 31 of 33
 
Marks: +1, -0
Part of a custom Lightning Component displays the total number of Opportunities in the org, which is in the millions. The Lightning Component uses an Apex Controller to get the data it needs.
What is the optimal way for a developer to get the total number of Opportunities for the Lightning Component?
Go to Question: