Question 106

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
  • Question 107

    Which three options can be accomplished with formula fields? (Choose three.)
  • Question 108

    Universal Containers has a support process that allows users to request support from its engineering team using a custom object, Engineering_Support__c.
    Users should be able to associate multiple engineering_Support__c records to a single Opportunity record.
    Additionally, aggregate Information about the Engineering_support__c records should be shown on the Opportunity record.
    What should a developer Implement to support these requirements?
  • Question 109

    Which two statement can a developer use to throw a custom exception of type MissingFieldValueException?Choose 2 answers
  • Question 110

    Which scenario is invalid for execution by unit tests?