Question 6
A company wants to incorporate a third-party weh service to set the Address fields when an Account is inserted, if they have not already been set.
What is the optimal way to achieve this?
What is the optimal way to achieve this?
Question 7
Line 1 public class AttributeTypes Line 2 { Line 3 private final String[] arrayItems; Line 4 Line 5
@AuraEnabled Line 6 public List<String> 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?
@AuraEnabled Line 6 public List<String> 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?
Question 8
A developer wants to write a generic Apex method that will compare the Salesforce Name filed between any two object records, for example to compare the Name field of an Account and an Opportunity; or the name of an Account and a Contact.
How should the developer do this?
How should the developer do this?
Question 9
Consider the following code snippet:

Which two steps should the developer take to add flexibility to change the endpolnt and credentials without needing to modify code?
Choose 2 answers

Which two steps should the developer take to add flexibility to change the endpolnt and credentials without needing to modify code?
Choose 2 answers
Question 10
Consider the code above.

When a user dicks on the Link of a Contact's name, what happens'

When a user dicks on the Link of a Contact's name, what happens'
