exam questions

Exam CRT-450 All Questions

View all questions & answers for the CRT-450 exam

Exam CRT-450 topic 1 question 291 discussion

Actual exam question from Salesforce's CRT-450
Question #: 291
Topic #: 1
[All CRT-450 Questions]

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 merge? (Choose two.)

  • A. 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.
  • B. Merge is supported with accounts, contacts, cases, and leads.
  • C. External ID fields can be used with the merge method.
  • D. The field values on the master record are overwritten by the records being merged.
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
smoota
Highly Voted 1 year, 3 months ago
Selected Answer: AB
When you have duplicate lead, contact, case, or account records in the database, cleaning up your data and consolidating the records might be a good idea. You can merge up to three records of the same sObject type. The merge operation merges up to three records into one of the records, deletes the others, and reparents any related records.
upvoted 6 times
...
owenchan
Highly Voted 11 months, 3 weeks ago
Merge Considerations When merging sObject records, consider the following rules and guidelines: Only leads, contacts, cases, and accounts can be merged. See sObjects That Don’t Support DML Operations. You can pass a master record and up to two additional sObject records to a single merge method. Using the Apex merge operation, field values on the master record always supersede the corresponding field values on the records to be merged. To preserve a merged record field value, simply set this field value on the master sObject before performing the merge. External ID fields can’t be used with merge. For more information on merging leads, contacts and accounts, see the Salesforce online help. from salesforce so AB
upvoted 5 times
...
DonAldos
Most Recent 1 year, 1 month ago
Selected Answer: AD
B is incorrect, as merge is also supported with other standard and custom objects, not just accounts, contacts, cases, and leads. Statement C is also incorrect, as external ID fields cannot be used with the merge method.
upvoted 1 times
BrucePark
9 months, 2 weeks ago
Nope, B is CORRECT. Please check the merge consideration part at the link: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_dml_examples_merge.htm
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago