Question 26

A company has a custom object, Order__c, that has a custom picklist field, Status__c, with values of `"New', `"In Progress', or `"Fulfilled' and a lookup field, Contact__c, to Contact.
Which SOQL query will return a unique list of all the Contact records that have no `"Fulfilled' Orders?
  • Question 27

    A developer wrote a test class that successfully asserts a trigger on Account, It fires and updates data correctly In a sandbox environment.
    A Salesforce admin with a custom profile attempts to deploy this trigger via a change set into the production environment, but the test class falls with an Insufficient privileges error.
    What should a developer do to fix the problem?
  • Question 28

    A company uses Salesforce to sell products to customers. They also have an external product information management (PIM) system that is the system of record for products.
    A developer received these requirements:
    * Whenever a product is created or updated in the PIM, a product must be created or updated as a Product? record in Salesforce and a PricebookEntry record must be created or updated automatically by Salesforce.
    = The PricebookEntry should be created in a Priceboek2 that is specified in a custom setting.
    What should the developer use to satisfy these requirements?
  • Question 29

    Which statement is considered a best practice for writing bulk safe Apex triggers?
  • Question 30

    Consider the controller code below that is called from an Aura component and returns data wrapped in a class.

    The developer verified that the queries return a single record each and there is error handling in the Aura component, but the component is not getting anything back when calling the controller getSemeData. 'What is wrong?