Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 591klB651

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

Questions 4

Which of the following guidelines are used for creating custom Web Services? (Select all that apply.)

  • webservice methods must be static.
  • webservice methods cannot be overloaded.
  • A system-defined enum can be used anywhere in a webservice method.
  • All classes that contain methods defined with the webService keyword must be declared as private.

Options:

A.

FALSE, they must be static

B.

Developer edition production org, Enterprise edition sandbox org

C.

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

D.

webservice methods must be static, webservice methods cannot be overloaded

Buy Now
Questions 5

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 6

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 7

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 8

An area of a page that uses styling similar to the appearance of a Salesforce detail page, but without any default content.

Options:

A.

apex:pageBlock

B.

apex:commandLink

C.

apex:include

D.

apex:chartTips

Buy Now
Questions 9

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.

Options:

A.

apex:emailPublisher

B.

apex:messages

C.

apex:image

D.

apex:axis

Buy Now
Questions 10

A ____________ is a class written in Apex that implements all of a page's logic, without leveraging a standard controller.

Options:

A.

Controller Extension

B.

Validation Extension

C.

Visualforce Component

D.

Visualforce Plugin

E.

Custom Controller

F.

None of the above

Buy Now
Questions 11

A component that displays the status of an AJAX update request. An AJAX request can either be in progress or complete.

Options:

A.

apex:actionPoller

B.

apex:dynamicComponent

C.

apex:inputCheckbox

D.

apex:actionStatus

Buy Now
Questions 12

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)

Options:

A.

Strongly Typed.

B.

Object Oriented.

C.

Uses Java-like syntax.

D.

Acts like database stored procedures.

Buy Now
Questions 13

Which of the following statements are used to repeatedly execute a block of code until the exit condition is met?

  • do-while loops
  • if statements
  • for loops
  • if—Lhen statements

Options:

A.

For loops

B.

FALSE

C.

Exceptions

D.

SOQL for loops

Buy Now
Questions 14

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

Buy Now
Questions 15

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

Options:

A.

RETURNING

B.

on-demand

C.

Exceptions

D.

Trigger.new

Buy Now
Questions 16

Object X has a lookup field to Object Y. X needs to display a text value from a Text field on Y. To ensure data Integrity, how would a developer implement this?

Options:

A.

Create a roll-up summary field on Object X that retrieves the value from Y.

B.

Create a text field on Object X and use a workflow rule to fill in the value upon the creation of X

C.

Create a cross-object formula field on Object X that retrieves the value from Y.

D.

Create a text field on Object X and use Apex to populate the value.

Buy Now
Questions 17

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

Buy Now
Questions 18

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 19

Which access modifier should u specify for a class containing the webService keword?

  • Public
  • Private
  • Protected
  • Global

Options:

A.

FALSE

B.

3 MB

C.

Global

D.

6

Buy Now
Questions 20

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

Options:

A.

User Mode

B.

System Mode

C.

OWD Mode

D.

With-Sharing Mode

E.

Anonymous Mode

F.

None of the above

Buy Now
Questions 21

A component that adds AJAX support to another component, allowing the component to be refreshed asynchronously by the server when a particular event occurs, such as a button click or mouseover.

See also: .

Options:

A.

apex:form

B.

apex:attribute

C.

apex:page

D.

apex:actionSupport

Buy Now
Questions 22

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 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 23

A read-only display of a label and value for a field on a Salesforce object. An component respects the attributes of the associated field, including how it should be displayed to the user. For example, if the specified component is a currency field, the appropriate currency symbol is displayed. Likewise, if the component is a lookup field or URL, the value of the field is displayed as a link.

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 .

The Rich Text Area data type can only be used with this component on pages running Salesforce.com API versions greater than 18.0.

Options:

A.

apex:actionRegion

B.

apex:actionSupport

C.

apex:outputField

D.

apex:pageBlock

Buy Now
Questions 24

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

Buy Now
Questions 25

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 26

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

Options:

A.

Primitive

B.

@ReadOnly

C.

Trigger.new

D.

FALSE

Buy Now
Questions 27

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 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 28

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

Buy Now
Questions 29

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?

Buy Now
Questions 30

A Visualforce chart. Defines general characteristics of the chart, including size and data binding.

Options:

A.

apex:actionSupport

B.

apex:inlineEditSupport

C.

apex:chart

D.

apex:enhancedList

Buy Now
Questions 31

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 32

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.

Options:

A.

apex:messages

B.

apex:dynamicComponent

C.

apex:inputText

D.

apex:inputField

Buy Now
Questions 33

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

Buy Now
Questions 34

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.

Options:

A.

apex:facet

B.

apex:chart

C.

apex:include

D.

apex:componentBody

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

PDF + Testing Engine

$64  $159.99

Testing Engine

$48  $119.99
buy now DEV-501 testing engine

PDF (Q&A)

$40  $99.99
buy now DEV-501 pdf
dumpsmate guaranteed to pass
24/7 Customer Support

DumpsMate's team of experts is always available to respond your queries on exam preparation. Get professional answers on any topic of the certification syllabus. Our experts will thoroughly satisfy you.

Site Secure

mcafee secure

TESTED 20 Apr 2024