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

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

Questions 4

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

Buy Now
Questions 6

Which trigger context variable is not saved in the after trigger and causes an exception to be thrown?

Options:

A.

Trigger.new

B.

addError

C.

Primitive

D.

TRUE

Buy Now
Questions 7

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

Buy Now
Questions 8

An HTML input element for a value that corresponds to a field on a Salesforce object. The component respects the attributes of the associated field, including whether the field is required or unique, and the user interface widget to display to get input from the user. For example, if the specified component is a date field, a calendar input widget is displayed. When used in an , tags always display with their corresponding output label.

Note that if custom help is defined for the field in Setup, the field must be a child of an or , and the Salesforce page header must be displayed for the custom help to appear on your Visualforce page. To override the display of custom help, use the in the body of an .

Consider the following when using JavaScript events with this tag:

For lookup fields, mouse events fire on both the text box and graphic icon

For multi-select picklists, all events fire, but the DOM ID is suffixed with _unselected for the left box, _selected for the right box, and _right_arrow and _left_arrow for the graphic icons

For rich text areas, no events fire.

Options:

A.

apex:pageBlockButtons

B.

apex:define

C.

apex:outputLabel

D.

apex:inputField

Buy Now
Questions 9

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.

Buy Now
Questions 10

A definition of an attribute on a custom component. The attribute tag can only be a child of a component tag.

Note that you cannot define attributes with names like id or rendered. These attributes are automatically created for all custom component definitions.

Options:

A.

apex:attribute

B.

apex:insert

C.

apex:message

D.

apex:include

Buy Now
Questions 11

In a master-detail relationship, what happens to the child records if the parent record is deleted?

Options:

A.

Parent record deletion fails.

B.

Child records are not deleted.

C.

A subset of the child records is deleted.

D.

Child records are deleted.

Buy Now
Questions 12

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

Buy Now
Questions 13

An area of a Visualforce page that demarcates which components should be processed by the Force.com server when an AJAX request is generated. Only the components in the body of the are processed by the server, thereby increasing the performance of the page.

Options:

A.

apex:outputLabel

B.

apex:actionRegion

C.

apex:facet

D.

apex:emailPublisher

Buy Now
Questions 14

A/an _____________ is a class written in Apex that adds to or overrides behavior in a standard or custom controller.

Options:

A.

Custom component

B.

Controller extension

C.

Apex extension

D.

Extended Controller

E.

Component extension

F.

None of these

Buy Now
Questions 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

Buy Now
Questions 16

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 17

A single piece of data in an that takes up one column in one row. An component can include up to two child components. If no content is specified, the column is rendered as an empty space. If one child component is specified, the content spans both cells of the column. If two child components are specified, the content of the first is rendered in the left, "label" cell of the column, while the content of the second is rendered in the right, "data" cell of the column.

Note that if you include an or an component in an , these components do not display with their label or custom help text as they do when they are children of an . Also note that components cannot be rerendered; rerender the child components instead.

Options:

A.

apex:flash

B.

apex:pageBlockSectionItem

C.

apex:outputField

D.

apex:componentBody

Buy Now
Questions 18

Which form of dml operation allows execution to occur with subsequent records even if an error occurs with a single record? (No Answer)

Options:

A.

Database class method

B.

Public class MyNewClass

C.

Standalone, database class methods

D.

Apex classes

Buy Now
Questions 19

A section of data within an component, similar to a section in a standard Salesforce page layout definition.

An component consists of one or more columns, each of which spans two cells: one for a field's label, and one for its value. Each component found in the body of an is placed into the next cell in a row until the number of columns is reached. At that point, the next component wraps to the next row and is placed in the first cell.

To add a field from a Salesforce object to an , use an or component. Each of these components automatically displays with the field's associated label. To add fields for variables or methods that are not based on Salesforce object fields, or to customize the format of Salesforce object field labels, use an component. Each , , or component spans both cells of a single column.

Options:

A.

apex:outputLabel

B.

apex:actionPoller

C.

apex:pageblockSection

D.

apex:facet

Buy Now
Questions 20

What three classes along with the Messaging.InboundEmailHandler are used to handle inbound email messages in Salesforce? (No Answer)

Options:

A.

Apex code, Visualforce pages, and controllers

B.

Messaging.InboundEmail, Messaging.InboundEmailResult, Messaging.InboundEnvelope

C.

Messaging.InboundEmailHandler

D.

Make calls to methods using both valid and invalid inputs.

Buy Now
Questions 21

What is the total number of messages that all email services put together can process in a day? (No Answer)

Options:

A.

Failure response settings

B.

Number of user licenses multiplied by 1000

C.

Through class itself

D.

List of List Objects

Buy Now
Questions 22

A set of content that is grouped together, rendered with an HTML tag,

tag, or neither. Use an to group components together for AJAX refreshes.

Options:

A.

apex:outputPanel

B.

apex:includeScript

C.

apex:chartTips

D.

apex:lineSeries

Buy Now
Questions 23

What are two key tools to debug code in Salesforce?

Options:

A.

Dates, Ids, Numbers

B.

Logs, anonymous blocks

C.

Debug logs, email logs

D.

List of List Objects

Buy Now
Questions 24

What are access modifiers used to implement? (No Answer)

Options:

A.

Traditional for loops

B.

Encapsulation principles

C.

Class, trigger

D.

Static and final

Buy Now
Questions 25

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

Buy Now
Questions 26

A template component that provides content for an component defined in a Visualforce template page.

See also: ,

Options:

A.

apex:facet

B.

apex:includeScript

C.

apex:axis

D.

apex:define

Buy Now
Questions 27

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

Buy Now
Questions 28

Which trigger context variable cannot be deleted? (No Answer)

Options:

A.

RETURNING

B.

on-demand

C.

Exceptions

D.

Trigger.new

Buy Now
Questions 29

What language is Apex similar to? (No Answer)

Options:

A.

Catch

B.

1

C.

TRUE

D.

Java

Buy Now
Questions 30

Which access modifier should u specify for a class containing the webService keword?

  • Public
  • Private
  • Protected
  • Global

Options:

A.

FALSE

B.

3 MB

C.

Global

D.

6

Buy Now
Questions 31

Which environments can developers write code? (Select all that apply.)

  • Developer edition production org
  • Enterprise edition production org
  • Enterprise edition sandbox org
  • Professional edition sandbox org

Options:

A.

Salesforce-generated email address

B.

Apex code, Visualforce pages, and controllers

C.

Developer edition production org, Enterprise edition sandbox org

D.

Encapsulation principles

Buy Now
Questions 32

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

Buy Now
Questions 33

Identify the differences between Apex and the other programming languages. (Select all that apply.)

  • Apex runs in a multitenant environment.
  • Apex performs uncontrolled program invocations.
  • Apex is case-insensitive.
  • Apex can be processed on any platform. (No Answer)

Options:

A.

Encapsulation principles

B.

Salesforce ui, force.com ide, runTests web service

C.

Apex runs in a multitenant environment.

D.

A template from which objects are created

Buy Now
Questions 34

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 35

Which syntax should you use to create a new public class named MyNewClass?

  • Public class MyNewClass {}
  • Class public MyNewClass {}
  • Class MyNewClass {} public
  • MyNewClass public {} class(No Answer)

Options:

A.

Public class MyNewClass

B.

Database class method

C.

SOQL statements

D.

Static and final

Buy Now
Exam Code: DEV-501
Exam Name: Certified Force.com Advanced Developer
Last Update: Jan 18, 2025
Questions: 239
DEV-501 pdf

DEV-501 PDF

$29.75  $84.99
DEV-501 Engine

DEV-501 Testing Engine

$35  $99.99
DEV-501 PDF + Engine

DEV-501 PDF + Testing Engine

$47.25  $134.99