Question 36

A developer is debugging the following code to determinate why Accounts are not being created Account a = new Account(Name = 'A'); Database.insert(a, false); How should the code be altered to help debug the issue?
  • Question 37

    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.
  • Question 38

    A developer wrote a unit test to confirm that a custom exception works properly in a custom controller, but the test failed due to an exception being thrown.
    Which step should the developer take to resolve the issue and properly test the exception?
  • Question 39

    Universal Containers has developed custom Apex code and Lightning Components in a Sandbox environment. They need to deploy the code and associated configurations to the Production environment.
    What is the recommended process for deploying the code and configurations to Production?
  • Question 40

    A developer writes a trigger on the Account object on the before update event that increments a count field. A workflow rule also increments the count field every time that an Account is created or updated. The field update in the workflow rule is configured to not re-evaluate workflow rules.
    What is the value of the count field if an Account is inserted with an initial value of zero, assuming no other automation logic is implemented on the Account?