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 191:

    Which statement is true about a hierarchical relationship as it pertains to user records?

    A. It uses a junction object and lookup relationships to allow many user records to be related to many other user records
    B. It uses a junction object and master-detail relationship to allow many user records to be related to many other user records
    C. It uses a master-detail relationship to allow one user record to be related to another user record
    D. It uses a special lookup relationship to allow one user record to be related to another user record

  • Question 192:

    Which two roll-up summary field types are required to find the average of values on detail records in a Master-Detail relationship?

    A. Roll-up summary field of type COUNT
    B. Roll-up summary field of type SUM
    C. Roll-up summary field of type NUM
    D. Roll-up summary field of type TOTAL

  • Question 193:

    A developer needs to create records for the object Property__c. The developer creates the following code block:List propertiesToCreate = helperClass.createProperties();try { // line 3 } catch (Exception exp ) { //exception

    handling }Which line of code would the developer insert at line 3 to ensure that at least some records are created, even if a few records have errors and fail to be created?

    A. Database.insert(propertiesToCreate, false);
    B. insert propertiesToCreate;
    C. Database.insert(propertiesToCreate, System.ALLOW_PARTIAL);
    D. Database.insert(propertiesToCreate);

  • Question 194:

    How can a developer refer to, or instantiate a PageReference in Apex? Choose 2 answers

    A. By using a PageReference with a partial or full URL.
    B. By using the Page object and a Visualforce page name.
    C. By using the ApexPages.Page() method with a Visualforce page name.
    D. By using the PageReference.Page() method with a partial or full URL.

  • Question 195:

    How can a developer get all of the available record types for the current user on the case object?

    A. Use SOQL to get all cases
    B. Use describesobjectresult of the case object
    C. Use case.getrecordtypes()
    D. Use describefieldresult of the case.recordtype field

  • Question 196:

    Which tool can deploy destructive changes to Apex classes in production?

    A. Workbench
    B. Developer Console
    C. Salesforce Setup
    D. Change Sets

  • Question 197:

    Requirements state that a child record be to deleted when its parent is deleted, and a child can be moved to a different parent when necessary. Which type of relationship should be built between the parent and child objects in Schema Builder to support these requirements?

    A. Lookup Relathionship from to child to the parent
    B. Child relationship
    C. Master-Detail relationship
    D. Lookup Relathionship from to parent to the child

  • Question 198:

    A developer is creating a Visualforce page that allows users to create multiple Opportunities. The developer is asked to verify the current user's default Opportunity record type, and set certain default values based on the record type before inserting the record. How can the developer find the current user's default record type?

    A. Use the Schema.userInfo.Opportunity.getDefaultRecordType() method.
    B. Create the opportunity and check the opportunity.recordType before inserting, which will have the record ID of the current user's default record type
    C. Query the Profile where the ID equals userInfo.getProfileID() and then use the profile.Opportunity.getDefaultRecordType() method.
    D. Use Opportunity.SObjectType.getDescribe().getRecordTypeInfos() to get a list of record types, and iterate trought them until isdefaultRecordTypeMapping() is true.

  • Question 199:

    Universal Containers requires Service Representatives to update all Cases at least one every three days. To make sure of this policy is obeyed, a developer has been asked to implement a field that displays the number of days since the last Case update. What should the developer use to configure the solution?

    A. Formula field
    B. Workflow rule
    C. Process Builder
    D. Scheduled Apex Class

  • Question 200:

    developer created this Apex trigger that calls MyClass .myStaticMethod: trigger myTrigger on Contact(before insert) ( MyClass.myStaticMethod(trigger.new, trigger.oldMap); } The developer creates a test class with a test method that calls MyClass.mystaticMethod, resulting in 81% overall code coverage. What happens when the developer tries to deploy the trigger and two classes to production, assuming no other code exist?

    A. The deployment fails because the Apex trigger has no code coverage.
    B. The deployment fails because no assertions were made in the test method.
    C. The deployment passes because the Apex code has required (>75%) code coverage.
    D. The deployment passes because both classes and the trigger were included in the deployment.

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.