Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ecus65

Salesforce DEV-501 - Certified Force.com Advanced Developer

Page: 7 / 8
Total 239 questions

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

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

Which trigger context variable allows you to modify field values before they are written to the database in the before trigger?

A.

@ReadOnly

B.

RETURNING

C.

Webservice

D.

Trigger.new

What is the default return type of a sosl statement?

A.

Apex process classes

B.

Apex classes

C.

List of List Objects

D.

SOQL for loops

Can apex code be created directly in the production environment?

A.

Ids

B.

1

C.

10

D.

No

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

A.

Exceptions

B.

Ids

C.

Primitive

D.

addError

If you use a standard controller on a page and the user doesn't have access to the object, the page will...

A.

Throw an ACCESS_VIOLATION exception.

B.

Write an ACCESS_VIOLATION message to the debug log.

C.

Display an insufficient privileges error message.

D.

Redirect the user to their home page.

E.

Ask the user if they would like to upgrade permissions in order to view the object.

F.

None of the above

An HTML table that is defined by iterating over a set of data, displaying information about one item of data per row. The body of the contains one or more column components that specify what information should be displayed for each item of data. The data set can include up to 1,000 items.

A.

apex:listViews

B.

apex:dataTable

C.

apex:define

D.

apex:inputHidden

A single piece of data in an that takes up one column in one row. An component can include up to two child components. If no content is specified, the column is rendered as an empty space. If one child component is specified, the content spans both cells of the column. If two child components are specified, the content of the first is rendered in the left, "label" cell of the column, while the content of the second is rendered in the right, "data" cell of the column.

Note that if you include an or an component in an , these components do not display with their label or custom help text as they do when they are children of an . Also note that components cannot be rerendered; rerender the child components instead.

A.

apex:flash

B.

apex:pageBlockSectionItem

C.

apex:outputField

D.

apex:componentBody

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.

A.

apex:dataTable

B.

apex:legend

C.

apex:pageBlockSectionItem

D.

apex:inputSecret