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
    :Jul 10, 2026

Salesforce DEX-450 Online Questions & Answers

  • Question 101:

    A developer working on a time management application wants to make total hours for each timecard available to application users. A timecard entry has a Master-Detail relationship to a timecard. Which approach should the developer use to accomplish this declaratively?

    A. A Visualforce page that calculates the total number of hours for a timecard and displays it on the page
    B. A Roll-Up Summary field on the Timecard Object that calculates the total hours from timecard entries for that timecard
    C. A Process Builder process that updates a field on the timecard when a timecard entry is created
    D. An Apex trigger that uses an Aggregate Query to calculate the hours for a given timecard and stores it in a custom field

  • Question 102:

    A developer uses a test setup method to create an account named 'test'. The first method deletes the account record. What must be done in the second test method to use the account?

    A. Use select id from account where name='test'
    B. Restore the account using an undelete statement
    C. Call the test setup method at the start of the test
    D. The account cannot be used in the second method

  • Question 103:

    Which declarative process automation feature supports iterating over multiple records?

    A. Flows
    B. Validation Rules
    C. Approval Process
    D. Workflow rules

  • Question 104:

    Managed Packages can be created in which type of org?

    A. Developer Sandbox
    B. Unlimited Edition
    C. Developer Edition
    D. Partial Copy Sandbox

  • Question 105:

    A developer uses a before insert trigger on the Lead object to fetch the Territory__c object, where the Territory__c.PostalCode__c matches the Lead.PostalCode. The code fails when the developer uses the Apex Data Loader to insert 10,000 Lead records. The developer has the following code block: Line-01: for (Lead l : Trigger.new){Line-02: if (l.PostalCode != null) {Line-03: List terrList = [SELECT Id FROM Territory__c WHERE PostalCode__c = :l.PostalCode];Line-04: if(terrList.size() > 0) Line-05: l.Territory__c = terrList[0].Id; Line-06: }Line

    07:

    }

    Which line of code is causing the code block to fail?

    A. Line-03: A SOQL query is located inside of the for loop code.
    B. Line-01: Trigger:new is not valid in a before insert Trigger.
    C. Line-02: A NullPointer exception is thrown if PostalCode is null.
    D. Line-05: The Lead in a before insert trigger cannot be updated.

  • Question 106:

    Which Salesforce feature allows a developer to see when a user last logged in to Salesforce if real-time notification is not required?

    A. Asynchronous Data Capture Events
    B. Developer Log
    C. Event Monitoring Log
    D. Calendar Events

  • Question 107:

    Which two condition cause workflow rules to fire? Choose 2 answers

    A. Changing territory assignments of accounts and opportunities
    B. Updating record using bulk API
    C. Converting leads to person account
    D. An Apex batch process that changes field values

  • Question 108:

    A developer wrote a workflow email alert on case creation so that an email is sent to the case owner manager when a case is created. When will the email be sent?

    A. After Committing to database.
    B. Before Trigger execution.
    C. After Trigger execution.
    D. Before Committing to database.

  • Question 109:

    How can a developer set up a debug log on a specific user?

    A. It is not possible to setup debug logs for users other than yourself.
    B. Ask the user for access to their account credentials, log in as the user and debug the issue.
    C. Create Apex code that logs code actions into a custom object.
    D. Set up a trace flag for the user, and define a logging level and time period for the trace.

  • Question 110:

    What is the preferred way to reference web content such as images, style sheets, JavaScript, and other libraries that is used in Visualforce pages?

    A. By accessing the content from Chatter Files.
    B. By uploading the content in the Documents tab.
    C. By accessing the content from a third -party CON.
    D. By uploading the content as a Static Resource.

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.