New Year Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

How to Easily Pass the Salesforce DEV-501 Exam: Expert Advice

Questions 61

Object B has a lookup relationship to Object A. Object C has a lookup relationship to Object B. A developer needs to run a report on A records with C records.

How can the developer accomplish this?

Options:
A.

Create a matrix report with A and B records as column headings and C records as row headings

B.

Create a custom report type that includes A with B with C

C.

Create a summary report with a custom summary formula summarizing by A, then B, then C

D.

Run a report using the standard report type: A with B with C

Salesforce DEV-501 Premium Access
Questions 62

One of the best ways to build Visualforce pages and code is by enabling ___________.

Options:
A.

Visualforce development mode

B.

Apex development mode

C.

Force.com IDE access

D.

Show viewstate

E.

Visualforce system mode

F.

None of these

Questions 63

Although Trigger.new is a collection of records, when used as a bind variable in a SOQL query, Apex automatically....

Options:
A.

Passes the collection to the query, as long as the calling class implements the Trigger.QueryBind class.

B.

Transforms the list of records into a list of corresponding Ids.

C.

Truncates the collection so that only the Id and Name fields.

D.

Throws a DMLException with the ILLEGAL_QUERY status.

E.

Transforms the SOQL to an in-place SOSL query and returns the FIND results.

F.

None of these

Questions 64

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

Options:
A.

@ReadOnly

B.

RETURNING

C.

Webservice

D.

Trigger.new

Questions 65

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

Questions 66

What must a developer consider when inserting records using an API-based tool? Choose 2 answers

Options:
A.

Required fields on page layouts are enforced.

B.

Universally required field settings are respected.

C.

Apex triggers are ignored.

D.

Invalidation rules are respected.

Questions 67

An area of a Visualforce page that demarcates which components should be processed by the Force.com server when an AJAX request is generated. Only the components in the body of the <apex:actionRegion> are processed by the server, thereby increasing the performance of the page.

Options:
A.

apex:outputLabel

B.

apex:actionRegion

C.

apex:facet

D.

apex:emailPublisher

Questions 68

Which exception type should be checked for when catching exceptions thrown when governor limits are exceeded?

Options:
A.

StackOverflowException

B.

LimitException

C.

GovernorException

D.

PlatformLimitException

E.

InvalidLimitException

F.

None of these

Questions 69

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>).

Options:
A.

apex:actionSupport

B.

apex:componentBody

C.

apex:actionFunction

D.

apex:chartTips

Questions 70

Developers can use Visualforce to create a Visualforce page definition. A page definition consists of two primary elements:

  • Visualforce markup
  • A Visualforce controller

Visualforce markup consists of... (Select all that apply)

Options:
A.

Any Web-enabled code

B.

Visualforce Tags

C.

Apex code

D.

HTML

E.

JavaScript

F.

C# Remoting Modules

G.

None of the above