Free DEX-450 Exam Braindumps (page: 12)

Page 11 of 115

The operation manager at a construction company uses a custom object called Machinery to manage the usage and maintenance of its cranes and other machinery. The manager wants to be able to assign machinery to different constructions jobs, and track the dates and costs associated with each job. More than one piece of machinery can be assigned to one construction job.

What should a developer do to meet these requirements?

  1. Create a lookup field on the Construction Job object to the Machinery object.
  2. Create a lookup field on the Machinery object to the Construction Job object.
  3. Create a junction object with Master-Detail Relationship to both the Machinery object and the Construction Job object.
  4. Create a Master-Detail Lookup on the Machinery object to the Construction Job object.

Answer(s): A



Which two strategies should a developer use to avoid hitting governor limits when developing in a multi-tenant environment? (Choose two.)

  1. Use collections to store all fields from a related object and not just minimally required fields.
  2. Use methods from the "Limits" class to monitor governor limits.
  3. Use SOQL for loops to iterate data retrieved from queries that return a high number of rows.
  4. Use variables within Apex classes to store large amounts of data.

Answer(s): B,C



Which set of roll-up types are available when creating a roll-up summary field?

  1. COUNT, SUM, MIN, MAX
  2. AVERAGE, SUM, MIN, MAX
  3. SUM, MIN, MAX
  4. AVRAGE, COUNT, SUM, MIN, MAX

Answer(s): A



What is the result of the debug statements in testMethod3 when you create test data using testSetup in below code?

  1. Account0.Phone=333-8781, Account1.Phone=333-8780
  2. Account0.Phone=888-1515, Account1.Phone=999-2525
  3. Account0.Phone=333-8780, Account1.Phone=333-8781
  4. Account0.Phone=888-1515, Account1.Phone=999-1515

Answer(s): C






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

DEX-450 Discussions & Posts