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

Free Salesforce DEV-501 Practice Exam with Questions & Answers | Set: 5

Questions 41

A user can only see the fields A, B, and C on a record of Object X until the Stage field value on the record changes from New to Working. Once the Stage field value is updated to Working and the record is saved, the user should be able to see fields A, B, C, and D.

How would an application developer configure this?

Options:
A.

Use workflow to change the field-level security

B.

Use validation rules to expose the field

C.

Use multiple Visualforce pages

D.

Use workflow to change the record type

Salesforce DEV-501 Premium Access
Questions 42

Apex code can be initiated in what ways? (Select all that apply)

Options:
A.

Web service requests.

B.

Triggers on objects.

C.

More?? Is "Button Clicks" a valid choice?

Questions 43

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

Options:
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

Questions 44

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

Questions 45

Which keywords should u specify to define a constant?

  • static and exception
  • static and final
  • static and private
  • exception and final(No Answer)

Options:
A.

Setup menu

B.

Multi-tenant

C.

static and final

D.

SOQL statements

Questions 46

A template component that declares a named area that must be defined by an <apex:define> component in another Visualforce page. Use this component with the <apex:composition> and <apex:define> components to share data between multiple pages.

Options:
A.

apex:outputText

B.

apex:barSeries

C.

apex:insert

D.

apex:inputFile

Questions 47

What is the size of the batches in which triggers execute?

Options:
A.

No

B.

200

C.

FALSE

D.

Java

Questions 48

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

Questions 49

Which statement is TRUE about field-level security? Choose 2 answers

Options:
A.

It is specified for each profile.

B.

It can be controlled at the record level.

C.

It Is enforced in the SOAP API.

D.

It determines the values displayed in a visible picklist field.

Questions 50

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