DEV-501 Exam Details

  • Exam Code
    :DEV-501
  • Exam Name
    :Salesforce Certified Force.com Advanced Developer (DEV-501)
  • Certification
    :Salesforce Certifications
  • Vendor
    :Salesforce
  • Total Questions
    :239 Q&As
  • Last Updated
    :Jul 10, 2026

Salesforce DEV-501 Online Questions & Answers

  • Question 121:

    Which trigger context variable allows you to modify field values before they are written to the database in the before trigger?

    A. @ReadOnly
    B. RETURNING
    C. Webservice
    D. Trigger.new

  • Question 122:

    Object X has a lookup field to Object Y. X needs to display a text value from a Text field on Y. To en- sure data Integrity, how would a developer implement this?

    A. Create a roll-up summary field on Object X that retrieves the value from Y.
    B. Create a text field on Object X and use a workflow rule to fill in the value upon the creation of X
    C. Create a cross-object formula field on Object X that retrieves the value from Y.
    D. Create a text field on Object X and use Apex to populate the value.

  • Question 123:

    All messages that were generated for all components on the current page. If an or component is not included in a page, most warning and error messages are only shown in the debug log.

    A. apex:messages
    B. apex:actionPoller
    C. apex:composition
    D. apex:actionRegion

  • Question 124:

    What interface does the Apex email handler implement to setup and inbound email service?

    A. Messaging.sendEmail
    B. Messaging.InboundEmailHandler
    C. Encapsulation principles
    D. isSuccess, sendEmailError

  • Question 125:

    In a recruiting application, all users should be able to see positions with a status of Open. If the status is anything other than Open, the position should be visible only to the record owner. How would a developer accomplish this? Choose 2 answers

    A. Set the organization-wide default for positions to public read-only, then use a sharing rule to restrict access to closed positions.
    B. Specify view only access for open positions on users' profiles.
    C. Set the organization-wide default for positions to private, then use a criteria-based sharing rule to au- tomatically share open positions.
    D. Set the organization-wide default for positions to private, allowing owners to use manual sharing to add or remove access as positions change status.

  • Question 126:

    An HTML input element for a value that corresponds to a field on a Salesforce object. The component respects the attributes of the associated field, including whether the field is required or unique, and the user interface widget to display to get input from the user. For example, if the specified component is a date field, a calendar input widget is displayed. When used in an , tags always display with their corresponding output label. Note that if custom help is defined for the field in Setup, the field must be a child of an or , and the Salesforce page header must be displayed for the custom help to appear on your Visualforce page. To override the display of custom help, use the in the body of an . Consider the following when using JavaScript events with this tag: For lookup fields, mouse events fire on both the text box and graphic icon For multi-select picklists, all events fire, but the DOM ID is suffixed with _unselected for the left box, _selected for the right box, and _right_arrow and _left_arrow for the graphic icons For rich text areas, no events fire.

    A. apex:pageBlockButtons
    B. apex:define
    C. apex:outputLabel
    D. apex:inputField

  • Question 127:

    What is NOT a component of a custom Force.com application?

    A. Data warehouse
    B. Custom object
    C. Custom tab
    D. Default landing tab

  • Question 128:

    What are the stages of an application development process? (No Answer)

    A. Declaratively, programmatically
    B. Primitive, sObject, Collections, Null
    C. Develop, integrate, stage, production/training
    D. Manual sharing, apex sharing

  • Question 129:

    A component that provides support for invoking controller action methods directly from JavaScript code using an AJAX request. An component must be a child of an component.

    A. apex:messages
    B. apex:actionFunction
    C. apex:insert
    D. apex:outputField

  • Question 130:

    If the error message contains HTML markup, the escaped markup displays as text and isn't rendered in the user interface. (Select all that apply)

    A. Strongly Typed.
    B. Object Oriented.
    C. Uses Java-like syntax.
    D. Acts like database stored procedures.

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 DEV-501 exam preparations and Salesforce certification application, do not hesitate to visit our Vcedump.com to find your solutions here.