March Special Sale - Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 575363r9

Welcome To DumpsPedia

DEV-501 Sample Questions Answers

Questions 4

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

Options:

A.

ArticleExtensionStandard Class

B.

StandardKnowledgeContainer Class

C.

StandardKnowledgeController Class

D.

KnowledgeVersionStandardController Class

E.

KnowledgeArticleVersionStandardController Class

F.

None of the above

Buy Now
Questions 5

In a recruiting application, a Position custom object is related to a Salary custom object. Sensitive information, such as current salary, is stored on the Salary object. All users should be able to at least view position information. However, only select individuals should be able to read salary records.

How should a developer accomplish this?

Options:

A.

Create a lookup relationship between Position and Salary; set organization-wide defaults to Public Read-Only for Position and Private for Salary

B.

Create a master-detail relationship between Position and Salary; set organization-wide defaults to Private for Position and Salary

C.

Create a master-detail relationship between Position and Salary; set organization-wide defaults to Public Read only for Position and Private for Salary

D.

Create a lookup relationship between Position and Salary; set organization-wide defaults to Private for Position and Salary

Buy Now
Questions 6

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 7

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

Options:

A.

apex:actionSupport

B.

apex:componentBody

C.

apex:actionFunction

D.

apex:chartTips

Buy Now
Questions 8

What does Apex use to record disruptions in code execution? (No Answer)

Options:

A.

Exceptions

B.

Ids

C.

Primitive

D.

addError

Buy Now
Questions 9

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

Options:

A.

XMLStreanWriter, XMLStreamReader

B.

Messaging.InboundEmailHandler

C.

with sharing keyword

D.

Utilize the String.escapeSingleQuotes(string) method

Buy Now
Questions 10

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

Buy Now
Questions 11

How can a wireless device user approve a record? Choose 3 answers

Options:

A.

via a text message

B.

via Approvals in Chatter

C.

via voice recognition

D.

via email from a wireless device

E.

via Salesforce1

Buy Now
Questions 12

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

Options:

A.

System.testAs()

B.

System.testAsUser

C.

System.runAsUser()

D.

System.impersonateUser()

E.

System.runAs()

F.

None of these

Buy Now
Questions 13

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

Buy Now
Questions 14

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 15

An ordered or unordered list of values that is defined by iterating over a set of data. The body of the 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 16

Objects of this Apex class reference the pre-built Visualforce controllers provided by salesforce.com.

Options:

A.

VisualforceSetController Class

B.

VisualforceController Class

C.

Controller Class

D.

StandardSetController Class

E.

StandardController Class

F.

None of the above

Buy Now
Questions 17

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

Options:

A.

@ReadOnly

B.

RETURNING

C.

Trigger.old

D.

a governor limit

Buy Now
Questions 18

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

Buy Now
Questions 19

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.

Options:

A.

apex:inputField

B.

apex:column

C.

apex:inputText

D.

apex:insert

Buy Now
Questions 20

A placeholder for content that is rendered in a specific part of the parent component, such as the header or footer of an .

An component can only exist in the body of a parent component if the parent supports facets. The name of the facet component must match one of the pre-defined facet names on the parent component. This name determines where the content of the facet component is rendered. Consequently, the order in which a facet component is defined within the body of a parent component does not affect the appearence of the parent component.

See for an example of facets.

Note: Although you can't represent an directly in Apex, you can specify it on a dynamic component that has the facet. For example:

Options:

A.

apex:logCallPublisher

B.

apex:dataList

C.

apex:inputField

D.

apex:facet

Buy Now
Questions 21

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

Options:

A.

Trigger.new

B.

Trigger.old

C.

@ReadOnly

D.

TRUE

Buy Now
Questions 22

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

Options:

A.

Data warehouse

B.

Custom object

C.

Custom tab

D.

Default landing tab

Buy Now
Questions 23

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 24

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 25

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?

Options:

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

Buy Now
Questions 26

A Flash movie, rendered with the HTML object and embed tags.

Options:

A.

apex:actionStatus

B.

apex:flash

C.

apex:inputField

D.

apex:pageBlockSectionItem

Buy Now
Questions 27

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 28

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 29

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

Buy Now
Questions 30

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 31

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.

Options:

A.

bytecode compiles

B.

Apex testing

C.

portal development

D.

backwards-compatibility

E.

exception handling

F.

None of these

Buy Now
Questions 32

A developer has added a custom object tab to an application. Which additional feature will become available by default for the object in the application? Choose 3 answers

Options:

A.

Create New sidebar component

B.

Custom reporting

C.

Recent items

D.

Quick create

E.

Search

Buy Now
Questions 33

Can apex code be created directly in the production environment?

Options:

A.

Ids

B.

1

C.

10

D.

No

Buy Now
Questions 34

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 35

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

Options:

A.

with sharing keyword

B.

Webservice

C.

SOQL statements

D.

constructor

Buy Now
Exam Code: DEV-501
Exam Name: Certified Force.com Advanced Developer
Last Update: Mar 22, 2024
Questions: 239
$64  $159.99
$48  $119.99
$40  $99.99
buy now DEV-501