Monday 18 August 2014

Salesforce 2014 | SFDC Dev401 Dump1

1. How many characters are there in the Salesforce case-insensitive id field of an object? Select the one correct answer.

a. id field is not mandatory
b. The field length is customizable
c. This depends on the version of Salesforce
d. 18

2. Name the prefix used by standard VisualForce markup tags. Select the one correct answer.

vf
apex
c
s

3. Which of the following cannot be included in a VisualForce page? Select the one correct answer.

Java
JavaScript
HTML
Flash

4. To create a new VisualForce page HelloWorld in development mode, which URL should be appended to server address? Select the one correct answer.

/HelloWorld
/vf/HelloWorld
/apex/HelloWorld
/home/HelloWorld

5. What is the maximum size of a VisualForce page? Select the one correct answer.

1 MB
5 MB
15 MB
There is no limit on the size of a VisualForce page

6. What is the number of components that can be added to a dashboard? Select the one correct answer.

20
25
50
100

7. Which of these represent the correct syntax for custom controllers? Select the one correct answer.

<apex:page controller="MyController">
<apex:page standardController="MyController">
<apex:page customController="MyController">
<apex:page privateController="MyController">

8. Which is the first step when creating reports? Select the one correct answer.

Select report name
Select object on which report needs to be generated
Select type of report
Select columns to be displayed

9. Which of these is not a valid report type. Select the one correct answer.

Summary
Matrix
Tabular
Detailed

10. Which report type is used to group rows of data and show their subtotals. Select the one correct answer.

Summary
Matrix
Tabular
Detailed

11. Which report type is used to group rows and columns of data and show their subtotals. Select the one correct answer.

Summary
Matrix
Tabular
Detailed

12. Which report type does not allow generation of charts? Select the one correct answer.

Summary
Matrix
Tabular
Detailed

13. In the statement below, controller refers to what type of controller? Select the one correct answer. <apex:page controller="AccountController">

Standard Controller
Custom Controller
Controller Extension
Specific Controller

14. Which of the following represent correct syntax to display first name from global variable user? Select the one correct answer.

{User.FirstName}
{!User.FirstName}
$User.FirstName
{!$User.FirstName}

15. Which of these is not a standard profile? Select the one correct answer.

Developer
Contract Manager
Read only
Solution Manager

16. Name the language Force.com uses to support full-text search in objects. Select the one correct answer.

SQL
VisualForce
SOQL
SOSL

17. Before a code can be deployed on production what percentage of test coverage must be achieved. Select the one correct answer.

25%
50%
75%
100%

18. In Salesforce what is the maximum number of fields that can be added to an object? Select the one correct answer.

There is no such limit on the number of fields
100
200
500

19. Which of these are valid data type in Force.com development platform. Select the two correct answers.

Percent
URL
Choicebox
Long
Decimal

20. When designing an application, a developer needs to make a field editable to all profiles. In field level security what settiings should be used in this situation. Select the one correct answer.

Disable Visible and Read-Only
Disable Visible but Enable Read-Only
Enable Visible but Disable Read-Only
Enable Visible and Read-Only

Answers :

1. d

2. apex

3. java

4. apex/HelloWorld

5. 15Mb

6. 20

7. <apex:page controller="MyController">

8. select object on which reports needs to be generated .

9. Detailed

10. Summary

11. Matrix

12. Tabular

13. custom controller

14. {!$user.FirstName}

15. Developer

16. SOSL

17. 75%

18. 500

19. Percent ,Url

20. Enable visible Disable Readonly

Salesforce 2014 | SFDC Dev 401 Dump 2

[1] In Data loader 50,000 more records CRUD at a time
A. True
B. False
Ans: A

[2] ID's are identical in
A. Production, full copy sandbox, developer
B. Production and full copy sandbox only
C. Production , developer
D. None
Ans:B

[3] Maximum No of Master Details per child object
A. 1
B. 2
C. 3
D. 4
Ans:B

[4] For the user object what can you do in the page layout
A. custom link
B. inline vf page
C. custom button
D. custom field
Ans:ABD

[5] For approval process who can be the submitter
A. profiles
B. roles and subordinates
C. active team members
D. None
Ans: AB

[6] In Page Layout can you add inline vf
A. True
B. False
Ans:A

[7] What does out of the box salesforce give you?
A. data warehouse
B. approval process
C. workflow rules
D. validation rules
Ans: BCD

[8] A developer wants to ensure that when a parent record is deleted, child records are not deleted. Which relationship should the developer choose?
A. lookup
B. master-detail
C. many-to-many
D. master-to-master
E. None
Ans:A

[9)]Which statement is true about a custom tab?
A. It can only be included in one application.
B. It can only be included in standard applications
C. It can be included in as many applications as desired.
D. It can only be included in custom applications
Ans:C

[10] When would a developer use upsert and external IDs?(Choose two answers.)
A. To integrate with an external system
B. To migrate customizations from sandbox to production
C. To load related records without knowing Salesforce record IDs
D. To use the Force.com API to query for data
Ans:AC

[11] A group of executives has requested a convenient way to see daily metrics without having to log in to Salesforce. How would a developer accomplish this goal?
A. the users’ home page layouts to include a dashboard
B. Create a Workflow rule that sends a link to the dashboard in an email.
C. Schedule the dashboard for daily refresh and email distribution.
D. Create a series of daily recurring events providing the dashboard link.
Ans:C

[12] A group of executives has requested a convenient way to see daily metrics without having to log in to Salesforce. How would a developer accomplish this goal?
A. the users’ home page layouts to include a dashboard
B. Create a Workflow rule that sends a link to the dashboard in an email.
C. Schedule the dashboard for daily refresh and email distribution.
D. Create a series of daily recurring events providing the dashboard link
Ans:C

[13] If you want the a list of positions what dashboard would you use
A. metric
B. table
C. chart
D. gauge
Ans:B

[14] Time-dependent workflow will not work with which type of workflow evaluation criteria
A. Only when a Record is created
B. Every time a record is created or edited
C. Every kind of workflow evaluation criteria
D. When a Record is edited and it did not previously meet the rule criteria
Ans:B

[15] Which of the following is a standard Profile?
A. Sales User
B. Marketing User
C. Invoice Manager
D. Contract Manager
Ans:AC

[16] What is the maximum number of master-detail relationships that can be created on a custom object? Select the Right answer
A. 1
B. 2
C. 4
D. Unlimited
Ans:B

[17] 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?
Select the Right Answer
A. Apex Code, to check the position’s salary and assign to the appropriate resource for approval
B. Approval process
C. Validation rules
D. Dynamic Routing Approval
Ans:B

[18] A developer has created a junction object what is the significance of the first master-detail (primary) relationship? Select the Right Answer
A. Look and feel, the junction object's detail and edit pages use the color and any associated icon of the primary master object.
B. You cannot delete the primary relationship.
C. You cannot rename the primary relationship.
D. There is no significance
Ans:A

[19] 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. Select TWO Right Answer
A. Approve or reject based on the first response
B. Require unanimous approval from all selected approvers
C. Require majority approval from all selected approvers
D. Require x out of y approval from all selected approvers
Ans:AB

[20] Which of the following is NOT a step in creating a junction object? Select the Right Answer
A. Creating the custom object to serve as the junction object between the two master objects
B. Creating two master-detail relationships
C. Customizing the related lists on the page layouts of the two master objects
D. Creating two lookup relationships
Ans:D

[21] 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? Select the Right answer
A. Lock the record from being edited
B. Send an email to a designated recipient
C. Delete the record
D. Update a field on the record
Ans:C

[22] Which of the following cannot be used on a User Page Layout? Please select two (2) choices. Select TWO choices.
A. Tags
B. Links
C. Buttons
D. Custom Fields
E. Inline Visualforce
Ans:AC

[23] 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? Select the Right Answer
A. master-detail
B. self
C. hierarchical
D. many-to-many
Ans:B

[24] An organization wants to leverage the import wizards to import different types of data.What type of data cannot be imported through the wizard? Select the Right Answer
A. Accounts and Contacts
B. Leads
C. Custom Objects
D. Users
Ans:D

[25] 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. Select TWO Choices
A. Import greater than 50,000 records
B. Import data into 2 objects in a single transaction
C. Rollback import transactions
D. Run by command line
Ans:BC

[26] 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. Choose the Right answer
A. 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.
B. Create a cross object formula field on the Opportunity Product object and expose the formula field on the Opportunity Product related list.
C. Create a validation rule on the Opportunity Product object.
D. Create a new pick list field called Stage on the Opportunity Product object, and expose the filed on the Opportunity Product related list.
Ans: B

[27] 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? Choose the Right answer
A. On an child object’s mini-page layout
B. On an parent object’s mini-page layout related lists field selection
C. On the parent object’s page layout related lists field selection
D. You cannot modify the related fields on the console view
Ans:C

[28] 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? Choose the Right answer
A. Create a lookup relationship between positions and salaries; define public access on position and private access on salary
B. Create a master-detail relationship between positions and salaries; define public access on position and private access on salary.
C. Create a master-detail relationship between positions and salaries; define private access on position and create sharing rules on salary.
D. 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.
Ans:B

[29] 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. Choose the Right answer
A. The first matching external id record would be updated
B. Both matching external id records would be updated
C. A new record is created
D. An error would be reported
Ans:D

[30] A developer has a requirement to collect the state and the cities for the state selected on 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. Choose the Right answer
A. Create a workflow rule that will update the city once a state is entered
B. Create a validation rule which will cause an error if the city is not in the state that has been entered
C. Create a dependent pick list for cities based on the state that has been entered
D. Create a formula field that lookups the valid cities for the state entered
Ans:C

[31] A developer has created an approval process. What would require that a formula entry criterion be used versus standard criteria? Choose the Right answer
A. User profile evaluates to ‘System Administrator’
B. Determine if the record is newly created
C. Determine if a record has been updated
D. Determine if a field has been changed
Ans:D

[32] 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? Choose the Right answer
A. Add an inline Visualforce Page on the job position page layout
B. Add the candidate related list to the job position page layout
C. Create a validation rule on the job position page layout
D. Create a formula field on the job position object and add to the page layout
Ans:A

[33] Which of the following is not process or data intensive. Choose the Right answer
A. Time entry application
B. Inventory management
C. Word processing
D. Human resource management
Ans:C

[34] Which two (2) items most closely relate to the View layer of the Model View Controller paradigm? Select TWO correct choices
A. Page Layout
B. Validation Rule
C. Custom Tab
D. Custom Field
Ans:AC

[35] In which salesforce instances would there be identical record IDs? Choose the Right answer
A. Production; Full Sandbox
B. Production; Full Sandbox; Apex Sandbox
C. Production; Full Sandbox; Config Only Sandbox; Apex Sandbox;
D. Salesforce.com never repeats record IDs
Ans:A

[36] 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.
A. User Debug Logs setup the Developer; create a new lead record; review debug logs
B. Create a new lead record; view the time-based workflow queue;
C. Setup the developer for time-based workflow queue; create a new lead record; view the time-based workflow queue;
D. Create a new lead record; view the outbound messages queue
Ans:AB

[37] What settings can you specify on a profile? Please select two (2) choices.
A. Revoke sharing permissions
B. Enable record types
C. Enable create read, create, edit, and delete on objects
D. Specify language
Ans:BC

[38] 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. Please select two (2) choices.
A. Run As on dashboards
B. Folder Permission on a Report
C. Run As on scheduled reports
D. Folder Permission on a Dashboard
Ans:AC

[39] Under what circumstances would the sharing button to be enabled on a detail view for a record. Choose the Right answer
A. A developer has added the button to the page layout
B. When record sharing is enabled in the user profile
C. When record sharing is set to public read only or private for the object
D. When record sharing is set to public read/write for the object
Ans:C

[40] When creating a sharing rule what entities can data be shared to. Please select three (3) choices. Please select three (3) choices.
A. Public Groups
B. Users
C. Roles
D. Roles and Subordinates
E. Queues
Ans:ACD

[41] 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? Choose the Right answer
A. Field level security
B. Remove the field from the page layout
C. Remove the field from the user profile
D. Change my display under personal settings
Ans:C

[42] What can be done with report summary totals? Please select two (2) choices: Please select two (2) choices:
A. Calculate values from a previous report -
B. Calculations based on report summary totals
C. Highlight outliers
D. Historical analysis
Ans:BD

[43] 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? Choose the Right answer
A. The child record is deleted
B. Nothing
C. The parent record cannot be deleted
D. The child record cannot be deleted
Ans:D

[44] How can a developer get a Custom Object added to the quick create list Choose the Right answer
A. Add the object through home page component settings
B. It is added automatically
C. Expose a custom tab for the custom object
D. Enable the quick create on the user profile
Ans:C

[45] Select the features that are available through custom report types. Please select two (2) items. Please select two (2) items.
A. Define object relationships and fields for reports
B. Define up to 4 object relationships
C. Define anti-join relationships
D. Create analytic snapshot reports
Ans:AB

[46] 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? Choose the Right answer
A. Modify the sharing access for the object to public read/write and remove user x from the role hierarchy
B. Modify the sharing access for the object to private and remove user x from the role hierarchy
C. 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.
D. Modify the page layout to be read-only.
Ans:C

[47] 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. Choose the Right answer
A. TODAY() – DATEVALUE(CreatedDate)
B. NOW() – DATEVALUE(CreatedDate)
C. TODAY() – CreatedDate
D. CreatedDate – TODAY()
Ans:A

[48] 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? Choose the Right answer
A. CreatedDate
B. IsDeleted
C. SysModStamp
D. UpdatedDate
Ans:A

[49] A developer needs to create a trending report what should he/she use to get the historical data? Choose the Right answer
A. Reports
B. Analytic Snapshots
C. Roll-Up Summary
D. Report Types
E. Audit History Records
Ans:B

[50] What is the best type of dashboard component to display a list of your top 10 customers? Choose the Right answer
A. Metric
B. Table
C. Gauge
D. Chart
Ans: B

[51] Select the salesforce.com edition that is NOT available today Choose the Right answer
A. Professional
B. Unlimited
C. Enterprise
D. Premium
Ans:D

[52] 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.
A. Install a database server
B. Configure an application using clicks not code
C. Deploy a web server
D. Administer and email server
Ans:ACD

[53] 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?
Choose the Right answer
A. master-detail
B. hierarchical
C. lookup
D. many-to-many
Ans:B

[54] What are the data types that are supported by formula field? Please select three (3) choices. Please select three (3) choices.
A. Text
B. Percent
C. Email
D. Currency
E. Phone
Ans:ABD

[55] What is true about a junction object? Choose the Right answer
A. A custom object that has 2 master-detail relationships.
B. A custom object that has a master-detail relationship.
C. A standard object that has 2 master-detail relationships.
D. A standard object that has a master-detail relationship.
Ans:A

[56] What is true about a cross-object formula field for a master-detail relationship? Choose the Right answer
A. You can only create a cross-object formula field on the parent object.
B. You can only create a cross-object formula field on the child object.
C. You can create a cross-object formula field on both the parent and child object.
D. Cross-object formula field is not available for master-detail relationship.
Ans:B

[57] When you create a custom tab for a custom object, what are the features that are available by default? Please select two (2) choices.
A. Sidebar Search Object
B. Custom Reporting
C. Quick Create
D. Ability to track Activity
Ans:AC

[58] What are the different custom tabs that you can create? Please select three (3) choices. Please select three (3) choices.
A. Web Tab
B. Apex Tab
C. Visualforce Tab
D. Custom Object Tab
E. Standard Object Tab
Ans:ACD

[59] 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? Choose the Right answer
A. Use a workflow to update the product automatically based on the product line.
B. Create a validation rule using IF
C. Create a formula field to enforce the combination
D. Create a validation rule using VLOOKUP
Ans:D

[60] What is true about a master-detail relationship? Please select two (2) choices. Please select two (2) choices.
A. When the parent record has been deleted, all the child records will be deleted.
B. You can have a child record without the parent record.
C. You have to expose the master lookup field on the child detail page layout.
D. You cannot delete a child record.
Ans:AC

[61] How do Salesforce enforce data access using role hierarchy? Choose the Right answer
A. Users are given access to the records owned by the users who are below the role hierarchy.
B. Users are given access to the records owned by the users who share the same role on the role hierarchy.
C. Users are given access to the records accessible by the users who are below the role hierarchy.
D. Users are given access to the records accessible by the users who are above the role hierarchy.
Ans: C

[62] What will cause the analytic snapshots run to fail? Please select three (3) choices. Please select three (3) choices.
A. The source report has been deleted.
B. The target object has a trigger on it.
C. The running user has been inactivated.
D. The target object is a custom object.
E. The source report is saved as Matrix report
Ans:ABC

[63]What are the components belong to the Model of the Model-View-Controller design paradigm? Please select three (3) choices.
A. Custom Relationship
B. Custom Page Layout
C. Custom Object
D. Custom Field
E. Workflow Rules
Ans: ACD

[64] Where do you change the Hover detail? Choose the Right answer
A. Mini View
B. Page Layout
C. Profile
D. Mini Page Layout
Ans:D

[65] What layer of model-view-controller paradigm does standard or custom objects associated with? Choose the Right answer
A. View
B. Model
C. Controller
D. View and Controller
Ans:B

[66] What is a junction object? Choose the Right answer
A. Object with lookup relationship
B. Master detail relationship
C. Object with two lookup relationship
D. Object with two master-detail relationship
Ans:D

[67] What field can be controlled by translation workbench?
A. Rule Criteria
B. Formula
C. Validation Errors
D. Assignment Rules
Ans:C

[68] In a master-detail relationship, what happens when the a record is deleted from parent object Choose the Right answer
A. Parent record alone gets deleted
B. Exception occurs
C. Parent and Child record will not be deleted
D. All child records are deleted
Ans:D

[69] 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?
A. Create a Visualforce component on Position detail page
B. Rollup-Summary Field
C. Validation rule on Position object
D. Formula field on the Salary object
E. Validation rule on the Salary Object
Ans:E

[70] Object X has a lookup to Object Y. What among the following statements are TRUE Please choose two (2).
A. Fields of both X and Y are accessible from Object Y.
B. Fields of Object Y can be accessed from Object X.
C. Fields of both Y and X are accessible from Object X.
D. Fields of Object X can be accessed from Object Y.
Ans: BC

[71] 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: Choose the Right answer
A. Cross-object formula field
B. Workflow rule
C. Validation Rule
D. Assignment rule
Ans:A

[72] What are the components of the dashboard that use grand totals Please choose two (2) items.
A. Chart
B. Metric
C. Table
D. Gauge
Ans:B

[73] 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? Choose the Right answer
A. Set the object level sharing to Private, add a workflow rule to update the sharing rule when status changes.
B. Set the object level sharing to Public Read-Only, restrict the sharing when status is ‘New’.
C. Set the object level sharing to Private, create a public group with appropriate users, modify manual sharing to public group based on status
D. Create role hierarchy, modify the user profiles when status changes
Ans:C

[74] 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
A. Standard object is always the master
B. Custom Object is always the master
C. Custom object is always a child
D. Standard or custom object can be a master
E. Standard object is never a child
Ans:BD

[75] A customer has a requirement to filter on columns in the related list. As a developer how will you accomplish Choose the Right answer
A. Use the filter option in the related list section of the Page Layout
B. Use the filter option in the related list section of the Mini Page Layout
C. Use the filter option in the detail page layout of the related list object
D. Build a visual force component with filter to replace the related list section of the Page Layout
Ans:A

[76] How do you highlight totals in a report Choose the Right answer
A. Roll-up Summary Field
B. Formula Field
C. Custom Summary Field
D. Summary Totals
Ans:D

[77] 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? Choose the Right answer
A. Summary Report
B. Tabular Report
C. Matrix Report
D. A report using visual force
Ans:A

[78] 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? Choose the Right answer
A. Create 5 fields for scores (1 to 5) of type radio-button and use it in review page layout.
B. Create a dependent picklist that feeds the radio button type field.
C. Create a formula field
D. Create visual force page with radio buttons for review object
Ans:D

[79] 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. Choose the Right answer
A. Create lookup relationships between A,B and C
B. Create a Custom Report type with A, B and C, and use it in the report
C. Create a custom report with A and C fields as relationships already exist
D. Report cannot be created Custom Objects automatically have some standard fields
Ans:C

[80] Custom Objects automatically have some standard fields
A. True
B. False
C. Some of them have
Ans:A

[81] Custom Tabs have properties such as: Select all that are true
A. Custom Fields
B. Relation to other objects
C. Page Layouts
D. User Tabs
E. Audio Visual Capabilities
F. They do not have any properties
Ans:F

[82] Changing the data type of existing custom field is possible, but doing so may cause loss of
data
A. True
B. False
C. Maybe
Ans:A

[83] Custom Fields are store for how many days after deletion
A. 10 Days
B. 30 Days
C. 45 Days
D. 100 Days
Ans:C

[84] Standard Picklist cannot be a dependent picklist Choose the correct answer
A. It can be in some cases
B. It depends on the version of Salesforce.com you are using
C. This is correct, Standard picklist can only be a controlling picklist
D. This is incorrect, Standard picklist can be a controlling as well as dependent picklist
Ans:C

[85] Required and Unique field options works on Custom Fields only True or False
A. True
B. False
Ans:A

[86] Fill in the blanks. Encrypted fields allow for masking data for all users except those with the ------------ permissions Fill in the blanks
A. Read all data
B. View all Data
C. Modify all data
D. Administrator permissions
Ans:D

[87] The Force.com platform supports the following relationship types Select all which apply
A. Self
B. Lookup
C. Master Detail
D. Many to Many
E. Many to All
F. One to One
G. One to all
H. Validation Rules
Ans:ABD

[88] Fill in the blanks. ______________ lookup relations are allowed per object Fill in the blanks
A. 10
B. 20
C. 25
D. 40
Ans:C

[89] Junction Object is a Custom Object with three master detail relationships True or False
A. True
B. False
C. Sometimes it has
Ans:B

[90] Any member in a Queue has the same access to all records in the queue that an owner would have.
A. True
B. False
C. Not always
Ans:A

[91] Select which is not applicable. Capabilities of a Workflow includes, Not Applicable to be
selected
A. Tasks and Alerts
B. Field Updates
C. Run Reports
D. Outbound Messaging
E. Approval Processes
F. Dashboard Refresh
G. Load Data through Data Loader
Ans:CEFG

[92] A queue is a location where records can be routed to wait processing by a group member
A. True
B. False
C. Maybe sometimes
Ans:A

[93] Roll up Summary Field works in the case of which relationship Select the correct choice
A. Master Detail
B. Master Master
C. Workflow
D. Validation Rules
E. Lookup
F. Do not lookup
G. Master to all
Ans:A

[94] Validation Rules can contain a Formula or an expression that evaluates the data in one or more fields and returns a value of “True” or “False”
A. True
B. False
C. Maybe sometimes
Ans:A

[95] Workflow Rules are automated processes that trigger criteria based on your business requirements True or False
A. True
B. False
Ans:A

[96] Profile have the following permissions All Applicable to be selected
A. View All Data
B. Delete All Data
C. Modify all data
D. Customize Application
E. Data Loader only user
F. Password never expires
G. Load Data through Data Loader
Ans:ACDF

[97] Cross Objects formulas can reference fields on parent or grand parent object up to how many levels Select the correct choice
A. 2
B. 5
C. 8
D. 12
Ans:B

[98] Custom Formula fields can reference fields on related objects True or False
A. True
B. False
Ans:A

[99] In Rollup Summary there is an option to include all records in the roll-up or just that meets certain criteria True or False
A. True
B. False
Ans:A

[100] User can have access to more than one record types for an object True or False
A. True
B. False
Ans:A

Salesforce 2014 | SFDC Dev 401 Dump 3

[101] IsNew() function allows different validation rules for create & update actions True or False
A. True
B. False
Ans:A

[102]When writing a validation rule, developers must write the error condition criteria True or
False
A. True
B. False
Ans:A

[103]Select the option which is correct. Profile controls Login Hours and Login IP Range Select the correct choice
A. Yes this is correct
B. No, Profile can only contact Login hours. IP Ranges is not controlled here.
C. No, Profile can only control IP Ranges, and not login hours
D. No, Profile does not control login hours or Login IP Ranges
Ans:A

[104] Permissions on Standard profiles cannot be customized True or False
A. True
B. False
Ans:A

[105]Choose the right answers only. Organization wide access levels are: Choose Only Three
A. Public Read/Write
B. Public Read Only
C. Private Read /Write
D. Private Read only
E. Private
Ans:ABE

[106]Choose the ones which are applicable. Record Type allow developers to associate __________ and ___________ to users based on their profile Choose Only Two
A. Picklist value
B. Role
C. Business Process
D. Hidden Characters
E. Subclassing
F. Forecasting
G. Error Handling
Ans: AC

[107] Child Records in Master detail Relationship inherit their Organization wide defaults from their parents True or False
A. True
B. False
Ans:A
[108] Lacking the "Read" permission for an objects means that the user will not be able to access
it at all True or False
A. True
B. False
Ans:A

[109] Field level security overrides any less-restrictive field access settings in the page layouts and search layouts True or False
A. True
B. False
Ans:A

[110] Page Layout controls the following Field properties Except: Select All which apply
A. Visible
B. Read Only
C. Read Write
D. Required
E. Data Management
Ans;CE

[111]A record type of the record can be changed after it has been saved. However, if the record type is changed later, the values in the record will be lost True or False
A. True
B. False
Ans:B

[112] Child Records in a lookup relationship have independent organization wide defaults from their parents True or False
A. True
B. False
Ans:A

[113] Profiles is a sub-set of the Sharing Model True or False
A. True
B. False
Ans:B

[114] All the statements are true regarding Sharing Rules Except: Select the correct choice
A. Automatic Exceptions to Organization Wide Defaults for a particular group of users
B. Never permitted to be more restrict the Organization Wide Default settings
C. Used to open up access to records
D. Can to be more restrictive than Organization Wide Defaults
Ans:D

[115] Custom Objects can be owned by queues True or False
A. True
B. False
Ans:A

[116]In a master detail relationship the owner of the parent record controls both the parent and the child True or False
A. True
B. False
Ans:A

[117] Select all which are Correct. What is true about Role Hierarchy: Select two choices only
A. Controls Data Visibility
B. Controls record roll up for reporting
C. Is the company's Organization chart
D. Controls Custom Apps Record Types
Ans:AB

[118] Manual Sharing can be Granted By Owners, Anyone above the owners in the Role Hierarchy, System Administrators True or False
A. True
B. False
Ans:A

[119]A user must be associated to at least one Role True or False
A. True
B. False
Ans:B

[120] Select all which are correct. Organization wide Defaults are: select all the correct choices
A. Security settings that defines the baseline level of access of data records that you do not own
B. Used to restrict access to data
C. Defined for Standard Objects
D. Defined for Custom Objects
E. Defined for Unclaimed objects
Ans:ABCD

[121] Public Groups can be made of any combination of the following Except Choose One Answer only
A. Users
B. Roles
C. Queues
D. Roles and Subordinated
E. Public Groups
Ans:C

[122]How many debug logs are retained for an organization. Select the correct answer
A. 5
B. 10
C. 20
D. 50
Ans:C

[123] Developers can retain and manage the debug loigs for specific users True of False
A. True
B. False
Ans:A

[124] Setup Audit Trail changes are tracked for ---- days Select the correct answer
A. 50
B. 100
C. 180
D. 200
Ans;C

[125] When a new workflow rule is created it does not affect existing records True of False
A. True
B. False
Ans: A

[126] Field history tracking allows users to choose up to ----- fields per object Select the correct answer
A. 5
B. 10
C. 20
D. 40
Ans:C

[127] Time dependent workflows can be used when a rule is set to be evaluated "Every time a record is created or updated" True of False
A. True
B. False
Ans:B

[128] Parallel approval Processes allow a record to be sent for approval to up to ---- diff users simultaneously Fill in the blanks
A. 5
B. 10
C. 25
D. 100
Ans:C

[129]When new objects and fields are added to Salesforce they are immediately available for reporting True of False
A. True
B. False
Ans:A

[130] Using API Data Loader which of following things are considered ?(choose 2)
A. Validiation Rules
B. Required fields in sharing settings
C. Apex Trigger
D. Required fields on Page layout.
Ans:BC

[131]If review object has master-detail relationship with job application. Reviews records should not get deleted once job application is approved.?
A. True
B. False
Ans:A

[132] Object B has lookup field to object A,object C has lookup field to object B,then how to access A records with c in reports.
A. using Standard Report types.
B. Creating custom Report type.
C. creating normal report
D. None of above.
Ans:B

[133] View Encrypted field is enable for which profile (choose 1)
A. Standard user Profile
B. System Admin
C. Read only
D. None of Above
Ans:D

[134] External id allowed for which field types.(choose three)
A. Text
B. Email
C. Number
D. Text Area
E. Date
Ans:ABC

[135] Create object Tab, what effects it has on home page Sidebar layout.(choose 2)
A. Recent Items
B. Search Layout
C. Create new
D. Tags
Ans:AC

[136] Which options are related to data Base?(choose 3)
A. custom Objects
B. Custom Tabs
C. Page Layout
D. Master-Detail Relationship
E. Custom Fields.
Ans:ADE

[137] If Approval Process is modified, how user will know changes has made or not? (choose 2)
A. In Debug log
B. Set up Audit Trial
C. Modified by Field
D. one more option
Ans:AC

[138] Divisions do not restrict users access to data & are not meant for security purposes
A. True
B. False
Ans:A

[139] If Analytical snapshot is scheduled for a run. Which of following changes will not allow it to run.(choose 2)
A. changing target object
B. changing source object report to matrix
C. creating trigger on target object
D. creating Approval process on target object.
Ans:CD

[140] User X & user Y should able to see candidate records. But user Y should not able to see Address field. What should be done?
A. Set candidate object to R/O & use manual sharing.
B. use Fields level security
C. using page layout
D. one more option
Ans:B

[141] Which of things is possible using Import Wizard.
A. Import, Export, Update and Delete for all custom objects
B. De-Duplication of records
C. Schedule Import
D. Only Importing Records.
Ans:B

[142] In case object if u update the contact name field, the account name field will automatically default to the account associated with the contact when you save the case
A. True
B. False
Ans:B

[143]If object B has lookup field to Object A, then which thing is true about cross object formula?
A. Access object A fields, Object B fields on Object A.
B. Only Access Object B fields on object B.
C. Access Object B fields, Object A fields, User fields on object B.
D. None of the Above.
Ans:C

[144] Using Data Loader, we want to load Data for Account, Contacts, User. What order we should follow?
A. Account, contact,user
B. user, contact, Account
C. Any order
D. User, Account, contact.
Ans:D

[145]If we need to update records using Data loader which things are to be considered?
A. Name Field
B. Records Id's
C. created by,Modified By fields
D. Owner Id's
Ans:B

[146] Roll up Summary on formula fields?
A. Not Allowed.
B. Depends on formula return types .
C. All formula fields.
Ans:B

[147] On Position Object we have one field department. So we want to see position records group by department. How is it possible?
A. using Tabular report
B. using Summary Report
C. Using Matrix report
D. None of above
Ans:B

[148] API for salesforceis :
A. Salesforce.com Metadata API
B. Salesforce.com API
C. Salesforce.com Salesone API
D. Some AJAX API(am not sure of this option)
Ans:A

[149] If a person want to report on trend, what feature is provided by SF:
A. Matrix Report
B. Summary Report
C. Dashboard
D. Analytic Snapshot
Ans:D

[150]While using a data loader, authentication error is encountered. The Problem may be(Mark 2 Options)
A. Destination url error
B. User name error
C. Password Encryption Error
D. Mapping file error
Ans:AB

[151] Which of the following relationship is possible in salesforce? (mark 3)
A. Custom Object Lookup on Custom Object
B. Custom Object as detail and Standard Object as master
C. Standard Object as detail and Custom Object as master
D. Standard object lookup on standard object
Ans:ABD

[152]The value of the city in the city field should be from the state it belong. How it can be one:
A. Using an Apex trigger
B. Field Dependency using Picklist
C. Workflow
D. Validation Rules.
Ans:B

[153] Manager wants to allow subordinates to access some data on Accounts object. Which feature can help him:
A. Dashboard running user
B. Dashboard Folder
C. Report running user
D. Report Folder
Ans: A

[154] What are the feature of Domain provided by Salesforce (Mark any 3)
A. It Should be unique
B. Generally same as company name
C. It cannot be disabled after implementation
D. It cannot be mapped into company’s domain
Ans:ACD

[155] Which of the following can’t be used in page layout of user object? (Marks 2 Options)
A. Custom Buttons
B. Custom Fields
C. tagging
D. Custom Links
E. Inline VF
Ans:AC

[156] Which option can’t be selected in evaluation criteria of time based workflow?
A. When the record is created
B. When the record is created or edited
C. When the record is created or edited, and did not previously meet the criteria
D. Depends on the user
Ans:B

[157] A Record for which role hierarchy option is not selected can be shared by:
A. System Admin, Owner, user with whom the record is shared & a person who is higher in role hierarchy
B. System Admin, Owner, user with whom the record is shared.
C. System Admin, Owner & a person who is higher in role hierarchy
D. Only System Admin and Owner
Ans:B

[158] What can be done using profiles(Mark 2 Options)
A. CRUD for all custom obj
B. R/W for all stdobj
C. Restricted IP
D. Sharing Rules using Hierarchy
Ans:AB

[159] Which of these can be seen on DEBUG logs(mark 2 options)
A. Assignment Rules
B. Workflow rules
C. Formula field calculation
D. Roll-up summary field calculation
Ans:AB

[160] What will happen if more than one external Ids match during import
A. Only the first matching record is imported
B. Import is successfully done after removing the records with duplicate ids
C. An error is generated
D. A warning message is displayed and the process resumes
Ans:C

[161] If a Developer uses a time based workflow and wants to check whether it is working or not. He can do it by: (Marks 2 Options)
A. Select running user and use debug logs
B. Create record and verify in time base queue
C. Create record and verify in outbound queue
D. Login as developer in time based queue, create record and verify in queue
Ans:AB

[162] If a person want Created date is a date/time field, which of the following should be used to find out no. of days the record has been created :
A. Today() –created date
B. Now() - created date
C. Today () –datevalue (created date)
D. Now() – datevalue (created date)
Ans:C

[163] Job application is related to Position. Job application record is present on the detail view and we need to modify the position field on the side bar of the console, where it should be changed?
A. Mini Page layout of Job application
B. Mini Page layout of Position
C. Related list of Position
D. Related list of Job application
Ans:B

[164]In a recruitment application, If any posting can be posted to ‘n’ number of job websites. What should be used to make this relationship possible:
A. A Look up Relationship
B. A Junction Object
C. A Standard Object
D. A Hierarchy Relationship
Ans:B

[165]Which of the following must be there to establish many to many relationship in Salesforce: (Marks 2 Options)
A. Two master detail relationships
B. Cross Object Formula
C. Two lookup relationships
D. A Custom Junction Object
Ans:AD

[166] If Salary>20000, It needs to be approved by Project Manager. If salary > 50000, it needs to be approved by both the PM and his boss, and every record to be approved by Vice President. How can it be achieved??
A. Parallel Approval
B. Dynamic Approval Routing
C. Workflow
D. Approval Process
Ans:D

[167] Which of these features are provided by SF sites?
A. You can create your own websites
B. You can internationalize and localize
C. None
Ans:A

[168] What can be done page layout which affects the user interface: (Marks 2 Options)
A. Add a 3 column section
B. Add an Inline Visual Force Page
C. Change the related list
D. Button & Links
Ans:BD

[169] What can be controlled by the user who is generating a report : (Marks 2 Options)
A. Layout of the report
B. User Interface of the report
C. Objects on which the report will run
D. One More Option.
Ans:AC

[170] Once user sends approval he should not be able to edit record, which of the following can be used
A. Workflow
B. Apex Triggers
C. Record automatically gets lock once send for approval
D. Write validation rule
Ans:C

[171] In MVC, View is most closely related to the (Marks 2 Options)
A. Custom Fields
B. VF Pages
C. Page Layouts
D. Objects
Ans:BC

[172] Which of the following are used in approval process: (Marks 2 Options)
A. Roles and Subordinates
B. Profiles
C. Public Groups
D. Active Team Member
Ans:AC

[173] Which of the following forms a part of declarative interface of salesforce: (Marks 3 Options)
A. Workflow
B. Approval
C. Data Warehouse
D. Validation Rules
Ans:ABD

[174] theWorkflowsSet owd to read/write and then use sharing rules to restrict the access of hiring manager
A. Field Level Security
B. Set owd to private and use public group to grant access to all users.
Ans:B

[175] Which of the Following cannot be done after submitting the approval:
A. Moving the record to recycle bin
B. Sending an outbound message
C. Locking the record
D. Updating a field
Ans:A

[176]You might not have the same search results as another user performing the same search
A.True
B.False
Ans:A

[177] A developer wants to add new record of object Y from the Side bar in the create new drop down. It can achieved using
A. Edit the side bar to include object Y
B. Change page layouts
C. Add object Y in tabs
D. One More Option
Ans:C

[178] In a workflow process which of the following will require a formula?
A. The value of the field is changed
B. The record is modified today
C. The status field is changed to new
Ans:A

[179] A developer has created a data model but he has not handled user accesses. What security problems he may face? (Choose 2)
A. He may not be able to run reports and dashboards.
B. Data model may not be sufficient to handle security controls later
C. He may not be able to handle security control after initial set up
D. There may be a problem for approval in approval process.
Ans:BD

[180] In Custom object for bugs, many bugs have relationship with other bugs in a parent child manner. Which of the following relationship is required:
A. Self relationship
B. Many to many
C. Hierarchical
D. Master-detail
Ans:A

[181] Which of the following is not a declarative advantage of salesforce?
A. No setup for application server
B. Customization of Application
C. Compile code
D. Reports & Dashboards
Ans:C

[182] Job application is related to reviews, but it is painful for user to insert job application then save and then go to related list and add reviews, what can be done?
A. Do validation and write a trigger to pop up a page to fill in reviews
B. Use a visual force page so that all the data can be inserted on the same page
C. Change the page layout of Job Application to have review object
D. Use lookup to get the review data on Job Application.
Ans:C

[183] In a dashboard, Top 10 records can be shown using following(There was some lengthy description prior to this question)
A. Metrics
B. Tables
C. Gauges
D. Charts
Ans:B

[184] User object has following relationship with manager?
A. Many to many
B. Lookup
C. Master detail
D. Hierarchical
Ans:B

[185] Job Application has a lookup on Position. All user should be able to see Position but only selected user should be able to see Job Application.
A. OWD read only for both.
B. OWD is private for both and sharing rules will be used to grant access for position.
C. OWD private for Job Application and public read only for position
Ans:C

[186] If all users should have read access on a object, but a user should not be able to see anything. What should be done?
A. Set OWD to private and give read access to all except the user using sharing rule
B. Set OWD to read only and using sharing rule remove access of the user
C. Set OWD to read only and remove user from role hierarchy
Ans:A

[187] The advantage of data loader are :
A. Can be run using a Command line
B. More than 50k records
C. De duplication
D. Can load data from 2 objects at a time in a single call.
Ans:AB

[188] Modifications to the related lists on the case are also tracked in the case history
A.True
B. False
Ans:B

[189] Calculations / analysis that can be done using reports? (Mark 2 options)
A. Highlight the exceptional result
B. Calculation of previously run reports can be stored
C. parameters can be set for outliers
D. Charts and tables can be drawn
Ans:AD

[190] In a many to many relationship if x is primary master of y and z is secondary master of y then
A. Both Look and feel & Access Right as x.
B. Access rights depends on the access rights on x where as look and feel as z.
C. Look n feels as x.
D. Access Right same as in x
Ans:A

[191] Who among the following can change the owner of a record(Mark 3 options):
A. Current Owner of the record
B. A user with “Modify all” permission
C. A person who is lower in role hierarchy than the current owner
D. An user who can edit the record
E. A person who is higher in role hierarchy than the current owner
Ans:ABE

[192]In the statement below, controller refers to what type of controller? Select the one correct answer. <apex:page controller="AccountController">
A. Standard Controller
B. Custom Controller
C. Controller Extension
D. Specific Controller
Ans: B

[193]Which of the following represent correct syntax to display first name from global variable user? Select the one correct answer.
A. {User.FirstName}
B. {!User.FirstName}
C. $User.FirstName
D. {!$User.FirstName}
Ans:D

[194] Which of these is not a standard profile? Select the one correct answer.
A. Developer
B. Contract Manager
C. Read only
D. Solution Manager
Ans:A

[195] Name the language Force.com uses to support full-text search in objects. Select the one correct answer.
A. SQL
B. VisualForce
C. SOQL
D. SOSL
Ans:D

[196] Before a code can be deployed on production what percentage of test coverage must be achieved. Select the one correct answer.
A. 25%
B. 50%
C. 75%
D. 100%
Ans:C

[197] In Salesforce what is the maximum number of fields that can be added to an object? Select the one correct answer.
A. There is no such limit on the number of fields
B. 100
C. 200
D. 500
Ans:D

[198] How many characters are there in the Salesforce case-insensitive id field of an object? Select the one correct answer.
A. id field is not mandatory
B. The field length is customizable
C. This depends on the version of Salesforce
D. 18
Ans:D

[199] Name the prefix used by standard VisualForce markup tags. Select the one correct answer.
A. vf
B. apex
C. c
D. s
Ans:B

[200]Which of the following cannot be included in a VisualForce page? Select the one correct answer.
A. Java
B. JavaScript
C. HTML
D. Flash
Ans:A

Salesforce 2014 | SFDC Dev401 Dump4

1. Out of the following things which can be done using the Force.com platform? (Select two)
a. Data-warehousing
b. Applications with clicks and not code
c. Applications can be upgraded without loss of customization
d. Code version control system

Ans. b,c
2. Out of the following which applications are suitable for Force.com? (Choose three)
a. Time card application
b. Word processor
c. Online auction management
d. Inventory management

Ans. a,c,d
3. Where are Force.com IDs identical?
a. Production and full copy sandbox only
b. Production and dev sandbox only
c. Two developer orgs
d. Two sandbox org

Ans. a
4. Which of the following refers to the data model of Salesforce? (Choose 2)
a. Force.com API
b. Force.com metadata API
c. Sandbox
d. Force.com IDE

Ans. a,b
  1. What types of Salesforce edition are not available?
    a. Enterprise edition
    b. Unlimited edition
    c. limited edition
    d. Developer edition

    Ans. c
6. Which custom fields can be made universally required?
a. Formula
b. Lookup
c. E-mail
d. URL

Ans. c
7. How many master relationships can be there per detail object?
a. 1
b. 2
c. 3
d. 4

Ans. b
8. How many lookup relationships can be there per child?
a. 10
b. 20
c. 15
d. 25

Ans. d
9. Which of the following is NOT a step in creating a junction object?
a. Creating the custom object to serve as the junction object between the two master objects
b. Creating two Master-Detail relationships
c. Customizing the related lists on the page layouts of the two master objects
d. Creating two lookup relationships

Ans. d
10. An organization wants to use custom objects to track bugs. The organization wants the ability to link related bugs to parent bugs in a parent-child relationship. What type of relationship should be used?
a. Master-Detail
b. Self
c. Hierarchically
d. Many-to-many

Ans. b



11. 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.
a. TODAY() – DATEVALUE(CreatedDate)
b. NOW() – DATEVALUE(CreatedDate)
c. TODAY() – CreatedDate
d. CreatedDate – TODAY()

Ans. a
12. 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.
a. Install a database server
b. Configure an application using clicks not code
c. Deploy a web server
d. Administer and e-mail server

Ans. a,c,d
13. 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?
a. Master-Detail
b. Hierarchical
c. Lookup
d. Many-to-many

Ans. b
14. What is true about a junction object?
a. A custom object that has two Master-Detail relationships
b. A custom object that has a Master-Detail relationship
c. A standard object that has two Master-Detail relationships
d. A standard object that has a Master-Detail relationship

Ans. a
15. What is true about a cross-object formula field for a Master-Detail relationship?
a. You can only create a cross-object formula field on the parent object
b. You can only create a cross-object formula field on the child object
c. You can create a cross-object formula field on both the parent and child object
d. A cross-object formula field is not available for a Master-Detail relationship

Ans. b
16. What are the different custom tabs that you can create? Please select three (3) choices.
a. Web tab
b. Apex tab
c. Visualforce tab
d. Custom object tab
e. Standard object tab

Ans. a,c,d
17. 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 need to be consistent. What is the best option for implementing this?
a. Use a workflow to update the product automatically based on the product line
b. Create a validation rule using IF
c. Create a formula field to enforce the combination
d. Create a validation rule using VLOOKUP

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

Ans. a, c
19. Where do you change the hover detail?
a. Mini view
b. Page layout
c. Profile
d. Mini page layout

Ans. d
20. What layer of model-view-controller paradigm are standard or custom objects associated with?
a. View
b. Model
c. Controller
d. View and controller

Ans. b

21. What is a junction object?
a. Object with lookup relationship
b. Master detail relationship
c. Object with two lookup relationships
d. Object with two Master-Detail relationships

Ans. d
22. What field can be controlled by a translation workbench?
a. Rule criteria
b. Formula
c. Validation errors
d. Assignment rules

Ans. c
23. Object X has a lookup to object Y. Which of the following statements are TRUE? Please choose two (2).
a. Fields of both X and Y are accessible from object Y
b. Fields of object Y can be accessed from object X
c. Fields of both Y and X are accessible from object X
d. Fields of object X can be accessed from object Y

Ans. b,c
24. What are the components of the dashboard that use grand totals? Please choose two (2) items.
a. Chart
b. Metric
c. Table
d. Gauge

Ans. b,d
25. How do you highlight totals in a report?
a. Roll-up summary field
b. Formula field
c. Custom summary field
d. Summary totals

Ans. d
26. In a recruiting application a position that is of type critical should not be kept open for more than 14 days. How will you develop the business logic to cater to this?
a. Time-dependant workflow action to send an e-mail to the owner after 14 days
b. Time-dependant workflow action to send the record for review to owner after 14 days
c. Time-dependant workflow action to send an e-mail to the owner before 14 days
d. Time-dependant workflow action to close the position after 14 days

Ans. a
27. A job application object has a child review object to store candidate reviews. 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?
a. Create 5 fields for scores (1 to 5) of type radio-button and use it in review page layout
b. Create a dependent picklist that feeds the radio button type field
c. Create a formula field
d. Create a Visualforce page with radio buttons for the review object

Ans. d
28. 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?
a. Create lookup relationships between A,B and C
b. Create a custom report type with A, B and C, and use it in the report
c. Create a custom report with A and C fields as relationships already exist
d. Report cannot be created

Ans. b
29. An application was designed without considering whether requirements for reports include dashboards. Out of the following statements which one is TRUE?
a. The data model will support all the requirements of the application, including reports and dashboards
b. Reports are part of the application and application design will take care of it
c. No special considerations for reports or dashboards are required as Salesforce can natively take care of the requirements
d. The data model and the application will not cater for reports and dashboards

Ans. d
30. A recruiting application has a position object that contains location, department and other information relating to a position. We need to create a report that is grouped by department but not by locations. What is the best type of report a developer would choose?
a. Summary report
b. Tabular report
c. Matrix report
d. A report using Visualforce

Ans. a
31. In Master-Detail relationship scenario the fields of the parent object need to be displayed in the related list. How will a developer design this?
a. Cross-object formula field
b. Workflow rule
c. Validation rule
d. Assignment rule

Ans. a
32. In a Master-Detail relationship, what happens when the a record is deleted from the parent object?
a. Parent record alone gets deleted
b. Exception occurs
c. Parent and child record will not be deleted
d. All child records are deleted

Ans. d
33. What will cause the analytic snapshots run to fail? Please select three (3) choices.
a. The source report has been deleted
b. The target object has a trigger on it
c. The running user has been inactivated
d. The target object is a custom object
e. The source report is saved as matrix report

Ans. a,b,c
34. How does Salesforce enforce data access using role hierarchy?
a. Users are given access to the records owned by the users who are below them in the role hierarchy
b. Users are given access to the records owned by the users who share the same role in the role hierarchy
c. Users are given access to the records accessible by the users who are below them in the role hierarchy
d. Users are given access to the records accessible by the users who are above the role hierarchy

Ans. a
35. When you create a custom tab for a custom object, what are the features that are available by default? Please select two (2) choices.
a. Sidebar search object
b. Custom reporting
c. Recent Items
d. Ability to track activity

Ans. a,c
36. What are the data types that are supported by a formula field? Please select three (3) choices.
a. Text
b. Percent
c. E-mail
d. Currency
e. Phone

Ans. a,b,d
37. 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?
a. Master-Detail
b. Hierarchical
c. Lookup
d. Many-to-many

Ans. b
38. 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?
a. CreatedDate
b. IsDeleted
c. SysModStamp
d. UpdatedDate

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

Ans. a,b
40. When creating a sharing rule, what entities can data be shared to? Please select three (3) choices.
a. Public groups
b. Users
c. Roles
d. Roles and subordinates
e. Queues

Ans. a,c,d
41. How many characters are there in the Salesforce case-insensitive id field of an object? Select the one correct answer.
a. id field is not mandatory
b. The field length is customizable
c. This depends on the version of Salesforce
d. 18

Ans. d
42. Name the prefix used by standard VisualForce markup tags. Select the one correct answer.
1. vf
2. apex
3. c
4. s
Ans. 2
43. Which of the following cannot be included in a VisualForce page? Select the one correct answer.
a.Java
b.JavaScript
c.HTML
d.Flash
Ans. a
44. To create a new VisualForce page HelloWorld in development mode, which URL should be appended to server address? Select the one correct answer.
a./HelloWorld
b./vf/HelloWorld
c./apex/HelloWorld
d./home/HelloWorld

Ans. c
45. What is the maximum response size of a VisualForce page? Select the one correct answer.
a.1 MB
b.5 MB
c.15 MB
d.There is no limit on the size of a VisualForce page

Ans. c
46. What is the number of components that can be added to a dashboard? Select the one correct answer.
a.20
b.25
c.50
d.100

Ans. a
47. Which of these is not a valid report type. Select the one correct answer.
a.Summary
b.Matrix
c.Tabular
d.Detailed

Ans. d
48. Before a code can be deployed on production what percentage of test coverage must be achieved. Select the one correct answer.
a.25%
b.50%
c.75%
d.100%

Ans. c
49. In Salesforce what is the maximum number of fields that can be added to an object? Select the one correct answer.
a.There is no such limit on the number of fields
b.100
c.200
d.500

Ans. d
50. When designing an application, a developer needs to make a field editable to all profiles. In field level security what settiings should be used in this situation. Select the one correct answer.
a.Disable Visible and Read-Only
b.Disable Visible but Enable Read-Only
c.Enable Visible but Disable Read-Only
d.Enable Visible and Read-Only

Ans. c
51. 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.
a) Approve or reject based on the first response.
b) Require unanimous approval from all selected approvers…
c) Require majority approval from all selected approvers
d) Require x out of y approval from all selected approvers

Ans. a,b
52. 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?
a) Lock the record from being edited
b) Send an email to a designated recipient
c) Delete the record…
d) Update a field on the record

Ans. c
53. Which of the following cannot be used on a User Page Layout? Please select two (2) choices.
a) Tags…
b) Links
c) Buttons…
d) Custom Fields
e) Inline Visualforce

Ans. a,c
54. An organization wants to leverage the import wizards to import different types of data. What type of data cannot be imported through the wizard?
a) Accounts and Contacts
b) Leads
c) Custom Objects
d) Users…

Ans. d
55. 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?
a) Create a lookup relationship between positions and salaries; define public access on position and private access on salary
b) Create a master-detail relationship between positions and salaries; define public access on position and private access on salary.
c) Create a master-detail relationship between positions and salaries; define private access on position and create sharing rules on salary.
d) 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.

Ans. a
1. How do you highlight totals in a report?
a. Roll-up summary field
b. Formula field
c. Custom summary field
d. Summary totals

Ans. d
56. In Master-Detail relationship scenario the fields of the parent object need to be displayed in the related list. How will a developer design this?
a. Cross-object formula field
b. Workflow rule
c. Validation rule
d. Assignment rule

Ans. a
57. When you create a custom tab for a custom object, what are the features that are available by default? Please select two (2) choices.
a. Sidebar search object
b. Custom reporting
c. Quick create
d. Ability to track activity

Ans. a,c
58. When creating a sharing rule, what entities can data be shared to? Please select three (3) choices.
a. Public groups
b. Users
c. Roles
d. Roles and subordinates
e. Queues

Ans. a,c,d
59. Select the Salesforce.com edition that is NOT available today.
a. Professional
b. Unlimited
c. Enterprise
d. Premium

Ans. d
60. Within a custom recruiting application, Universal Containers uses a custom position object to track positions. Positions expire 90 days after they have been approved. A Workflow Rule is in place to send an email to the hiring manager listed on a position 15 days before the expiration date. What will happen if the expiration date of a position is extended by 30 days?
A. An email will be sent 15 days before the original expiration date.
B. An email will be sent 15 days before the updated expiration date.
C. An email will be sent on the original expiration date.
D. An email will not be sent.

Ans. b
61. A developer wants to ensure that when a parent record is deleted, child records are not deleted. Which relationship should the developer choose?
A. Lookup.
B. Master-detail
C. Many-to-many
D. Master-to-master

Ans. a
62. Which statement is true about a custom tab?
A. It can only be included in one application.
B. It can only be included in standard applications.
C. It can be included in as many applications as desired.
D. It can only be included in custom applications.

Ans. c
63. When would a developer use upsert and external IDs? (There are two correct answers.)
A. To integrate with an external system.
B. To migrate customizations from sandbox to production.
C. To load related records without knowing Salesforce record IDs.
D. To use the Web Services API to query for data.

Ans. a,c
64. A group of executives has requested a convenient way to see daily metrics without having to log in to Salesforce. How would a developer accomplish this goal?
A. Set the users’ home page layouts to include a dashboard.
B. Create a Workflow rule that sends a link to the dashboard in an email.
C. Schedule the dashboard for daily refresh and email distribution.
D. Create a series of daily recurring events providing the dashboard link.

Ans. c
65. A customer has a requirement to filter columns in the related list. As a developer how will you accomplish this?
a. Use the filter option in the related list section of the page layout
b. Use the filter option in the related list section of the mini page layout
c. Use the filter option in the detail page layout of the related list object
d. Build a Visualforce component with a filter to replace the related list section of the page layout

Ans. d
66. A recruiting application has a position object that contains location, department and other information relating to a position. We need to create a report that is grouped by department but not by locations. What is the best type of report a developer would choose?
a. Summary report
b. Tabular report
c. Matrix report
d. A report using Visualforce

Ans. a
67. An application was designed without considering whether requirements for reports include dashboards. Out of the following statements which one is TRUE?
a. The data model will support all the requirements of the application, including reports and dashboards
b. Reports are part of the application and application design will take care of it
c. No special considerations for reports or dashboards are required as Salesforce can natively take care of the requirements
d. The data model and the application will not cater for reports and dashboards

Ans. d
68. 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?
a. Create lookup relationships between A,B and C
b. Create a custom report type with A, B and C, and use it in the report
c. Create a custom report with A and C fields as relationships already exist
d. Report cannot be created

Ans. b
69. 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 need to be consistent. What is the best option for implementing this?
a. Use a workflow to update the product automatically based on the product line
b. Create a validation rule using IF
c. Create a formula field to enforce the combination
d. Create a validation rule using VLOOKUP

Ans. d
70. In the statement below, controller refers to what type of controller? Select the one correct answer. < apex:page controller="AccountController">
a Standard Controller
b Custom Controller
c Controller Extension
d Specific Controller

Ans. b
71. Which of the following represent correct syntax to display first name from global variable user? Select the one correct answer.
a. {User.FirstName}
b. {!User.FirstName}
c. $User.FirstName
d. {!$User.FirstName}

Ans. d
72. Which of these is not a standard profile? Select the one correct answer.
a. Developer
b. Contract Manager
c. Read only
d. Solution Manager

Ans. a
73. Name the language Force.com uses to support full-text search in objects. Select the one correct answer.
a. SQL
b. VisualForce
c. SOQL
d. SOSL

Ans. d
74. Before a code can be deployed on production what percentage of test coverage must be achieved. Select the one correct answer.
a. 25%
b. 50%
c. 75%
d. 100%

Ans. c
75. How can you create Many to Many relationship in salesforce.com ?
A.Create a direct Many to Many relationship
B.Use a junction Object
C.Use a piece of code to relate both objects
D.Not Possible to create Many to Many relationship in salesforce.com

Ans. b
76. Can Dashboard Components be retrieved from Recycle Bin on deletion ?
A.Yes
B.No

Ans. b
77. How many external Id’s are allowed on an object ?
A.1
B.2
C.3
D.4

Ans. C
78. What can not be done with the profiles ?
A.Control the tab access
B.Set the CRUD permissions
C.Give access to records by modifying the record types
D.Control password settings

Ans. C
79. Which functionality is NOT available on the Custom Object ?
A.Validation Rules
B.Assignment Rules
C.Workflows
D.Record Types

Ans. b
80. Which of the following can be done by the Pagelayout Editor ?
A.Make a Field Mandatory
B.Make a Field Read-Only
C.Both A & B
D.None of Above

Ans. c
81. Which of the following is not allowed ?
A.Master (Custom object) and Detail (Standard object)
B.Master (Custom object) and Detail (Custom object)
C.Look Up between (Standard object) and (Standard object)
D.Look Up between (Standard object) and (Custom object)

Ans. A
82. How many different Master – Detail relationships can exist on the detail object side ?
A.1
B.2
C.3
D.4

Ans. B
83. What happens when a parent record is deleted in the Parent Child model having a Lookup Relationship between Parent - Child Objects ?
A.Child records are also deleted
B.Shows an error
C.Cant delete the record
D.Child records are not deleted

Ans. d
84. Can Data Loader be run through the Command Line ?
A.Yes
B.No

Ans. A
85. Which of the following can not be done via Workflow ?
A.Create a Task
B.Create an Event
C.Create an Email Alert
D.Create an Outbound Message

Ans. b
86. Roll Up Summary fields work in which kind of relationship ?
A.Many to Many Relationship
B.One to One Relationship
C.Master - Detail Relationship
D.Lookup Relationship

Ans. c
87. Which functionality cannot be achieved by final rejection action in an Approval Process ?
A.Change the status of a field to “Rejected”
B.Send an email notification
C.Unlock the record
D.Delete the Record

Ans. D
88. Which feature is used to Report on Historical Data ?
A.Reports
B.Dashboards
C.Analytical Snapshot
D.Mobile Lite
E.Entitlements

Ans. C
89. Folders are used in Salesforce.com to store ?
A.Reports, Dashboards, Documents and Email templates
B.Reports, Dashboards and Documents
C.Dashboards, Documents and Email templates
D.Reports and Dashboards

Ans. A
90. Standard fiscal years can start on the first day of any month of the year ?
A.True
B.False

Ans. A
91. The organization IDs of your sandboxes remain same each time your sandbox is refreshed
A. TRUE
B. FALSE

Ans. B
92. An opportunity can have only one primary partner
A. TRUE
B. FALSE

Ans. a
93. Which of the following is not a correct statement?
A. Tags can be enabled by enabling Tags permission for the Organization
B. Tags can be enabled by enabling Tags permission for the Profiles
C. Tags can be added on the Records
D. Tags can be accessed from the Sidebar component

Ans. b
94. Encrypted fields are editable regardless of whether the user has the “View Encrypted Data” permission.
A. True
B. False

Ans. A

Friday 18 July 2014

Relationships in Salesforce

Types of Relation ships in Salesforce:

 There are 3 types of Relation ships in Salesforce

1. Self Relation ship

2. One - to - Many Relation ship

     i) Master - Detail Relation ship

     ii) Look up Relation ship

3. Many - to - Many Relation ship


1. Self Relationship: If we are creating relation ship with the same object then that relationship is called as "Self Relation ship".

Ex: Student - custom object

i) Set up -> Build -> Create -> Objects -> Click on "Student" object -> Go to "Custom Fields & Relationship" section -> Click on "New"

ii) Select data type as "Look up Relationship " -> Select the object as "Student" and click on "Next"

iii) Finally "Save" it

2. One - to - Many Relationship:

Master - Detail Relationship:

i) If we delete record in the master object the corresponding child records will also deleted.

ii) The detail(child) record will not have the standard "Owner field" to change the owner of that record.

iii) The owner of the "Master" record will be the owner of "Detail" record.

iv) Sharing settings of "Master" object will be applicable to the "Detail" Object.

v) The master field is "Mandatory" field. With out giving value if we are trying to save the record,it will show the error message.

Eg: DepartmentNew - Custom Object (Master Object)

      EmployeeNew - Custom object (Detail Object)


Roll up Summary Field:

This data type is enabled only for the "Master Object"

If any custom object is acting as "Master object" to any other custom object. Only for that "Master object" this data type is "Enabled".

Roll summary field is a read only field. This is enable only for master object. With the help of roll up summary field we can know the count,sum,min & max of related list records.

count

max

min

sum

Only for the "DepartmentNew" object this "Roll up summary field" will be enabled.

Set up -> Build -> Create -> objects -> Click on the Master object(Eg:Deparment MD) -> Custom fields & Relation ship section -> New -> Select "Roll up summary field" -> Next -> Select object name in the "Summarized object" -> Choose the function -> Next -> Save.


Limitations of Master Detail Relation:

For one custom object, we can create only 2 Master-Detail relation ship with objects.

For one custom object,  we can create 20 look up relation ship with other object.

  i) 2 Master - details relation ship with other objects

  ii) 25 Look up relation ship with other objects.

Look Up Relationship:

i) This field is "Optional" field. With out giving value also we can save the record. It wont display the error message.

3. Many - to - Many Relationship:

To acheive many - to - many relation ship between two objects we have to create one intermediate object that object called as  "Junction object".

Steps to Many - to - Many Relationship:

i) Students
ii) Courses

Want to create Many - to - Many Relation ship between students and courses at that we need an intermediate object to achieve this relation ship. That intermediate object will call as  "Junction Object".
iii) Studying - Custom object (Through this acheiving Many-to-Many R.S between Students & Courses)

 i) set up ->  Build -> Create -> Objects -> Click on "Studying" object -> Click "New" in Custom Fields & Relationship section ->  Select Master-Detail Relation ship data type -> Next -> Select "Students" in the drop down -> Next -> Next -> Save

 ii) set up ->  Build -> Create -> Objects -> Click on "Studying" object -> Click "New" in Custom Fields & Relationship        section ->  Select Master-Detail Relation ship data type -> Next -> Select "Courses" in the drop down -> Next -> Next -> Save
 
 2 fields:

    i) Master - detail relation ship (Student) - Primary relation ship

    ii) Master - detail relation ship ( Courses) - Secondary Relation ship

Create Roles, Profiles, Users and Permission Sets

Roles, Profiles, Users & Permission Sets:

Roles: Role is nothing but designation in the organization.

Eg: Team Lead, Cashier

Creating Roles:

Set up -> Administer  -> Manage users -> Roles -> Set up Roles -> Add Role -> Enter the Role name.

Profiles: In the profile we will give the permissons for the customs applications,custom objects, administrative permissions , general permissions and tab visiblity.

The following settings will do in the profile:

1) Custom App Settings: Giving Permissions for the custom applications.

2) Stadard tab Settings 

3) Custom Tab Settings

  1) Default On : The tab will displayed ON,means displayed bydefault after logging on.

  2) Default off: The tab is not displayed in the home landing page.

  3) Tab Hidden: The tab will be hidden.

4) Administrative permissions:

5) General User Permissions

6) Standard object Permissions

7) Custom Object Permissions

Creating Profile:
Setup -> Administer  -> Manage Users -> Profile -> New Profile -> Select any existing profile in the above drop down (Eg: Standard Platform user) -> Enter the profile name.

Eg: "My Custom Profile" -> created one profile

Creating User:

 1) Role :  Project Manager

 2) Profile: My Custom Profile

Set up -> Administer -> Manage Users -> Users -> New User -> Enter all the mandatory fields values -> Save

Thursday 17 July 2014

Salesforce Interview Questions | Apex | Visualforce

1. In Data loader using upsert operation can u do update a record if that record id is already exist in page and if updated that record then can u update 2records with having same id and if not updated 2 records then wat error message is given?

It is not possible to update records with same id in a file usin upsert operation. It will throw "duplicate ids found" error.

2. One product cost is 1000. It is stored in invoice so once if change the cost of product to 800 then how can i update it automatically into a invoice?

We can achieve this using triggers or through relationship among objects.

3. One company is having some branches and all branches having different departments. So, now I want to display all departments from all branches in a single visualforce page?

Using subquery we can fetch all the required data and we can display it in VF page.

4. Can you please give some information about Implicit and Explicit Invocation of apex?

Triggers - Implicit

Javascript remoting - Explicit

5. what is apex test execution?

Exectuing apex test classes.

6. In an apex invocation how many methods that we can write as future annotations?

10

7. Can you please give some information about Implicit and Explicit Invocation of apex?

Triggers - Implicit

Javascript remoting - Explicit

8. what is apex test execution?

Exectuing apex test classes

9. I have an account object, I have a status field which has open and completed checkboxes, when ever I click on completed, I want an opportunity to be created automatically. Through which we can achieve in salesforce?

Triggers.

10. What are workflows and what actions can be performed using workflows?

Workflows are used for automation.
Field Update
Outbound Messages
Email Alert
Task

11. In an apex invocation how many methods that we can write as future annotations?

10

12. Write a query: I have 1 parent(account) and 1 child(contact),how will you get F.name,L.name from child and email from the account when Organization name in account is "CTS"?

SELECT Email, (SELECT F.Name, L.Name FROM Contacts) WHERE Name = 'CTS'.

13. what are workflow actions?

Field Update
Task
Email Alert
Outbound Message

14. What are outbound messages?what it will contain?

In outbound message contains end point URL.

15. What is External id? primary id?

External id is unique to external application.
Primay id is unique to internal organization.

16. Data loader?and which format it will support?

Data loader is a tool to manage bulk data. It will support .csv format of Excel.

17. How import wizard will not allow the duplicates? 

Using external id.

18. What are validation rules?

Used to maintain data format.

19. Ajax Components in V.F?

apex:actionPoller, apex:actionFunction, apex:actionSupport, etc.

20. Salesforce sites?

Used to show data from our organization for public view.

21.Auto-response rules and Escalation rules(for which objects are mandatory)?

Case and Lead.

22.Difference between REST and SOAP API'S?

Varies on records that can be handled.

23. What is creating debug log for users?

Track code.

24.   How cases are created?

Email to Case and Web to Case

25.   What is after undelete?

While retrieving from recycle bin

26.   Will Trigger.new supports --->Insert,,,Will Trigger.Delete supports --->Delete

Yes.

27.   What is Inline visualforce page?

Having vf page in pagelayout.

28.   If is child is mandatory field in lookup and I m deleting Parent,will child get deleted?

No.

29.   Junction object? when will we use? If we delete the junction object what will happen?

For many to many relationship.

30. Can we have V.F pages in page layout?

Yes.

31. How to create standard object as child to custom object(which is not possible thru standard away process,have to bypass this restriction)?

Create Lookup and make the lookup field mandatory.

32. In a visual force page the save should ensure the data to be be stored in current object as well as associated child object?

We have to use Database.SavePoint and Database.Rollback for this situation.

33. what is audit field,what is the purpose of audit field?

Created By, Created Date, Last Modified By and Last Modified Date are audit fields. Used to track when the changes are done to the records.

34. what we need to do for extending the limit of creating only 2 M-D relationships for custom object?

Create Lookup and make the lookup field mandatory.

34. How to write java script code for save button?

We have to create custom button and in that custom button we have to write Java script code.

35. What are the attributes of apex tag?

Attribute tag is used in creating components.

36. How to insert value to a parent and child element at the same time?

Use triggers.

37. How to make pick-list as required (thru java script)?

We have to create custom button and in that custom button we have to write Java script code to check whether the picklist value is null.

38. What is the Difference between Ajax and ActionPoller?

ActionPolleris a timer that sends an AJAX update request to the server according to a time interval that you specify.

39. When a case is generated by an user through web to case,how or where a developer will provide solution case arised?

Email notification through trigger or through email alert Workflow rule.

40.what is the use of interfaces(in apex classes)?

An interface is like a class in which none of the methods have been implemented—the method signatures are there, but the body of each method is empty. To use an interface, another class must implement it by providing a body for all of the methods contained in the interface.

Interfaces can provide a layer of abstraction to your code. They separate the specific implementation of a method from the declaration for that method. This way you can have different implementations of a method based on your specific application.

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_interfaces.htm

41. I have added an string 'updated' to all users in Account object through batch apex,now how to remove that 'updated'?

Run the below code in developer console

List<Account> acc =[SELECT Id, Name FROM Account];
for(Account a : acc)
{
    a.Name = a.Name.removeEnd('Updated');
    update a;
}

42. What are workflows and what actions can be performed using workflows?

Workflows are used for automation.
Field Update
Outbound Messages
Email Alert
Task

43. What are types of workflows?

Immediate Workflow Actions
Time-Dependent Workflow Actions

44. Can you tell me what is time based workflow?

Time Based workflow will be triggered at what time we define while creating the Time-Dependent workflow rule.

45. Can you give me situation where we can you workflow rather than trigger and vice versa?

If you want to perform any action after some action, we can go for Workflow Rule.
If you want to perform any action before and after some action, we can go for Trigger.

46. Lets say I have a requirement whenever a record is created I want to insert a record on some other object?

Triggers can be used for this.

47. Whenever a record is inserted in contact I want insert a record in opportunity as well, we can’t do it with workflow right how would you do it with trigger?

We can get the Account Id from the Contact and we can create an Opportunity under the Account.

48. What is the difference between trigger.new and trigger.newmap?

Trigger.new can be used in before and after operations.

Trigger.newMap can be used in after insert and after and before update.

49. Can you tell me what is the difference between apex:actionfunction and apex:actionpoller? Is there any way that we can do the same functionality of apex:actionpoller do?

apex:actionPoller is used to call an Apex method for the interval of time specified.

apex:actionFunction is used to call Apex method from Javascript.

Using setTimeOut in Javascript, we can achieve apex:actionPoller functionalities. 

50. You have VF page and whenever you click a button it should go to google,so how would you do that?

Use pageReference and give the google URL in that.

51. I have an opportunity object, which is having two values like open and close,i have a workflow rule,if a particular object is in open status,it should be updated to close and if status is close it should be updated to open,how should salesforce behave. what would happen to record,how would salesforce behave here?

It causes looping error.

52. I have an account object, I have a status field which has open and completed checkboxes, when ever I click on completed, I want an opportunity to be created automatically. Through which we can achieve in salesforce?

Triggers.

53. Can you brief me about salesforce module flow?

Sales processes include quote generation, tracking opportunity stages, updates on close dates and amounts and won opportunities.

54. How many records can be retrieved by List data type if the page attribute in readonly?

10,000.

55. Can you tell me about Rollup summary field ?

Rollup Summary field can be created in Master detail relationship alone.

Rollup Summary field should be created on master object.

Rollup Summary field is used to find

Sum
Count
Min
Max
of the child records.

56. Can you tell the difference between Profile and Roles?

Profiles are used for Object level access settings.

Roles are used for Record level access settings.

57. What are permission sets?

Permission Sets are used to extend Profile permissions.

58. Can you override profile permissions with permission sets(i have defined some permissions in profile,i am trying to use permission sets for the same object,can i override permissions for a particular object in the permission sets over to the profile?

No. Permission Sets are used only to extend the Profile permissions. It never overrides.

59. I want to have read/write permission for User 1 and read only for User 2, how can you acheive?

Create a Permission Set with read/write and assign it to User 1.

60. Can you tell difference between Profile, OWD or a Sharing Rule?

Profile: Profile is used for object level access. It is used to provide CRUD(Create, Read, Update and Delete) permission.

OWD: OWD is used for record level access for all the users across Organization. It is used to provide Public Read Only, Public Read/Write, Private, Public Read/Write/Transfer(Lead and Case Objects alone).

Sharing Rule: Sharing Rules is used to extend Role Hierarchy.

61. What is the role hierarchy?

Role Hierarchy states that higher hierarchy person can see lower hierarchy person records.

62. I have an OWD which is read only, how all can access my data and I want to give read write access for a particular record  to them, how can i do that?

All users can just Read the record.

Create a Sharing Rule to give Read/Write access with "Based on criteria" Sharing Rules.

63. What is the difference between role hierarchy and sharing rules? will both do the same permissions ?

Role Hierarchy states that higher hierarchy person can see lower hierarchy person records.

Sharing Rule is used to extend Role Hierarchy.

64. What is on-Demand process ?

On-demand process is nothing but "pay for what you use" policy.
We can subscribe to what we want and pay-as-you-go model.

65. Can we create 2 opportunities while the Lead conversion?

Yes using Apex code.

66. User1 is associated with profile "P". If i create a permission set and assign it to User1, now will the Permission sets which we assigned overrides the existing profile "P".

No. Permission set is always used for extending the profile permission. It's not used to override the Profile permissions.

67. Is there is any alternative for the "ActionPoller"?

Using SetTimeout in Javascript and calling the apex method using apex:actionFunction.

68. While inserting a new record with Before Insert. What would be the values in "Trigger.new" and "Trigger.newmap"?

In trigger.New, new record values will be there.
Trigger.newMap will be empty.

69. What is the difference b/w Trigger & Workflow?

Triggered can be fired before or after some operation.

Workflow cab be fired only after some operation.

70. What are the actions used in Workflow?

Email Alert
Field Update
Task
Outbound Message

71. Say About Visual force page?

Using VF tags we can develope visualforce pages.

72. What is meant by Rendered & Re-render attribute in VF ?

Rendered is used decide whether to display or hide the VF elements.

Re-Render is used to refresh the VF elements.

73. What is meant by Standard Controller & Controller?

In standard controller we can refer Standard and custom objects.

In Contoller we can refer Apex class.

74. What are the different types of Cloud in SF?

Sales cloud
Service cloud

75. In which object Roles are stored?

UserRole

76. In which object workflows are stored?

Workflow

77. In which object Roles are stored?

UserRole 

78. What is an alternative for workflow?

Trigger or Schedule apex.

79. What is the use of isNew()?

Checks whether the record is newly created.

80. If you organization Workflow's limit is over and if you want to write a workflow immediately and it it critical, what will you do?

1. De-activate any workflows and create it using trigger and then do the new workflow.
     or
2. Go for Schedule apex or trigger to achieve this workflow.

80. How many users have you supported?

Number of users in the Salesforce organization. It helps the recruiter to understand your scalability.

81. In which object all Approval process are stored?

Approval

82. In which object all email templates are saved?

EmailTemplate

83. In which object all Account Team Members are added?

AccountTeamMember

84. In which object all salesforce objects are saved?

sObject

85. In which object all Opportunity Team Members are added?

OpportunityTeamMember

86. In Which object all Apex Pages are stored?

ApexPage

87. In Which object all Apex Triggers are stored?
 
ApexTrigger

88. In Which object all Apex Classes are stored?

ApexClass

89. Where Products are added?

Product2

90. In which object workflows are stored?

Workflow