Monday 21 October 2013

SalesForce Interview Questions

1.Can Salesforce generate an email alert when using task as the object to which the workflow rule applies?
A. Workflow automates email alerts, tasks, field updates and outbound messages based on the customer´s organization's processes. When using task as the object to which the workflow rule applies, email alert will not be an immediate and/or time-dependent actions to the workflow rule.
As an alternative method of sending emails when creating tasks, you can create a workflow rule to send an outbound message to a Web service. The Web service will send an email to the owner of the task. For example, you could create a workflow rule that sends a SOAP message whenever a task is created or edited and is in "Not Started" status. Currently, workflow on tasks do not allow you to send an email.

2.)what is View state and how reduce view sate in visual force page?

A.In Visualforce, page state is persisted as a hidden form field that is automatically inserted into a form when the page gets generated. We call this the view state of the page. The view state captures the state of the page -- state of its associated controllers and extensions and the component tree on the page. The view state is posted back along with the other form data, which gives the server enough information to recreate the page state to which new changes can be applied.

Declare variables as transient to reduce view state
An instance variable declared as transient is not saved and is not transmitted as part of the view state. If a certain field is needed only for the duration of the page request and does not need to be part of the view state, declare it as transient

3.)what is relationship between Account and Contact?

A. Account and contact behaves as master detail in business logics but on UI it is a lookup relationship. Let me explain you a bit more.

You can create a contact without filling account i.e it shows that there is a lookup relationship between account and contact.

If you have created a contact with account and you delete that account then contact will be deleted, this shows that it is in Master-Detail relationship. This is a standard behavior.

So we can say it in both ways, but it documentation it is a lookup relationship.

4.) what is Custom settings and how deploy it .any problem faced in production

A.related to custom settings .how u resilved that.?
When deploying a Custom Settings object, you should be able to also deploy the custom settings records. this should also be available when creating a managed package. When creating a package you should be able to include your default configuration settings.

5.)how to import records from Juction Objects.?

A. We cannot run import wizard over a Junction Object.

We can only run Analytical snapshot over it.

6.)hiden fields can we used in Formulae fields

7.)we can edit Rollup summary fields?


8.)which components cant deploy through the change sets.

A.you cannot rename or delete the components using changesets.

9.)how create adotional fields in task, event and acitivity objects?

A)By using Activity Custom Object we can create custom fields for Task,Event
And Activity.

10.) what is deploy to server and save to server?

Save to Server - Save the updated code to your development org (Dev Edition / Sandbox) from Eclipse IDE. There is no test methods run at this time.
Deploy to Server -  Deploying to code to any kind of instance. All the test methods execute in the background before you are deploy the code. The environment can be Dev Edition/Sandbox or your Production instance.

11.)we can rename apex class name in production?

12.)which is critical issue u faced and how u resolved that issue?

13.)Map Will acept duplicate values ?

eg i in map (1-a;2-b;3-c) key pair values if insert map(1-d) it will accept the value .which value will map will returns


14.) in list how to display in ASC or DESC  order of records without using any Methods like ASC or DEsc any SOQL statements.

15.)which versioning tools are using in project for vErsioning


16.) What isModifyAll And ModifyAllData.

 Ans : Modify All Data : Create, edit, and delete all organization data, regardless of sharing settings.
Modify All : Give All (Read, Create, Add, Delete) permission to selected Object.


17.)What is difference between WhoId and WhatId in the Data Model of Task ?

Ans: WhoID refers to people things. So that would be typically a Lead ID or a Contact ID
WhatID refers to object type things. That would typically be an Account ID or an Opportunity ID

17.)what is batch proceesing?

19.hwo to maintain user liecense in SFDC?

ou may have more than one type of user license in your organization. A user license entitles a user to different functionality within Salesforce and determines which profiles and permission sets are available to the user.
To view a list of the active user licenses in your company, click Your Name | Setup | Company Profile | Company Information. This page lists the following for each type of user license:
§  Status indicates the status of the license.
§  Total Licenses indicates the number of licenses for which your company is billed and that are available to you.
§  Used Licenses is the number of licenses that you have assigned to users.
§  Remaining Licenses is the number of unused licenses.
If Checkout is enabled for your organization, you can click Buy More Licenses to go to Checkout to buy additional user licenses.
In addition to license types, the following portal login information is listed for organizations that have Customer Portals or partner portals enabled:
§  Monthly Logins Allotted shows the maximum number of customer or partner portal logins allowed per month.
§  Monthly Logins Used indicates the number of successful logins for all users associated with a customer or partner portal user license for the month.
No
20.) WE can use SOQL in Test class


21)we can use SOSL In Triggers and Apex Class.

Ans: SOSL CAN NOT BE CALLED FROM TRIGGERS.
22.)salescloud and SErvie cloud Life cycle.


23.)how to  used recordtype in VF Pages?

By using
24.) how deploy user object  and fields?

 by using change sets,ide
25.)we can create relationships with other Obects like Masete detail and lookup relations with other objects.


26.)what is Action Fucntion and action support  in AJax methods

Ans :
apex:actionFunction :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

action support:
A component that adds AJAX support to another component, allowing the component to be refreshed asynchronously by the
server when a particular event occurs, such as a button click or mouseover

27.)What is differce bet ween Remote Access and Actionfuctions


28.)We can use PageReference in Action Functions?


29.)Comapare to SOQL AND SOSL which one gives Quick Response means less time to take retrive records


30.)Diffenc ebetween SOQL AND SOSL?

31.)How to deploy Profile?
We can use CHANGE Sets to deploy the profile 


32.)how to display error massages in in visaul force pages?


33.)we can write validation rules in Formuale fields


34.)what is cross objects and where we used crossobject formuale fields


35.) we can use TeXT Search in SOQL?


36.)what is Locked Locking where we used recordlocking and how to unlock that


37.) One object(LEAD) have public read ANd write Permission for one profile .10 Users are using same profile .
 now i wanna set 5 of that users that particular object on public READ . How can i achieve this.





Salesforce Interview Questions


1.What is the difference between map and set in  Salesforce  collections?.
Map:A map is a collection of key-value pairs where each unique key maps to a single value. Keys can be any primitive data type, while values can be a primitive, sObject, collection type or an Apex object. For example, the following table represents a map of countries and currencies:
Country (Key) 'United States' 'Japan'  'France'            'England'         'India'
Currency (Value)        'Dollar' 'Yen'    'Euro'   'Pound'            'Rupee'
Similar to lists, map values can contain any collection, and can be nested within one another. For example, you can have a map of Integers to maps, which, in turn, map Strings to lists. A map can only contain up to five levels of nested collections inside it.
Set:A set is an unordered collection of primitives or sObjects that do not contain any duplicate elements. For example, the following table represents a set of String, that uses city names:
'San Francisco'            'New York'      'Paris'   'Tokyo' To declare a set, use the Set keyword followed by the primitive data type name within <> characters. For example:
 2. Why Use Triggers?  
 Triggers are used to perform immediate actions based on previous action e.g. field update. An apex language is used to write triggers
Eg: Account merges
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_triggers.htm
3. What are different types of Triggers?
 There are two types of triggers
a) Before trigger- is used before database operation
 b) After trigger-is used  to access field values that are set by the database (such as a record's Id or lastUpdated field), and to affect changes in other records, such as logging into an audit table or firing asynchronous events with a queue.
4. Why Use Visual Force?
 Visual force is a Sales force UI markup language using visual force we can construct   WebPages. In Sales force MVC architecture Visual force represents View.
5. How do you handle errors?
 Error handing is done directly displaying in Visual force page using Apex Pages methods   to end users or displaying in debug logs.
http://www.salesforce.com/us/developer/docs/pages/Content/apex_methods_system_apexpages.htm?SearchType=Stem
6. What is a Component?
In sales force component is a reusable piece of code developed using Visual force and Apex controller.
7.Tell me about a project with Salesforce in which you led the architecture that was not explicitly limited to the Salesforce infrastructure.
8.How long ago did you work on the above mentioned project?
9.Tell me about inner-department communications and your approach to communicating with non-technical team members.
10.What measures have you taken to make your software products more easily maintainable?
11.What development processes have you used in your recent projects? Were any tools used to support these processes? If so can you name some of the advantages and short comings of the tool/ tools?
12.What is an junction object?.
13.What is the difference between master detail relationship and look up relationship. ?
https://login.salesforce.com/help/doc/en/overview_of_custom_object_relationships.htm
14.How will you handle 10001 SOQL  problem in apex?
15. Define force.com and Salesforce.com?
16.Explain some examples  for work-flow rules?
17.What is the use of  future method?
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_annotation_future.htm
18.What is abstract class?.
19.Explain object oriented concepts in sales force how will you implement this?
20.How will you import and export data between two systems eg: SFDC and SQL?
21.What is appexchange?
22.Explain about cloud?.
23.Explain about validation rules in salesforce?.
24.What is the difference between roles and profiles?.
25.What is the difference between record level ,field level, object level security?
26.How will you use web services in sales force.com?.
27.Can you explain about limitation why this limitation placed in sales force.
28.what is view state in sales force?.It there is any limitation after winter11?
29.What is the difference between Role and Profile?
30.How you handle part of page refresh using VF?
31.How you can define a trigger is executed successfully?
32.Explain about yours current project?
33.How do you rate yours self in apex,VF?
34.How you can  deal with project dead lines?
35.How you can use external WSDL files in Sales force?
36.What is difference between rest full and soap API?
37.What is yours Strong point Sales force?
38.How you can with SQL injections in Sales force?
39.Can you explain test methods in salesforce?
41.Can you explain relationships in salesforce?
42.What are SOQL limitations?
43.How can bypass SOQL statement to fetch more 1000 records?
44.What job did you like more in your carrier?
45.Can you explain a scenario integrating login method to third party application.
46.Can you explain about SFDC controllers?
47.Can you explain about sales process?
48.What is a set in salesforce deployments?
49.How many ways you can invoke an work flow?

50.What are governor limits can you explain about it?

Wednesday 29 May 2013

Real Time Scenarios Asking in Interviews


1)If iam having 3 users  like A,B,C IF user A having 3 records,user B having 2 records and user C having 5 records but here my requirement is they won’t see each others records how can you do this?
Ans: Private
2)in field update workflow I have written a validation rule like if iam having a field it will take the input upto 99 whenever iam entering more than that it will display error message. For each time the field update it will update the value 100.intially iam take some value with in the range 99 and after that I enter 1000 then how much value will update on field?
Ans:Validation rules fire before saving the record and workflows will fire after saving the record
So value will be 100 only before saving the record it displays an error message and field containing the value for the previous record value.
3)if iam having 2 objects they dint relate each other but I want to show them in a  single report so that what can be used here?
Ans:Join reports
4)if iam having a check box and beside that iam having a textbox and also having a save button here my requirement is  initially text box is hidden whenever I select the checkbox and click the save button the text box will be visible so which attreibute we are using initially hidden and after that visible ?
Ans:By Using rendered attribute we can achive this.
5)if I have a field in that when ever a record is saved it will update the value with 100 so which events we are used?
Ans:before events
6)what are testing best practices?
7)if a record can be created edited and deleted and in the opportunity object one record is closed then it cant be deleted so what we can do here?
8)by using change sets can we move buttons to production?
Ans: Yes we can
9)By using change sets can u move approval process to production ?
Ans: yes we can
10)diff between partner portal  and customer portal?
11)what are the objects used in partner portal?

12)what are the objects used in customer portal?
13)what objects cant used in partner and customer portal?
14)in salesforce to salesforce can u subscribe campaign object?
15)if one field is hidden by using formula field can u calculate the value is it possible?
Ans: Yes we can
16)what is the use of include attribute?
Ans : we can include one vf page in another page
17)can u display pdf in salesforce?
Ans : Yes by using renderas tag
18)if I want to find the word rob then which one you are using soql or sosl?
Ans:sosl
19)what is metric dashboard?
20)scenario for approval process?



Friday 24 May 2013

401 Dumps Part - 9


  • Custom fields are stored for 45 days after deletion

  • Two types of custom tabs 
  • Custom object tabs-displays the data of your custom object in UI tab

  • Web tab-display any external web-based application or web page in UI tab

  • Blank spaces created with the enhanced page layout editor will be respected by the original page layout editor-you cannot edit them around in the original editor.

  • Queue-

  • Queues allow groups of users to manage a shared workload more effectively

  • A queue is a location where records can be routed to await processing by a group member

  • Records remain in the queue until a user accepts them for processing or they are transferred to another queue
    .
  • Developers can specify the set of objects that are supported by each queue,as well as set of users are allowed to retrieve records from the queue.

  • Any member of a queue has the same access to all records in the queue that an owner would have.

  • Workflow rule configuration-
Entry criteria:which records
-object type
-evaluation criteria
-rule criteria
Timing:whwn to execute action
-immediately
Time dependent
actions:what to do
-Assign task
-Send Email alert(1.from current user’s email address 2.From organization wide email)
-update field
-post outbound SOAP message
  • Record type name and ID can be formlula merge fields

  • Standard and custom users merge fields for the current user are also available,allowing user and profile specific validation rule

  • IsChanged(field) function allows validation to be conditional based on whether a specific value has changed.

  • PriorValue(field) allows access to previous value of a field.

  • IsNew() allows different validation rules for create vs. update actions.

  • License type-

  • Each user must have a user license

  • Different type of user license allow different levels of access

  • Feature licensedetermine wheather users have acces to additional features like mobile or content.

  • Profile-

  • Every user has only one profile.

  • We can group the things that profile controls in 3 categories-
    permission,access to data and user interface.

  • Permissions:general user permission,administrative permission,standard/custom object CRUD

  • Access to data:field level security,object CRUD,login hours and IP ranges

  • User interface:page layouts,record types,tabs,application.

  • Profile controls-

  • Tab settings determines which tabs a user sees when he logs in

  • Permissions determine what users can do to records to which they have access

  • Sets the hours when users with a particular profile can use the system

  • Sets the IP address from which users with a particular profile can log in.

  • There are 6 standard profiles.permissions on standard profiles cannot be customized.

  • Each profile is associated with a license type.

  • Typically,organizations will have one profile for each actor.

  • Levels of record access

  • Full access privileges:
-view
-edit
-transfer ownership
-delete
-share
  • Read/write privilege:
-View
-Edit
  • Read only privilege
-view
  • Ways to obtain access
  • Full access-
-owner field-user.queue number
-above user(who has ownership in role hierarchy)
-profile permission:”modify all data”
-object permission:”modify all”
  • Read/write or read only access-
-org wide default
-above user(who has read/write or read only access) in role hierarchy
-manual sharing
-apex sharing
-sharing rules
-profile permission:”view all data”
-object permission:”view all”
  • Child records in master details relationship inherit their org wide default from parent

  • Child records in lookup relationship have independent org wide default from their parent.

  • With standard object,access to records rolls up through the role hierarchy

  • With custom object,developers choose whether or not access should roll up through the role hierarchy.

  • Apex sharing reasons are defined for custom objects only.

  • Establishing apex sharing reasons allow developers to define the reason that a user or group of users might have access to a record.

  • Debug logs record error and system processes thet occur in the org.debug log contain information about-database change,automated workflow processes such as workflow rule,assignment rule,approval process,validation rule etc.

  • Time dependent workflow can’t be used when a rule is set to be evaluated ‘every time a record is created or updated’.


401 Dumps Part - 8

-->
  1. What is the maximum number of master-detail relationships that can be created on a custom object?
    1. 1
    2. 2
    3. 4
    4. Unlimited

  1. An organization has decided to manage hiring and positions. A custom object has been created to manage all new job positions. All positions below $50,000 must be approved by the hiring manager, and positions above $50,000 must be approved by the hiring manager, and the regional hiring manager. What would a developer use to declaratively fulfill the requirement?
    1. Apex Code, to check the position’s salary and assign to the appropriate resource for approval.
    2. Approval process.
    3. Validation rules.
    4. Dynamic Routing Approval.

  1. A developer has created a junction object what is the significance of the first master-detail (primary) relationship?
    1. Look and feel, the junction object's detail and edit pages use the color and any associated icon of the primary master object.
    2. You cannot delete the primary relationship.
    3. You cannot rename the primary relationship.
    4. There is no significance.

  1. An organization has created an application manage new hires and job positions. A custom object has been created to manage all job positions. Using an approval process they have configured the application to have the first step of the process require approvals from three different hiring managers.
Select the two (2) possible approval choices based on multiple approvers for an approval step.

    1. Approve or reject based on the first response.
    2. Require unanimous approval from all selected approvers…
    3. Require majority approval from all selected approvers
    4. Require x out of y approval from all selected approvers

  1. Which of the following is NOT a step in creating a junction object?
    1. Creating the custom object to serve as the junction object between the two master objects
    2. Creating two master-detail relationships
    3. Customizing the related lists on the page layouts of the two master objects
    4. Creating two lookup relationships…

  1. When a record has been rejected by all approvers, Salesforce executes all final rejection actions.
Which of the following is NOT a possible final rejection action?
    1. Lock the record from being edited
    2. Send an email to a designated recipient
    3. Delete the record…
    4. Update a field on the record

  1. Which of the following cannot be used on a User Page Layout?
Please select two (2) choices.
    1. Tags…
    2. Links
    3. Buttons…
    4. Custom Fields
    5. Inline Visualforce

  1. An organization wants to leverage a custom objects to track bugs. The organization wants the ability to related bugs to parent bugs in a parent-child relationship.
What type of relationship should be used?
    1. master-detail
    2. self…
    3. hierarchical
    4. many-to-many

  1. An organization wants to leverage the import wizards to import different types of data. What type of data cannot be imported through the wizard?
    1. Accounts and Contacts
    2. Leads
    3. Custom Objects
    4. Users…

  1. An organization is interested in leveraging the Data Loader to load data into salesforce.com. Which of the following are NOT capabilities of the data loader?
Please select two (2) choices.
    1. Import greater than 50,000 records
    2. Import data into 2 objects in a single transaction…
    3. Rollback import transactions….
    4. Run by command line

  1. An organization needs the ability view the value of the Opportunity Stage field on an Opportunity Product related list.
Please choose the declarative method of fulfilling the requirement.
    1. Create an Apex method to replicate the value on the child object, and set the field level security to read-only and expose the new field on the Opportunity Product related list.
    2. Create a cross object formula field on the Opportunity Product object and expose the formula field on the Opportunity Product related list..…
    3. Create a validation rule on the Opportunity Product object.
    4. Create a new pick list field called Stage on the Opportunity Product object, and expose the filed on the Opportunity Product related list.

  1. A developer wants to leverage the console to view to see the parent object of the child object in focus on the console. How would a developer specify what related list fields are displayed on the parent object?
    1. On an child object’s mini-page layout
    2. On an parent object’s mini-page layout related lists field selection
    3. On the parent object’s page layout related lists field selection
    4. You cannot modify the related fields on the console view

  1. An organization has two custom objects to track job positions and salaries for those positions. Everyone in the organization should be able to view the positions however, only select users can view the salary records. What steps should a developer take to ensure the requirement is fulfilled?
    1. Create a lookup relationship between positions and salaries; define public access on position and private access on salary
    2. Create a master-detail relationship between positions and salaries; define public access on position and private access on salary.
    3. Create a master-detail relationship between positions and salaries; define private access on position and create sharing rules on salary.
    4. Create a lookup relationship between positions and salaries; define public access on position and public access on salary; create sharing rules on salary to restrict visibility.

  1. A developer has created a custom field marked as an external id on an object. If two records in the object have the same external id, and an upsert action occurred for that same external id what would happen.
    1. The first matching external id record would be updated
    2. Both matching external id records would be updated
    3. A new record is created
    4. An error would be reported

  1. A developer has a requirement to collect the state and the cities for the state selected on an account page layout. Once the user selects a state only the possible cities in that state should be available for entry, what is the best declarative method for fulfilling this requirement.
    1. Create a workflow rule that will update the city once a state is entered
    2. Create a validation rule which will cause an error if the city is not in the state that has been entered
    3. Create a dependent pick list for cities based on the state that has been entered
    4. Create a formula field that lookups the valid cities for the state entered

  1. A developer has created an approval process. What would require that a formula entry criterion be used versus standard criteria?
    1. User profile evaluates to ‘System Administrator’
    2. Determine if the record is newly created
    3. Determine if a record has been updated
    4. Determine if a field has been changed

  1. An organization has created a HR application which contains a custom object for job positions and candidates for those positions. The HR managers want to see a view of the position with the best candidates for that position and not just all the candidates listed. What is the best method to fulfill the requirement?
    1. Add an inline Visualforce Page on the job position page layout
    2. Add the candidate related list to the job position page layout
    3. Create a validation rule on the job position page layout
    4. Create a formula field on the job position object and add to the page layout

  1. Which of the following is not process or data intensive.
    1. Time entry application
    2. Inventory management
    3. Word processing
    4. Human resource management

  1. Which two (2) items most closely relate to the View layer of the Model View Controller paradigm?
    1. Page Layout
    2. Validation Rule
    3. Custom Tab
    4. Custom Field

  1. In which salesforce instances would there be identical record IDs?
    1. Production; Full Sandbox
    2. Production; Full Sandbox; Apex Sandbox
    3. Production; Full Sandbox; Config Only Sandbox; Apex Sandbox;
    4. Salesforce.com never repeats record IDs

  1. A developer has created a time-based workflow that escalates a Lead record 10 days after it has been created if no updates have occurred. What is the best way for the developer to test that the new time based workflow rule is functioning?
Please select two (2) choices.
    1. User Debug Logs setup the Developer; create a new lead record; review debug logs
    2. Create a new lead record; view the time-based workflow queue;
    3. Setup the developer for time-based workflow queue; create a new lead record; view the time-based workflow queue;
    4. Create a new lead record; view the outbound messages queue
  1. What settings can you specify on a profile?
Please select two (2) choices.
  1. Revoke sharing permissions
  2. Enable record types
  3. Enable create read, create, edit, and delete on objects
  4. Specify language

  1. A manager in an organization wants to share specific fields of data to his subordinates that only he has access to. What is the best way to share specific fields of data?
Please select two (2) choices.
  1. Run As on dashboards
  2. Folder Permission on a Report
  3. Run As on scheduled reports
  4. Folder Permission on a Dashboard

  1. Under what circumstances would the sharing button to be enabled on a detail view for a record.
    1. A developer has added the button to the page layout
    2. When record sharing is enabled in the user profile
    3. When record sharing is set to public read only or private for the object
    4. When record sharing is set to public read/write for the object

  1. When creating a sharing rule what entities can data be shared to.
Please select three (3) choices.
  1. Public Groups
  2. Users
  3. Roles
  4. Roles and Subordinates
  5. Queues

  1. A developer needs to make a field that is normally accessible by most users inaccessible on the report wizard for specific users. What the best method to fulfill that requirement?
    1. Field level security
    2. Remove the field from the page layout
    3. Remove the field from the user profile
    4. Change my display under personal settings

  1. What can be done with report summary totals?
Please select two (2) choices:
    1. Calculate values from a previous report
    2. Calculations based on report summary totals
    3. Highlight outliers
    4. Historical analysis

  1. If a parent object has a lookup relationship defined with a child object. What happens in the child object when you delete a record from the parent?
    1. The child record is deleted
    2. Nothing
    3. The parent record cannot be deleted
    4. The child record cannot be deleted

  1. How can a developer get a Custom Object added to the quick create list
    1. Add the object through home page component settings
    2. It is added automatically
    3. Expose a custom tab for the custom object
    4. Enable the quick create on the user profile

  1. Select the features that are available through custom report types.
Please select two (2) items.
  1. Define object relationships and fields for reports
  2. Define up to 4 object relationships
  3. Define anti-join relationships
  4. Create analytic snapshot reports

  1. An organization wishes to have everyone view/edit records on an object except for a single person x who should only have read-only access to the object. What is the best way to implement the requirement?
    1. Modify the sharing access for the object to public read/write and remove user x from the role hierarchy
    2. Modify the sharing access for the object to private and remove user x from the role hierarchy
    3. Modify the sharing access for the object to public read only, create a public group with everyone except user x; create a sharing rule and define read/write access to the public group.
    4. Modify the page layout to be read-only.

  1. Using a formula field how would a developer calculate the number of days since a record has been created. The CreateDdate field is a DateTime type field.
    1. TODAY() – DATEVALUE(CreatedDate)
    2. NOW() – DATEVALUE(CreatedDate)
    3. TODAY() – CreatedDate
    4. CreatedDate – TODAY()

  1. Salesforce.com has notified you that they have enabled the ability to update audit fields for your organization. When inserting a record which field can you set?
    1. CreatedDate
    2. IsDeleted
    3. SysModStamp
    4. UpdatedDate

  1. A developer needs to create a trending report what should he/she use to get the historical data?
    1. Reports
    2. Analytic Snapshots
    3. Roll-Up Summary
    4. Report Types
    5. Audit History Records

  1. What is the best type of dashboard component to display a list of your top 10 customers?
    1. Metric
    2. Table
    3. Gauge
    4. Chart
  2. Select the salesforce.com edition that is NOT available today
    1. Professional
    2. Unlimited
    3. Enterprise
    4. Premium

  1. Using the force.com platform declarative model to build an application. Which of the following do you NOT have to do?
Please select three (3) choices.
    1. Install a database server
    2. Configure an application using clicks not code
    3. Deploy a web server
    4. Administer and email server

  1. An organization wants to create a field to store manager data on the user object. The manager field is a reference to another user record.
What type of relationship should be used?
  1. master-detail
  2. hierarchical
  3. lookup
  4. many-to-many

  1. What are the data types that are supported by formula field?
Please select three (3) choices.
    1. Text
    2. Percent
    3. Email
    4. Currency
    5. Phone

  1. What is true about a junction object?
    1. A custom object that has 2 master-detail relationships.
    2. A custom object that has a master-detail relationship.
    3. A standard object that has 2 master-detail relationships.
    4. A standard object that has a master-detail relationship.

  1. What is true about a cross-object formula field for a master-detail relationship?
    1. You can only create a cross-object formula field on the parent object.
    2. You can only create a cross-object formula field on the child object.
    3. You can create a cross-object formula field on both the parent and child object.
    4. Cross-object formula field is not available for master-detail relationship.

  1. When you create a custom tab for a custom object, what are the features that are available by default?
Please select two (2) choices.
    1. Sidebar Search Object
    2. Custom Reporting
    3. Quick Create
    4. Ability to track Activity

  1. What are the different custom tabs that you can create?
Please select three (3) choices.
    1. Web Tab
    2. Apex Tab
    3. Visualforce Tab
    4. Custom Object Tab
    5. Standard Object Tab

  1. For the order management application, the developer has created a custom object to store the product line and product combination. When creating an order, the product line and product combination needs to be consistent. What is the best option for implementing this?
    1. Use a workflow to update the product automatically based on the product line.
    2. Create a validation rule using IF
    3. Create a formula field to enforce the combination
    4. Create a validation rule using VLOOKUP

  1. What is true about a master-detail relationship?
Please select two (2) choices.
    1. When the parent record has been deleted, all the child records will be deleted.
    2. You can have a child record without the parent record.
    3. You have to expose the master lookup field on the child detail page layout.
    4. You cannot delete a child record.

  1. How do Salesforce enforce data access using role hierarchy?
    1. Users are given access to the records owned by the users who are below the role hierarchy.
    2. Users are given access to the records owned by the users who share the same role on the role hierarchy.
    3. Users are given access to the records accessible by the users who are below the role hierarchy.
    4. Users are given access to the records accessible by the users who are above the role hierarchy.

  1. What will cause the analytic snapshots run to fail?
Please select three (3) choices.
    1. The source report has been deleted.
    2. The target object has a trigger on it.
    3. The running user has been inactivated.
    4. The target object is a custom object.
    5. The source report is saved as Matrix report

  1. What are the components belong to the Model of the Model-View-Controller design paradigm?
Please select three (3) choices.
    1. Custom Relationship
    2. Custom Page Layout
    3. Custom Object
    4. Custom Field
    5. Workflow Rules


  1. Where do you change the Hover detail?
    1. Mini View
    2. Page Layout
    3. Profile
    4. Mini Page Layout

  1. What layer of model-view-controller paradigm does standard or custom objects associated with?
  1. View
  2. Model
  3. Controller
  4. View and Controller

  1. What is a junction object?
  1. Object with lookup relationship
  2. Master detail relationship
  3. Object with two lookup relationship
  4. Object with two master-detail relationship


  1. What field can be controlled by translation workbench?
  1. Rule Criteria
  2. Formula
  3. Validation Errors
  4. Assignment Rules

  1. In a master-detail relationship, what happens when the a record is deleted from parent object
  1. Parent record alone gets deleted
  2. Exception occurs
  3. Parent and Child record will not be deleted
  4. All child records are deleted





  1. In a recruiting application, Salary is a child object to parent Position object via master-detail relationship. The min pay and max pay fields of salary object cannot be modified when Position status on the parent is “Approved”.
How would a developer design this?
  1. Create a Visualforce component on Position detail page
  2. Rollup-Summary Field
  3. Validation rule on Position object
  4. Formula field on the Salary object
  5. Validation rule on the Salary Object

  1. Object X has a lookup to Object Y. What among the following statements are TRUE
Please choose two (2).
  1. Fields of both X and Y are accessible from Object Y.
  2. Fields of Object Y can be accessed from Object X.
  3. Fields of both Y and X are accessible from Object X.
  4. Fields of Object X can be accessed from Object Y.

  1. In master-detail relationship scenario where the fields of the parent object needs to be displayed in the related list. How will a developer design this:
  1. Cross-object formula field
  2. Workflow rule
  3. Validation Rule
  4. Assignment rule

  1. What are the components of the dashboard that use grand totals
Please choose two (2) items.
  1. Chart
  2. Metric
  3. Table
  4. Gauge


  1. Universal Containers needs to make all records of an object visible to all users when it is in “Approved” status. The records are created with “New” status and are only visible to a select set of users.
How will a developer implement this?
  1. Set the object level sharing to Private, add a workflow rule to update the sharing rule when status changes.
  2. Set the object level sharing to Public Read-Only, restrict the sharing when status is ‘New’.
  3. Set the object level sharing to Private, create a public group with appropriate users, modify manual sharing to public group based on status
  4. Create role hierarchy, modify the user profiles when status changes

  1. In a master-child relationship between a standard object and custom object.
Which of the following statements is NOT true.
Please select two (2) items
  1. Standard object is always the master
  2. Custom Object is always the master
  3. Custom object is always a child
  4. Standard or custom object can be a master
  5. Standard object is never a child

  1. A customer has a requirement to filter on columns in the related list. As a developer how will you accomplish
  1. Use the filter option in the related list section of the Page Layout
  2. Use the filter option in the related list section of the Mini Page Layout
  3. Use the filter option in the detail page layout of the related list object
  4. Build a visual force component with filter to replace the related list section of the Page Layout

  1. How do you highlight totals in a report
  1. Roll-up Summary Field
  2. Formula Field
  3. Custom Summary Field
  4. Summary Totals

  1. Recruiting application has a Position object that contains location, department and other information relating to a position. A report needs to customized that is grouped by department but not on locations.
What is the best type of report would a developer choose?
  1. Summary Report
  2. Tabular Report
  3. Matrix Report
  4. A report using visual force

  1. In Recruiting application a Position that is of type “Critical” should not be open for more than 14 days. How will you develop the business logic to cater to this.
  1. Time-dependant workflow action to send an e-mail to the owner after 14 days
  2. Time-dependant workflow action to send the record for review to owner after 14 days
  3. Time-dependant workflow action to send an e-mail to owner before 14 days
  4. Time-dependant workflow action to close the position after 14 days

  1. A job application object has a child review object to store candidate review. The review needs to be tracked between a score of 1 to 5. The score has to be a choice between 1 and 5 displayed as a radio button.
How will a developer cater to this requirement?
  1. Create 5 fields for scores (1 to 5) of type radio-button and use it in review page layout.
  2. Create a dependent picklist that feeds the radio button type field.
  3. Create a formula field
  4. Create visual force page with radio buttons for review object

  1. An application was designed without considering requirements for reports are dashboard. Which of the following statements is TRUE.
  1. The data model will support all the requirements of the application including reports and dashboards
  2. Reports are part of the application and application design will take care of it.
  3. No special considerations for reports or dashboard are required as salesforce can natively take care of the requirements.
  4. The data model and the application will not cater for reports and dashboards


  1. In a data model object A is related to B, B is related to C. How will a developer create a report to include fields of A and C.
  1. Create lookup relationships between A,B and C
  2. Create a Custom Report type with A, B and C, and use it in the report
  3. Create a custom report with A and C fields as relationships already exist
  4. Report cannot be created