nerdexam
Salesforce

PDII · Question #90

PDII Question #90: Real Exam Question with Answer & Explanation

Sign in or unlock PDII to reveal the answer and full explanation for question #90. The question stem and answer options stay visible for context.

Question

A custom field Exec_Count_c of type Number is created on an Account object. An account record with value of "1" for a: Exec_Count_c is saved. A workflow field update is defined on the Exec_Count_c field, to increment its value every time an account record is created or updated. The following trigger is defined on the account: trigger ExecOrderTrigger on Account (before insert, before update, after insert, after update){ for (Account accountInstance: Trigger.New){ if (Trigger . isBefore){ accountInstance Exec_Count_c += 1; } System. debug (accountInstance.Exec_Count_c); } }

Options

  • A1, 2, 3, 3
  • B1, 2, 3, 4
  • C2, 2, 4, 4
  • D2, 2, 3, 3

Unlock PDII to see the answer

You've previewed enough free PDII questions. Unlock PDII 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.

Full PDII Practice