Free TVB-450 Exam Braindumps (page: 20)

Page 20 of 38

Which Apex class contains methods to return the amount of resources that have been used for a particular governor, such as the number of DML statements?

  1. Exception
  2. Messaging
  3. OrgLimits
  4. Limits

Answer(s): D



A company has been adding data to Salesforce and has not done a good Job of limiting the creation of duplicate Lead records. The developer is considering writing an Apex process to identify duplicates and merge the records together.
Which two statements are valid considerations when using merged?

Choose 2 answers

  1. The field values on the master record are overwritten by the records being merged.
  2. Merge is supported with accounts, contacts, cases, and leads.
  3. External ID fields can be used with the merge method.
  4. The merge method allows up to three records, including the master and two additional records with the same sObject type, to be merged into the master record.

Answer(s): B,D



A business has a proprietary Order Management System (OMS) that creates orders from their website and fulfills the orders.
When the order is created in the OMS, an integration also creates an order record in Salesforce and relates it to the contact as identified by the email on the order. As the order goes through different stages in the OMS, the integration also updates It in Salesforce. It is noticed that each update from the OMS creates a new order record in Salesforce.
Which two actions will prevent the duplicate order records from being created in Salesforce? Choose 2 answers

  1. Ensure that the order number in the OMS is unique.
  2. Use the order number from the OMS as an external ID.
  3. Use the email on the contact record as an external ID.
  4. Write a before trigger on the order object to delete any duplicates.

Answer(s): A,D



Which two statements are true about using the @testSetup annotation in an Apex test class? Choose 2 answers

  1. Records created in the test setup method cannot be updated in individual test methods.
  2. Qo The @testSetup annotation is not supported when the GisTest(SeeAllData=True) annotation is used.
  3. Test data is inserted once for all test methods in a class.
  4. A method defined with the @testSetup annotation executes once for each test method in the test class and counts towards system limits.

Answer(s): B,D



Page 20 of 38



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

ahmad hassan commented on September 06, 2023
pd1 with great experience
Anonymous
upvote

Parvez commented on August 10, 2023
pd1 with great experience
Anonymous
upvote