Salesforce DEV-501 Apex Visualforce Controller Practice Exam Set 4

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


Options are :

  • Standard Knowledge Container Class
  • Knowledge Version Standard Controller Class
  • Knowledge Article Version Standard Controller Class (Correct)
  • None of the above
  • Standard Knowledge Controller Class
  • Article Extension Standard Class

Answer : Knowledge Article Version Standard Controller Class

What are the four ways to deploy Apex code? (No Answer)


Options are :

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

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

A Visual force controller is a set of instructions that specify what happens when a user interacts with the components specified in associated Visual force 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 :

  • True
  • False (Correct)

Answer : False

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

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? Choose 3 answers


Options are :

  • C,D,E (Correct)
  • Recent items
  • Create New sidebar component
  • Custom reporting
  • Search
  • Quick create

Answer : C,D,E

What is the list of steps to match regular expressions using the Pattern and Matcher  classes?


Options are :

  • Primitive, sObject, Collections, Null
  • 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. (Correct)
  • A template from which objects are created
  • HTTPRequest, HTTPResponse, HTTP

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

A component that inserts a second Visual force page into the current page. The entire page sub tree is injected into the Visual force 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

Salesforce ADM-201: Administration Essentials Cert Set 29

What can be viewed using the process visualizer?


Options are :

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

Answer : Approval processes

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

Answer : apex:outputField

Which type of tab can a developer create? Choose 3 answers.


Options are :

  • web tabs
  • Apex tabs
  • standard object tabs
  • custom object tabs
  • standard object tabs
  • B,D,E (Correct)

Answer : B,D,E

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

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:outputLabel
  • apex:facet
  • apex:actionRegion (Correct)
  • apex:emailPublisher

Answer : apex:actionRegion

What trigger method is used to help prevent completion of a DML event?


Options are :

  • No
  • TRUE
  • Ids
  • addError (Correct)

Answer : addError

Salesforce ADM-201: Administration Essentials Cert Set 2

A developer is loading data, in CSV format, into a custom application from a legacy system. The developer would like to load users into the user object, and positions and job applications owned by named users into related custom objects. Which obstacle will the developer encounter when using the import wizard?


Options are :

  • The import wizards cannot Import data from CSV files.
  • The import wizards do not import files to specify record owner.
  • The import wizards do not support the User object. (Correct)
  • The import wizards do not support custom objects.

Answer : The import wizards do not support the User object.

Which type of custom field can be an external ID?


Options are :

  • Custom field of any type
  • Phone Number, Email, URL and Text-based fields
  • Text, Number, or Formula fields only
  • Text, Email, or Number fields only (Correct)

Answer : Text, Email, or Number fields only

This Apex class lets a developer access cookies for a Force.com site using Apex.


Options are :

  • None of the above
  • PageReference.Cookie Class
  • ApexPages.Cookie Class
  • Cookie Class (Correct)
  • Visualforce.Cookie Class
  • Component.Cookie Class

Answer : Cookie Class

Salesforce DEV-501 Apex Visualforce Controller Practice Exam Set 8

What two forms of dml operations can be used in apex?


Options are :

  • Traditional for loops
  • SOQL statements
  • Standalone, database class methods (Correct)
  • Failure response settings

Answer : Standalone, database class methods

____________ 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
  • <apex:customName>
  • <c:labelSet>
  • <c:facet>
  • <apex:facet> (Correct)
  • <apex:labelSet>

Answer : <apex:facet>

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


Options are :

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

Answer : apex:barSeries

Salesforce Sales-Cloud-Consultant Certification PracticeTest Set 2

For objects where data access is granted through the role hierarchy, how is access granted?


Options are :

  • Users are granted access to data accessible to users in the same role in the role hierarchy.
  • Users are only granted access to data owned by users below them In the role hierarchy.
  • Users are granted access to data accessible by users below them in the role hierarchy. (Correct)
  • Users are only granted read access to data owned by users above them in the role hierarchy.

Answer : Users are granted access to data accessible by users below them in the role hierarchy.

Which dashboard component displays a grand total across a set of data? Choose 2 answers


Options are :

  • Metric
  • Pivot
  • Table (Correct)
  • Chart

Answer : Table

What two methods of customization are available to create applications in salesforce?


Options are :

  • declarative, programmatic
  • Record level access
  • Implicit invocation (Correct)
  • SOQL for loops

Answer : Implicit invocation

Salesforce ADM-201: Administration Essentials Cert Set 3

What email addresses can emails be sent to out of Salesforce? (No Answer)


Options are :

  • Static and final
  • Internal and external (Correct)
  • Plural name plus__r
  • Schema Explorer

Answer : Internal and external

A developer needs to support multiple currencies for a custom object in an application. The multi-currency feature has been enabled for the organization. What does the developer need to know in order to  successfully support this application? Choose 2 answers


Options are :

  • Currency ISO code will need to be supplied when inserting records in different currencies.
  • Roll-up summary fields on a parent record will calculate incorrectly if the child records have multiple currencies.
  • Administrators can add additional currencies after the application has been built.
  • C,D (Correct)
  • The multi-currency feature will automatically track historical exchange rates.

Answer : C,D

How are Apex triggers stored?


Options are :

  • None of these
  • As static resources.
  • As .trigger files in the /code directory of your organization's public files.
  • As compiled bytecode in the Salesforce platform Apex app server.
  • As metadata in the application, under the object with which they are associated. (Correct)
  • As resource files in the Developer Console.

Answer : As metadata in the application, under the object with which they are associated.

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

What is the this keyword used to represent? (No Answer)


Options are :

  • A template from which objects are created
  • FALSE, they must be static
  • Methods and attributes of the current instance of a class (Correct)
  • Encapsulation principles

Answer : Methods and attributes of the current instance of a class

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


Options are :

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

Answer : ApexPages.Action Class

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


Options are :

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

Answer : apex:outputText

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

What term indicates that Salesforce is a platform which allows clients to share hardware, storage and other infrastructure?


Options are :

  • System
  • Multi-tenant (Correct)
  • TRUE
  • On-demand

Answer : Multi-tenant

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

Answer : apex:iframe

Apex is available in which Salesforce Editions? (Select all that apply)


Options are :

  • Database.com
  • Unlimited Edition
  • None of these`|`A. Professional Edition
  • Developer Edition
  • Enterprise Edition
  • Database.com
  • Developer Edition
  • Unlimited Edition
  • Enterprise Edition
  • B,D,F (Correct)
  • Professional Edition

Answer : B,D,F

Salesforce Sales-Cloud-Consultant Certification PracticeTest Set 5

A section of a Visualforce page that allows users to enter input and then submit it with an  &lt;apex:commandButton> or &lt;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 &lt;apex:form> tag. As of API version 18.0, this tag can't be a child component of &lt;apex:repeat>.


Options are :

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

Answer : apex:form

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions