Free DEV-450 Exam Braindumps (page: 4)

Page 4 of 96

A developer working on a time management application wants to make total hours for each timecard available to application users. A timecard entry has a Master-Detail relationship to a timecard.
Which approach should the developer use to accomplish this declaratively?

  1. A Visualforce page that calculates the total number of hours for a timecard and displays it on the page
  2. A Roll-Up Summary field on the Timecard Object that calculates the total hours from timecard entries for that timecard
  3. A Process Builder process that updates a field on the timecard when a timecard entry is created
  4. An Apex trigger that uses an Aggregate Query to calculate the hours for a given timecard and stores it in a custom field

Answer(s): B



How can a developer set up a debug log on a specific user?

  1. It is not possible to setup debug logs for users other than yourself.
  2. Ask the user for access to their account credentials, log in as the user and debug the issue.
  3. Create Apex code that logs code actions into a custom object.
  4. Set up a trace flag for the user, and define a logging level and time period for the trace.

Answer(s): D



A developer has the controller class below.



Which code block will run successfully in an execute anonymous window?

  1. myFooController m = new myFooController();System.assert(m.prop !=null);
  2. myFooController m = new myFooController();System.assert(m.prop ==0);
  3. myFooController m = new myFooController();System.assert(m.prop ==null);
  4. myFooController m = new myFooController();System.assert(m.prop ==1);

Answer(s): C



Which tool allows a developer to send requests to the Salesforce REST APIs and view the responses?

  1. REST resource path URL
  2. Workbench REST Explorer
  3. Developer Console REST tab
  4. Force.com IDE REST Explorer tab

Answer(s): B






Post your Comments and Discuss Salesforce DEV-450 exam with other Community members:

DEV-450 Exam Discussions & Posts