Skip to main content

Posts

Showing posts with the label interview question

Latest Post

How to Set Up Two-Factor Time-Based One-Time Password (TOTP) Authentication on iPhone Without Third-Party Apps

Unlocking an additional layer of safety to your iPhone is less difficult than you might suppose. With Two-Factor Time-Based One-Time Password (TOTP) authentication, you may bolster your device's protection and other website safety without relying on 1/3-party apps. Here's how you could set it up:

Sharing rule for same profile and same role users and skinny table

 Question: What should you do if 2 users have profile "Profile A" and role "Role A".  In OWD settings "Opportunity" has private access. Now the requirement is one user A should have all opportunity read/write access of User B's opportunity. Answer:-  1.  Create a public group                   2. Create a sharing setting based on criteria OR based on Role. whatever best matches your requirement.                   3. Give access( Read/write ) based on Requirement. Question:  We have a class with sharing and this class has Method1() .  Someone call Method1() from without sharing class . What will happen? Answer:   Sharing rules will be enforced.  Question : What is the skinny table in salesforce? Answer :- Skinny table contains frequently used fields to avoid joins. This is mainly for performance. salesforce creates t...

Salesforce Random Interview Questions Part-3

  Random Salesforce Interview Questions 1:-   What are junction objects in salesforce? Ans:- Junction objects are objects having TWO master-detail relationships. For Example:- A Candidate can apply for different positions and a position can have many candidates in job posting application. 2:-   What is a platform event and why we use it? Ans:-  Platform event are events those shows changes. Publish and subscribed model works here. Any changes that happened in salesforce will be reflected in another system in real-time. EventBus class is in salesforce that contains methods to publish events ( eventbus.publish( ) ). 3:-   What is Queueable Apex ? Ans:- Basic use of Queueable apex to control asynchronous apex process. Using this we can add jobs to the queue. System.enqueueJob that returns ID Using this ID we can monitor jobs. // Class   public class FirsRun implements Queueable{     public void execute ( QueueableContext context ){    ...

Salesforce Random Interview Questions Part-2

  Random Salesforce Interview Questions 1:-   What is the batch size in salesforce? Ans:- Minimum 1, Maximum 2000, Default 200. 2:-   Is it possible to run future from batch class? Ans:- No. it will give FATAL ERROR . 3:- How to track if any update happens in an external server? and it should reflect in the salesforce also. Ans:- Use External ID and perform Upsert operation. 4:- How to Navigate in lightning? Ans:- Using Lightning: Navigation. 5:- How to Create a popup in lightning? Ans:- Using lightning:overlayLibrary. 6:- Which interface should we use for quick action in lightning? Ans:-  force:lightningQuickAction. 7:- How to call the child component method from the parent component? Ans:- Using aura: method. 8:-  Types of events in lightning? Ans:- 1 . Component Event (handled by the component or a component that instantiates or contains the component.           2. Application Event  (Handled by all components...

Salesforce Random Interview Questions Part -1

Random Salesforce Interview Questions 1. What is Data Skew in Salesforce and how can we avoid this? Ans:- Data skew happens when more than 10000 child records are related to a single parent record , or more than 10000 records of any object are owned by a single user. Two types of DATA SKEW are there in Salesforce. Account Skew ( Having more than 10000 records under a single parent account ) OwnerShip Skew ( Having more than 10000 records ownership under one user ) To avoid these skew situations use record types, if not necessary then use picklist instead of lookups, and distribute records ownership to other users as well.   2. In Which condition we Cannot create time-based workflow rules? Ans:- " Created and every time edited " because it will fire again and again and cause an issue. 3. Difference between Padding and Margin? Ans:-  Padding gives the space between the border and the content of an element and m argin gives space between border and elements . Using Margin el...
Interview Questions on Profiles, Permission set, Organization wide defaults, Roles and Sharing Rules in Salesforce 1. What is Profile? Profile contains set of permissions and access settings that controls what user can do with in the organization. Profiles define how users access objects and data, and what they can do within the application. When you create users, you assign a profile to each one. 2. What are permission sets? A Permission Set is a collection of settings and permissions that give users access to various tools and functions. Permission set allows user to give extra access on same profile. 3. What is Organization wide defaults? Source : Salesforce