Which is the correct definition of the Apex method that gets additional information?
A Visual Flow uses an apex Action to provide additional information about multiple Contacts, stored in a custom class, contactInfo. Which is the correct definition of the Apex method that gets additional information?A . @InvocableMethod(label='Additional Info') public List<ContactInfo> getInfo(List<Id> contactIds) { /*implementation*/ }B . @InvocableMethod(label='additional Info') public static ContactInfo getInfo(Id...
Where are two locations a developer can look to find information about the status of asynchronous or future methods? Choose 2 answers
Where are two locations a developer can look to find information about the status of asynchronous or future methods? Choose 2 answersA . Apex Flex QueueB . Apex JobsC . Paused Flow Interviews componentD . Time-Based Workflow MonitorView AnswerAnswer: A,B
What are three techniques that a developer can use to invoke an anonymous block of code? (Choose three.)
What are three techniques that a developer can use to invoke an anonymous block of code? (Choose three.)A . Use the SOAP API to make a call to execute anonymous code.B . Create a Visualforce page that uses a controller class that is declared without sharing.C . Run code using...
Which SOSL statement should the developer use?
A developer wants to retrieve the Contacts and Users with the email address '[email protected]'. Which SOSL statement should the developer use?A . FIND {[email protected]} IN Email Fields RETURNING Contact (Email), User (Email)B . FIND {Email = '[email protected]'} IN Contact, UserC . FIND {Email = '[email protected]'} RETURNING Contact (Email), User (Email)D...
In which two ways can this be accomplished?
A developer created a child Lightning web component nested inside a parent Lightning web component, parent component needs to pass a string value to the child component. In which two ways can this be accomplished? Choose 2 answersA . The parent component can use a custom event to pass the...
Which method should a developer use to ensure only users that should be able to delete Accounts can successfully perform deletions?
A developer must write an Apex method that will be called from a Lightning component. The method may delete an Account stored in the accountRec variable. Which method should a developer use to ensure only users that should be able to delete Accounts can successfully perform deletions?A . Schema.sObjectType.Account.isDeletable()B ....
What is the most efficient way to ensure a value is selected every time a record is saved?
A custom picklist field, Food_Preference__c, exist on a custom object. The picklist contains the following options: 'Vegan','Kosher','No Preference'. The developer must ensure a value is populated every time a record is created or updated. What is the most efficient way to ensure a value is selected every time a record...
Which standard field is required when creating a new contact record?
Which standard field is required when creating a new contact record?A . LastNameB . NameC . AccountIdD . FirstNameView AnswerAnswer: A
What are three capabilities of the <ltng : require> tag when loading JavaScript resources in Aura components? Choose 3 answers
What are three capabilities of the <ltng : require> tag when loading JavaScript resources in Aura components? Choose 3 answersA . Loading files from DocumentsB . One-time loading for duplicate scriptsC . Specifying loading orderD . Loading scripts In parallelE . Loading externally hosted scriptsView AnswerAnswer: B,C,D
Which two statements are true about using the @testSetup annotation in an Apex test class? Choose 2 answers
Which two statements are true about using the @testSetup annotation in an Apex test class? Choose 2 answersA . Records created in the test setup method cannot be updated in individual test methods.B . Qo The @testSetup annotation is not supported when the GisTest(SeeAllData=True) annotation is used.C . Test data...