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

Updated On: 17-Feb-2026

What are two uses for External IDs? (Choose two.)

  1. To create relationships between records imported from an external system.
  2. To create a record in a development environment with the same Salesforce ID as in another environment
  3. To identify the sObject type in Salesforce
  4. To prevent an import from creating duplicate records using Upsert

Answer(s): A,D



A developer wrote a unit test to confirm that a custom exception works properly in a custom controller, but the test failed due to an exception being thrown. Which step should the developer take to resolve the issue and properly test the exception?

  1. Use try/catch within the unit test to catch the exception.
  2. Use the finally bloc within the unit test to populate the exception.
  3. Use the database methods with all or none set to FALSE.
  4. Use Test.isRunningTest() within the custom controller.

Answer(s): A



Which SOQL query successfully returns the Accounts grouped by name?

  1. SELECT Type, Max(CreatedDate) FROM Account GROUP BY Name
  2. SELECT Name, Max(CreatedDate) FROM Account GROUP BY Name
  3. SELECT Id, Type, Max(CreatedDate) FROM Account GROUP BY Name
  4. SELECT Type, Name, Max(CreatedDate) FROM Account GROUP BY Name LIMIT 5

Answer(s): B



For which three items can a trace flag be configured? (Choose three.)

  1. Apex Trigger
  2. Apex Class
  3. Process Builder
  4. User
  5. Visualforce

Answer(s): A,B,D



In a single record, a user selects multiple values from a multi-select picklist. How are the selected values represented in Apex?

  1. As a String with each value separated by a comma
  2. As a Set with each value as an element in the set
  3. As a String with each value separated by a semicolon
  4. As a List with each value as an element in the list Previous

Answer(s): C






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

Join the DEX-450 Discussion