List of questions
Related questions
Question 406 - Certified Platform Developer II discussion
Refer to the following code snippet:
A developer created a JavaScript function as part of a Lightning web component (LWC) that surfaces information about Leads by wire calling geyFetchLeadList whencertain criteria are met.
Which three changes should the developer implement in the Apex class above to ensure the LWC can display data efficiently while preserving security?
Choose 3 answers
A.
Annotate the Apex method with @AuraEnabled.
B.
Implement the with sharing keyword in the class declaration.
C.
Implement the with keyword in the class declaration.
D.
Use the WZ E D clause within the SOQL query.
E.
Annotate the Apex method with @AuraEnabled(Cacheable=True).
Your answer:
0 comments
Sorted by
Leave a comment first