Winter Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Free and Premium Salesforce DEV-501 Dumps Questions Answers

Page: 1 / 9
Total 239 questions

Certified Force.com Advanced Developer Questions and Answers

Question 1

Which dashboard component displays a grand total across a set of data? Choose 2 answers

Options:

A.

Chart

B.

Pivot

C.

Metric

D.

Table

Buy Now
Question 2

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 3

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 4

Apex is available in which Salesforce Editions? (Select all that apply)

Options:

A.

Professional Edition

B.

Unlimited Edition

C.

Enterprise Edition

D.

Developer Edition

E.

Database.com

F.

None of these`|`A. Professional Edition

G.

Unlimited Edition

Question 5

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 6

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

Question 7

A link to a JavaScript library that can be used in the Visualforce page. When specified, this component injects a script reference into the head element of the generated HTML page.

For performance reasons, you may simply want to use a JavaScript tag before your closing tag, rather than this component.

Options:

A.

apex:includeScript

B.

apex:outputField

C.

apex:attribute

D.

apex:component

Question 8

All messages that were generated for all components on the current page. If an or component is not included in a page, most warning and error messages are only shown in the debug log.

Options:

A.

apex:messages

B.

apex:actionPoller

C.

apex:composition

D.

apex:actionRegion

Question 9

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

Question 10

How do you call Web Services from external sources? (No Answer)

Options:

A.

SOAP Web Service Callouts

B.

Webservice

C.

SOQL for loops

D.

SOQL statements

Question 11

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

Options:

A.

Declarative, programmatic

B.

Dates, Ids, Numbers

C.

Database class method

D.

A governor limit

Question 12

A button that is rendered as an HTML input element with the type attribute set to submit, reset, or image, depending on the 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 component must always be a child of an component.

See also:

Options:

A.

apex:commandButton

B.

apex:flash

C.

apex:emailPublisher

D.

apex:actionRegion

Question 13

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 14

What code is the webservice keyword not allowed to be used? (No Answer)

Options:

A.

Implicit invocation

B.

code contained in a trigger

C.

Class, trigger

D.

Queues, time triggers

Question 15

What email addresses can emails be sent to out of Salesforce? (No Answer)

Options:

A.

Schema Explorer

B.

Plural name plus__r

C.

Static and final

D.

Internal and external

Question 16

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 17

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.

Options:

A.

apex:iframe

B.

apex:include

C.

apex:inputFile

D.

apex:inputField

Question 18

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

Question 19

Which portion of the Model-View-Controller paradigm is represented in Force.com as a standard or custom object?

Options:

A.

Model

B.

Controller

C.

View

Question 20

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?

Question 21

Which trigger context variable allows you to modify field values before they are written to the database in the before trigger?

Options:

A.

@ReadOnly

B.

RETURNING

C.

Webservice

D.

Trigger.new

Question 22

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

Options:

A.

3 MB

B.

Ids

C.

10

D.

Java

Question 23

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 24

A graphic image, rendered with the HTML tag.

Options:

A.

apex:image

B.

apex:composition

C.

apex:actionStatus

D.

apex:componentBody

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

Question 26

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 27

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

Question 28

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)

Options:

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

Question 29

What can cross-object formulas reference?

Options:

A.

Both parent and child object records

B.

Parent object records only

C.

Child object records only

D.

Other records of the same object

Question 30

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

Question 31

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

Options:

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.

Question 32

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

Question 33

The method used to create an object out of a class definition is called a:

Options:

A.

constructor

B.

For loops

C.

Webservice

D.

TRUE

Question 34

A section of a Visualforce page that allows users to enter input and then submit it with an or . The body of the form determines the data that is displayed and the way it is processed. It's a best practice to verify that pages and custom components use at most one tag.

As of API version 18.0, this tag can't be a child component of .

Options:

A.

apex:form

B.

apex:chart

C.

apex:actionRegion

D.

apex:insert

Question 35

What are the three ways to run unit tests?

Options:

A.

Salesforce ui, force.com ide, runTests web service

B.

Dates, Ids, Numbers

C.

FALSE, they must be static

D.

System-defined, user-defined

Page: 1 / 9
Total 239 questions