Platform-Developer-II Dumps

Platform-Developer-II Free Practice Test

Salesforce Platform-Developer-II: Platform Developer II

QUESTION 101

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

- (Exam Topic 1)
What is the correct order of execution for Visualforce Page "get" requests (initial page visit)?

Correct Answer: C

QUESTION 103

- (Exam Topic 1)
Which statement is true regarding both Flow and Lightning Process? (Choose two.)

Correct Answer: AC

QUESTION 104

- (Exam Topic 2)
A company manages information about their product offerings in custom objects named Catalog and Catalog Item. Catalog Item has a master-detail field to Catalog, and each Catalog may have as many as 100,000 Catalog Items.
Both custom objects have a CurrencylsoCode Text field that contains the currency code they should use. If a Catalog's CurrencylsoCode changes, all of its Catalog Items' CurrencylsoCodes should be changed as well.
What should a developer use to update the CurrencylsoCodes on the Catalog Items when the Catalog's CurrencylsoCode changes^5

Correct Answer: D

QUESTION 105

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