Sales Force DEV-501 Certified Force Advanced Developer Test Set 2

____________ is 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>.


Options are :

  • None of these
  • (Correct)

Answer :

Salesforce Admin 301 Certification - Practice Paper Set 7

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


Options are :

  • None of the above
  • Throw an ACCESS_VIOLATION exception.
  • Ask the user if they would like to upgrade permissions in order to view the object.
  • Write an ACCESS_VIOLATION message to the debug log.
  • Redirect the user to their home page.
  • Display an insufficient privileges error message. (Correct)

Answer : Display an insufficient privileges error message.

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.


Options are :

  • True (Correct)
  • False

Answer : True

The __________ of a Visualforce page is composed of all the data that's necessary to maintain
the state of the controller during server requests (like sending or receiving data).


Options are :

  • View State (Correct)
  • None of these
  • Page Memory
  • State Settings
  • Cookie Collection
  • Page Header

Answer : View State

Sales Force DEV-501 Certified Force Advanced Developer Test Set 4

This Apex class lets a developer create an action method that can be used in a Visualforce
custom controller or controller extension.


Options are :

  • Visualforce.Action Class
  • Component.Action Class
  • Action Class
  • None of the above
  • Apex.Action Class
  • ApexPages.Action Class (Correct)

Answer : ApexPages.Action Class

Which exception type should be checked for when catching exceptions thrown when governor
limits are exceeded?


Options are :

  • GovernorException
  • InvalidLimitException
  • PlatformLimitException
  • StackOverflowException
  • None of (Correct)
  • LimitException

Answer : None of

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.


Options are :

  • apex:emailPublisher
  • apex:lineSeries
  • apex:inputField
  • apex:outputLink (Correct)

Answer : apex:outputLink

Salesforce DEV-501 Apex Visualforce Controller Practice Exam Set 4

A template component that provides content for an <apex:insert> component defined in a
Visualforce template page.
See also: <apex:composition>, <apex:insert>


Options are :

  • apex:axis
  • apex:define (Correct)
  • apex:facet
  • apex:includeScript

Answer : apex:define

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
<apex:page> tag, rather than this component.


Options are :

  • apex:component
  • apex:attribute
  • apex:outputField
  • apex:includeScript (Correct)

Answer : apex:includeScript

This tag acts as a placeholder for your dynamic Apex components. It has one required
parameter—component Value—which accepts the name of an Apex method that returns a
dynamic component.
The following Visualforce components do not have dynamic Apex representations:
<apex:actionRegion>
<apex:attribute>
<apex:component>
<apex:componentBody>
<apex:composition>
<apex:define>
<apex:dynamicComponent>
<apex:flash>
<apex:inputFile>
<apex:include>
<apex:insert>
<apex:pageMessage>
<apex:pageMessages>
<apex:variable>
<apex:vote>
Any non-<apex:> tag, like <chatter:>, <flow:>, <ideas:>, <knowledge:>, <messaging:>, or <site:>


Options are :

  • apex:actionSupport
  • apex:dataList
  • apex:insert
  • apex:dynamicComponent (Correct)

Answer : apex:dynamicComponent

Salesforce Administration - Certification (201) Questions Set 3

Defines tooltips which appear on mouse over 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>).


Options are :

  • apex:actionFunction
  • apex:actionSupport
  • apex:componentBody
  • apex:chartTips (Correct)

Answer : apex:chartTips

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.


Options are :

  • apex:inputCheckbox
  • apex:dataList (Correct)
  • apex:lineSeries
  • apex:inputText

Answer : apex:dataList

A section of data within an <apex:pageBlock> component, similar to a section in a standard
Salesforce page layout definition.
An <apex:pageBlockSection> 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
<apex:pageBlockSection> 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 <apex:pageBlockSection>, use an <apex:inputField>
or <apex:outputField> 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
<apex:pageBlockSectionItem> component. Each <apex:inputField>, <apex:outputField>, or
<apex:pageBlockSectionItem> component spans both cells of a single column.


Options are :

  • apex:pageblockSection (Correct)
  • apex:outputLabel
  • apex:facet
  • apex:actionPoller

Answer : apex:pageblockSection

Sales Force DEV-501 Certified Force Advanced Developer Test Set 4

A custom Visualforce component. All custom component definitions must be wrapped inside a
single <apex:component> tag.


Options are :

  • apex:dataTable
  • apex:includeScript
  • apex:component (Correct)
  • apex:commandLink

Answer : apex:component

An HTML input element of type password. Use this component to get user input for a controller
method that does not correspond to a field on a Salesforce object, for a value that is masked as
the user types.


Options are :

  • apex:barSeries
  • apex:attribute
  • apex:composition
  • apex:inputSecret (Correct)

Answer : apex:inputSecret

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

  • apex:insert
  • apex:outputLabel (Correct)
  • apex:inlineEditSupport
  • apex:column

Answer : apex:outputLabel

Salesforce Admin 301 Certification - Practice Paper Set 2

Displays text on a Visualforce page. You can customize the appearance of <apex:outputText>
using CSS styles, in which case the generated text is wrapped in an HTML <span> 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 <apex:outputText> component display
in clear text. The <apex:outputText> component doesn't respect the View Encrypted Data
permission for users. To prevent showing sensitive information to unauthorized users, use the
<apex:outputField> tag instead.


Options are :

  • apex:column
  • apex:message
  • apex:actionSupport
  • apex:outputText (Correct)

Answer : apex:outputText

This component provides inline editing support to <apex:outputField> and various container
components. In order to support inline editing, this component must also be within an <apex:form>
tag.
The <apex:inlineEditSupport> component can only be a descendant of the following tags:
<apex:dataList>
<apex:dataTable>
<apex:form>
<apex:outputField>
<apex:pageBlock>
<apex:pageBlockSection>
<apex:pageBlockTable>
<apex:repeat>
See also: the inlineEdit attribute of <apex:detail>


Options are :

  • apex:chartLabel
  • apex:inlineEditSupport (Correct)
  • apex:page
  • apex:outputPanel

Answer : apex:inlineEditSupport

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


Options are :

  • apex:barSeries (Correct)
  • apex:outputLink
  • apex:inputHidden
  • apex:outputField

Answer : apex:barSeries

Salesforce Sales-Cloud-Consultant Certification PracticeTest Set 2

The standard detail page for a particular object, as defined by the associated page layout for the
object in Setup. This component includes attributes for including or excluding the associated
related lists, related list hover links, and title bar that appear in the standard Salesforce application interface.


Options are :

  • apex:pageblockSection
  • apex:component
  • apex:insert
  • apex:detail (Correct)

Answer : apex:detail

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


Options are :

  • apex:inputCheckbox
  • apex:actionStatus (Correct)
  • apex:actionPoller
  • apex:dynamicComponent

Answer : apex:actionStatus

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.


Options are :

  • apex:emailPublisher
  • apex:image
  • apex:axis (Correct)
  • apex:messages

Answer : apex:axis

Salesforce Sales-Cloud-Consultant Certification PracticeTest Set 7

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

  • apex:inputText (Correct)
  • apex:dynamicComponent
  • apex:messages
  • apex:inputField

Answer : apex:inputText

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 ormouseover.
See also: <apex:actionFunction>.


Options are :

  • apex:attribute
  • apex:page
  • apex:form
  • apex:actionSupport (Correct)

Answer : apex:actionSupport

A single piece of data in an <apex:pageBlockSection> that takes up one column in one row. An
<apex:pageBlockSectionItem> 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 <apex:outputField> or an <apex:inputField> component in an
<apex:pageBlockSectionItem>, these components do not display with their label or custom help
text as they do when they are children of an <apex:pageBlockSectionItem>. Also note that
<apex:pageBlockSectionItem> components cannot be rerendered; rerender the child components
instead.


Options are :

  • apex:pageBlockSectionItem (Correct)
  • apex:outputField
  • apex:flash
  • apex:componentBody

Answer : apex:pageBlockSectionItem

Salesforce DEV-501 Apex Visualforce Controller Practice Exam Set 4

A component that inserts a second Visualforce page into the current page. The entire pagesubtree is injected into the Visualforce DOM at the point of reference and the scope of the
included page is maintained.
If content should be stripped from the included page, use the <apex:composition> component
instead.


Options are :

  • apex:iframe
  • apex:inputField
  • apex:inputFile
  • apex:include (Correct)

Answer : apex:include

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


Options are :

  • apex:actionRegion (Correct)
  • apex:outputLabel
  • apex:facet
  • apex:emailPublisher

Answer : apex:actionRegion

An HTML input element for a value that corresponds to a field on a Salesforce object. The
<apex:inputField> 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 <apex:inputField> component is a date field, a calendar input widget is
displayed. When used in an <apex:pageBlockSection>, <apex:inputField> tags always displaywith their corresponding output label.
Note that if custom help is defined for the field in Setup, the field must be a child of an
<apex:pageBlock> or <apex:pageBlockSectionItem>, 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 <apex:inputField> in the body of an <apex:pageBlockSectionItem>.
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 are :

  • apex:inputField (Correct)
  • apex:outputLabel
  • apex:pageBlockButtons
  • apex:define

Answer : apex:inputField

Sales Force DEV-501 Certified Force Advanced Developer Test Set 3

The email publisher lets support agents who use Case Feed compose and send email messages
to customers. You can customize this publisher to support email templates and attachments. This
component can only be used in organizations that have Case Feed and Email-to-Case enabled.
Ext JS versions less than 3 should not be included on pages that use this component.


Options are :

  • apex:pageBlock
  • apex:define
  • apex:component
  • apex:emailPublisher (Correct)

Answer : apex:emailPublisher

Defines how labels are displayed. Depending on what component wraps it, <apex:chartLabel>
gives you options for affecting labels for bar and line series labels, pie chart segments, and axes labels.Note: This component must be enclosed by a data series component (<apex:barSeries>,
<apex:lineSeries>, or <apex:pieSeries>) or an <apex:axis> component.


Options are :

  • apex:chartLabel (Correct)
  • apex:include
  • apex:chart
  • apex:messages

Answer : apex:chartLabel

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions