Salesforce DEX-450 Exam Questions
Programmatic Development using Apex and Visualforce in Lightning Experience (Page 16 )

Updated On: 17-Feb-2026

Which code block returns the ListView of an Account object using the following debug statement? system.debug(controller.getListViewOptions() );

  1. ApexPages.StandardSetController controller = new ApexPages.StandardSetController( Database.getQueryLocator( 'SELECT Id FROM Account LIMIT 1'));
  2. ApexPages.StandardController controller = new ApexPages.StandardController( [SELECT Id FROM Account LIMIT 1]);
  3. ApexPages.StandardController controller = new ApexPages.StandardController( Database.getQueryLocator( 'SELECT Id FROM Account LIMIT 1'));
  4. ApexPages.StandardController controller = new ApexPages.StandardController( [SELECT Id FROM Account LIMIT 1]);

Answer(s): A



The Sales Management team hires a new intern. The intern is not allowed to view Opportunities, but needs to see the Most Recent Closed Date of all child Opportunities when viewing an Account record. What would a

developer do to meet this requirement?

  1. Create a trigger on the Account object that queries the Close Date of the most recent Opportunities.
  2. Create a Workflow rule on the Opportunity object that updates a field on the parent Account.
  3. Create a formula field on the Account object that performs a MAX on the Opportunity Close Date field.
  4. Create a roll-up summary field on the Account object that performs a MAX on the Opportunity Close Date field.

Answer(s): D



What is a benefit of the lightning component framework?

  1. Better integration with Force.com sites
  2. Better performance for custom Salesforce1 Mobile Apps
  3. More Centralized control via server-side logic
  4. More pre-built components to replicate the salesforce look and feel

Answer(s): D



What is an accurate constructor for a custom controller named "MyController"?

  1. public MyController () { account = new Account () ; }
  2. public MyController (sObject obj) { account = (Account) obj; }
  3. public MyController (List objects) { accounts = (List ) objects; }
  4. public MyController (ApexPages.StandardController stdController) { account = (Account) stdController.getRecord(); }

Answer(s): A



What is a valid source and destination pair that can send or receive change sets? (Choose 2)

  1. Developer Edition to Sandbox
  2. Sandbox to Production
  3. Sandbox to Sandbox
  4. Developer Edition to Production

Answer(s): B,C






Post your Comments and Discuss Salesforce DEX-450 exam dumps with other Community members:

Join the DEX-450 Discussion