Salesforce
CRT-450 · Question #169
CRT-450 Question #169: Real Exam Question with Answer & Explanation
Sign in or unlock CRT-450 to reveal the answer and full explanation for question #169. The question stem and answer options stay visible for context.
Question
A developer is debugging the following code to determinate why Accounts are not being created Account a = new Account(Name = 'A'); Database.insert(a, false); How should the code be altered to help debug the issue?
Options
- AAdd a System.debug() statement before the insert method
- BAdd a try/catch around the insert method
- CSet the second insert method parameter to TRUE
- DCollect the insert method return value a Saveresult variable
Unlock CRT-450 to see the answer
You've previewed enough free CRT-450 questions. Unlock CRT-450 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.