Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Platform Developer II All Questions

View all questions & answers for the Certified Platform Developer II exam

Exam Certified Platform Developer II topic 1 question 119 discussion

Actual exam question from Salesforce's Certified Platform Developer II
Question #: 119
Topic #: 1
[All Certified Platform Developer II Questions]

Which of the follow be used together in DML operations (transaction)? (Choose two.)

  • A. Account - AccountShare
  • B. Case - CaseComment
  • C. Opportunity - User
  • D. Account - Order
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
ncore
Highly Voted 2 years, 12 months ago
Only C seems to be non-viable answer.
upvoted 6 times
skipper009
2 years, 9 months ago
I agree: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_dml_non_mix_sobjects.htm
upvoted 1 times
...
...
tester1987
Most Recent 10 months, 3 weeks ago
Selected Answer: BD
AccountShare and User are setup objects and it can't be mixed with other sobjects
upvoted 2 times
...
RegNav
1 year, 6 months ago
A. cannot be used as AccountShare is Accounts ObjectPermissions D. cannot be used as you can't insert a user in a transaction with other sObjects https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_dml_non_mix_sobjects.htm
upvoted 1 times
...
Ting21
1 year, 7 months ago
correction to my previous answer. ans should be BD. cannot be A because Accountshare object is related to user / group ( Userorgroupid) here is the reference: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_accountshare.htm
upvoted 1 times
...
Ting21
1 year, 7 months ago
ABD are all correct. AccountShare is child of Account. CaseComment is child to Case. order is child to Account.
upvoted 1 times
...
cPickle
1 year, 7 months ago
Selected Answer: AD
A, D is Correct. In option A, the "Account" object and "AccountShare" object are related to sharing records with other users, so it is common to perform DML operations on these objects in the same transaction. In option D, the "Account" object and "Order" object are related to sales transactions, where an order may be related to an account. Therefore, it is also common to perform DML operations on these objects in the same transaction. Option B, "Case" object and "CaseComment" object are related to managing comments on a case, but they are not related to each other through a direct relationship. So, they cannot be used together in the same transaction. Option C, "Opportunity" object and "User" object are not directly related to each other, so they cannot be used together in the same transaction.
upvoted 1 times
...
GGJJ
1 year, 9 months ago
A. Account - AccountShare B. Case - CaseComment D. Account - Order
upvoted 1 times
...
lorenac2
1 year, 10 months ago
ABD is correct, tested A yesterday on another question
upvoted 1 times
...
sf2022
1 year, 11 months ago
Selected Answer: AB
AB are correct ans
upvoted 3 times
...
NitrOxygeN
3 years, 6 months ago
AB should be the answer here
upvoted 3 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 ...