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

A set of buttons that are styled like standard Salesforce buttons. This component must be a child
component of an <apex:pageBlock>.
Note that it is not necessary for the buttons themselves to be direct children of the
<apex:pageBlockButtons> component—buttons that are located at any level within an
<apex:pageBlockButtons> component are styled appropriately.


Options are :

  • apex:pageBlockButtons (Correct)
  • apex:commandButton
  • apex:includeScript
  • apex:form

Answer : apex:pageBlockButtons

A text area input element. 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 requires a text area.


Options are :

  • apex:facet
  • apex:inputTextarea (Correct)
  • apex:attribute
  • apex:include

Answer : apex:inputTextarea

A single column in a table. An <apex:column> component must always be a child of an<apex:dataTable> or <apex:pageBlockTable> component.Note that if you specify an sObject field as the value attribute for an <apex:column>, theassociated label for that field is used as the column header by default. To override this behavior,use the headerValue attribute on the column, or the column's header facet.


Options are :

  • apex:column (Correct)
  • apex:inputText
  • apex:inputField
  • apex:insert

Answer : apex:column

A timer that sends an AJAX update request to the server according to a time interval that youspecify. The update request can then result in a full or partial page update. You should avoid usingthis component with enhanced lists.


Options are :

  • apex:dataList
  • apex:actionPoller (Correct)
  • apex:image
  • apex:inlineEditSupport

Answer : apex:actionPoller

A component that creates an input field to upload a file.
Note: The maximum file size that can be uploaded via Visualforce is 10 MB.


Options are :

  • apex:composition
  • apex:barSeries
  • apex:legend
  • apex:inputFile (Correct)

Answer : apex:inputFile

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

  • apex:inputHidden (Correct)
  • apex:actionPoller
  • apex:enhancedList
  • apex:pageBlockSectionItem

Answer : apex:inputHidden

A component that provides support for invoking controller action methods directly from JavaScript
code using an AJAX request. An <apex:actionFunction> component must be a child of an
<apex:form> component.


Options are :

  • apex:insert
  • apex:actionFunction (Correct)
  • apex:outputField
  • apex:messages

Answer : apex:actionFunction

This tag allows a custom component author to define a location where a user can insert content
into the custom component. This is especially useful for generating custom iteration components.
This component is valid only within an <apex:component> tag, and only a single definition per
custom component is allowed.


Options are :

  • apex:include
  • apex:facet
  • apex:componentBody (Correct)
  • apex:chart

Answer : apex:componentBody

A Visualforce chart. Defines general characteristics of the chart, including size and data binding.


Options are :

  • apex:chart (Correct)
  • apex:inlineEditSupport
  • apex:enhancedList
  • apex:actionSupport

Answer : apex:chart

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

  • apex:message
  • apex:include
  • apex:insert
  • apex:attribute (Correct)

Answer : apex:attribute

A template component that declares a named area that must be defined by an <apex:define> component in another Visualforce page. Use this component with the <apex:composition> and
<apex:define> components to share data between multiple pages.



Options are :

  • apex:barSeries
  • apex:inputFile
  • apex:outputText
  • apex:insert (Correct)

Answer : apex:insert

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


Options are :

  • apex:insert
  • apex:chart
  • apex:actionRegion
  • apex:form (Correct)

Answer : apex:form

A button that is rendered as an HTML input element with the type attribute set to submit, reset, or
image, depending on the <apex:commandButton> tag's specified values. The button executes an
action defined by a controller, and then either refreshes the current page, or navigates to a
different page based on the PageReference variable that is returned by the action.
An <apex:commandButton> component must always be a child of an <apex:form> component.
See also: <apex:commandLink>


Options are :

  • apex:actionRegion
  • apex:flash
  • apex:commandButton (Correct)
  • apex:emailPublisher

Answer : apex:commandButton

A message for a specific component, such as a warning or error. If an <apex:message> or
<apex:messages> component is not included in a page, most warning and error messages are
only shown in the debug log.


Options are :

  • apex:flash
  • apex:listViews
  • apex:detail
  • apex:message (Correct)

Answer : apex:message

A single Visualforce page. All pages must be wrapped inside a single page component tag.


Options are :

  • apex:axis
  • apex:page (Correct)
  • apex:insert
  • apex:outputLabel

Answer : apex:page

The Log a Call publisher lets support agents who use Case Feed create logs for customer calls.
This component can only be used in organizations that have Case Feed, Chatter, and feed
tracking on cases enabled.


Options are :

  • apex:iframe
  • apex:chartLabel
  • apex:logCallPublisher (Correct)
  • apex:inputHidden

Answer : apex:logCallPublisher

A component that creates an inline frame within a Visualforce page. A frame allows you to keep
some information visible while other information is scrolled or replaced.


Options are :

  • apex:chartLabel
  • apex:iframe (Correct)
  • apex:include
  • apex:attribute

Answer : apex:iframe

All messages that were generated for all components on the current page. If an <apex:message>
or <apex:messages> component is not included in a page, most warning and error messages are
only shown in the debug log.


Options are :

  • apex:actionRegion
  • apex:composition
  • apex:actionPoller
  • apex:messages (Correct)

Answer : apex:messages

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.


Options are :

  • apex:pageblockSection
  • apex:inputSecret
  • apex:inputHidden
  • apex:lineSeries (Correct)

Answer : apex:lineSeries

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


Options are :

  • apex:pageBlockSectionItem
  • apex:flash (Correct)
  • apex:inputField
  • apex:actionStatus

Answer : apex:flash

A graphic image, rendered with the HTML <img> tag.


Options are :

  • apex:actionStatus
  • apex:composition
  • apex:componentBody
  • apex:image (Correct)

Answer : apex:image

A read-only display of a label and value for a field on a Salesforce object. An <apex:outputField>
component respects the attributes of the associated field, including how it should be displayed to
the user. For example, if the specified <apex:outputField> component is a currency field, the
appropriate currency symbol is displayed. Likewise, if the <apex:outputField> component is a
lookup field or URL, the value of the field is displayed as a link.
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:outputField> in the body of an <apex:pageBlockSectionItem>.
The Rich Text Area data type can only be used with this component on pages running
Salesforce.com API versions greater than 18.0.


Options are :

  • apex:actionSupport
  • apex:pageBlock
  • apex:actionRegion
  • apex:outputField (Correct)

Answer : apex:outputField

A link that executes an action defined by a controller, and then either refreshes the current page,
or navigates to a different page based on the PageReference variable that is returned by the
action. An <apex:commandLink> component must always be a child of an <apex:form>
component.
To add request parameters to an <apex:commandLink>, use nested <apex:param> components.


Options are :

  • apex:enhancedList
  • apex:dataList
  • apex:include
  • apex:commandLink (Correct)

Answer : apex:commandLink

An area of a page that uses styling similar to the appearance of a Salesforce detail page, but
without any default content.


Options are :

  • apex:include
  • apex:chartTips
  • apex:pageBlock (Correct)
  • apex:commandLink

Answer : apex:pageBlock

An HTML input element of type checkbox. Use this component to get user input for a controller
method that does not correspond to a field on a Salesforce object


Options are :

  • apex:actionPoller
  • apex:componentBody
  • apex:inputCheckbox (Correct)
  • apex:dataList

Answer : apex:inputCheckbox

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


Options are :

  • apex:listViews (Correct)
  • apex:pageBlockButtons
  • apex:actionStatus
  • apex:inputText

Answer : apex:listViews

Which of the following statements are true about components of dynamic Apex?
Schema describe is a way to program matically learn about the metadata of your data model
within Apex.
Dynamic SOQL refers to the creation of a SOQL string before runtime within an Apex script,
In dynamic SQQL, you use Sring.escapeSinqIeQuoLes (sLrng)to prevent SQQL injection.
You can use dynamic SOSL to create a tree structure of all the objects and fields in your
schema browser.


Options are :

  • In, like, and, or, not, group by, order by, all rows, limit
  • Schema describe is a way to program magically learn about the metadata of your data model within Apex. (Correct)
  • Web service methods must be static, webservice methods cannot be overloaded
  • Create complex functionality declarative features cannot provide.

Answer : Schema describe is a way to program magically learn about the metadata of your data model within Apex.

What determines how the email service responds when an attempt to access the email service
fails?


Options are :

  • RETURNING
  • Apex classes
  • Queues, time triggers
  • Failure response settings (Correct)

Answer : Failure response settings

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.


Options are :

  • Encapsulation principles
  • A template from which objects are created
  • Salesforce ui, force.com ide, runTests web service
  • Apex runs in a multitenant environment. (Correct)

Answer : Apex runs in a multitenant environment.

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

  • FALSE
  • For loops (Correct)
  • Exceptions
  • SOQL for loops

Answer : For loops

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions