Leads4pass > Salesforce > Salesforce Certifications > DEV-501 > DEV-501 Online Practice Questions and Answers

DEV-501 Online Practice Questions and Answers

Questions 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

Buy Now
Questions 5

Which of the following statements are true about components of dynamic Apex? Schema describe is a way to program matically learn about the metadata of your data model within Apex.

Dynamic SOQL refers to the creation of a SOQL string before runtime within an Apex script,

In dynamic SQQL, you use Sring.escapeSinqIeQuoLes (sLrng)to prevent SQQL injection.

You can use dynamic SOSL to create a tree structure of all the objects and fields in your schema browser.

A.

In, like, and, or, not, group by, order by, all rows, limit

B.

Schema describe is a way to program magically learn about the metadata of your data model within Apex.

C.

Web service methods must be static, webservice methods cannot be overloaded

D.

Create complex functionality declarative features cannot provide.

Buy Now
Questions 6

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

Buy Now
Questions 7

List the HTTP classes available in Salesforce?

A. GET, POST, PUT, DELETE

B. Failure response settings

C. Queues, time triggers

D. HTTPRequest, HTTPResponse, HTTP

Buy Now
Questions 8

Which fields are returned by sosl by default?

A. Ids

B. 200

C. 6

D. 1

Buy Now
Questions 9

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

Buy Now
Questions 10

An HTML input element of type checkbox. Use this component to get user input for a controller method that does not correspond to a field on a Salesforce object.

A. apex:dataList

B. apex:inputCheckbox

C. apex:actionPoller

D. apex:componentBody

Buy Now
Questions 11

A Flash movie, rendered with the HTML object and embed tags.

A. apex:actionStatus

B. apex:flash

C. apex:inputField

D. apex:pageBlockSectionItem

Buy Now
Questions 12

A definition of an attribute on a custom component. The attribute tag can only be a child of a component

tag.

Note that you cannot define attributes with names like id or rendered. These attributes are automatically

created for all custom component definitions.

A. apex:attribute

B. apex:insert

C. apex:message

D. apex:include

Buy Now
Questions 13

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

Buy Now
Exam Code: DEV-501
Exam Name: Salesforce Certified Force.com Advanced Developer (DEV-501)
Last Update: Jun 20, 2026
Questions: 239
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99