Winter Special Flat 65% Limited Time Discount offer - Ends in 0d 00h 00m 00s - Coupon code: netdisc

Salesforce DEV-501 Certified Force.com Advanced Developer Exam Practice Test

Page: 1 / 24
Total 239 questions

Certified Force.com Advanced Developer Questions and Answers

Testing Engine

  • Product Type: Testing Engine
$42  $119.99

PDF Study Guide

  • Product Type: PDF Study Guide
$36.75  $104.99
Question 1

A component that provides support for invoking controller action methods directly from JavaScript code using an AJAX request. An component must be a child of an component.

Options:

A.

apex:messages

B.

apex:actionFunction

C.

apex:insert

D.

apex:outputField

Question 2

Object X has a lookup field to Object Y. X needs to display a text value from a Text field on Y. To ensure data Integrity, how would a developer implement this?

Options:

A.

Create a roll-up summary field on Object X that retrieves the value from Y.

B.

Create a text field on Object X and use a workflow rule to fill in the value upon the creation of X

C.

Create a cross-object formula field on Object X that retrieves the value from Y.

D.

Create a text field on Object X and use Apex to populate the value.

Question 3

A data series to be rendered as bars in a Visualforce chart. At a minimum you must specify the fields in the data collection to use as X and Y values for each bar, as well as the X and Y axes to scale against.

Note: This component must be enclosed within an component. You can have multiple and components in a single chart.

Options:

A.

apex:barSeries

B.

apex:inputHidden

C.

apex:outputLink

D.

apex:outputField

Question 4

A template component that provides content for an component defined in a Visualforce template page.

See also: ,

Options:

A.

apex:facet

B.

apex:includeScript

C.

apex:axis

D.

apex:define

Question 5

How are Apex triggers stored?

Options:

A.

As static resources.

B.

As metadata in the application, under the object with which they are associated.

C.

As .trigger files in the /code directory of your organization's public files.

D.

As compiled bytecode in the Salesforce platform Apex app server.

E.

As resource files in the Developer Console.

F.

None of these

Question 6

The markup defines the user interface components that should be included on the page, and the way they should appear.

Options:

A.

True

B.

False

Question 7

What provides access to data that should be displayed in a Visualforce page, and can modify Visualforce component behavior?

Options:

A.

Validation rules

B.

Apex controller

C.

MVC controller class

D.

Visualforce controller

E.

Force.com IDE

F.

None of the above

Question 8

An HTML input element of type hidden, that is, an input element that is invisible to the user. Use this component to pass variables from page to page.

Options:

A.

apex:inputHidden

B.

apex:actionPoller

C.

apex:pageBlockSectionItem

D.

apex:enhancedList

Question 9

How does the Email service process inbound emails? (No Answer)

Options:

A.

Apex classes

B.

Exceptions

C.

FALSE

D.

catch

Question 10

What are two ways to invoke a custom web service?

Options:

A.

Apex process classes

B.

A governor limit

C.

List of List Objects

D.

Ajax toolkit, client program

Question 11

What annotation can be used with Web Services to allow unrestricted queries when no DML operations are necessary? (No Answer)

Options:

A.

@ReadOnly

B.

For loops

C.

RETURNING

D.

TRUE

Question 12

Defines a chart legend. This component offers additional configuration options beyond the defaults used by the legend attribute of the component.

Note: This component must be enclosed within an component.

Options:

A.

apex:dataTable

B.

apex:legend

C.

apex:pageBlockSectionItem

D.

apex:inputSecret

Question 13

Which of the following statements are used to repeatedly execute a block of code until the exit condition is met?

  • do-while loops
  • if statements
  • for loops
  • if—Lhen statements

Options:

A.

For loops

B.

FALSE

C.

Exceptions

D.

SOQL for loops

Question 14

Which type of tab can a developer create? Choose 3 answers.

Options:

A.

Apex tabs

B.

web tabs

C.

standard object tabs

D.

Visualforce tabs

E.

custom object tabs

Question 15

What does Apex provide to support programmatic control of the workflow? (No Answer)

Options:

A.

Map, List, Set

B.

Apex classes

C.

Through class itself

D.

Apex process classes

Question 16

Which property of a field can be edited within the page layout editor? Choose 2 answers

Options:

A.

Read-only

B.

Controller

C.

Always Displayed

D.

Field Dependency

E.

Required

Question 17

Apex is available in which Salesforce Editions? (Select all that apply)

Options:

A.

Professional Edition

B.

Unlimited Edition

C.

Enterprise Edition

D.

Developer Edition

E.

Database.com

F.

None of these`|`A. Professional Edition

G.

Unlimited Edition

Question 18

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

Options:

A.

Trigger.newMap, Trigger.oldMap

B.

Internal and external

C.

Trigger.new

D.

Queues, time triggers

Question 19

Objects of this Apex class specify one of the possible values for a Visualforce selectCheckboxes, selectList, or selectRadio component.

Options:

A.

Select Class

B.

SelectOption Class

C.

OptionSelection Class

D.

InputSelection Class

E.

InputOption Class

F.

None of the above

Question 20

A button that is rendered as an HTML input element with the type attribute set to submit, reset, or image, depending on the 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 component must always be a child of an component.

See also:

Options:

A.

apex:commandButton

B.

apex:flash

C.

apex:emailPublisher

D.

apex:actionRegion

Question 21

An ordered or unordered list of values that is defined by iterating over a set of data. The body of the component specifies how a single item should appear in the list. The data set can include up to 1,000 items.

Options:

A.

apex:inputText

B.

apex:dataList

C.

apex:lineSeries

D.

apex:inputCheckbox

Question 22

____________ is a placeholder for content that is rendered in a specific part of the parent component, such as the header or footer of an .

Options:

A.

B.

C.

D.

E.

F.

None of these

Question 23

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.

Options:

A.

apex:chart

B.

apex:include

C.

apex:chartLabel

D.

apex:messages

Question 24

What does Apex use to record disruptions in code execution? (No Answer)

Options:

A.

Exceptions

B.

Ids

C.

Primitive

D.

addError

Question 25

This Apex class allows developers to collect and display errors when building custom controllers or extensions.

Options:

A.

Exception Class

B.

Message Class

C.

Debug Class

D.

Validation Class

E.

Messaging Class

F.

None of the above

Question 26

In a master-detail relationship, what happens to the child records if the parent record is deleted?

Options:

A.

Parent record deletion fails.

B.

Child records are not deleted.

C.

A subset of the child records is deleted.

D.

Child records are deleted.

Question 27

A text area input element. Use this component to get user input for a controller method that does not correspond to a field on a Salesforce object, for a value that requires a text area.

Options:

A.

apex:inputTextarea

B.

apex:facet

C.

apex:include

D.

apex:attribute

Question 28

What is the this keyword used to represent? (No Answer)

Options:

A.

A template from which objects are created

B.

FALSE, they must be static

C.

Methods and attributes of the current instance of a class

D.

Encapsulation principles

Question 29

What email addresses can emails be sent to out of Salesforce? (No Answer)

Options:

A.

Schema Explorer

B.

Plural name plus__r

C.

Static and final

D.

Internal and external

Question 30

A label for an input or output field. Use this component to provide a label for a controller method that does not correspond to a field on a Salesforce object.

Options:

A.

apex:inlineEditSupport

B.

apex:insert

C.

apex:outputLabel

D.

apex:column

Question 31

A developer would like to enable end users to filter the data displayed on the related list of an object detail page. How could a developer accomplish this?

Options:

A.

Enable Advanced Search on the object's related list

B.

Customize the search filter fields layout for that object

C.

Create a Visualforce page to replace the object detail view

D.

Configure the object's related list to add a filter

Question 32

The email publisher lets support agents who use Case Feed compose and send email messages to customers. You can customize this publisher to support email templates and attachments. This component can only be used in organizations that have Case Feed and Email-to-Case enabled. Ext JS versions less than 3 should not be included on pages that use this component.

Options:

A.

apex:pageBlock

B.

apex:define

C.

apex:component

D.

apex:emailPublisher

Question 33

A component that inserts a second Visualforce page into the current page. The entire page subtree is injected into the Visualforce DOM at the point of reference and the scope of the included page is maintained.

If content should be stripped from the included page, use the component instead.

Options:

A.

apex:iframe

B.

apex:include

C.

apex:inputFile

D.

apex:inputField

Question 34

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

Options:

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

Question 35

A set of buttons that are styled like standard Salesforce buttons. This component must be a child component of an .

Note that it is not necessary for the buttons themselves to be direct children of the component—buttons that are located at any level within an component are styled appropriately.

Options:

A.

apex:includeScript

B.

apex:commandButton

C.

apex:pageBlockButtons

D.

apex:form

Page: 1 / 24
Total 239 questions