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

    Which user can edit a record after it has been locked for approval? (Choose 2)

    A. Any user with a higher role in the hierarchy
    B. A user who is assigned as the current approver
    C. Any user who approved the record previously
    D. An administrator

  • Question 272:

    What actions types should be configured to display a custom success message?

    A. Update a record.
    B. Post a feed item.
    C. Delete a record.
    D. Close a case.

  • Question 273:

    Which two statements are true about using the @testSetup annotation in an Apex test class? (Choose two.)

    A. The @testSetup annotation cannot be used when the @isTest(SeeAllData=True) annotation is used.
    B. Test data is inserted once for all test methods in a class.
    C. Records created in the @testSetup method cannot be updates in individual test methods.
    D. The @testSetup method is automatically executed before each test method in the test class is executed.

  • Question 274:

    A developer considers the following snippet of code:

    Boolean isOK; integer x; String theString = 'Hello'; if (isOK == false andand theString == 'Hello') { x = 1; } else if (isOK == true andand theString =='Hello') { x = 2; } else if (isOK != null andand theString == 'Hello') { x = 3; } else { x = 4; } Based on this code, what is the value of x?

    A. 2
    B. 1
    C. 3
    D. 4

  • Question 275:

    A method is passed a list of generic sObjects as a parameter.

    What should the developer do to determine which object type (Account, Lead, or Contact, for example) to cast each sObject?

    A. Use the first three characters of the sObject ID to determine the sObject type.
    B. Use the getSObjectType method on each generic sObject to retrieve the sObject token.
    C. Use the getSObjectName method on the sObject class to get the sObject name.
    D. Use a try-catch construct to cast the sObject into one of the three sObject types.

  • Question 276:

    Which feature allows a developer to create test records for use in test classes?

    A. Static resources
    B. Documents
    C. Httpcalloutmocks
    D. Webservicetests

  • Question 277:

    What are the supported content sources for custom buttons and links? (Choose 2 Answers)

    A. VisualForce Page.
    B. Static Resource.
    C. URL.
    D. Chatter File.
    E. Lightning Page.

  • Question 278:

    A developer wants to use all of the functionality provided by the standard controller for an object, but needs to override the Save standard action in a controller extension. Which two are required in the controller extension class?

    A. Create a method named Save with a return data type of PageReference.
    B. Create a method that references this.superSave()
    C. Define the class with a constructor that takes an instance of StandardController as a parameter.
    D. Define the class with a constructor that creates a new instance of the StandardController class.

  • Question 279:

    When a task is created for a contact, how can a developer prevent the task from being included on the activity timeline of the contact's account record?

    A. In activity settings,uncheck roll-up activities to a contact's primary account
    B. By default,tasks do not display on the account activity timeline
    C. Use process builder to create a process to set the task account field to blank
    D. Create a task trigger to set the account field to NULL

  • Question 280:

    Universal Containers (UC) decided it will not to send emails to support personnel directly from Salesforce in the event that an unhandled exception occurs. Instead, UC wants an external system be notified of the error. What is the appropriate publish/subscribe logic to meet these requirements?

    A. Publish the error event using the addError() method and have the external system subscribe to the event using CometD.
    B. Publish the error event using the Eventbus.publish() method and have the external system subscribe to the event using CometD.
    C. Have the external system subscribe to the BatchApexError event, no publishing is necessary.
    D. Publish the error event using the addError() method and write a trigger to subscribe to the event and notify the external system.

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.