Free Platform-Developer-II Exam Dumps

Question 26

- (Exam Topic 3)
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?

Correct Answer:A

Question 27

- (Exam Topic 1)
Line 1 public class AttributeTypes Line 2 { Line 3 private final String[] arrayItems; Line 4 Line 5
@AuraEnabled Line 6 public List getStringArray() { Line 7 Strings+ arrayItems = new String*+, 'red', 'green', 'blue' -; Line 8 return arrayItems; Line 9 } Line 10 } Consider the Apex controller above that is called from a Lightning Aura Component. What is wrong with it?

Correct Answer:C

Question 28

- (Exam Topic 1)
If the "PageReference.setRedirect" Apex function is set to True, what type of request is made?

Correct Answer:A

Question 29

- (Exam Topic 3)
Which two best practices should the developer Implement to optimize this code? Choose 2 answers

Correct Answer:BD

Question 30

- (Exam Topic 3)
A developer created an Opportunity trigger that updates the account rating when an associated opportunity is considered high value. Current criteria for an opportunity to be considered high value is an amount greater than or equal to SI,000,000. However, this criteria value can change over time.
There is a new requirement to also display high value opportunities In a Lightning web component.
Which two actions should the developer take to prevent the business logic that obtains the high value opportunities from being repeated in more than one place?
Choose 2 answers

Correct Answer:AD