MultipleChoice
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
OptionsMultipleChoice
Universal Containers hires a developer to build a custom search page to help user- find the Accounts they want. Users will be able to search on Name, Description, and a custom comments field.
Which consideration should the developer be aware of when deciding between SOQ1 Mid SOSL ?
Choose 2 answers
OptionsMultipleChoice
What is the result of the following Classes page?
OptionsMultipleChoice
A developer needs to prevent the creation of request records when certain conditions exist in the system. A RequestLogic class exists to checks the conditions. What is the correct implementation?
OptionsMultipleChoice
A variables 'creditAmount' and 'debtAmount' should not be able to change once a value is
assigned. In which two ways can the developer declare the variables to ensure their value
can only be assigned one time? Choose 2 answers
Options