Weekend Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmaspas7

Easiest Solution 2 Pass Your Certification Exams

DEV-501 Salesforce Certified Force.com Advanced Developer Free Practice Exam Questions (2025 Updated)

Prepare effectively for your Salesforce DEV-501 Certified Force.com Advanced Developer certification with our extensive collection of free, high-quality practice questions. Each question is designed to mirror the actual exam format and objectives, complete with comprehensive answers and detailed explanations. Our materials are regularly updated for 2025, ensuring you have the most current resources to build confidence and succeed on your first attempt.

Page: 2 / 4
Total 239 questions

What is NOT a component of a custom Force.com application?

A.

Data warehouse

B.

Custom object

C.

Custom tab

D.

Default landing tab

Which mechanism allows for authenticated access to a Force.com Site? Choose 2 answers

A.

It is not possible to provide authentication for a Force.com Site

B.

An active Customer Portal

C.

An active Partner Portal

D.

Setting restricted IP ranges for your site

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

A.

Custom applications

B.

Custom relationships

C.

Custom fields

D.

Custom objects

E.

Custom tabs

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

A.

Map, List, Set

B.

Apex classes

C.

Through class itself

D.

Apex process classes

Can apex code be created directly in the production environment?

A.

Ids

B.

1

C.

10

D.

No

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

A.

SOQL statements

B.

sObject

C.

SOQL for loops

D.

multi-tenant

Like other Apex classes, custom controllers execute entirely in ____________, in which the object and field-level permissions of the current user are ignored.

A.

User Mode

B.

System Mode

C.

OWD Mode

D.

With-Sharing Mode

E.

Anonymous Mode

F.

None of the above

What can cross-object formulas reference?

A.

Both parent and child object records

B.

Parent object records only

C.

Child object records only

D.

Other records of the same object

An HTML input element for a value that corresponds to a field on a Salesforce object. The component respects the attributes of the associated field, including whether the field is required or unique, and the user interface widget to display to get input from the user. For example, if the specified component is a date field, a calendar input widget is displayed. When used in an , tags always display with their corresponding output label.

Note that if custom help is defined for the field in Setup, the field must be a child of an or , and the Salesforce page header must be displayed for the custom help to appear on your Visualforce page. To override the display of custom help, use the in the body of an .

Consider the following when using JavaScript events with this tag:

For lookup fields, mouse events fire on both the text box and graphic icon

For multi-select picklists, all events fire, but the DOM ID is suffixed with _unselected for the left box, _selected for the right box, and _right_arrow and _left_arrow for the graphic icons

For rich text areas, no events fire.

A.

apex:pageBlockButtons

B.

apex:define

C.

apex:outputLabel

D.

apex:inputField

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?

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

What are all the datatypes that Salesforce supports? (No Answer)

A.

Primitive, sObject, Collections, Null

B.

SOAP Web Service Callouts

C.

List of List Objects

D.

GET, POST, PUT, DELETE

The system method, System.runAs(), lets you write test methods that change user contexts to either an existing user or a new user.

A.

True

B.

False

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

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

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

A.

Validation rules

B.

Apex controller

C.

MVC controller class

D.

Visualforce controller

E.

Force.com IDE

F.

None of the above

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

A.

System-defined, user-defined

B.

Schema Explorer

C.

Webservice

D.

static and final

Total number of test classes that can be queued per a 24-hour period (as of Spring'13): The greater of 500 or 10 multiplied by the number of test classes in the organization

A.

True

B.

False

Which keywords do developers use to handle exceptions in Apex?

A.

Through class itself

B.

Throw, try, catch, finally

C.

Static and final

D.

GET, POST, PUT, DELETE

Which statement is TRUE about master-detail relationships in the Force.com platform? Choose 2 answers

A.

The master-detail relationship field is required on the page layout of the detail record.

B.

When defining a master-detail relationship, the custom object on which you are working is the master.

C.

The security settings for the master record control the detail record.

D.

When a master record is deleted, the child records remain in the system without a master record.

This component provides inline editing support to and various container components. In order to support inline editing, this component must also be within an tag.

The component can only be a descendant of the following tags:

See also: the inlineEdit attribute of

A.

apex:inlineEditSupport

B.

apex:chartLabel

C.

apex:page

D.

apex:outputPanel

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

Page: 2 / 4
Total 239 questions
Copyright © 2014-2025 Solution2Pass. All Rights Reserved