Salesforce 100+ Freshers Interview question


1. Custom permission set

2. Permission set group

3. Are Page layout and record type in permission set?

4. Permission set has read, profile has crud – what will be access to user

5. Apex sharing 

6. Can user, queues  be added to assignment rules

7. Can we deploy new profile or need to create first in org

8. Why we cannot add formula rule to Criteria based sharing rule

9. A component can be seen by 1 user but not by other. What to do configuration wise.

10. How to create roll-up summary field in account object for count of number of contacts.

11. How lead is converted in opportunity.

12. What is the difference between Account member and opportunity member?

13. Types of different approval process.

14. What is Hierarchical approval process.

15. What is bucket field.

16. If I want to calculate summary in row as well as in column, then which report will used.

17. Lots of scenario on Sharing and security.

18. Difference between role and profile.

19. What is OWD.

20. How sharing will achieve by development.


21. What is the difference between flow, workflow, and process builder?

22. How to track different value of a picklist.

23. How to hide field from a user.

24. How trigger is different from the flow.

25. What are the events and context variable in trigger?

26. Trigger to calculate roll-up summary.

27. Aggregate query

28. write a query to display the list of contacts of account.

29. Write a query to display the zero contact account.

30. Best practices of trigger.

31. Flow of execution.

32. How to handle recursive trigger.

33. What is mix dml error.

34. How to send email for successful and failure job to the user in batch apex.

35. How to invoke batch class, write syntax.

36. Write batch class code.

37. Write Queueable class and syntax how to invoke Queueable class.


38. How to pass parameters in Queueable class.

39. What is database.statefull.

40. What is the difference between Insert and Database.Insert.

41. Best practices of test class.

42. How to avoid mix dml error using test class.

43. Use case of wrapper class.

44. Bundle of lighting.

45. How to call lightning page in visual force.

46. Bubble and capture phase.

47. How to avoid propagation of event in one of the components.

48. What are the events.

49. How to create community page.

50. Write code for firing trigger from the lightning component page.

51. Write code for registration of event, firing of event, handling of event.

52. What is callouts and callin

53. Steps of integration using connected apps.

54. What is remote site settings

55. What is third party url.

56. Write code to create callouts.

57. What are user credentials where it is stored.

58. Managed and unmanaged package.

59. Best practices of future class.

60. What is global action in lightning

61. Lightning flow.

62. How components are communicate with each other.

63. How to avoid writing SOQL inside for loop?

64. What are sharing rules?

65. Explain with sharing and without sharing.

66. How to test REST API?

67. Soql injection.

68. When to use dynamic SOQl and when to use static SOQL?

69. How to handle time-out error?

70. Let’s say in Apex you have multiple DML calls like update opportunity then you update Account and then you update contact, but it fails on contact so you want to undo the update on Account and opportunity how do you implement that?

71. How to undeploy metadata?

72. Wrapper class and its uses.

73. How do you call the Apex method from a lightning web component?

74. What is indirect lookup, external id, external lookup


75. If we want to show data in salesforce from an external system, without adding data in salesforce and without use of API. What we will use.

76. If we want to show data of top 10 products from amazon in Salesforce, and data cannot be saved in Salesforce, also data changes frequently then what can be done. 

77. If class has 74.5 % coverage then how can you increase 0.5% coverage without modifying test class.

78. Explain how to create user for portal

79. Which is created first contact or user

80. Explain SSO, Identity provider, Service Provider, SAML

81. Name the app exchange apps you have used

82. Ways to resolve heap size issue

83. Explain FLS in Lightning Data Service

84. What is flexipage

85. What is difference between global and quick action

86. What is record type and page layout

87. How is sharing object created for particular object. What is the consideration.

88. Can we create workflow or process builder on contact role object?

89. Difference between flow and workflow?

90. Which fields are indexed by default in Salesforce?

91. What are the limitations of a Time-dependent Workflow?

92. How to set the Login Hours and Login IP ranges for the users in Salesforce?

93. What are the available portals in Salesforce?

94. Public groups vs queues

95. In order of execution which is executed first, process builder or workflow

96. In order of execution which is executed first, approval process or workflow

97. What are getter methods and setter methods?

98. What is a bucket field in reports?

99. If we reparent in the object will the parent update?

100. What will happen if we undelete junction object and normal object from recycle bin?

101. In case of Master-Detail relationship, on Update of child record can we update the field of Parent record using workflow rule?

102. Explain allow reparenting?


103. How to trigger Sharing rule of Formula field?

104. IF the class with “With sharing” is calling method of another class with “Without sharing” what will happen?

105. You are having a requirement to pass value from one component to other component which are not related but a part of same application which type of event you will use?

106. What will you do if a method inside apex class need to be executed only when it is getting called from trigger?

107. Why are Visualforce pages served from a different domain?

108. Explain skinny table. What are the considerations for Skinny Table? 

109. How to handle comma within a field while uploading using Data Loader?

110.


How to get the UserID of all the currently logged in users using Apex

111. What are the three types of bindings used in Visualforce? What does each refer to?

112. Which factors can cause data loss in Salesforce?

113. What is Apex Email Service?

114. Get value from zip file in aura?       

115. Give Example of a toast message in aura?

116. How to handle error in LWC when data is coming from apex class?

117. Difference between having and where clause in SOQL

118. How to Delete/Disable an Apex trigger in Production?

119. What is activity timeline on detail page?

120. Which objects can be accessed by test methods?

121. Can test method send emails?

122. Can test method make callout to external service?

123. What is the result of SOSL search in test class?

124. What is use of  Test Suite

125. What should be the access modifier for test class?

126. How to Debug Process Builder

127. I have a use case to call more than one Queueable Jobs from a Batch apex, how can I achieve it?

128. Explain use of Hierarchical custom settings