Independence Day Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: netdisc

Salesforce DEV-501 Certified Force.com Advanced Developer Exam Practice Test

Demo: 35 questions
Total 239 questions

Certified Force.com Advanced Developer Questions and Answers

Question 1

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

Options:

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

Question 2

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

Options:

A.

apex:inputSecret

B.

apex:composition

C.

apex:pageblockSection

D.

apex:lineSeries

Question 3

This integration resource provides generic access to any organization, and exposes standard objects and 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 4

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

Question 5

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

Question 6

This Apex class lets a developer access cookies for a Force.com site using Apex.

Options:

A.

Cookie Class

B.

PageReference.Cookie Class

C.

ApexPages.Cookie Class

D.

Component.Cookie Class

E.

Visualforce.Cookie Class

F.

None of the above

Question 7

Which property of a field can be edited within the page layout editor? Choose 2 answers

Options:

A.

Read-only

B.

Controller

C.

Always Displayed

D.

Field Dependency

E.

Required

Question 8

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 component. You can have multiple and components in a single chart.

Options:

A.

apex:pageblockSection

B.

apex:inputHidden

C.

apex:lineSeries

D.

apex:inputSecret

Question 9

A label for an input or output field. Use this component to provide a label for a controller method that does not correspond to a field on a Salesforce object.

Options:

A.

apex:inlineEditSupport

B.

apex:insert

C.

apex:outputLabel

D.

apex:column

Question 10

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

Question 11

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

Question 12

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.

Question 13

What are all the datatypes that Salesforce supports? (No Answer)

Options:

A.

Primitive, sObject, Collections, Null

B.

SOAP Web Service Callouts

C.

List of List Objects

D.

GET, POST, PUT, DELETE

Question 14

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 15

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

Question 16

In a recruiting application, a custom object called Position requires approval. When a position record is submitted for approval, the requirements below must be met:

  • The hiring manager must approve the record
  • The approval must be forwarded to all members of the executive team, but only one executive needs to approve the record
  • The VP of human resources must approve the record

How would a developer meet this requirement?

Options:

A.

Create multiple approval processes, one for each executive team member, and utilize parallel submission.

B.

Create an approval process which utilizes parallel approvers, but does not require unanimous approval.

C.

Create parallel workflow rules, requiring at least one executive team member to complete their assigned task.

D.

Create an approval process with a step for each executive team member, allowing approval steps to be skipped.

Question 17

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

Options:

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

Question 18

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

Question 19

What components must be deployed manually to the production environment?

Options:

A.

Queues, time triggers

B.

Multi-tenant

C.

Constructor

D.

Dates, Ids, Numbers

Question 20

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

Question 21

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 22

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.

Salesforce-generated email address

B.

Manual sharing, apex sharing

C.

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

D.

Make calls to methods using both valid and invalid inputs.

Question 23

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

Question 24

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

Question 25

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

Question 26

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

Question 27

What are the two types of logs? (No Answer)

Options:

A.

System, debug

B.

TRUE

C.

On-demand

D.

3 MB

Question 28

If you use a standard controller on a page and the user doesn't have access to the object, the page will...

Options:

A.

Throw an ACCESS_VIOLATION exception.

B.

Write an ACCESS_VIOLATION message to the debug log.

C.

Display an insufficient privileges error message.

D.

Redirect the user to their home page.

E.

Ask the user if they would like to upgrade permissions in order to view the object.

F.

None of the above

Question 29

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

Question 30

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

Options:

A.

3 MB

B.

Ids

C.

10

D.

Java

Question 31

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.

Question 32

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 33

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 34

Universal Containers requires that some employees are able to view and edit records of a custom object called Positions, but no users can delete them.

How can Universal Containers accomplish this goal?

Options:

A.

Assign the Read-only profile to all users

B.

Set the organization wide default for positions to Read-only

C.

Remove the Delete permission for positions from all profiles

D.

Remove the Delete Access for positions from all user roles

Question 35

What language is Apex similar to? (No Answer)

Options:

A.

Catch

B.

1

C.

TRUE

D.

Java

Demo: 35 questions
Total 239 questions