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

    Which trigger context variable is not saved in the after trigger and causes an exception to be thrown?

    A. Trigger.new
    B. addError
    C. Primitive
    D. TRUE

  • Question 52:

    What are two ways to invoke a custom web service?

    A. Apex process classes
    B. A governor limit
    C. List of List Objects
    D. Ajax toolkit, client program

  • Question 53:

    This Apex class lets a developer access cookies for a Force.com site using Apex.

    A. Cookie Class
    B. PageReference.Cookie Class
    C. ApexPages.Cookie Class
    D. Component.Cookie Class
    E. Visualforce.Cookie Class
    F. None of the above

  • Question 54:

    In what code is the webservice keyword not allowed to be used?

    A. Class, trigger
    B. Implicit invocation
    C. Code contained in a trigger
    D. Queues, time triggers

  • Question 55:

    Which statement is true about an Apex class?

    A class cannot be disabled for profiles.

    An inner class can be nested at multiple levels.

    Static methods can only be declared in a top-level class definition.

    The default access modifier for methods in a class is public.

    A. Salesforce-generated email address
    B. Manual sharing, apex sharing
    C. Static methods can only be declared in a top-level class definition.
    D. Make calls to methods using both valid and invalid inputs.

  • Question 56:

    A Visualforce controller is a set of instructions that specify what happens when a user interacts with the components specified in associated Visualforce markup, such as when a user clicks a button or link. Controllers also provide access to the data that should be displayed in a page, and can modify component behavior.

    A. True
    B. False

  • Question 57:

    Defines how labels are displayed. Depending on what component wraps it, gives you options for affecting labels for bar and line series labels, pie chart segments, and axes labels. Note: This component must be enclosed by a data series component (, , or ) or an component.

    A. apex:chart
    B. apex:include
    C. apex:chartLabel
    D. apex:messages

  • Question 58:

    What two ways are available to customize and create applications in salesforce? (No Answer)

    A. declaratively, programmatically
    B. Encapsulation principles
    C. static and final
    D. plural name plus__r

  • Question 59:

    Universal Containers requires that some employees are able to view and edit records of a custom object called Positions, but no users can delete them. How can Universal Containers accomplish this goal?

    A. Assign the Read-only profile to all users
    B. Set the organization wide default for positions to Read-only
    C. Remove the Delete permission for positions from all profiles
    D. Remove the Delete Access for positions from all user roles

  • Question 60:

    A developer needs to support multiple currencies for a custom object in an application. The multi-cur- rency feature has been enabled for the organization. What does the developer need to know in order to successfully support this application? Choose 2 an- swers

    A. Administrators can add additional currencies after the application has been built.
    B. Roll-up summary fields on a parent record will calculate incorrectly if the child records have multi- ple currencies.
    C. The multi-currency feature will automatically track historical exchange rates.
    D. Currency ISO code will need to be supplied when inserting records in different currencies.

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.