MultipleChoice
Assuming that 'name; is a String obtained by an
MultipleChoice
A developer needs to confirm that a Contact trigger works correctly without changing the organization's dat
a. what should the developer do to test the Contact trigger?
OptionsMultipleChoice
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?
OptionsMultipleChoice
Universal Containers has an order system that uses an Order Number to identify an order for customers and service agents. Order will be imported into Salesforce.
OptionsMultipleChoice
A developer uses a loop to check each Contact in a list. When a Contact with the Title of
''Boss'' is found, the Apex method should jump to the first line of code outside of the for
loop.
Which Apex solution will let the developer implement this requirement?
OptionsMultipleChoice
Which process automation should be used to send an outbound message without using Apex code?
OptionsMultipleChoice
A developer is tasked to perform a security review of the ContactSearch Apex class that exists in the system. Whithin the class, the developer identifies the following method as a security threat: List<Contact> performSearch(String lastName){ return Database.query('Select Id, FirstName, LastName FROM Contact WHERE LastName Like %'+lastName+'%); } What are two ways the developer can update the method to prevent a SOQL injection attack? Choose 2 answers
OptionsMultipleChoice
Given the following trigger implementation:
trigger leadTrigger on Lead (before update){
final ID BUSINESS_RECORDTYPEID = '012500000009Qad';
for(Lead thisLead : Trigger.new){
if(thisLead.Company != null && thisLead.RecordTypeId != BUSINESS_RECORDTYPEID){
thisLead.RecordTypeId = BUSINESS_RECORDTYPEID;
}
}
}
The developer receives deployment errors every time a deployment is attempted from Sandbox to Production.
What should the developer do to ensure a successful deployment?
OptionsMultipleChoice
Given the following block code: try{ List <Accounts> retrievedRecords = [SELECT Id FROM Account WHERE Website = null]; }catch(Exception e){ //manage exception logic } What should a developer do to ensure the code execution is disrupted if the retrievedRecordslist remains empty after the SOQL query?
OptionsMultipleChoice
Which three Salesforce resources can be accessed from a Lightning web component'
Choose 3 answers
Options