DEV-501 Premium Bundle

DEV-501 Premium Bundle

Certified Force.com Advanced Developer Certification Exam

4.5 
(45885 ratings)
0 QuestionsPractice Tests
0 PDFPrint version
December 4, 2024Last update

Salesforce DEV-501 Free Practice Questions

for Salesforce certification, Real Success Guaranteed with Updated . 100% PASS DEV-501 Certified Force.com Advanced Developer exam Today!

Check DEV-501 free dumps before getting the full version:

NEW QUESTION 1
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.

Answer: C

NEW QUESTION 2
Defines tooltips which appear on mouseover of data series elements. This component offers more configuration options than the default tooltips displayed by setting the tips attribute of a data series component to true.
Note: This component must be enclosed by a data series component (<apex:barSeries>,
<apex:lineSeries>, or <apex:pieSeries>).

  • A. apex:actionSupport
  • B. apex:componentBody
  • C. apex:actionFunction
  • D. apex:chartTips

Answer: D

NEW QUESTION 3
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

Answer: B

NEW QUESTION 4
A template component that provides content for an <apex:insert> component defined in a Visualforce template page.
See also: <apex:composition>, <apex:insert>

  • A. apex:facet
  • B. apex:includeScript
  • C. apex:axis
  • D. apex:define

Answer: D

NEW QUESTION 5
A link to a URL. This component is rendered in HTML as an anchor tag with an href attribute. Like its HTML equivalent, the body of an <apex:outputLink> is the text or image that displays as the link. To add query string parameters to a link, use nested
<apex:param> components.

  • A. apex:inputField
  • B. apex:outputLink
  • C. apex:lineSeries
  • D. apex:emailPublisher

Answer: B

NEW QUESTION 6
A is a class written in Apex that implements all of a page's logic, without leveraging a standard controller.

  • A. Controller Extension
  • B. Validation Extension
  • C. Visualforce Component
  • D. Visualforce Plugin
  • E. Custom Controller
  • F. None of the above

Answer: E

NEW QUESTION 7
A button that is rendered as an HTML input element with the type attribute set to submit, reset, or image, depending on the <apex:commandButton> tag's specified values. The button executes an action defined by a controller, and then either refreshes the current page, or navigates to a different page based on the PageReference variable that is returned by the action.
An <apex:commandButton> component must always be a child of an <apex:form> component.
See also: <apex:commandLink>

  • A. apex:commandButton
  • B. apex:flash
  • C. apex:emailPublisher
  • D. apex:actionRegion

Answer: A

NEW QUESTION 8
This component provides inline editing support to <apex:outputField> and various container components. In order to support inline editing, this component must also be within an
<apex:form> tag.
The <apex:inlineEditSupport> component can only be a descendant of the following tags:
<apex:dataList>
<apex:dataTable>
<apex:form>
<apex:outputField>
<apex:pageBlock>
<apex:pageBlockSection>
<apex:pageBlockTable>
<apex:repeat>
See also: the inlineEdit attribute of <apex:detail>

  • A. apex:inlineEditSupport
  • B. apex:chartLabel
  • C. apex:page
  • D. apex:outputPanel

Answer: A

NEW QUESTION 9
What statements are used to retrieve records from an sObject in the Force.com database?

  • A. Exceptions
  • B. On-demand
  • C. Map, List, Set
  • D. SOQL statements

Answer: D

NEW QUESTION 10
Which trigger context variable cannot be deleted?

  • A. addError
  • B. System
  • C. @ReadOnly
  • D. Trigger.new

Answer: D

NEW QUESTION 11
Which of the following statements identifies the block of code that can handle a particular exception?
✑ catch
✑ finally
✑ try
✑ throw

  • A. 3 MB
  • B. Ids
  • C. FALSE
  • D. catch

Answer: D

NEW QUESTION 12
What trigger method is used to correlate IDI-to-sObject maps? (No Answer)

  • A. Trigger.newMap, Trigger.oldMap
  • B. Internal and external
  • C. Trigger.new
  • D. Queues, time triggers

Answer: A

NEW QUESTION 13
Which action is available to a developer when two objects are connected by a lookup relationship? Choose 2 answers

  • A. create a roll-up summary field on the parent object to count child records
  • B. create a custom report type that allows customization of fields displayed from both parent and child objects
  • C. create a cross-object formula field on the child object to reference fields on the parent object
  • D. create a cross-object formula field on the parent object to reference fields on the child object

Answer: BC

NEW QUESTION 14
What name identifies datatypes such as Integer, Boolean, String and Enum in Salesforce?

  • A. Primitive
  • B. @ReadOnly
  • C. Trigger.new
  • D. FALSE

Answer: A

NEW QUESTION 15
A component that adds AJAX support to another component, allowing the component to be refreshed asynchronously by the server when a particular event occurs, such as a button click or mouseover.
See also: <apex:actionFunction>.

  • A. apex:form
  • B. apex:attribute
  • C. apex:page
  • D. apex:actionSupport

Answer: D

NEW QUESTION 16
Apex code can be initiated in what ways? (Select all that apply)

  • A. Web service requests.
  • B. Triggers on objects.
  • C. More?? Is "Button Clicks" a valid choice?

Answer: ABC

NEW QUESTION 17
Positions is a custom object in a recruiting application built on the Force.com platform. Department is a field on the Position object.
Which type of report should a developer create to show hiring managers the number of positions grouped by department?

  • A. Summary
  • B. Pivot
  • C. Reporting Snapshot
  • D. Tabular

Answer: A

NEW QUESTION 18
What two forms of dml operations can be used in apex?

  • A. SOQL statements
  • B. Traditional for loops
  • C. Standalone, database class methods
  • D. Failure response settings

Answer: C

100% Valid and Newest Version DEV-501 Questions & Answers shared by Surepassexam, Get Full Dumps HERE: https://www.surepassexam.com/DEV-501-exam-dumps.html (New 239 Q&As)


START DEV-501 EXAM