Free Salesforce PDI Exam Braindumps (page: 57)

A developer uses a test setup method to create an account named 'test'. The first method deletes the account record. What must be done in the second test method to use the account?

  1. Use select id from account where name='test'
  2. Restore the account using an undelete statement
  3. Call the test setup method at the start of the test
  4. The account cannot be used in the second method

Answer(s): A



Which statement about the Lookup Relationship between a Custom Object and a Standard Object is correct?

  1. The Lookup Relationship on the Custom Object can prevent the deletion of the Standard Object.
  2. The Lookup Relationship cannot be marked as required on the page layout for the Custom Object.
  3. The Custom Object will be deleted when the referenced Standard Object is deleted.
  4. The Custom Object inherits security from the referenced Standard Objects

Answer(s): C



A developer wants to create a custom object to track Customer Invoices.How should Invoices and Accounts be related to ensure that all Invoices are visible to everyone with access to an Account?

  1. The Account should have a Master-Detail relationship to the Invoice.
  2. The Invoice should have a Master-Detail relationship to the Account
  3. The Account should have a Lookup relationship to the Invoice
  4. The Invoice should have a Lookup relationship to the Account Previous

Answer(s): B



A developer needs to provide a way to mass edit, update, and delete records from a list view. In which two ways can this be accomplished? Choose 2 answers

  1. Create a new Visualforce page and Apex Controller for the list view that provides mass edit, update and delete functionality.
  2. Configure the user interface and enable both inline editing and enhanced lists.
  3. Download an unmanaged package from the AppExchange that provide customizable mass edit, update, and delete functionality.
  4. Download a managed package from the AppExchange that provides customizable Enhanced List Views and buttons

Answer(s): A,C






Post your Comments and Discuss Salesforce PDI exam prep with other Community members:

PDI Exam Discussions & Posts