Salesforce Answers, Salesforce Interview Question – part 6

Download Free Salesforce Training Materials with Realtime Scenarios

Salesforce Answers, Salesforce Interview Question.

Salesforce Questions and Answers.

Huge number of candidates are searching for Salesforce Interview Questions and Salesforce Answers. Every candidate can download Salesforce answers and questions in PDF format in Crmsalesforcetraining.com. Download latest Salesforce interview questions, sfdc interview question asked in different companies here.

61. How to merge duplicates without going for third Party tools?

Click on the Tab and go to Tools section, we can find the Merge option.

62. How many ways we can do deployment?

There are three ways to do deployment.

  1. By using change Sets.
  2. By using Force.com IDE tool(Eclipse).
  3. By using Force.com Migration toolkit.

63. What is the best practice you are using while coding?

  • Bulkify your code: Bulkifying Apex code refers to the concept of making sure the code properly handles more than one record at a time. When we try to load the link of the records using the Data Loaders, then we make sure that code will satisfy.
  • Avoid SOQL Queries inside For loops: When queries are placed inside a for loop, a query is executed on each interaction and the governor limit is easily reached. Instead move the SOQL query outside of the for loop and retrieve all the necessary data in a single query.
  • Avoid Multiple Triggers on the Same Object: Write the Single Trigger on the each object and write the logic in the classes and call that classes in the triggers.
  • use of the Limits Apex Methods to avoid Hitting Governor Limits.
  • Avoid hardcoding IDs.

64. What is the MVC design pattern in Salesforce.com?

Model View Controller (MVC) design pattern is the one of the most popular design pattern which contains three modules.

  1. Model.
  2. View.
  3. Controller.
  • Model: What Schema and Data does salesforce uses to represent the system completely. In Salesforce, we can say that sObject are the model.
    • Example: Sobjects, Apex Classes.
  • View: How the Schema and data is represented. Visualforce is used to present the data to users.
    • Example: Pages, Components.
  • Controller: How the interface actions. Controllers are used to perform the actions whenever users interact with Visualforce.
    • Example: Standard, Custom(Apex).

65. How many records we can display in the particular report?

Any number of records.

66. What are the data components in the Dashboards?

The following are the Data Components in the Dashboards.

  1. Horizontal Bar Chart.
  2. Vertical bar Chart.
  3. Line Chart.
  4. Pie Chart.
  5. Donut Chart.
  6. Funnel Chart.
  7. Gauge Chart.
  8. Metric.
  9. Table.

Note: The Components of the Dashboard that use the Grand Totals is Metric and Gauge.

67. How to call method in VF page?

We have a attribute called action in the <apex:commnadbutton> tag in the VF page.

<apex:commandButton action=”{!save}” value=”Save” id=”theButton”/>.

68. How much code coverage we can do for a Test Class?

  • 75%.

69. What is the Formula Filed?

A read-only field that derives its value from a formula expression which we define. The formula filed is updates when any of the source field change.

70. Mention the names of Standard Controllers?

  • Accounts.
  • Contacts.
  • Opportunities.
  • Leads…etc.

80. What are the actions in Workflow?

  • Tasks.
  • Email Alert.
  • Field Update.
  • Outbound Message.

81. Can we delete a record using the Workflow?

  • No.

82. What is the validation Rule?

  • Validation rule verify that the data a user enters in a record meets the standards we specify before the user can save the record.
  • Validation rule also included the error message to display to the user when the rule returns a value of the true due to an invalid value.

83. If we don’t have 75%code coverage, can we move it from one sandbox to another sandbox?

Yes, we can move a class from one Sandbox to another sandbox. But if we want to move a class from sandbox to environment we need to have a Test Class with a minimum of code coverage should be 75%.

Bookmark our website to check salesforce answers, Salesforce FAQ in 2014, Salesforce FAQ in 2015, Salesforce answers and FAQ, Salesforce answers, Salesforce interview questions for admin, Salesforce interview questions for developers.