Tuesday, 24 February 2015

Odesk Sales force Test Questions

Sales force Test

Question: 1
What is meant by Cloud Computing?
a. It is defined as the use of scalable and virtual resources provided as a service over the internet.
b. It is defined as a cluster of networked, loosely-coupled computers used to platform large tasks.
c. It is defined as the packaging of computing resources such as computation and storage to work as a metered service.
d. It is defined as the ability of computer systems to perform self-management.
   
Question: 2
In which type of Sales force addition can a managed package be created?
a. Group
b. Professional
c. Enterprise
d. Unlimited
e. Developer

Question: 3
Which of the following managed package components contain a subscriber and Developer editable attribute?
a. Apex Class
b. Apex Trigger
c. Home Page Layout
d. None of the above

Question: 4
Once records have been deleted using the emptyRecycleBin() call, they cannot be undeleted.
a. True
b. False

Question: 5
Which of the following User Permissions are needed to create test drives and publish AppExchange packages to AppExchange?
a. Download AppExchange Packages
b. Create AppExchange Packages
c. Upload AppExchange Packages

Question: 6
What is the maximum number of Custom Apps that can be created using the Developer Edition?
a. 1
b. 5
c. 10
d. Unlimited

Question: 7
What is the data type of the accountld argument in a convertLead() API call?
a. String
b. Boolean
c. Int
d. ID
e. andType

Question: 8
What is the functionality of a resetPassword() utility API call?
a. It changes the password to a system-generated value
b. It changes the password to the specified value
c. It sets the password to the initially assigned password
d. None of the above
<apex:page standardController=”Account”>
<apex:pageBlock title=”Contacts”>
<apex:pageBlockTable value=”{!account.Contacts}” var=”contact”>
<apex:column value=”{!contact.Name}”/>
<apex:column value=”{!contact.MailingCity}”/>
<apex:column value=”{!contact.Phone}”/>
</apex:pageBlockTable>
</apex:pageBlock>
</apex:page>

Question: 9
It displays the Name, Mailing City, Phone details of a particular contact. Which of the following modifications will enable the above VisualForce code to return the data as a Microsoft Excel sheet?
a. <apex:pageBlock title=”Contacts” contenttype=”application/vnd.ms-excel”>
b. <apex:page standardController=”Account” contenttype=”application/vnd.ms-excel”>
c. <apex:pageBlockTable value=”{!account.Contacts}” var=”contact”contenttype=”application/vnd.ms-excel”>

Question: 11
Which of the following statements regarding an Unmanaged Package are false?
a. An unmanaged package consists of Non-Upgradeable Components
b. An unmanaged package consists of Upgradeable Components
c. An unmanaged package can be used for a one time distribution only

Question: 11
Which of the following are the types of Collections in the Apex Code?
a. Lists
b. Sets
c. Maps
d. All of the above

Question: 12
Which of the following action methods are supported by the VisualForce Standard Controllers?
a. Save
b. Edit
c. List
d. Delete

Question: 13
The create() call returns an array of SaveResult which contains the id, success, errors, properties.
What will be the values of these three properties respectively if the object has been created successfully?
a. Null, true, null
b. Id generated, false, error code
c. Id generated, true, null
d. Null, false, error code

Question: 14
Which type of the CRM approach does SalesForce follow?
a. Operational CRM
b. Sales Force Automation(SFA) CRM
c. Analytical CRM
d. Sales Intelligence CRM

Question: 15
In order to modify existing customization using XML metadata files, which of the following method calls will be used?
a. Deploy()
b. Create()
c. Update()
d. All of the above

Question: 16
A VisualForce page definition consists of VisualForce Markup, which is made up of <apex:page> tags. How many such tags are allowed in a VisualForce page?
a. Only one
b. Two
c. Three
d. Unlimited

Question: 17
The length of a calculated field in SalesForce API is 3900 Characters.
What will happen if the length exceeds the maximum limit?
a. An exception will be thrown
b. The data will be truncated
c. It will show no data
d. It will cause the application to crash

Question: 18
Unmanaged packages are completely editable in both the installer’s and the developer’s organizations and are not upgradeable.
a. True
b. False

Question: 19
Which of the following methods is not defined under ApexClass?
a. Deploy()
b. Retrieve()
c. Create()
d. describeMetadata()

Question: 20
What is the description of the Lead object?
a. It defines a prospect or potential Opportunity
b. It defines the rules that assign an owner to a lead
c. It defines the status of a lead, such as open, qualified
d. It associates a word or short phrase with a Lead

Question: 21
Which of the following is true?
a. Force.com is a platform as a service (PaaS) application
b. Salesforce is a software as a service (SaaS) application
c. Salesforce is a platform as a service (PaaS) application
d. Force.com is a software as a service (SaaS) application

Question: 22
Which of the following types of CRM customization techniques are used in Force.com?
a. Apex Code
b. Customize with Code
c. Both a and b

Question: 23
What type of object can be added to your organization’s information using the create() API call?
a. Account
b. Contact
c. Both a and b

Question: 24
Which of the following web services is used by Representational state transfer (REST) architecture to transmit domain-specific data?
a. SOAP
b. WSDL
c. MIME
d. HTTP

Question: 25
Which of the following is not a Primitive data type of the Salesforce?
a. Boolean
b. Byte
c. Currency
d. Datetime
e. Double

Question: 26
What is the maximum number of characters in the Oldvalue field of SolutionHistory  object?
a. 100
b. 255
c. 755
d. 1000
e. There is no limit

Question: 27
Which of the following objects is associated with errors relating to create() update () and delte() method calls?
a. DeployMessgae object
b. AsyncResult object
c. RetrieveMessage object

Question: 28
Which of the following fields of the Case API object cannot be updated?
a. AccountId
b. Description
c. CaseNumber
d. ParentId
e. OwnerId

Question: 29
Which of the following Typographical Conventions is used to represent variables in Apex?
a. Bold
b. Italics
c. Bold Italics
d. Regular Italics

Question: 30
What type of apps is built using only the Force.com API to access the Sales force service?
a. Composite apps
b. Client apps
c. Native apps
d. All of the above

Question: 31
Which of the following functionalities is provided by the Apex Code?
a. It can change the standard functionality
b. It can spawn threads
c. It can render error messages
d. It can create temporary files

Question: 32
Which of the following Access Levels can be granted under Apex Managed Sharing?
a. Read Only
b. Private
c. Read/Write
d. All of the above

Question: 33
In which type of relationships among objects is the object not deleted when its related product is deleted?
a. Master-Detail
b. Many-to-Many
c. Lookup
d. All of the above

 Question: 34
VisualForce code snippet:
<apex page standardController=”Account” recordSetVar=”accounts”>
a. It is an example of VisualForce Standard Controllers
b. It is an example of VisualForce Standard List Controllers
c. It is an example of VisualForce Custom Controllers

Question: 35
You have a static resource named Testpack in your VisualForce org which contains an image file named hills.jpg. You want to reference this image file in your VisualForce page. Which code snippet would you use?
a. <apex: image url=”(!$Resource Testpack)” width=”50” height=”50” />
b. <apex:image url=”(!URLFOR($Resource. Testpack. Hills.jpgk)}” width=”50” height=”50” />
c. <apex image url=”(!$Resource Testpack, Hills.jpg)” width=”50” height=”50” />
d. <apex image url=”hills.jpg width=”50” height=”50” />

Question: 36
Which of the following methods can be used to handle sObjects dynamically in Apex?
a. Use of Token and Describe Result Data Structures
b. Use of Dynamic DML
c. Use of Dynamic SOQL and SOSL
d. All of the above

Question: 37
Which of the following keywords are used with reference to Classes, Objects and Interfaces in the Apex Code?
a. Final
b. Instanceof
c. Without sharing
d. All of the above

Question: 38
Which of the following situations demands the use of the Apex Code?
a. Building wizards and other multi-step processes
b. Adding functionality to a composite application that processes only one type of record at a time
c. Processing more than one record at a time efficiency, and with transactional correctness
d. Creating a custom flow control through an application

Question: 39
What is the data type of the size property of the QueryResult object returned by a query() call?
a. Int
b. Boolean
c. String
d. Textarea
e. sObject

Question: 40
Which of the following API calls are supported by the AssignmentRuleHeader soap?
a. Create()
b. Merge()
c. Update()
d. All of the above

Question: 41
Which of the following are the Declarative (File Based) metadata API calls?
a. listMetadata()
b. deploy()
c. describeMetadata()
d. All of the above

Question: 42
Which of the following methods does not constitute CRUD-based Metadata Development?
a. Create()
b. Update()
c. Delete()
d. Deploy()

Question: 43
Which of the following object types is supported by the merge() API call?
a. Lead
b. Idea
c. User
d. Group
e. Event
f. Case

Question: 44
What does the WSDL describeGlobal() call return?
a. It retrieves a list of available objects for your organization’s data
b. It retrieves metadata about page layouts for the specified object type
c. It allows the user to switch between the listed apps at any time
d. It is used to obtain metadata for a given object

Question: 45
What is the field type of the AccountNumber field name of the account object?
a. String
b. Int
c. Picklist
d. Textarea

Question: 46
In which type of relationships among objects is the object not deleted when its related product is deleted?
a. Master-Detail
b. Many-to-Many
c. Lookup
d. All of the above

Question: 47
What is the field type of the NewValue field name of the ContactHistory object?
a. String
b. anyType
c. picklist
d. textarea

Question: 48
In the iteration method of accessing components, the concept of DOM ids is used?
a. False
b. True

Question: 49
Which of the following field properties is not supported for the PersonContact field name of the Account object?
a. Create
b. Filter
c. Nillable
d. None of the above

Question: 50
The following VisualForce code snippet:
<apex.page standardController=”Account” recordSetVar=”accounts?>
a. It is example of VisualForce Standard Controllers
b. It is example of VisualForce Standard List Controllers
c. It is example of VisualForce Custom Controllers

Question: 51
Which of the following are the Application Development Components of Salesforce?
a. Apex Code
b. AppExchange
c. ERP Connectors
d. VisualForce

Question: 52
Which of the following components in a CustomField in Managed Packages can be edited only by a developer?
a. Help Text
b. Description
c. Sharing Setting
d. Mask Type

Question: 53
Which of the following is not associated with managed packages?
a. Subscriber deleteable
b. IP Protection
c. Automatic renaming
d. upgradeable

Question: 54
APEX allows developers to lock sObject records while they are being updated in order to prevent race conditions and other thread safety problems. Which keyword is used in SOQL statements for locking?
a. TABLOCK
b. COMMIT
c. ROWLOCK
d. FOR UPDATE

Question: 55
Which of the following is/are required to convert a Lead into an Account and Contact?
a. You must be logged in
b. You must have the “ConvertLeads” permission and the “Edits” permission on leads.
c. You must have the “create” and “edit” permissions on Accounts and Contact objects.
d. All of the above

Question: 56
What is the data type of the AccountID argument in a Convertlead() API call?
a. String *
b. Boolean
c. Int
d. ID
e. Anytype

Question: 57
What is the syntax for the logout() API call?
a. LogoutResult=binding logout()
b. LogoutResult= binding logout(string username, stringpassword)
c. LogoutResult= binding logout(string username)
d. LogoutResult= binding logout(string password)

Question: 58
Unit test are class testing methods that verify whether a piece of code is working properly. Which of the following is not a feature of unit tests.
a. Unit test methods take no arguments
b. A unit test commits data to the database
c. Unit test send no emails
d. Unit test methods are always flagged with the testMethod keyword on the method definition

Question: 59
Which of the following are examples of Assignment operator expressions?
a. +=
b. /=
c. >>>=

d. All of the above

No comments: