Question:- What is a Connected App?
Answer:- A connected app is a framework used to integrate an application with Salesforce with the help of APIs and standard protocols. It uses standard SAML, OAuth, and OpenID Connect protocols to authenticate, authorize, and provide single sign-on (SSO), for external apps. With the help of the Connected app, Salesforce admins can set up security policies and control who can use the corresponding apps.
Question:- Can two profiles be assigned to one user?
Answer:- Depending on the profile assigned, users get access to Salesforce. One profile can be assigned to many users. Let’s consider an example scenario where the admin creates a sales profile. Now the admin has to give access to one sales profile to multiple members of the sales team. But the admin cannot give a user access to more than one profile because sales reps should only have access to the sales profile. So two profiles cannot be assigned to one user.
Question:- What are the Salesforce subsidiaries?
Answer:- The following is the list of some major Salesforce subsidiaries: Tableau 1. Pardot 2. Heroku 3. Mulesoft 4. Demandware Inc 5. SalesforceIQ
Question:- What is an Audit trail?
Answer:- If an organization has various Salesforce Administrators, the Audit trail lets you track all the recent changes made by other admins. It can store up to 6 months of data. That’s all for the basic Salesforce interview questions for freshers. Let’s move on to the next section of intermediate Salesforce interview questions and answers.
Question:- What happens to the Detail (Child) record when a Master (Parent) record is deleted?
Answer:- In a Master–Detail relationship, when a Master record is deleted, the Detail record also gets deleted, automatically. On the other hand, in a Lookup relationship, the Child record will not be deleted, even if the Parent record is deleted.
Question:- Can you have a roll-up summary field in the case of a Master–Detail relationship?
Answer:- Yes, we can have a roll-up summary in the case of a Master-Detail relationship but not in the case of a Lookup relationship. This is because a roll-up summary field is used to display a value in the Master record based on the values of a set of fields in the Detail record.
Question:- What is an sObject type?
Answer:- A sObject is any object that can be stored in the Force.com platform database. Apex allows the use of a generic sObject abstract type to represent any object. For example, ‘vehicle’ is a generic type, and ‘car’ and ‘motorbike’ are concrete types of ‘vehicle’.
Question:- What are triggers in Salesforce? How are they different from workflows?
Answer:- Triggers in Salesforce are called Apex triggers. These are distinct and are available specifically for common and expected actions like lead conversions. It is just a code that is executed before or after a record is inserted or updated. A trigger is different from a workflow as the former is a piece of code; whereas, a workflow is an automated process and uses no code.
Question:- What is trigger.new?
Answer:- Trigger.new returns a list of records that have been added recently to sObjects. The records that are yet to be saved in the database are returned. Only insert and update triggers have the sObject list, and records can only be modified before.trigger.
Question:- What is the minimum test coverage required to deploy a trigger?
Answer:- • System Administrator: Customization and administration of an application • Standard User: Can edit, view, update, or delete one’s own record • Read Only: Able to just view the records • Solution Manager: Comes with the standard user permission but also can manage categories and published solutions • Marketing User: Able to import leads into the organization, along with standard user permissions
Question:- Explain the Force.com platform.
Answer:- Force.com is the entire infrastructure and codebase on which the complete Salesforce application exists. In other words, Salesforce is built on Force.com, which is a Platform as a Service (PaaS) that lets us simplify the design, development, and deployment of cloud-based applications and websites. Salesforce Developers can work with Cloud Integrated Development Environment and deploy the applications on Force.com servers.
Question:- List various types of reports available in Salesforce.
Answer:- Below are the types of Salesforce reports: • Tabular report: In this, the grand total is displayed in a table format. • Matrix report: This is an in-depth report wherein there are both row-based and column-based groups. • Summary report: A summary report is a report in which the grouping is on a column basis. • Joined report: Joining two or more reports into one creates a joined report.
Question:- How many reports can be added to the Salesforce dashboard?
Answer:- A Salesforce dashboard can be seen as a visual and pictorial representation of a dashboard with the facility to add up to 20 reports.
Question:- Explain various Salesforce dashboard components.
Answer:- Various Salesforce dashboard components are explained below: • Gauge: It is used for showing a single value within a range of custom values. • Metric: This is used for displaying a single key–value pair. It is possible to click the empty text field next to the grand total and enter the metric label directly on the components. All metrics placed above and below one another in the dashboard column would be displayed as a single component. Other dashboard components are explained below: • Table: The report data can be shown in a column form using a t • Visualforce page: It is used for creating a custom component or showing information not available in other component types. • Custom S-component: This contains the content that is run or displayed in a browser like an Excel file, ActiveX Control, Java applet, or custom HTML web form.
