Labour Day Special Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

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

Question 1

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 2

What two methods of customization are available to create applications in salesforce?

Options:

A.

Implicit invocation

B.

SOQL for loops

C.

Record level access

D.

declarative, programmatic

Question 3

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

Question 4

What are the types of exception classes developers can choose between in Apex? (No Answer)

Options:

A.

System-defined, user-defined

B.

Schema Explorer

C.

Webservice

D.

static and final

Question 5

Given a three tier model (UI layer, business logic layer, data layer), which feature of the Force.com platform is associated with the data layer? Choose 3 answers

Options:

A.

Custom applications

B.

Custom relationships

C.

Custom fields

D.

Custom objects

E.

Custom tabs

Question 6

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 7

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 8

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.

Options:

A.

apex:flash

B.

apex:pageBlockSectionItem

C.

apex:outputField

D.

apex:componentBody

Question 9

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 10

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 11

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 12

Objects of this Apex class allow developers to create list controllers similar to, or as extensions of, the pre-built Visualforce list controllers provided by Salesforce.

Options:

A.

StandardSetController Class

B.

StandardController Class

C.

Controller Class

D.

VisualforceSetController Class

E.

VisualforceControllerClass

F.

None of the above

Question 13

Which type of custom field can be an external ID?

Options:

A.

Custom field of any type

B.

Phone Number, Email, URL and Text-based fields

C.

Text, Number, or Formula fields only

D.

Text, Email, or Number fields only

Question 14

Which is a valid formula return type for a custom formula field? Choose 3 answers

Options:

A.

Date

B.

Percent

C.

Email

D.

Phone

E.

Currency

Question 15

How can a wireless device user approve a record? Choose 3 answers

Options:

A.

via a text message

B.

via Approvals in Chatter

C.

via voice recognition

D.

via email from a wireless device

E.

via Salesforce1

Question 16

The __________ of a Visualforce page is composed of all the data that's necessary to maintain the state of the controller during server requests (like sending or receiving data).

Options:

A.

Page Memory

B.

State Settings

C.

Cookie Collection

D.

View State

E.

Page Header

F.

None of these

Question 17

What two ways can classes be created in salesforce? (No Answer)

Options:

A.

isSuccess, sendEmailError

B.

Apex, Visualforce, and APIs

C.

Through UI, Force.com IDE project

D.

Bounced, discarded, queued

Question 18

Developers can use Visualforce pages to: (Select all that apply)

Options:

A.

Override standard buttons

B.

Override tab overview pages

C.

Define custom tabs

D.

Embed components in detail page layouts

E.

Create dashboard components or custom help pages

F.

Create custom Console components.

G.

None of these

Question 19

What types of sharing are available to developers to share records? (No Answer)

Options:

A.

Messaging, sendEmail

B.

Manual sharing, apex sharing

C.

Batch apex, apex scheduler

D.

With sharing keyword

Question 20

By referring to a page in this way, the platform recognizes that this controller or controller extension is dependent on the existence of the specified page and will prevent the page from being deleted while the controller or extension exists.

Options:

A.

True

B.

False

Question 21

Which invocation method occurs when triggers are called by the Force.com platform during the save process?

  • Explicit invocation
  • Implicit invocation
  • Explicit invocation using anonymous blocks
  • External API invocation

Options:

A.

RETURNING

B.

Implicit invocation

C.

Primitive

D.

SOQL for loops

Question 22

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

Question 23

In the Universal Containers recruiting app, there is a master-detail relationship between the Job Application and Review objects. Job Application is the master object.

If a Job Application record is deleted, what will happen to any associated Review records?

Options:

A.

The Review record is also deleted

B.

The owner of the Review record changes

C.

No change to the Review record

D.

An error message is displayed

Question 24

Positions is a custom object in a recruiting application built on the Force.com platform. Department is a field on the Position object.

Which type of report should a developer create to show hiring managers the number of positions grouped by department?

Options:

A.

Summary

B.

Pivot

C.

Reporting Snapshot

D.

Tabular

Question 25

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 26

A/an _____________ is a class written in Apex that adds to or overrides behavior in a standard or custom controller.

Options:

A.

Custom component

B.

Controller extension

C.

Apex extension

D.

Extended Controller

E.

Component extension

F.

None of these

Question 27

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 28

A graphic image, rendered with the HTML tag.

Options:

A.

apex:image

B.

apex:composition

C.

apex:actionStatus

D.

apex:componentBody

Question 29

What statements are used to retrieve records from an sObject in the Force.com database? (No Answer)

Options:

A.

SOQL statements

B.

sObject

C.

SOQL for loops

D.

multi-tenant

Question 30

Which environments can developers write code? (Select all that apply.)

  • Developer edition production org
  • Enterprise edition production org
  • Enterprise edition sandbox org
  • Professional edition sandbox org

Options:

A.

Salesforce-generated email address

B.

Apex code, Visualforce pages, and controllers

C.

Developer edition production org, Enterprise edition sandbox org

D.

Encapsulation principles

Question 31

In a recruiting application, a master-detail relationship has been defined between two custom objects. Job Applications (master) and Reviews (detail).

Which statement is TRUE? Choose 2 answers

Options:

A.

Review records will inherit ownership from the associated job application.

B.

Deleting a job application record will delete associated review records.

C.

The master-detail relationship between Job Applications and Reviews is defined on the Job Application object.

D.

Review records may exist without an associated job application.

Question 32

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

Question 33

What is the maximum size of a SOAP request or response regulated by? (No Answer)

Options:

A.

@ReadOnly

B.

RETURNING

C.

Trigger.old

D.

a governor limit

Question 34

The list view picklist for an object, including its associated list of records for the currently selected view. In standard Salesforce applications this component is displayed on the main tab for a particular object.

See also: .

Options:

A.

apex:actionStatus

B.

apex:listViews

C.

apex:inputText

D.

apex:pageBlockButtons

Question 35

When do users have the option to manually share records they own from the record detail page?

Options:

A.

When a developer adds the Sharing button to the page layout.

B.

When a developer grants the users the Share Records permission.

C.

When the organization wide default for the object is set to private or read-only.

D.

When the organization wide default for the object is set to public read/write.

Page: 1 / 24
Total 239 questions