00:00

QUESTION 66

- (Exam Topic 3)
As part of a new integration, a developer is asked to implement a new custom search functionality that is capable of performing unrestricted queries and can account for all values within a custom picklist field, type z, on the Opportunity object. The search feature must also account for NULL values.
The organization-wide default for the Opportunity object is set to Public Read-Only, and a new custom index has.
been created for the Type__c field. There are more than 5 million Opportunity records within the environment. and a considerable amount of the existing records have NULL values for the picklist
Which technique should the developer implement to maximize performance when querying NULL values?

Correct Answer: B

QUESTION 67

- (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 68

- (Exam Topic 1)
A developer encounters an error that states that the Apex heap size is exceeded. Which technique may reduce heap size?

Correct Answer: D

QUESTION 69

- (Exam Topic 3)
A developer is developing a reusable Aura component that will reside on an sObject Lightning page with the following HTML snippet:
Caura: component implements-“forcethaaRecordid, flexipage:availableForAllPageTypes”>

Hello!


How can the component’s controller get the context of the Lightning page that the sobject is an without requiring additional best coverage?

Correct Answer: D

QUESTION 70

- (Exam Topic 1)
What is the transaction limit on the number of callouts?

Correct Answer: C