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 83 discussion

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

Which two objects can be inserted in the same transaction? (Choose two.)

  • A. Opportunity and User
  • B. Account and AccountShare
  • C. Case and CaseComment
  • D. Account and Group
Show Suggested Answer Hide Answer
Suggested Answer: BC 🗳️

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
rodmfpwc
Highly Voted 2 years, 10 months ago
Explanation: Setup objects are those which interacts with metadata like User, Profile, Layout etc. All other object (Standard and Custom) are non setup object. One important note is that we cannot perform DMLs on setup and non setup objects in same transaction.
upvoted 7 times
AnhTH
2 years, 2 months ago
List setup objects https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/reference_objects_setup.htm
upvoted 3 times
...
...
RegNav
Most Recent 7 months ago
"Group You can only insert and update a group in a transaction with other sObjects. Other DML operations aren’t allowed." So no select or delete, rollback, but yes for insert and update. They couldn't make these two questions more bizarre Question #: 83, #: 119 https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_dml_non_mix_sobjects.htm
upvoted 1 times
RegNav
7 months ago
C. Case and CaseComment D. Account and Group
upvoted 1 times
...
...
santo_aj
7 months, 1 week ago
Selected Answer: BC
B,C is correct. https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_dml_non_mix_sobjects.htm
upvoted 2 times
...
lorenac2
11 months, 3 weeks ago
Selected Answer: BC
Confirmed, the Share Table is accessible for DML operations with non-setup DML operations.
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 ...