Salesforce DEV-501 Certified Advanced Developer PracticeTest Set 2

Defines a chart legend. This component offers additional configuration options beyond the
defaults used by the legend attribute of the <apex:chart> component.
Note: This component must be enclosed within an <apex:chart> component.


Options are :

  • apex:dataTable
  • apex:legend (Correct)
  • apex:pageBlockSectionItem
  • apex:inputSecret

Answer : apex:legend

Salesforce Administration - Certification (201) Questions Set 2

What components must be deployed manually to the production environment?


Options are :

  • Multi-tenant
  • Dates, Ids, Numbers
  • Constructor
  • Queues, time triggers (Correct)

Answer : Queues, time triggers

What does Apex provide to support programmatic control of the workflow?


Options are :

  • Apex process classes (Correct)
  • Through class itself
  • Map, List, Set
  • Apex classes

Answer : Apex process classes

Which of the following are collection data types Identify the classes that u can use to make
HTTP or RESTful callouts.
? HTTP class
? HTTPRequesL class
? HTTPServerRequest. class
? HTTPRsponse class
? HTTPServerResponse class


Options are :

  • Apex classes
  • HTTP class, HTTPRequesL class, HTTPRsponse class (Correct)
  • Logs, anonymous blocks
  • Apex code, Visualforce pages, and controllers

Answer : HTTP class, HTTPRequesL class, HTTPRsponse class

Salesforce ADM-201: Administration Essentials Cert Set 3

What provides access to data that should be displayed in a Visualforce page, and can
modify Visualforce component behavior?


Options are :

  • Visualforce controller (Correct)
  • Validation rules
  • MVC controller class
  • Apex controller

Answer : Visualforce controller

Users X and Y need to see the same candidate record. For security reasons, user Y should
NOT be able to view and report on the Email Address field on the record.
How would a developer meet this requirement?


Options are :

  • Use a sharing rule to make the email address only visible to user X
  • use page layouts to make the email address visible to user X but not user Y
  • Use field-level security to make the email address visible to user X but not user Y (Correct)
  • Use a custom Visualforce page to make the email address visible to user X but not user Y

Answer : Use field-level security to make the email address visible to user X but not user Y

Hiring managers at Universal Containers would like a visual mechanism for determining
review score outliers. Review scores are captured as a custom field on a custom Review
object and can range from l to 10. Any review score that is > 8 should be highlighted in
green.
Any review score that is < 4 should be highlighted In red.
How would a developer accomplish this?


Options are :

  • Use custom summary formulas
  • Use conditional highlighting (Correct)
  • Use charts
  • Use matrix reports

Answer : Use conditional highlighting

Salesforce Sales-Cloud-Consultant Certification PracticeTest Set 7

Which statement is true about an Apex class?
? A class cannot be disabled for profiles.
? An inner class can be nested at multiple levels.
? Static methods can only be declared in a top-level class definition.
? The default access modifier for methods in a class is public.


Options are :

  • Database class method
  • Static methods can only be declared in a top-level class definition. (Correct)
  • HTTP class, HTTPRequesL class, HTTPRsponse class
  • Utilize the String.escapeSingleQuotes(string) method

Answer : Static methods can only be declared in a top-level class definition.

What is the size of the batches in which triggers execute?


Options are :

  • 200 (Correct)
  • Java
  • FALSE
  • No

Answer : 200

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:


Options are :

  • apex:logCallPublisher
  • apex:facet (Correct)
  • apex:inputField
  • apex:dataList

Answer : apex:facet

Salesforce Sales-Cloud-Consultant Certification PracticeTest Set 1

What datatype is used for standard or custom objects that store record data?


Options are :

  • sObject (Correct)
  • Global
  • System

Answer : sObject

What is NOT a component of a custom Force.com application?


Options are :

  • Custom object
  • Data warehouse (Correct)
  • Custom tab
  • Default landing tab

Answer : Data warehouse

Objects of this Apex class allow developers to create list controllers similar to, or as
extensions of, the pre-built Visualforce list controllers provided by Salesforce.


Options are :

  • StandardController Class
  • VisualforceSetController Class
  • Controller Class
  • StandardSetController Class (Correct)

Answer : StandardSetController Class

Salesforce Sales-Cloud-Consultant Certification PracticeTest Set 5

Which trigger context variable allows you to modify field values before they are written to
the database in the before trigger?


Options are :

  • @ReadOnly
  • Webservice
  • RETURNING
  • Trigger.new (Correct)

Answer : Trigger.new

Which statement is TRUE about master-detail relationships in the Force.com platform?


Options are :

  • When defining a master-detail relationship, the custom object on which you are working is the master.
  • When a master record is deleted, the child records remain in the system without a master record.
  • The master-detail relationship field is required on the page layout of the detail record.
  • The security settings for the master record control the detail record. (Correct)

Answer : The security settings for the master record control the detail record.

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


Options are :

  • GovernorException
  • StackOverflowException
  • None of these (Correct)
  • LimitException

Answer : None of these

Salesforce DEV-501 Apex Visualforce Controller Practice Exam Set 6

What is the this keyword used to represent?


Options are :

  • salesforce ui, force.com ide, runTests web service
  • Methods and attributes of the current instance of a class (Correct)
  • A template from which objects are created
  • HTTPRequest, HTTPResponse, HTTP

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

What is a class? 


Options are :

  • A template from which objects are created (Correct)
  • Ajax toolkit, client program
  • Apex, Visualforce, and APIs
  • Database class method

Answer : A template from which objects are created

Objects of this Apex class reference the pre-built Visualforce controllers provided by
salesforce.com.


Options are :

  • VisualforceController Class
  • StandardController Class (Correct)
  • VisualforceSetController Class
  • StandardSetController Class

Answer : StandardController Class

Salesforce DEV-501 Apex Visualforce Controller Practice Exam Set 6

In a bug tracking application. Universal Containers has created a time-based workflow
action that will execute 30 days after a Bug record is created. The developer would like to
test to make sure that rule is working the way that it should.
Which feature is available for testing?


Options are :

  • None
  • Activity History related list
  • Time-based workflow queue (Correct)
  • Bug History related list

Answer : Time-based workflow queue

Each setSavepoint() and rollback statement counts against the total number of DML
statements.


Options are :

  • 6
  • TRUE (Correct)
  • 200
  • Ids

Answer : TRUE

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

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:messages (Correct)
  • apex:actionPoller
  • apex:composition
  • apex:actionRegion question_answerVIEW ANSWER

Answer : apex:messages

List the HTTP classes available in Salesforce?


Options are :

  • Failure response settings
  • HTTPRequest, HTTPResponse, HTTP (Correct)
  • . GET, POST, PUT, DELETE
  • Failure response settings

Answer : HTTPRequest, HTTPResponse, HTTP

What can cross-object formulas reference?


Options are :

  • Other records of the same object
  • Child object records only
  • Parent object records only (Correct)
  • . Both parent and child object records

Answer : Parent object records only

Salesforce DEV-501 Certified Advanced Developer PracticeTest Set 7

What are all the datatypes that Salesforce supports?


Options are :

  • How many loopback connections to Salesforce are allowed by callouts? (Correct)
  • What are some RESTful service callout HTTP verbs?
  • What two ways can classes be created in salesforce?

Answer : How many loopback connections to Salesforce are allowed by callouts?

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

A developer would like to modify the contents of the hover details for a custom object called
Position. What would a developer customize to accomplish this?


Options are :

  • Imposition page layouts (Correct)
  • Position record types
  • Position field dependencies
  • Position search layouts

Answer : Imposition page layouts

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

The system method, ___________, lets you write test methods that change user contexts
to either an existing user or a new user.


Options are :

  • System.impersonateUser()
  • System.testAsUser
  • System.runAs() (Correct)
  • System.testAs()

Answer : System.runAs()

Universal Containers has built a recruiting application with two custom objects, Job
Applications and Reviews that have a master-detail relationship. Users should NOT be
allowed to delete review records after job application records have been approved.
How would a developer meet this requirement?


Options are :

  • Change the interviewer's profile to Read-only for the review object
  • Use workflow to change the page layout to Read-only
  • Use a validation rule in conjunction with a roll-up summary field (Correct)
  • Remove the Delete button from the job application page layout

Answer : Use a validation rule in conjunction with a roll-up summary field

What trigger method is used to correlate IDI-to-sObject maps? 


Options are :

  • Trigger.newMap, Trigger.oldMap (Correct)
  • Internal and external
  • Trigger.new
  • Queues, time triggers

Answer : Trigger.newMap, Trigger.oldMap

Sales Force ADM-201 Administration Essentials for New Admin Set 10

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions