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

Updated On: 17-Feb-2026

What is an accurate statement about variable scope? (Choose 3)

  1. Parallel blocks can use the same variable name.
  2. A variable can be defined at any point in a block.
  3. Sub-blocks cannot reuse a parent block's variable name.
  4. Sub-blocks can reuse a parent block's variable name if it's value is null.
  5. A static variable can restrict the scope to the current block of its value is null.

Answer(s): A,B,C



Which resource can be included in a Lightning Component bundle? Choose 2 answers

  1. Apex class
  2. Adobe Flash
  3. JavaScript
  4. Documentation

Answer(s): C,D



Where can the custom roll-up summary fields be created using Standard Object relationships (Choose 3)

  1. On Opportunity using Opportunity Product records.
  2. On Account using Case records.
  3. On Quote using Order records.
  4. On Campaign using Campaign Member records.
  5. On Account using Opportunity records.

Answer(s): A,D,E



Which scenario is invalid for execution by unit tests?

  1. Executing methods for negative test scenarios
  2. Loading the standard Pricebook ID using a system method
  3. Loading test data in place of user input for Flows.
  4. Executing methods as different users.

Answer(s): C



A developer needs to create a Visualforce page that will override the standard Account edit button. The page will be used to validate the account's address using a SOQL query. The page will also allow the user to make

edits to the address. Where would the developer write the Account address verification logic?

  1. In a Standard Extension.
  2. In a Standard Controller.
  3. In a Custom Controller.
  4. In a Controller Extension.

Answer(s): D






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

Join the DEX-450 Discussion