DEV-501 Exam Questions - Online Test


DEV-501 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

certleader.com

It is impossible to pass Salesforce DEV-501 exam without any help in the short term. Come to Passleader soon and find the most advanced, correct and guaranteed Salesforce DEV-501 practice questions. You will get a surprising result by our Latest Certified Force.com Advanced Developer practice guides.

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

NEW QUESTION 1
A single Visualforce page. All pages must be wrapped inside a single page component tag.

  • A. apex:insert
  • B. apex:page
  • C. apex:axis
  • D. apex:outputLabel

Answer: B

NEW QUESTION 2
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. This component has additional attributes that can be specified, such as the height and rows per page, as compared to <apex:listView>.
Note: When an <apex:enhancedList> is rerendered through another component's rerender attribute, the <apex:enhancedList> must be inside of an <apex:outputPanel> component that has its layout attribute set to "block". The <apex:enhancedList> component is not allowed on pages that have the attribute showHeader set to false. You can only have five
<apex:enhancedList> components on a single page. Ext JS versions less than 3 should not be included on pages that use this component.

  • A. apex:attribute
  • B. apex:enhancedList
  • C. apex:actionFunction
  • D. apex:inputCheckbox

Answer: B

NEW QUESTION 3
Which syntax should you use to create a new public class named MyNewClass?
✑ Public class MyNewClass {}
✑ Class public MyNewClass {}
✑ Class MyNewClass {} public
✑ MyNewClass public {} class(No Answer)

  • A. Public class MyNewClass
  • B. Database class method
  • C. SOQL statements
  • D. Static and final

Answer: A

NEW QUESTION 4
Universal Containers tracks reviews as a custom object in a recruiting application. An interview score is tracked on each review record and should be numerical, so that hiring managers can perform score calculations. The scores should be restricted to Integer values l through 5 and displayed as a set of radio buttons.
How can a developer meet this requirement?

  • A. Create the Interview Score field as a picklist, displayed as a radio button on the page layout
  • B. Create a formula field that displays the interview score as a set of radio buttons
  • C. Create a Visualforce component to display the interview score as a set of radio buttons
  • D. Create the Interview Score field with a data type of radio button

Answer: D

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

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

Answer: A

NEW QUESTION 6
This tag allows a custom component author to define a location where a user can insert content into the custom component. This is especially useful for generating custom iteration components. This component is valid only within an <apex:component> tag, and only a single definition per custom component is allowed.

  • A. apex:facet
  • B. apex:chart
  • C. apex:include
  • D. apex:componentBody

Answer: D

NEW QUESTION 7
Which fields are returned by sosl by default?

  • A. Ids
  • B. 200
  • C. 6
  • D. 1

Answer: A

NEW QUESTION 8
Universal Containers requires that all job applications have a unique code that is auto-
populated when records are created. The code must be different from the record ID. What would a developer use to accomplish this declaratively?

  • A. Custom auto number field
  • B. Custom master-detail field
  • C. Custom read-only number field
  • D. Custom lookup relationship field

Answer: A

NEW QUESTION 9
What can cross-object formulas reference?

  • A. Both parent and child object records
  • B. Parent object records only
  • C. Child object records only
  • D. Other records of the same object

Answer: B

NEW QUESTION 10
A Visualforce page consists of which primary elements? (Select all that apply)

  • A. An Apex class
  • B. A Visualforce controller
  • C. A trigger.
  • D. S-Controls
  • E. Visualforce Markup
  • F. None of the above

Answer: AE

NEW QUESTION 11
is a placeholder for content that is rendered in a specific part of the parent component, such as the header or footer of an <apex:dataTable>.

  • A. <apex:labelSet>
  • B. <apex:customName>
  • C. <c:facet>
  • D. <apex:facet>
  • E. <c:labelSet>
  • F. None of these

Answer: D

NEW QUESTION 12
Which is a valid formula return type for a custom formula field? Choose 3 answers

  • A. Date
  • B. Percent
  • C. Email
  • D. Phone
  • E. Currency

Answer: A

NEW QUESTION 13
Defines a chart legend. This component offers additional configuration options beyond the defaults used by the legend attribute of the <apex:chart> component.
Note: This component must be enclosed within an <apex:chart> component.

  • A. apex:dataTable
  • B. apex:legend
  • C. apex:pageBlockSectionItem
  • D. apex:inputSecret

Answer: B

NEW QUESTION 14
What are two key tools to debug code in Salesforce?

  • A. Dates, Ids, Numbers
  • B. Logs, anonymous blocks
  • C. Debug logs, email logs
  • D. List of List Objects

Answer: B

NEW QUESTION 15
Universal Containers has built a recruiting application with two custom objects, Job Applications and Reviews that have a master-detail relationship. Users should NOT be allowed to delete review records after job application records have been approved.
How would a developer meet this requirement?

  • A. Change the interviewer's profile to Read-only for the review object
  • B. Use workflow to change the page layout to Read-only
  • C. Remove the Delete button from the job application page layout
  • D. Use a validation rule in conjunction with a roll-up summary field

Answer: D

NEW QUESTION 16
......

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