Summer Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: v4s65

DEV-501 Exam Dumps - Certified Force.com Advanced Developer

Question # 4

Under what profile do Webservice methods execute by default?

A.

No

B.

FALSE

C.

TRUE

D.

System

Full Access
Question # 5

How are programmatic cusomizations done in Salesforce?

A.

Apex, Visualforce, and APIs

B.

Apex classes

C.

Apex process classes

D.

Dates, Ids, Numbers

Full Access
Question # 6

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

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

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

Full Access
Question # 8

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

A.

Model

B.

Controller

C.

View

Full Access
Question # 9

For objects where data access is granted through the role hierarchy, how is access granted?

A.

Users are granted access to data accessible by users below them in the role hierarchy.

B.

Users are only granted access to data owned by users below them In the role hierarchy.

C.

Users are only granted read access to data owned by users above them in the role hierarchy.

D.

Users are granted access to data accessible to users in the same role in the role hierarchy.

Full Access
Question # 10

A template component that declares a named area that must be defined by an component in another Visualforce page. Use this component with the and components to share data between multiple pages.

A.

apex:outputText

B.

apex:barSeries

C.

apex:insert

D.

apex:inputFile

Full Access
Question # 11

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

A.

Controller Extension

B.

Validation Extension

C.

Visualforce Component

D.

Visualforce Plugin

E.

Custom Controller

F.

None of the above

Full Access
Question # 12

Displays text on a Visualforce page. You can customize the appearance of using CSS styles, in which case the generated text is wrapped in an HTML tag. You can also escape the rendered text if it contains sensitive HTML and XML characters. This component does take localization into account.

Use with nested param tags to format the text values, where {n} corresponds to the n-th nested param tag. The value attribute supports the same syntax as the MessageFormat class in Java. See the MessageFormat class JavaDocs for more information.

Warning:Encrypted custom fields that are embedded in the component display in clear text. The component doesn't respect the View Encrypted Data permission for users. To prevent showing sensitive information to unauthorized users, use the tag instead.

A.

apex:message

B.

apex:actionSupport

C.

apex:column

D.

apex:outputText

Full Access
Question # 13

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

A.

apex:actionSupport

B.

apex:inlineEditSupport

C.

apex:chart

D.

apex:enhancedList

Full Access
Question # 14

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

A.

Declarative, programmatic

B.

Dates, Ids, Numbers

C.

Database class method

D.

A governor limit

Full Access
Question # 15

What statements are used to retrieve records from an sObject in the Force.com database?

A.

Exceptions

B.

On-demand

C.

Map, List, Set

D.

SOQL statements

Full Access
Question # 16

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?

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

Full Access
Question # 17

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 # 18

A Visualforce controller is a set of instructions that specify what happens when a user interacts with the components specified in associated Visualforce markup, such as when a user clicks a button or link. Controllers also provide access to the data that should be displayed in a page, and can modify component behavior.

A.

True

B.

False

Full Access
Question # 19

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 # 20

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

A.

Create New sidebar component

B.

Custom reporting

C.

Recent items

D.

Quick create

E.

Search

Full Access
Question # 21

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.

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

Full Access
Question # 22

Which is a valid formula return type for a custom formula field? Choose 3 answers

A.

Date

B.

Percent

C.

Email

D.

Phone

E.

Currency

Full Access
Question # 23

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 # 24

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?

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.

Full Access
Question # 25

Which field is available as part of the translation workbench for a validation rule?

A.

Formula

B.

Description

C.

Error Message

D.

Rule Criteria

Full Access
Question # 26

What provides access to data that should be displayed in a Visualforce page, and can modify Visualforce component behavior?

A.

Validation rules

B.

Apex controller

C.

MVC controller class

D.

Visualforce controller

E.

Force.com IDE

F.

None of the above

Full Access
Question # 27

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

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 # 29

Which mechanism allows for authenticated access to a Force.com Site? Choose 2 answers

A.

It is not possible to provide authentication for a Force.com Site

B.

An active Customer Portal

C.

An active Partner Portal

D.

Setting restricted IP ranges for your site

Full Access
Question # 30

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 # 31

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

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.

Full Access
Question # 32

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 # 33

Under what circumstances is it appropriate for a developer to add functionality to their application via the SOAP API? (Select all that apply)

A.

When consumers of the desired functionality have no experience with Force.com development.

B.

When the desired functionality processes only one type of record at a time.

C.

When the organization chooses not to share its Enterprise WSDL.

D.

When the desired functionality does not require any transactional control.

E.

None of these

Full Access
Question # 34

What is the list of steps to match regular expressions using the Pattern and Matcher classes?

A.

A template from which objects are created

B.

1.Instantiate a pattern object from the expression you wish to match.

2. Instantiate a matcher object from the pattern that contains the string you want to check.

3. Use the matcher object to detect if the matcher matches the pattern.

C.

HTTPRequest, HTTPResponse, HTTP

D.

Primitive, sObject, Collections, Null

Full Access
Question # 35

Which action is available to a developer when two objects are connected by a lookup relationship? Choose 2 answers

A.

create a roll-up summary field on the parent object to count child records

B.

create a custom report type that allows customization of fields displayed from both parent and child objects

C.

create a cross-object formula field on the child object to reference fields on the parent object

D.

create a cross-object formula field on the parent object to reference fields on the child object

Full Access