CRT-450 Salesforce Certified Platform Developer I (SU18)

Loading demo links...

Showing 10–12 of 15 questions

Question 10

What is the result of the following code?

Account a = new Account ();

Database.insert (a, false);

Select an option, then click Submit answer.

  • The record will be created and no error will be reported.

  • The record will not be created and no error will be reported.

  • The record will be created and a message will be in the debug log.

  • The record will not be created and an exception will be thrown.

Question 11

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?

Select an option, then click Submit answer.

  • Add a System.debug() statement before the insert method

  • Add a try/catch around the insert method

  • Set the second insert method parameter to TRUE

  • Collect the insert method return value a Saveresult variable

Question 12

What is the maximum number of SOQL queries used by the following code?

Select an option, then click Submit answer.

  • 1

  • 5

  • 6

  • 2