Question 6

A developer created the following test method:

The developer org has five accounts where the name starts with Test". The developer executes this test in the Developer Console.
After the test code runs, which statement is true?
  • Question 7

    Which type of controller is best suited when you want all of the basic DML functions from an object's normal new/edit page?
  • Question 8

    The "Webservice" keyword___________.
  • Question 9

    Universal Containers allows customers to log into a Salesforce Community and update their orders via a custom Visualforce page. Universal Containers' sales representatives can edit the orders on the same Visualforce page.
    What should a developer use in an Apex test class to test that record sharing is enforced on the Visualforce page?
  • Question 10

    When calling a RESTful web service, the developer must implement two-way SSL authentication to enhance security. The Salesforce admin has generated a self-sign certificate within Salesforce with a unique name of "ERPSecCertificate".
    Consider the following code snippet:
    Which method must the developer implement in order to sign the HTTP request with the certificate?