DEX-450 Exam Details

  • Exam Code
    :DEX-450
  • Exam Name
    :Programmatic Development using Apex and Visualforce in Lightning
  • Certification
    :Salesforce Certifications
  • Vendor
    :Salesforce
  • Total Questions
    :456 Q&As
  • Last Updated
    :May 29, 2026

Salesforce DEX-450 Online Questions & Answers

  • Question 321:

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

    A. Apex Trigger
    B. Apex Class
    C. Process Builder
    D. User
    E. Visualforce

  • Question 322:

    A developer needs to find information about @future methods that were invoked. From which system monitoring feature can the developer see this information?

    A. Scheduled jobs
    B. Apex Jobs
    C. Background Jobs
    D. Asynchronous Jobs

  • Question 323:

    What are three considerations when using the @InvocableMethod annotation in Apex? Choose 3 answers

    A. A method using the @InvocableMethod annotation must define a return value.
    B. A method using the @InvocableMethod annotation can have multiple input parameters.
    C. A method using the @InvocableMethod annotation must be declared as static (Missed)
    D. A method using the @InvocableMethod annotation can be declared as Public or Global. (Missed)
    E. Only one method using the @InvocableMethod annotqation can be defined per Apex class. (Missed)

  • Question 324:

    A developer wrote Apex code that calls out to an external system. How should a developer write the test to provide test coverage?

    A. Write a class that extends HTTPCalloutMock.
    B. Write a class that implements the HTTPCalloutMock interface.
    C. Write a class that implements the WebserviceMock interface.
    D. Write a class that extends WebserviceMock

  • Question 325:

    The Review__c object has a lookup relationship up to the Job_Application__c object. The Job_Application__c object has a master-detail relationship up the Position__c object. The relationship field names are based on the auto-populated defaults.

    What is the recommended way to display field data from the related Review__c records on a Visualforce page for a single Position__c record?

    A. Utilize the Standard Controller for position__c and a Controller Extension to query for Review__c data.
    B. Utilize the Standard Controller for Position__c and cross-object Formula fields on the job_Application__c object to display Review__c data.
    C. Utilize the Standard Controller for Position__c and cross-object Formula fields on the Review__c object to display Review__c data.
    D. Utilize the Standard Controller for position__c and expression syntax in the page to display related Review__c data through the job_Application__c object

  • Question 326:

    A lead object has a custom field Prior_Email__c. The following trigger is intended to copy the current Email into the Prior_Email__c field any time the Email field is changed:

    Which type of exception will this trigger cause?

    A. A null reference exception
    B. A compile time exception
    C. A DML exception
    D. A limit exception when doing a bulk update

  • Question 327:

    What si the debug output of the following apex code? Decimal thevalue; system.debug(thevalue);

    A. Undefined
    C. Null
    D. 0.0

  • Question 328:

    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?

    A. Use try/catch within the unit test to catch the exception.
    B. Use the finally bloc within the unit test to populate the exception.
    C. Use the database methods with all or none set to FALSE.
    D. Use Test.isRunningTest() within the custom controller.

  • Question 329:

    A developer created a Visualforce page and a custom controller with methods to handle different buttons and events that can occur on the page. What should the developer do to deploy to production?

    A. Create a test class that provides coverage of the Visualforce page.
    B. Create a test page that provides coverage of the Visualforce page.
    C. Create a test page that provides coverage of the custom controller.
    D. Create a test class that provides coverage of the custom controller.

  • Question 330:

    A developer has the following requirements:

    Calculate the total amount on an Order.

    Calculate the line amount for each Line Item based on quantity selected and price.

    Move Line Items to a different Order if a Line Item is not stock.

    Which relationship implementation supports these requirements?

    A. Line Items has a Master-Detail field to Order and the Master can be re-parented.
    B. Line Item has a Lookup field to Order and there can be many Line Items per Order
    C. Order has a Lookup field to Line Item and there can be many Line Items per Order.
    D. Order has a Master-Detail field to Line Item and there can be many Line Items per Order.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Salesforce exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your DEX-450 exam preparations and Salesforce certification application, do not hesitate to visit our Vcedump.com to find your solutions here.