We offers . "Certified Force.com Advanced Developer", also known as DEV-501 exam, is a Salesforce Certification. This set of posts, Passing the DEV-501 exam with , will help you answer those questions. The covers all the knowledge points of the real exam. 100% real and revised by experts!

Online DEV-501 free questions and answers of New Version:

NEW QUESTION 1
What are the three ways to run unit tests?

  • A. Salesforce ui, force.com ide, runTests web service
  • B. Dates, Ids, Numbers
  • C. FALSE, they must be static
  • D. System-defined, user-defined

Answer: A

NEW QUESTION 2
Defines how labels are displayed. Depending on what component wraps it,
<apex:chartLabel> 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 (<apex:barSeries>,
<apex:lineSeries>, or <apex:pieSeries>) or an <apex:axis> component.

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

Answer: C

NEW QUESTION 3
What can the Force.com IDE be used to create? (No Answer)

  • A. Apex code, Visualforce pages, and controllers
  • B. Standalone, database class methods
  • C. Record level access
  • D. Apex, Visualforce, and APIs

Answer: A

NEW QUESTION 4
If a change is made to an approval process, how can a developer determine the user that made the change? Choose 2 answers

  • A. By examining the setup audit trail
  • B. By checking the field history on the associated record
  • C. By looking at "Modified By" on the approval definition
  • D. By examining the Debug Log

Answer: C

NEW QUESTION 5
The of a Visualforce page is composed of all the data that's necessary to maintain the state of the controller during server requests (like sending or receiving data).

  • A. Page Memory
  • B. State Settings
  • C. Cookie Collection
  • D. View State
  • E. Page Header
  • F. None of these

Answer: D

NEW QUESTION 6
What are access modifiers used to implement? (No Answer)

  • A. Traditional for loops
  • B. Encapsulation principles
  • C. Class, trigger
  • D. Static and final

Answer: B

NEW QUESTION 7
A custom Visualforce component. All custom component definitions must be wrapped inside a single <apex:component> tag.

  • A. apex:includeScript
  • B. apex:commandLink
  • C. apex:dataTable
  • D. apex:component

Answer: D

NEW QUESTION 8
A developer has added a custom object tab to an application. Which additional feature will become available by default for the object in the application? Choose 3 answers

  • A. Create New sidebar component
  • B. Custom reporting
  • C. Recent items
  • D. Quick create
  • E. Search

Answer: CDE

NEW QUESTION 9
The list view picklist for an object, including its associated list of records for the currently selected view. In standard Salesforce applications this component is displayed on the main tab for a particular object.
See also: <apex:enhancedList>.

  • A. apex:actionStatus
  • B. apex:listViews
  • C. apex:inputText
  • D. apex:pageBlockButtons

Answer: B

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

  • 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 multiple 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.

Answer: CD

NEW QUESTION 11
What keyword is used to create custom Web Services from an apex method?

  • A. FALSE
  • B. TRUE
  • C. Trigger.new
  • D. Webservice

Answer: C

NEW QUESTION 12
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 automatically 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.

Answer: A

NEW QUESTION 13
Which environments can developers write code? (Select all that apply.)
✑ Developer edition production org
✑ Enterprise edition production org
✑ Enterprise edition sandbox org
✑ Professional edition sandbox org

  • A. Salesforce-generated email address
  • B. Apex code, Visualforce pages, and controllers
  • C. Developer edition production org, Enterprise edition sandbox org
  • D. Encapsulation principles

Answer: C

NEW QUESTION 14
Although Trigger.new is a collection of records, when used as a bind variable in a SOQL query, Apex automatically....

  • A. Passes the collection to the query, as long as the calling class implements the Trigger.QueryBind class.
  • B. Transforms the list of records into a list of corresponding Ids.
  • C. Truncates the collection so that only the Id and Name fields.
  • D. Throws a DMLException with the ILLEGAL_QUERY status.
  • E. Transforms the SOQL to an in-place SOSL query and returns the FIND results.
  • F. None of these

Answer: B

NEW QUESTION 15
How should one prevent soql injection when using dynamic soql? (No Answer)

  • A. XMLStreanWriter, XMLStreamReader
  • B. Messaging.InboundEmailHandler
  • C. with sharing keyword
  • D. Utilize the String.escapeSingleQuotes(string) method

Answer: D

NEW QUESTION 16
In the Universal Containers recruiting app, there is a master-detail relationship between the Job Application and Review objects. Job Application is the master object.
If a Job Application record is deleted, what will happen to any associated Review records?

  • A. The Review record is also deleted
  • B. The owner of the Review record changes
  • C. No change to the Review record
  • D. An error message is displayed

Answer: A

NEW QUESTION 17
How can a wireless device user approve a record? Choose 3 answers

  • A. via a text message
  • B. via Approvals in Chatter
  • C. via voice recognition
  • D. via email from a wireless device
  • E. via Salesforce1

Answer: BDE

Recommend!! Get the Full DEV-501 dumps in VCE and PDF From Surepassexam, Welcome to Download: https://www.surepassexam.com/DEV-501-exam-dumps.html (New 239 Q&As Version)