ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 356 - Certified Platform Developer II discussion

Report
Export

A developer implemented a custom data table in a Lightning web component with filter functionality. However, users are submitted support tickets about long load times when the filters are changed. The component uses an Apex method that is called to query for records the selected filters.

What should the developer do to improve performance of the component?

A.
Use setStorable( ) in the Apex method to store the response in the client-side cache
Answers
A.
Use setStorable( ) in the Apex method to store the response in the client-side cache
B.
Return all records into a list when the component is created and filter the array in JavaScript
Answers
B.
Return all records into a list when the component is created and filter the array in JavaScript
C.
Use SOSL to Query the records on filter change.
Answers
C.
Use SOSL to Query the records on filter change.
D.
Use a selective SOQL query with a custom index.
Answers
D.
Use a selective SOQL query with a custom index.
Suggested answer: A
asked 23/09/2024
DAVID LOPEZ MORGADO
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first