Spring Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

DEV-501 Certified Force.com Advanced Developer Questions and Answers

Questions 4

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

Buy Now
Questions 5

Which statement is true regarding Force.com Sites? Choose 3 answers

Options:

A.

Sites can leverage declarative page layouts as web pages.

B.

Sites enables developers to build public, unauthenticated websites.

C.

Sites are built with Visualforce pages.

D.

Sites leverage data and content in a Salesforce org.

Buy Now
Questions 6

An area of a page that includes content from a second template page. Template pages are Visualforce pages that include one or more < apex:insert > components. The < apex:composition > component names the associated template, and provides body for the template ' s < apex:insert > components with matching < apex:define > components. Any content outside of an < apex:composition > component is not rendered.

Options:

A.

apex:inputSecret

B.

apex:composition

C.

apex:pageblockSection

D.

apex:lineSeries

Buy Now
Questions 7

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?

Options:

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

Buy Now
Questions 8

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

Options:

A.

Time-based workflow queue

B.

Activity History related list

C.

Bug History related list

D.

Debug Log

Buy Now
Questions 9

What are two ways to invoke a custom web service?

Options:

A.

Apex process classes

B.

A governor limit

C.

List of List Objects

D.

Ajax toolkit, client program

Buy Now
Questions 10

Which of the following are collection data types?

    String

    Map

    List

    Date

    Set

    Number

Options:

A.

For loops

B.

FALSE

C.

Primitive

D.

Map, List, Set

Buy Now
Questions 11

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

Buy Now
Questions 12

What does Apex use to record disruptions in code execution?

Options:

A.

@ReadOnly

B.

Catch

C.

Webservice

D.

Exceptions

Buy Now
Questions 13

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.

Options:

A.

System WSDL

B.

Partner WSDL

C.

Custom WSDL

D.

Enterprise WSDL

E.

Portal WSDL

F.

None of the above

Buy Now
Questions 14

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.

Buy Now
Questions 15

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

Buy Now
Questions 16

A button that is rendered as an HTML input element with the type attribute set to submit, reset, or image, depending on the < apex:commandButton > tag ' s specified values. The button executes an action defined by a controller, and then either refreshes the current page, or navigates to a different page based on the PageReference variable that is returned by the action.

An < apex:commandButton > component must always be a child of an < apex:form > component.

See also: < apex:commandLink >

Options:

A.

apex:commandButton

B.

apex:flash

C.

apex:emailPublisher

D.

apex:actionRegion

Buy Now
Questions 17

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

Buy Now
Questions 18

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 < apex:chart > component. This component is only applicable to bar and line charts.

Options:

A.

apex:emailPublisher

B.

apex:messages

C.

apex:image

D.

apex:axis

Buy Now
Questions 19

What language is Apex similar to? (No Answer)

Options:

A.

Catch

B.

1

C.

TRUE

D.

Java

Buy Now
Questions 20

Universal Containers tracks Positions as a custom object in a recruiting application. All positions with a priority of critical should NOT be open for more than two weeks. If a position remains open for more than 14 days, the priority should be re-examined.

How would a developer automate this process?

Options:

A.

Create a workflow action to clone the position, assigned to the owner of the position record, that is due 14 days after record creation

B.

Create a validation rule that compares today ' s date and the record ' s creation date to determine if the difference is greater than 14 days

C.

Recreate a time-dependent workflow action that sends an email to the recruiter if the position is still open 14 days after record creation

D.

Create a time-dependent workflow action that updates the position status to Closed 14 days after record creation

Buy Now
Questions 21

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

Options:

A.

System

B.

sObject

C.

Global

Buy Now
Questions 22

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

Buy Now
Questions 23

Hiring managers at Universal Containers would like a visual mechanism for determining review score outliers. Review scores are captured as a custom field on a custom Review object and can range from l to 10. Any review score that is > 8 should be highlighted in green.

Any review score that is < 4 should be highlighted In red.

How would a developer accomplish this?

Options:

A.

Use custom summary formulas

B.

Use matrix reports

C.

Use charts

D.

Use conditional highlighting

Buy Now
Questions 24

How should one prevent soql injection when using dynamic soql?

Options:

A.

Database class method

B.

code contained in a trigger

C.

Utilize the String.escapeSingleQuotes(string) method

D.

with sharing keyword

Buy Now
Questions 25

In which Salesforce environments will the Force.com record IDs be identical?

Options:

A.

Production and Full Copy Sandbox only

B.

Production and Developer Sandbox only

C.

Production, Full Copy Sandbox, and Developer Sandbox

D.

Force.com record IDs are never identical.

Buy Now
Questions 26

An HTML table that is defined by iterating over a set of data, displaying information about one item of data per row. The body of the < apex:dataTable > contains one or more column components that specify what information should be displayed for each item of data. The data set can include up to 1,000 items.

Options:

A.

apex:listViews

B.

apex:dataTable

C.

apex:define

D.

apex:inputHidden

Buy Now
Questions 27

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

Options:

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.

Buy Now
Questions 28

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

Buy Now
Questions 29

To leverage functionality of Standard Controllers, while simultaneously adding custom logic, you must write a custom class that extends the standard controller. You notify the Visualforce page of your customizations via the " extensions " attribute of the < apex:page > tag.

Options:

A.

True

B.

False

Buy Now
Questions 30

What are the four ways to deploy Apex code? (No Answer)

Options:

A.

Force.com IDE for developers, force.com migration tool, changesets, third-party tools

B.

A template from which objects are created

C.

Through UI, Force.com IDE project

D.

Developer edition production org, Enterprise edition sandbox org

Buy Now
Questions 31

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

Options:

A.

Select Class

B.

SelectOption Class

C.

OptionSelection Class

D.

InputSelection Class

E.

InputOption Class

F.

None of the above

Buy Now
Questions 32

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.

Buy Now
Questions 33

Which statement is true about an Apex class?

    A class cannot be disabled for profiles.

    An inner class can be nested at multiple levels.

    Static methods can only be declared in a top-level class definition.

    The default access modifier for methods in a class is public.

Options:

A.

Static methods can only be declared in a top-level class definition.

B.

Utilize the String.escapeSingleQuotes(string) method

C.

HTTP class, HTTPRequesL class, HTTPRsponse class

D.

Database class method

Buy Now
Questions 34

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

Options:

A.

True

B.

False

Buy Now
Questions 35

A data series to be rendered as connected points 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 point, as well as the X and Y axes to scale against.

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

Options:

A.

apex:pageblockSection

B.

apex:inputHidden

C.

apex:lineSeries

D.

apex:inputSecret

Buy Now
Questions 36

Why might a reporting snapshot fail during a scheduled run? Choose 3 answers

Options:

A.

The target object is a custom object.

B.

The target object contains an Apex trigger.

C.

The running user has been made inactive.

D.

The source report has been resaved as a matrix report.

E.

The source report was not created by an Administrator.

Buy Now
Questions 37

A developer is loading data, in CSV format, into a custom application from a legacy system. The developer would like to load users into the user object, and positions and job applications owned by named users into related custom objects.

Which obstacle will the developer encounter when using the import wizard?

Options:

A.

The import wizards cannot Import data from CSV files.

B.

The import wizards do not support custom objects.

C.

The import wizards do not import files to specify record owner.

D.

The import wizards do not support the User object.

Buy Now
Questions 38

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

Buy Now
Questions 39

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

Buy Now
Questions 40

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

Options:

A.

Apex tabs

B.

web tabs

C.

standard object tabs

D.

Visualforce tabs

E.

custom object tabs

Buy Now
Questions 41

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.

Options:

A.

True

B.

False

Buy Now
Questions 42

Under what profile do Webservice methods execute by default?

Options:

A.

No

B.

FALSE

C.

TRUE

D.

System

Buy Now
Questions 43

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 < apex:component > tag, and only a single definition per custom component is allowed.

Options:

A.

apex:facet

B.

apex:chart

C.

apex:include

D.

apex:componentBody

Buy Now
Questions 44

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

Options:

A.

True

B.

False

Buy Now
Questions 45

What trigger method is used to help prevent completion of a DML event?

Options:

A.

addError

B.

Ids

C.

No

D.

TRUE

Buy Now
Questions 46

An ordered or unordered list of values that is defined by iterating over a set of data. The body of the < apex:dataList > component specifies how a single item should appear in the list. The data set can include up to 1,000 items.

Options:

A.

apex:inputText

B.

apex:dataList

C.

apex:lineSeries

D.

apex:inputCheckbox

Buy Now
Questions 47

Universal Containers has built a recruiting application with two custom objects, Job Applications and Reviews that have a master-detail relationship. Users should NOT be allowed to delete review records after job application records have been approved.

How would a developer meet this requirement?

Options:

A.

Change the interviewer ' s profile to Read-only for the review object

B.

Use workflow to change the page layout to Read-only

C.

Remove the Delete button from the job application page layout

D.

Use a validation rule in conjunction with a roll-up summary field

Buy Now
Questions 48

Defines a chart legend. This component offers additional configuration options beyond the defaults used by the legend attribute of the < apex:chart > component.

Note: This component must be enclosed within an < apex:chart > component.

Options:

A.

apex:dataTable

B.

apex:legend

C.

apex:pageBlockSectionItem

D.

apex:inputSecret

Buy Now
Questions 49

Which syntax should you use to create a new public class named MyNewClass?

    Public class MyNewClass {}

    Class public MyNewClass {}

    Class MyNewClass {} public

    MyNewClass public {} class(No Answer)

Options:

A.

Public class MyNewClass

B.

Database class method

C.

SOQL statements

D.

Static and final

Buy Now
Questions 50

This Apex class lets a developer create an action method that can be used in a Visualforce custom controller or controller extension.

Options:

A.

Apex.Action Class

B.

ApexPages.Action Class

C.

Action Class

D.

Visualforce.Action Class

E.

Component.Action Class

F.

None of the above

Buy Now
Questions 51

A single piece of data in an < apex:pageBlockSection > that takes up one column in one row. An < apex:pageBlockSectionItem > 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 < apex:outputField > or an < apex:inputField > component in an < apex:pageBlockSectionItem > , these components do not display with their label or custom help text as they do when they are children of an < apex:pageBlockSectionItem > . Also note that < apex:pageBlockSectionItem > components cannot be rerendered; rerender the child components instead.

Options:

A.

apex:flash

B.

apex:pageBlockSectionItem

C.

apex:outputField

D.

apex:componentBody

Buy Now
Questions 52

This component provides inline editing support to < apex:outputField > and various container components. In order to support inline editing, this component must also be within an < apex:form > tag.

The < apex:inlineEditSupport > component can only be a descendant of the following tags:

< apex:dataList >

< apex:dataTable >

< apex:form >

< apex:outputField >

< apex:pageBlock >

< apex:pageBlockSection >

< apex:pageBlockTable >

< apex:repeat >

See also: the inlineEdit attribute of < apex:detail >

Options:

A.

apex:inlineEditSupport

B.

apex:chartLabel

C.

apex:page

D.

apex:outputPanel

Buy Now
Questions 53

If a change is made to an approval process, how can a developer determine the user that made the change? Choose 2 answers

Options:

A.

By examining the setup audit trail

B.

By checking the field history on the associated record

C.

By looking at " Modified By " on the approval definition

D.

By examining the Debug Log

Buy Now
Questions 54

What is a class? (No Answer)

Options:

A.

Apex, Visualforce, and APIs

B.

Database class method

C.

A template from which objects are created

D.

Ajax toolkit, client program

Buy Now
Questions 55

What is the this keyword used to represent? (No Answer)

Options:

A.

A template from which objects are created

B.

FALSE, they must be static

C.

Methods and attributes of the current instance of a class

D.

Encapsulation principles

Buy Now
Questions 56

A graphic image, rendered with the HTML < img > tag.

Options:

A.

apex:image

B.

apex:composition

C.

apex:actionStatus

D.

apex:componentBody

Buy Now
Questions 57

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

Options:

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.

Buy Now
Questions 58

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

Buy Now
Questions 59

This Apex class offers Ideas-specific functionality in addition to what is provided by the StandardController class.

Options:

A.

StandardControllerIdeas Class

B.

IdeaCustomController Class

C.

IdeaStandard Class

D.

IdeaStandardController Class

E.

StandardIdeasController Class

F.

None of the above

Buy Now
Questions 60

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

Buy Now
Questions 61

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.

Options:

A.

apex:include

B.

apex:iframe

C.

apex:chartLabel

D.

apex:attribute

Buy Now
Questions 62

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

Buy Now
Questions 63

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 < apex:composition > component instead.

Options:

A.

apex:iframe

B.

apex:include

C.

apex:inputFile

D.

apex:inputField

Buy Now
Questions 64

What components of apex are available to improve the processing of data in Salesforce?

Options:

A.

Database class method

B.

GET, POST, PUT, DELETE

C.

Batch apex, apex scheduler.

D.

Internal and external

Buy Now
Questions 65

What two forms of dml operations can be used in apex?

Options:

A.

SOQL statements

B.

Traditional for loops

C.

Standalone, database class methods

D.

Failure response settings

Buy Now
Questions 66

A definition of an attribute on a custom component. The attribute tag can only be a child of a component tag.

Note that you cannot define attributes with names like id or rendered. These attributes are automatically created for all custom component definitions.

Options:

A.

apex:attribute

B.

apex:insert

C.

apex:message

D.

apex:include

Buy Now
Questions 67

A template component that provides content for an < apex:insert > component defined in a Visualforce template page.

See also: < apex:composition > , < apex:insert >

Options:

A.

apex:facet

B.

apex:includeScript

C.

apex:axis

D.

apex:define

Buy Now
Questions 68

What components must be deployed manually to the production environment?

Options:

A.

Queues, time triggers

B.

Multi-tenant

C.

Constructor

D.

Dates, Ids, Numbers

Buy Now
Questions 69

What types of sharing are available to developers to share records?

Options:

A.

Failure response settings

B.

Manual sharing, apex sharing

C.

Dates, Ids, Numbers

D.

Apex, Visualforce, and APIs

Buy Now
Questions 70

What determines how the email service responds when an attempt to access the email service fails? (No Answer)

Options:

A.

Failure response settings

B.

RETURNING

C.

Queues, time triggers

D.

Apex classes

Buy Now
Questions 71

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

Options:

A.

Force.com IDE

B.

Schema Builder

C.

Application Data Model Wizard

D.

Force.com Data Loader

Buy Now
Exam Code: DEV-501
Exam Name: Certified Force.com Advanced Developer
Last Update: Apr 30, 2026
Questions: 239

PDF + Testing Engine

$63.52  $181.49

Testing Engine

$50.57  $144.49
buy now DEV-501 testing engine

PDF (Q&A)

$43.57  $124.49
buy now DEV-501 pdf