Black Friday Sale - Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70dumps

DEV-501 Questions and Answers

Question # 6

What is the default return type of a sosl statement?

A.

Apex process classes

B.

Apex classes

C.

List of List Objects

D.

SOQL for loops

Full Access
Question # 7

What can cross-object formulas reference?

A.

Both parent and child object records

B.

Parent object records only

C.

Child object records only

D.

Other records of the same object

Full Access
Question # 8

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

A.

ArticleExtensionStandard Class

B.

StandardKnowledgeContainer Class

C.

StandardKnowledgeController Class

D.

KnowledgeVersionStandardController Class

E.

KnowledgeArticleVersionStandardController Class

F.

None of the above

Full Access
Question # 9

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 <apex:outputLink> is the text or image that displays as the link. To add query string parameters to a link, use nested <apex:param> components.

A.

apex:inputField

B.

apex:outputLink

C.

apex:lineSeries

D.

apex:emailPublisher

Full Access
Question # 10

List the HTTP classes available in Salesforce?

A.

GET, POST, PUT, DELETE

B.

Failure response settings

C.

Queues, time triggers

D.

HTTPRequest, HTTPResponse, HTTP

Full Access
Question # 11

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

A.

Primitive, sObject, Collections, Null

B.

SOAP Web Service Callouts

C.

List of List Objects

D.

GET, POST, PUT, DELETE

Full Access
Question # 12

Which of the following statements identifies the block of code that can handle a particular exception?

  • catch
  • finally
  • try
  • throw

A.

3 MB

B.

Ids

C.

FALSE

D.

catch

Full Access
Question # 13

A section of a Visualforce page that allows users to enter input and then submit it with an <apex:commandButton> or <apex:commandLink>. 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 <apex:form> tag.

As of API version 18.0, this tag can't be a child component of <apex:repeat>.

A.

apex:form

B.

apex:chart

C.

apex:actionRegion

D.

apex:insert

Full Access
Question # 14

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

A.

Trigger.new

B.

addError

C.

Primitive

D.

TRUE

Full Access
Question # 15

A component that displays the status of an AJAX update request. An AJAX request can either be in progress or complete.

A.

apex:actionPoller

B.

apex:dynamicComponent

C.

apex:inputCheckbox

D.

apex:actionStatus

Full Access
Question # 16

Defines an axis for a chart. Use this to set the units, scale, labeling, and other visual options for the axis. You can define up to four axes for a single chart, one for each edge.

Note: This component must be enclosed within an <apex:chart> component. This component is only applicable to bar and line charts.

A.

apex:emailPublisher

B.

apex:messages

C.

apex:image

D.

apex:axis

Full Access
Question # 17

Which fields are returned by sosl by default?

A.

Ids

B.

200

C.

6

D.

1

Full Access
Question # 18

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

An <apex:facet> 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 <apex:dataTable> for an example of facets.

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

A.

apex:logCallPublisher

B.

apex:dataList

C.

apex:inputField

D.

apex:facet

Full Access
Question # 19

An ordered or unordered list of values that is defined by iterating over a set of data. The body of the <apex:dataList> component specifies how a single item should appear in the list. The data set can include up to 1,000 items.

A.

apex:inputText

B.

apex:dataList

C.

apex:lineSeries

D.

apex:inputCheckbox

Full Access
Question # 20

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.

A.

bytecode compiles

B.

Apex testing

C.

portal development

D.

backwards-compatibility

E.

exception handling

F.

None of these

Full Access
Question # 21

This integration resource provides generic access to any organization, and exposes standard objects and fields through the SOAP interface.

A.

System WSDL

B.

Partner WSDL

C.

Custom WSDL

D.

Enterprise WSDL

E.

Portal WSDL

F.

None of the above

Full Access
Question # 22

What keyword is used to create custom Web Services from an apex method?

A.

FALSE

B.

TRUE

C.

Trigger.new

D.

Webservice

Full Access
Question # 23

In the Universal Containers recruiting app, there is a master-detail relationship between the Job Application and Review objects. Job Application is the master object.

If a Job Application record is deleted, what will happen to any associated Review records?

A.

The Review record is also deleted

B.

The owner of the Review record changes

C.

No change to the Review record

D.

An error message is displayed

Full Access
Question # 24

Which of the following code will u use to instantiate a map called numbers that has integers as keys and strings as values?

  • Map numbers = new Map;
  • Map numbers = new Map;
  • Map numbers = new Map;
  • Map numbers = new Map;

A.

Map numbers = new Map;

B.

Code contained in a trigger

C.

Failure response settings

D.

Manual sharing, apex sharing

Full Access
Question # 25

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

Which keywords should u specify to define a constant?

  • static and exception
  • static and final
  • static and private
  • exception and final(No Answer)

A.

Setup menu

B.

Multi-tenant

C.

static and final

D.

SOQL statements

Full Access
Question # 27

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

A component that adds AJAX support to another component, allowing the component to be refreshed asynchronously by the server when a particular event occurs, such as a button click or mouseover.

See also: <apex:actionFunction>.

A.

apex:form

B.

apex:attribute

C.

apex:page

D.

apex:actionSupport

Full Access
Question # 29

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

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 (<apex:barSeries>, <apex:lineSeries>, or <apex:pieSeries>).

A.

apex:actionSupport

B.

apex:componentBody

C.

apex:actionFunction

D.

apex:chartTips

Full Access
Question # 31

What code is the webservice keyword not allowed to be used? (No Answer)

A.

Implicit invocation

B.

code contained in a trigger

C.

Class, trigger

D.

Queues, time triggers

Full Access
Question # 32

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?

A.

Custom auto number field

B.

Custom master-detail field

C.

Custom read-only number field

D.

Custom lookup relationship field

Full Access
Question # 33

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

A.

apex:pageblockSection

B.

apex:inputHidden

C.

apex:lineSeries

D.

apex:inputSecret

Full Access
Question # 34

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

A.

apex:actionStatus

B.

apex:flash

C.

apex:inputField

D.

apex:pageBlockSectionItem

Full Access
Question # 35

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

A.

@ReadOnly

B.

RETURNING

C.

Trigger.old

D.

a governor limit

Full Access