nerdexam
Salesforce

PDI · Question #218

Consider the following code snippet for a Visualforce page that is launched using a Custom Button on the Account detail page layout. When the Save button is pressed the developer must perform a comple

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

Submitted by ravi_2018· Apr 18, 2026User Interface

Question

Consider the following code snippet for a Visualforce page that is launched using a Custom Button on the Account detail page layout. When the Save button is pressed the developer must perform a complex validation that involves multiple objects and, upon success, redirect the user to another Visualforce page. What can the developer use to meet this business requirement?

Exhibit

PDI question #218 exhibit

Options

  • ACustom controller
  • BController extension
  • CValidation rule
  • DApex trigger

Unlock PDI to see the answer

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

Topics

#Visualforce#Controller Extension#Validation#Page Navigation
Full PDI Practice