Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam PDII All Questions
Exam PDII All Questions

View all questions & answers for the PDII exam

Salesforce Developers PDII Question # 27 Topic 4 Discussion

PDII Exam Topic 4 Question 27 Discussion:
Question #: 27
Topic #: 4

Business rules require a Contact ta always be created when a new Account is created.

What can be used when developing a custom screen to ensure an Account is not created if the creation of the Contact fails?


A.

Use setSaverpoint (1) and rollback() with a try-catch block.


B.

Use the Database. Insect method with a11orNone SEL LO alee,


C.

Use the Database. Delete method if the Contact insertion fails.


D.

Disable validation rules on Contacts and set default values with a trigger.


Get Premium PDII Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.