Summer Special - 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: c4sdisc65

DEV-501 PDF

$38.5

$109.99

3 Months Free Update

  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions

DEV-501 PDF + Testing Engine

$61.6

$175.99

3 Months Free Update

  • Exam Name: Certified Force.com Advanced Developer
  • Last Update: Sep 12, 2025
  • Questions and Answers: 239
  • Free Real Questions Demo
  • Recommended by Industry Experts
  • Best Economical Package
  • Immediate Access

DEV-501 Engine

$46.2

$131.99

3 Months Free Update

  • Best Testing Engine
  • One Click installation
  • Recommended by Teachers
  • Easy to use
  • 3 Modes of Learning
  • State of Art Technology
  • 100% Real Questions included

DEV-501 Practice Exam Questions with Answers Certified Force.com Advanced Developer Certification

Question # 6

Which type of tab can a developer create? Choose 3 answers.

A.

Apex tabs

B.

web tabs

C.

standard object tabs

D.

Visualforce tabs

E.

custom object tabs

Full Access
Question # 7

What datatype is used for standard or custom objects that store record data? (No Answer)

A.

System

B.

sObject

C.

Global

Full Access
Question # 8

A developer needs to support multiple currencies for a custom object in an application. The multi-currency feature has been enabled for the organization.

What does the developer need to know in order to successfully support this application? Choose 2 answers

A.

Administrators can add additional currencies after the application has been built.

B.

Roll-up summary fields on a parent record will calculate incorrectly if the child records have multiple currencies.

C.

The multi-currency feature will automatically track historical exchange rates.

D.

Currency ISO code will need to be supplied when inserting records in different currencies.

Full Access
Question # 9

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

Full Access
Question # 10

If the error message contains HTML markup, the escaped markup displays as text and isn't rendered in the user interface. (Select all that apply)

A.

Strongly Typed.

B.

Object Oriented.

C.

Uses Java-like syntax.

D.

Acts like database stored procedures.

Full Access
Question # 11

What does each email service have for which users can send messages? (No Answer)

A.

Code contained in a trigger

B.

Salesforce-generated email address

C.

Schema Explorer

D.

Apex process classes

Full Access
Question # 12

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

Full Access
Question # 13

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

Full Access
Question # 14

To aid ___________, each Visualforce page and custom component is saved with version settings for the specified version of the API as well as the specific version of Visualforce.

A.

bytecode compiles

B.

Apex testing

C.

portal development

D.

backwards-compatibility

E.

exception handling

F.

None of these

Full Access
Question # 15

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?

A.

Summary

B.

Pivot

C.

Reporting Snapshot

D.

Tabular

Full Access
Question # 16

An HTML input element of type checkbox. Use this component to get user input for a controller method that does not correspond to a field on a Salesforce object.

A.

apex:dataList

B.

apex:inputCheckbox

C.

apex:actionPoller

D.

apex:componentBody

Full Access
Question # 17

Defines an axis for a chart. Use this to set the units, scale, labeling, and other visual options for the axis. You can define up to four axes for a single chart, one for each edge.

Note: This component must be enclosed within an component. This component is only applicable to bar and line charts.

A.

apex:emailPublisher

B.

apex:messages

C.

apex:image

D.

apex:axis

Full Access
Question # 18

Which trigger context variable is not saved in the after trigger and causes an exception to be thrown?

A.

Trigger.new

B.

addError

C.

Primitive

D.

TRUE

Full Access
Question # 19

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

A.

isSuccess, sendEmailError

B.

Apex, Visualforce, and APIs

C.

Through UI, Force.com IDE project

D.

Bounced, discarded, queued

Full Access
Question # 20

What term indicates that Salesforce is a platform which allows clients to share hardware, storage and other infrastructure?

A.

System

B.

On-demand

C.

TRUE

D.

Multi-tenant

Full Access
Question # 21

In a master-detail relationship, what happens to the child records if the parent record is deleted?

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.

Full Access
Question # 22

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

Full Access
Question # 23

Universal Containers requires that some employees are able to view and edit records of a custom object called Positions, but no users can delete them.

How can Universal Containers accomplish this goal?

A.

Assign the Read-only profile to all users

B.

Set the organization wide default for positions to Read-only

C.

Remove the Delete permission for positions from all profiles

D.

Remove the Delete Access for positions from all user roles

Full Access
Question # 24

For example, if you use the standard Accounts controller, clicking a Save button in a Visualforce page results in the same behavior as clicking Save on a standard Account edit page. The same behavior holds true for Custom objects.

A.

True

B.

False

Full Access
Question # 25

How can the default profile under which Webservices execute be changed? (No Answer)

A.

with sharing keyword

B.

Webservice

C.

SOQL statements

D.

constructor

Full Access
Question # 26

An HTML input element of type text. Use this component to get user input for a controller method that does not correspond to a field on a Salesforce object.

This component does not use Salesforce styling. Also, since it does not correspond to a field, or any other data on an object, custom code is required to use the value the user inputs.

A.

apex:messages

B.

apex:dynamicComponent

C.

apex:inputText

D.

apex:inputField

Full Access
Question # 27

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)

A.

Any Web-enabled code

B.

Visualforce Tags

C.

Apex code

D.

HTML

E.

JavaScript

F.

C# Remoting Modules

G.

None of the above

Full Access
Question # 28

A single column in a table. An component must always be a child of an or component.

Note that if you specify an sObject field as the value attribute for an , the associated label for that field is used as the column header by default. To override this behavior, use the headerValue attribute on the column, or the column's header facet.

A.

apex:inputField

B.

apex:column

C.

apex:inputText

D.

apex:insert

Full Access
Question # 29

A component that inserts a second Visualforce page into the current page. The entire page subtree is injected into the Visualforce DOM at the point of reference and the scope of the included page is maintained.

If content should be stripped from the included page, use the component instead.

A.

apex:iframe

B.

apex:include

C.

apex:inputFile

D.

apex:inputField

Full Access
Question # 30

What are two key tools to debug code in Salesforce?

A.

Dates, Ids, Numbers

B.

Logs, anonymous blocks

C.

Debug logs, email logs

D.

List of List Objects

Full Access
Question # 31

A developer can use optional catch statements for any exception type in a try-catch block. However, the general exception type, 'Exception', must only be used by the last catch() block.

EXAMPLE:

try{

// Some risky code.

}

catch(SomeExceptionType e){

// Handle one exception type.

}

catch(SomeOtherExceptionType e){

// Handle another exception type.

}

catch(Exception e){

// This must be the last catch block.

}

~|~

(Select all that apply)

A.

Make calls to methods using both valid and invalid inputs.

B.

In the case of conditional logic (including ternary operators), execute each branch of code logic.

C.

Only test code using the System Administrator profile.

D.

Focus solely on test coverage percentage score.

E.

Complete successfully without throwing any exceptions, unless those errors are expected and caught in a try...catch block.

F.

None of these

Full Access
Question # 32

The markup defines the user interface components that should be included on the page, and the way they should appear.

A.

True

B.

False

Full Access
Question # 33

In a recruiting application, all users should be able to see positions with a status of Open. If the status is anything other than Open, the position should be visible only to the record owner.

How would a developer accomplish this? Choose 2 answers

A.

Set the organization-wide default for positions to public read-only, then use a sharing rule to restrict access to closed positions.

B.

Specify view only access for open positions on users' profiles.

C.

Set the organization-wide default for positions to private, then use a criteria-based sharing rule to automatically share open positions.

D.

Set the organization-wide default for positions to private, allowing owners to use manual sharing to add or remove access as positions change status.

Full Access
Question # 34

This tag acts as a placeholder for your dynamic Apex components. It has one required parameter—component Value—which accepts the name of an Apex method that returns a dynamic component.

The following Visualforce components do not have dynamic Apex representations:

Any non- tag, like , , , , , or

A.

apex:dynamicComponent

B.

apex:dataList

C.

apex:actionSupport

D.

apex:insert

Full Access
Question # 35

In a bug tracking application. Universal Containers has created a time-based workflow action that will execute 30 days after a Bug record is created. The developer would like to test to make sure that rule is working the way that it should.

Which feature is available for testing? Choose 2 answers

A.

Time-based workflow queue

B.

Activity History related list

C.

Bug History related list

D.

Debug Log

Full Access
Question # 36

The Log a Call publisher lets support agents who use Case Feed create logs for customer calls. This component can only be used in organizations that have Case Feed, Chatter, and feed tracking on cases enabled.

A.

apex:inputHidden

B.

apex:iframe

C.

apex:chartLabel

D.

apex:logCallPublisher

Full Access
Question # 37

Which type of for loops are defined with the following syntax?

FOR(initstmt; exit_condition; increment stmt){

codeblock

}

  • Traditional for loops
  • List iteration for loops
  • Set iteration for loops
  • SOQLforloops(No Answer)
A.

Static and final

B.

A governor limit

C.

Traditional for loops

D.

SOQL for loops

Full Access
Question # 38

How should one prevent soql injection when using dynamic soql? (No Answer)

A.

XMLStreanWriter, XMLStreamReader

B.

Messaging.InboundEmailHandler

C.

with sharing keyword

D.

Utilize the String.escapeSingleQuotes(string) method

Full Access
Question # 39

The standard detail page for a particular object, as defined by the associated page layout for the object in Setup. This component includes attributes for including or excluding the associated related lists, related list hover links, and title bar that appear in the standard Salesforce application interface.

A.

apex:pageblockSection

B.

apex:component

C.

apex:insert

D.

apex:detail

Full Access
Question # 40

An HTML input element of type hidden, that is, an input element that is invisible to the user. Use this component to pass variables from page to page.

A.

apex:inputHidden

B.

apex:actionPoller

C.

apex:pageBlockSectionItem

D.

apex:enhancedList

Full Access
Question # 41

The System.runAs() functionality can be used to test and verify proper data sharing and data access. However, System.runAs() does NOT validate CRUD or Field Level Security permissions.

A.

True

B.

False

Full Access
Question # 42

What name identifies datatypes such as Integer, Boolean, String and Enum in Salesforce?

A.

Primitive

B.

@ReadOnly

C.

Trigger.new

D.

FALSE

Full Access
Question # 43

A component that creates an inline frame within a Visualforce page. A frame allows you to keep some information visible while other information is scrolled or replaced.

A.

apex:include

B.

apex:iframe

C.

apex:chartLabel

D.

apex:attribute

Full Access
Question # 44

Which fields are returned by sosl by default?

A.

Ids

B.

200

C.

6

D.

1

Full Access
Question # 45

A data series to be rendered as bars in a Visualforce chart. At a minimum you must specify the fields in the data collection to use as X and Y values for each bar, as well as the X and Y axes to scale against.

Note: This component must be enclosed within an component. You can have multiple and components in a single chart.

A.

apex:barSeries

B.

apex:inputHidden

C.

apex:outputLink

D.

apex:outputField

Full Access
Question # 46

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

Full Access
Question # 47

Objects of this Apex class specify one of the possible values for a Visualforce selectCheckboxes, selectList, or selectRadio component.

A.

Select Class

B.

SelectOption Class

C.

OptionSelection Class

D.

InputSelection Class

E.

InputOption Class

F.

None of the above

Full Access
Question # 48

Which trigger context variable cannot be deleted? (No Answer)

A.

RETURNING

B.

on-demand

C.

Exceptions

D.

Trigger.new

Full Access
Question # 49

What is the total number of messages that all email services put together can process in a day? (No Answer)

A.

Failure response settings

B.

Number of user licenses multiplied by 1000

C.

Through class itself

D.

List of List Objects

Full Access
Question # 50

What are the three ways to run unit tests?

A.

Salesforce ui, force.com ide, runTests web service

B.

Dates, Ids, Numbers

C.

FALSE, they must be static

D.

System-defined, user-defined

Full Access
Question # 51

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?

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

Full Access
Question # 52

What components must be deployed manually to the production environment?

A.

Queues, time triggers

B.

Multi-tenant

C.

Constructor

D.

Dates, Ids, Numbers

Full Access
Question # 53

Which standard profile has the "View Encrypted Data" permission by default?

A.

System Administrator Profile

B.

Solution Manager Profile

C.

Standard User Profile

D.

No profile has the permission active by default

Full Access
Question # 54

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

Full Access
Question # 55

How does the Email service process inbound emails? (No Answer)

A.

Apex classes

B.

Exceptions

C.

FALSE

D.

catch

Full Access
Question # 56

Which developer tool can be used to create a data model? Choose 2 answers

A.

Force.com IDE

B.

Schema Builder

C.

Application Data Model Wizard

D.

Force.com Data Loader

Full Access
Question # 57

Match the Force.com platform aspects with their corresponding descriptions.

DEV-501 question answer

Full Access
Question # 58

What are some RESTful service callout HTTP verbs? (No Answer)

A.

GET, POST, PUT, DELETE

B.

System, debug

C.

List of List Objects

D.

Setup menu

Full Access
Question # 59

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

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.

Full Access
Question # 60

What two ways are available to customize and create applications in salesforce? (No Answer)

A.

declaratively, programmatically

B.

Encapsulation principles

C.

static and final

D.

plural name plus__r

Full Access
Question # 61

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.

Full Access
Question # 62

What interface does the Apex email handler implement to setup and inbound email service?

A.

Messaging.sendEmail

B.

Messaging.InboundEmailHandler

C.

Encapsulation principles

D.

isSuccess, sendEmailError

Full Access
Question # 63

This integration resource provides generic access to any organization, and exposes standard objects and fields through the SOAP interface.

A.

System WSDL

B.

Partner WSDL

C.

Custom WSDL

D.

Enterprise WSDL

E.

Portal WSDL

F.

None of the above

Full Access
Question # 64

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

Full Access
Question # 65

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

Salesforce-generated email address

B.

Apex code, Visualforce pages, and controllers

C.

Developer edition production org, Enterprise edition sandbox org

D.

Encapsulation principles

Full Access
Question # 66

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

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

Full Access
Question # 67

Universal Containers tracks reviews as a custom object in a recruiting application. An interview score is tracked on each review record and should be numerical, so that hiring managers can perform score calculations. The scores should be restricted to Integer values l through 5 and displayed as a set of radio buttons.

How can a developer meet this requirement?

A.

Create the Interview Score field as a picklist, displayed as a radio button on the page layout

B.

Create a formula field that displays the interview score as a set of radio buttons

C.

Create a Visualforce component to display the interview score as a set of radio buttons

D.

Create the Interview Score field with a data type of radio button

Full Access
Question # 68

Universal Containers requires that all job applications have a unique code that is auto-populated when records are created. The code must be different from the record ID.

What would a developer use to accomplish this declaratively?

A.

Custom auto number field

B.

Custom master-detail field

C.

Custom read-only number field

D.

Custom lookup relationship field

Full Access
Question # 69

This tag allows a custom component author to define a location where a user can insert content into the custom component. This is especially useful for generating custom iteration components. This component is valid only within an tag, and only a single definition per custom component is allowed.

A.

apex:facet

B.

apex:chart

C.

apex:include

D.

apex:componentBody

Full Access
Question # 70

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 (, , or ).

A.

apex:actionSupport

B.

apex:componentBody

C.

apex:actionFunction

D.

apex:chartTips

Full Access
Question # 71

This integration resource is specific to an individual organization, and exposes all of the standard objects, custom objects, and any custom fields through the SOAP interface.

A.

System WSDL

B.

Partner WSDL

C.

Custom WSDL

D.

Enterprise WSDL

E.

Portal WSDL

F.

None of the above

Full Access