Salesforce DEV-501 Certified Advanced Developer PracticeTest Set 5

Which field is available as part of the translation workbench for a validation rule?


Options are :

  • Description
  • Error Message (Correct)
  • None
  • Formula
  • Rule Criteria

Answer : Error Message

What types of sharing are available to developers to share records?


Options are :

  • Batch apex, apex scheduler
  • Manual sharing, apex sharing (Correct)
  • Messaging, sendEmail
  • With sharing keyword

Answer : Manual sharing, apex sharing

Salesforce DEV-501 Apex Visualforce Controller Practice Exam Set 4

What are the four ways to deploy Apex code? 


Options are :

  • A template from which objects are created
  • Through UI, Force.com IDE project
  • Force.com IDE for developers, force.com migration tool, changesets, third-party tools (Correct)
  • Developer edition production org, Enterprise edition sandbox org

Answer : Force.com IDE for developers, force.com migration tool, changesets, third-party tools

What can be viewed using the process visualizer?


Options are :

  • Approval processes (Correct)
  • Workflow rules
  • Sales processes
  • Support processes

Answer : Approval processes

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


Options are :

  • KnowledgeArticleVersionStandardController Class (Correct)
  • StandardKnowledgeContainer Class
  • KnowledgeVersionStandardController Class
  • ArticleExtensionStandard Class

Answer : KnowledgeArticleVersionStandardController Class

Salesforce DEV-501 Certified Advanced Developer PracticeTest Set 5

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:image
  • apex:messages
  • apex:axis (Correct)
  • apex:emailPublisher

Answer : apex:axis

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:listViews
  • apex:message (Correct)
  • apex:flash
  • apex:detail

Answer : apex:message

A Visualforce controller is a set of instructions that specify what happens when a user
interacts with the components specified in associated Visualforce markup, such as when a
user clicks a button or link. Controllers also provide access to the data that should be
displayed in a page, and can modify component behavior.


Options are :

  • False (Correct)
  • True

Answer : False

Salesforce Pardot Question and Answers

Which invocation method occurs when triggers are called by the Force.com platform during
the save process?
? Explicit invocation
? Implicit invocation
? Explicit invocation using anonymous blocks
? External API invocation


Options are :

  • Implicit invocation (Correct)
  • Primitive
  • RETURNING
  • SOQL for loops

Answer : Implicit invocation

Which of the following are collection data types?
? String
? Map
? List
? Date
? Set
? Number


Options are :

  • FALSE
  • Primitive
  • Map, List, Set (Correct)
  • For loops

Answer : Map, List, Set

Which of the following guidelines are used for creating custom Web Services? (Select all
that apply.)
? webservice methods must be static.
? webservice methods cannot be overloaded.
? A system-defined enum can be used anywhere in a webservice method.
? All classes that contain methods defined with the webService keyword must be
declared as private.


Options are :

  • True
  • FALSE, they must be static (Correct)
  • None
  • All of above

Answer : FALSE, they must be static

Salesforce Pardot Practice Questions

A developer has added a custom object tab to an application. Which additional feature will
become available by default for the object in the application?


Options are :

  • Recent items (Correct)
  • Create New sidebar component
  • None
  • Custom reporting

Answer : Recent items

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:actionRegion
  • apex:outputField (Correct)
  • apex:actionSupport
  • apex:pageBlock

Answer : apex:outputField

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:insert
  • apex:message
  • apex:attribute (Correct)
  • apex:include

Answer : apex:attribute

Salesforce Sales-Cloud-Consultant Certification PracticeTest Set 4

What are the stages of an application development process?


Options are :

  • Primitive, sObject, Collections, Null
  • Manual sharing, apex sharing
  • Develop, integrate, stage, production/training (Correct)
  • Declaratively, programmatically

Answer : Develop, integrate, stage, production/training

What are some RESTful service callout HTTP verbs?


Options are :

  • Setup menu
  • GET, POST, PUT, DELETE (Correct)
  • List of List Objects
  • System, debug

Answer : GET, POST, PUT, DELETE

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 :

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

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

Sales Force DEV-401 Building Applications with Force Test Set 4

What components of apex are available to improve the processing of data in Salesforce?


Options are :

  • Database class method (Correct)
  • GET, POST, PUT, DELETE
  • Batch apex, apex scheduler.
  • Internal and external

Answer : Database class method

What types of sharing are available to developers to share records?


Options are :

  • Manual sharing, apex sharing (Correct)
  • Apex, Visualforce, and APIs
  • Dates, Ids, Numbers
  • Failure response settings

Answer : Manual sharing, apex sharing

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


Options are :

  • Number of user licenses multiplied by 1000 (Correct)
  • Through class itself
  • Failure response settings
  • List of List Objects

Answer : Number of user licenses multiplied by 1000

Salesforce Pardot Question and Answers

One of the best ways to build Visualforce pages and code is by enabling ___________.


Options are :

  • Show viewstate
  • Force.com IDE access
  • Visualforce development mode (Correct)
  • Apex development mode

Answer : Visualforce development mode

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:includeScript
  • apex:axis
  • apex:facet
  • apex:define (Correct)

Answer : apex:define

Object X has a lookup field to Object Y. X needs to display a text value from a Text field on
Y. To ensure data Integrity, how would a developer implement this?


Options are :

  • Create a text field on Object X and use Apex to populate the value
  • Create a text field on Object X and use a workflow rule to fill in the value upon the creation of X
  • Create a roll-up summary field on Object X that retrieves the value from Y.
  • Create a cross-object formula field on Object X that retrieves the value from Y. (Correct)

Answer : Create a cross-object formula field on Object X that retrieves the value from Y.

Sales Force DEV-401 Building Applications with Force Test Set 6

What are the two types of logs?


Options are :

  • 3 MB
  • TRUE
  • System, debug (Correct)
  • On-demand

Answer : System, debug

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:dataList
  • apex:include
  • apex:commandLink (Correct)
  • apex:enhancedList

Answer : apex:commandLink

Which type of tab can a developer create?


Options are :

  • Apex tabs
  • standard object tabs
  • web tabs (Correct)
  • None

Answer : web tabs

Salesforce Sales-Cloud-Consultant Certification PracticeTest Set 5

To leverage functionality of Standard Controllers, while simultaneously adding custom
logic, you must write a custom class that extends the standard controller. You notify the
Visualforce page of your customizations via the "extensions" attribute of the <apex:page>
tag.


Options are :

  • False (Correct)
  • True

Answer : False

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 <apex:actionRegion> are processed by the server, thereby increasing the
performance of the page


Options are :

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

Answer : apex:actionRegion

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


Options are :

  • FALSE
  • Trigger.new (Correct)
  • Webservice
  • TRUE

Answer : Trigger.new

Sales Force ADM-211 Administration Essentials 4 Expert Test Set 5

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:flash
  • apex:componentBody
  • apex:componentBodyapex:componentBody
  • apex:pageBlockSectionItem (Correct)
  • apex:outputField

Answer : apex:pageBlockSectionItem

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions