Black Friday Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: cramtick70

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

Questions 4

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 5

What two ways can classes be created in salesforce? (No Answer)

Options:

A.

isSuccess, sendEmailError

B.

Apex, Visualforce, and APIs

C.

Through UI, Force.com IDE project

D.

Bounced, discarded, queued

Buy Now
Questions 6

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.

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

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

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 9

Universal Containers requires that all job applications have a unique code that is auto-populated when records are created. The code must be different from the record ID.

What would a developer use to accomplish this declaratively?

Options:

A.

Custom auto number field

B.

Custom master-detail field

C.

Custom read-only number field

D.

Custom lookup relationship field

Buy Now
Questions 10

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 11

Which statement is true regarding Force.com Sites? Choose 3 answers

Options:

A.

Sites can leverage declarative page layouts as web pages.

B.

Sites enables developers to build public, unauthenticated websites.

C.

Sites are built with Visualforce pages.

D.

Sites leverage data and content in a Salesforce org.

Buy Now
Questions 12

What must a developer consider when inserting records using an API-based tool? Choose 2 answers

Options:

A.

Required fields on page layouts are enforced.

B.

Universally required field settings are respected.

C.

Apex triggers are ignored.

D.

Invalidation rules are respected.

Buy Now
Questions 13

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

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

Options:

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

Buy Now
Questions 16

What annotation can be used with Web Services to allow unrestricted queries when no DML operations are necessary? (No Answer)

Options:

A.

@ReadOnly

B.

For loops

C.

RETURNING

D.

TRUE

Buy Now
Questions 17

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 18

A link to a URL. This component is rendered in HTML as an anchor tag with an href attribute. Like its HTML equivalent, the body of an is the text or image that displays as the link. To add query string parameters to a link, use nested components.

Options:

A.

apex:inputField

B.

apex:outputLink

C.

apex:lineSeries

D.

apex:emailPublisher

Buy Now
Questions 19

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 20

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

Buy Now
Questions 21

A user can only see the fields A, B, and C on a record of Object X until the Stage field value on the record changes from New to Working. Once the Stage field value is updated to Working and the record is saved, the user should be able to see fields A, B, C, and D.

How would an application developer configure this?

Options:

A.

Use workflow to change the field-level security

B.

Use validation rules to expose the field

C.

Use multiple Visualforce pages

D.

Use workflow to change the record type

Buy Now
Questions 22

Users X and Y need to see the same candidate record. For security reasons, user Y should NOT be able to view and report on the Email Address field on the record.

How would a developer meet this requirement?

Options:

A.

Use a custom Visualforce page to make the email address visible to user X but not user Y

B.

Use a sharing rule to make the email address only visible to user X

C.

use page layouts to make the email address visible to user X but not user Y

D.

Use field-level security to make the email address visible to user X but not user Y

Buy Now
Questions 23

The list view picklist for an object, including its associated list of records for the currently selected view. In standard Salesforce applications this component is displayed on the main tab for a particular object. This component has additional attributes that can be specified, such as the height and rows per page, as compared to .

Note: When an is rerendered through another component's rerender attribute, the must be inside of an component that has its layout attribute set to "block". The component is not allowed on pages that have the attribute showHeader set to false. You can only have five components on a single page. Ext JS versions less than 3 should not be included on pages that use this component.

Options:

A.

apex:attribute

B.

apex:enhancedList

C.

apex:actionFunction

D.

apex:inputCheckbox

Buy Now
Questions 24

An HTML input element of type hidden, that is, an input element that is invisible to the user. Use this component to pass variables from page to page.

Options:

A.

apex:inputHidden

B.

apex:actionPoller

C.

apex:pageBlockSectionItem

D.

apex:enhancedList

Buy Now
Questions 25

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 26

Can apex code be created directly in the production environment?

Options:

A.

Ids

B.

1

C.

10

D.

No

Buy Now
Questions 27

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 28

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

Buy Now
Questions 29

What does each email service have for which users can send messages? (No Answer)

Options:

A.

Code contained in a trigger

B.

Salesforce-generated email address

C.

Schema Explorer

D.

Apex process classes

Buy Now
Questions 30

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 31

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 32

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

Options:

A.

True

B.

False

Buy Now
Questions 33

In a bug tracking application. Universal Containers has created a time-based workflow action that will execute 30 days after a Bug record is created. The developer would like to test to make sure that rule is working the way that it should.

Which feature is available for testing? Choose 2 answers

Options:

A.

Time-based workflow queue

B.

Activity History related list

C.

Bug History related list

D.

Debug Log

Buy Now
Questions 34

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

Buy Now
Questions 35

A data series to be rendered as bars 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 bar, 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:barSeries

B.

apex:inputHidden

C.

apex:outputLink

D.

apex:outputField

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

DEV-501 PDF

$25.5  $84.99
DEV-501 Engine

DEV-501 Testing Engine

$30  $99.99
DEV-501 PDF + Engine

DEV-501 PDF + Testing Engine

$40.5  $134.99