Add office photos
Employer?
Claim Account for FREE

Salesforce

4.0
based on 853 Reviews
Video summary
Filter interviews by

100+ Freshersworld.com Interview Questions and Answers

Updated 30 Jan 2025
Popular Designations

Q1. Admin Questions :- What is Relationships what are types of relationships

Ans.

Relationships in databases define how entities are related to each other. Types include one-to-one, one-to-many, and many-to-many.

  • One-to-one relationship: Each record in one table is related to only one record in another table.

  • One-to-many relationship: Each record in one table can be related to multiple records in another table.

  • Many-to-many relationship: Multiple records in one table can be related to multiple records in another table.

  • Examples: A customer can have multiple or...read more

View 3 more answers

Q2. How you will get contact of account with name starting with abc.

Ans.

To get contact of account with name starting with abc, use Salesforce's SOQL query language.

  • Use the Salesforce Object Query Language (SOQL) to query the Account object

  • Use the 'LIKE' operator to search for account names starting with 'abc'

  • Example query: SELECT Id, Name, Phone FROM Account WHERE Name LIKE 'abc%'

View 3 more answers

Q3. What is MFA multifactor authentication ?

Ans.

MFA is a security process that requires multiple forms of verification to access an account or system.

  • MFA combines two or more authentication factors such as passwords, biometrics, security tokens, etc.

  • It provides an extra layer of security to prevent unauthorized access.

  • Examples of MFA include using a password along with a fingerprint scan or receiving a code on your phone to log in.

  • MFA is commonly used in online banking, email accounts, and other sensitive systems.

View 1 answer

Q4. How to handle hot customers How to prioritize P1 ,P2 ticket

Ans.

Handling hot customers and prioritizing P1, P2 tickets

  • Listen actively and empathize with the customer's frustration

  • Remain calm and professional, avoid taking things personally

  • Offer solutions and follow up promptly

  • Prioritize P1 tickets based on severity and impact on business operations

  • Assign P2 tickets based on urgency and customer impact

  • Communicate clearly with customers about ticket status and resolution timelines

Add your answer
Discover Freshersworld.com interview dos and don'ts from real experiences

Q5. Factorial Trailing Zeros Problem

You are provided with a positive integer N. Your goal is to determine the smallest number whose factorial has at least N trailing zeros.

Example:

Input:
N = 1
Output:
5
Explanat...read more
Ans.

Find the smallest number whose factorial has at least N trailing zeros.

  • Calculate the number of 5's in the prime factorization of the factorial to determine the trailing zeros.

  • Use binary search to find the smallest number with at least N trailing zeros.

  • Consider edge cases like N = 0 or N = 1 for factorial trailing zeros problem.

Add your answer

Q6. Balanced Parentheses Combinations

Given an integer N representing the number of pairs of parentheses, find all the possible combinations of balanced parentheses using the given number of pairs.

Explanation:

Con...read more

Ans.

Generate all possible combinations of balanced parentheses for a given number of pairs.

  • Use recursion to generate all possible combinations of balanced parentheses.

  • Keep track of the number of open and close parentheses used in each combination.

  • Terminate recursion when the number of open and close parentheses used equals the given number of pairs.

Add your answer
Are these interview questions helpful?

Q7. Buy and Sell Stock Problem Statement

Imagine you are Harshad Mehta's friend, and you have been given the stock prices of a particular company for the next 'N' days. You can perform up to two buy-and-sell transa...read more

Ans.

The task is to determine the maximum profit that can be achieved by performing up to two buy-and-sell transactions on a given set of stock prices.

  • Iterate through the array of stock prices to find the maximum profit that can be achieved by buying and selling stocks at different points.

  • Keep track of the maximum profit that can be achieved by considering all possible combinations of buy and sell transactions.

  • Ensure that you sell the stock before buying again to adhere to the con...read more

Add your answer

Q8. What profile and permissions set ?

Ans.

Profile and permissions set determine the level of access and capabilities a Technical Support Engineer has within a system.

  • Profile defines the roles and responsibilities of the Technical Support Engineer within the organization.

  • Permissions set specifies what actions the Technical Support Engineer can perform within the system.

  • Examples of permissions include read-only access, write access, delete access, etc.

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Combination Sum Problem Statement

Given three integers X, Y, and Z, calculate the sum of all numbers that can be formed using the digits 3, 4, and 5. Each digit can be used up to a maximum of X, Y, and Z times ...read more

Ans.

Calculate the sum of all numbers that can be formed using the digits 3, 4, and 5 with given constraints.

  • Iterate through all possible combinations of 3, 4, and 5 based on the given constraints.

  • Calculate the sum of each combination and add them up.

  • Return the final sum modulo 10^9 + 7.

Add your answer

Q10. Difference between screen flow and record trigger flow ?

Ans.

Screen flow is user interface driven while record trigger flow is backend logic driven.

  • Screen flow is used to create user interfaces for users to interact with, while record trigger flow is used to automate processes and perform actions in the background.

  • Screen flow is typically used for creating visual workflows with screens, fields, and buttons, while record trigger flow is used for executing logic based on record changes or events.

  • Screen flow can be used to guide users thr...read more

View 1 answer

Q11. Longest Happy String Problem Statement

Given three non-negative integers X, Y, and Z, determine the longest happy string. A happy string is defined as a string that contains only the letters 'a', 'b', and 'c' w...read more

Ans.

The problem involves constructing the longest happy string with given constraints on the frequency of 'a', 'b', and 'c'.

  • Iterate through the characters 'a', 'b', 'c' in decreasing order of their frequencies

  • Append the character with the highest frequency that does not create a substring of 3 same characters

  • Repeat until all characters are used up or the string reaches the desired length

Add your answer

Q12. Optimal Strategy for a Coin Game

You are playing a coin game with your friend Ninjax. There are N coins placed in a straight line.

Here are the rules of the game:

1. Each coin has a value associated with it.
2....read more
Ans.

The problem involves finding the optimal strategy to accumulate the maximum amount in a coin game with specific rules.

  • Start by considering the base cases where there are only 1 or 2 coins.

  • Use dynamic programming to keep track of the maximum amount that can be won at each step.

  • Consider the different scenarios when choosing a coin from either end of the line.

  • Keep track of the total winnings for both players and choose the optimal strategy to maximize your winnings.

  • Implement a r...read more

Add your answer

Q13. Sharing security scenario and explain OWD organisation wide default ?

Ans.

OWD determines the default level of access users have to records in an organization.

  • OWD settings control who can view, edit, and delete records in Salesforce

  • OWD can be set to private, public read-only, public read/write, or controlled by parent

  • OWD can be further customized with sharing rules and manual sharing

  • Example: Setting OWD to private means only record owners and users above them in the role hierarchy can access the records

Add your answer

Q14. Reverse Linked List Problem Statement

Given a singly linked list of integers, your task is to return the head of the reversed linked list.

Example:

Input:
The given linked list is 1 -> 2 -> 3 -> 4 -> NULL.
Outp...read more
Ans.

To reverse a singly linked list of integers, return the head of the reversed linked list.

  • Iterate through the linked list, reversing the pointers to point to the previous node instead of the next node.

  • Keep track of the previous, current, and next nodes while traversing the list.

  • Update the head of the reversed linked list to be the last element of the original list.

Add your answer

Q15. What is TCP Handshake, explain in detail

Ans.

TCP Handshake is a process of establishing a connection between two devices over a network.

  • TCP Handshake involves three-way communication between the client and server

  • The client sends a SYN packet to the server to initiate the connection

  • The server responds with a SYN-ACK packet to acknowledge the request

  • Finally, the client sends an ACK packet to confirm the connection

  • This process ensures reliable and error-free communication between devices

Add your answer

Q16. Assignments rule and their types ?

Ans.

Assignments rule and their types in technical support engineering.

  • Assignments rule determines how assignments are made in a system.

  • Types of assignments rules include assignment rules based on skills, round robin, load balancing, etc.

  • For example, in a technical support team, assignments rule based on skills may assign tickets to agents with specific expertise.

  • Round robin assignments rule distributes assignments evenly among team members.

  • Load balancing assignments rule distribu...read more

View 1 answer

Q17. Spiral Matrix Problem Statement

You are given a N x M matrix of integers. Your task is to return the spiral path of the matrix elements.

Input

The first line contains an integer 'T' which denotes the number of ...read more
Ans.

The task is to return the spiral path of elements in a given matrix.

  • Iterate through the matrix in a spiral path by keeping track of boundaries.

  • Print elements in the order of top row, right column, bottom row, and left column.

  • Continue the spiral path until all elements are printed.

Add your answer

Q18. Longest Path In Directed Graph Problem Statement

Given a Weighted Directed Acyclic Graph (DAG) comprising 'N' nodes and 'E' directed edges, where nodes are numbered from 0 to N-1, and a source node 'Src'. Your ...read more

Ans.

The task is to find the longest distances from a source node to all nodes in a weighted directed acyclic graph.

  • Implement a function that takes the number of nodes, edges, source node, and edge weights as input.

  • Use a topological sorting algorithm to traverse the graph and calculate the longest distances.

  • Return an array of integers where each element represents the longest distance from the source node to the corresponding node.

Add your answer

Q19. What is workflow and process builder ?

Ans.

Workflow and Process Builder are tools in Salesforce that automate business processes without code.

  • Workflow is a declarative automation tool that allows you to set up automated rules to perform actions based on certain criteria.

  • Process Builder is a more advanced tool that allows you to create more complex processes with multiple criteria and actions.

  • Both tools help streamline and automate business processes in Salesforce.

  • Examples: Using Workflow to automatically assign a lead...read more

Add your answer

Q20. Largest BST Subtree Problem

Given a binary tree with 'N' nodes, determine the size of the largest subtree that is also a BST (Binary Search Tree).

Input:

The first line contains an integer 'T', representing the...read more
Ans.

The problem involves finding the size of the largest subtree that is also a Binary Search Tree in a given binary tree.

  • Traverse the binary tree in a bottom-up manner to check if each subtree is a BST.

  • Keep track of the size of the largest BST subtree encountered so far.

  • Use recursion to solve the problem efficiently.

  • Consider edge cases like empty tree or single node tree.

  • Example: For input 1 2 3 4 -1 5 6 -1 7 -1 -1 -1 -1 -1 -1, the largest BST subtree has size 3.

Add your answer

Q21. Problem Description

Given a graph with 'N' nodes and 'M' unidirectional edges, along with two integers 'S' and 'D' representing the source and destination respectively, your task is to find all possible paths f...read more

Ans.

Find all possible paths from a source node to a destination node in a graph with unique nodes.

  • Create a graph using the given nodes and edges

  • Implement a depth-first search (DFS) algorithm to find all paths from source to destination

  • Ensure that the nodes in the paths are unique and print them in lexicographically sorted order

Add your answer

Q22. Cycle Detection in a Singly Linked List

Determine if a given singly linked list of integers forms a cycle or not.

A cycle in a linked list occurs when a node's next points back to a previous node in the list. T...read more

Ans.

Detect if a singly linked list forms a cycle by checking if a node's next pointer points back to a previous node.

  • Traverse the linked list using two pointers, one moving one step at a time and the other moving two steps at a time.

  • If the two pointers meet at any point, there is a cycle in the linked list.

  • Use Floyd's Cycle Detection Algorithm for efficient detection of cycles in linked lists.

Add your answer

Q23. Implementing a Priority Queue Using Heap

Ninja has been tasked with implementing a priority queue using a heap data structure. However, he is currently busy preparing for a tournament and has requested your ass...read more

Ans.

Implement a priority queue using a heap data structure by completing the provided functions: push(), pop(), getMaxElement(), and isEmpty().

  • Understand the operations: push() to insert element, pop() to remove largest element, getMaxElement() to return largest element, and isEmpty() to check if queue is empty.

  • Implement a heap data structure to maintain the priority queue.

  • Handle different types of queries based on the input provided.

  • Ensure correct output for each type 3 query.

  • Te...read more

Add your answer

Q24. Ninja and Chocolates Problem Statement

Ninja is hungry and wants to eat his favorite chocolates, but his mother won't let him because he has already eaten enough. There are 'N' jars filled with chocolates. His ...read more

Ans.

Find the minimum eating speed required for a ninja to consume all chocolates within a given time limit.

  • Iterate through possible eating speeds to find the minimum speed that allows the ninja to consume all chocolates within the given time limit.

  • Calculate the total number of chocolates to be consumed and divide it by the time limit to get the minimum eating speed.

  • Handle cases where a jar has fewer chocolates than the eating speed by consuming all available chocolates from that ...read more

Add your answer

Q25. Difference between workflow and process builder?

Ans.

Workflow automates simple processes, while Process Builder allows for more complex processes with multiple criteria and actions.

  • Workflow is used for automating simple tasks based on criteria and actions.

  • Process Builder allows for more complex processes with multiple criteria and actions.

  • Workflow is limited in functionality compared to Process Builder.

  • Process Builder can update related records, send emails, create records, etc.

  • Process Builder can evaluate multiple criteria bef...read more

Add your answer

Q26. What is mixed dml error

Ans.

Mixed DML error occurs when DML operations on setup and non-setup objects are mixed in a single transaction.

  • Occurs when DML operations on setup and non-setup objects are mixed

  • Setup objects include User, Profile, PermissionSet, etc.

  • Non-setup objects include custom objects, standard objects, etc.

View 1 answer

Q27. Construct the Lexicographically Largest Valid Sequence

You are provided with a positive integer N. The goal is to generate the lexicographically largest sequence of length 2*N - 1, containing integers ranging f...read more

Ans.

Generate lexicographically largest valid sequence of length 2*N - 1 with specific constraints.

  • Start with the largest numbers and place them at the ends to maximize lexicographical order.

  • Place the number 1 in the middle to satisfy the condition of appearing exactly once.

  • Determine the positions of other numbers based on their distance requirements.

  • Iterate through the sequence and fill in the numbers based on the constraints.

  • Ensure that each number from 2 to N appears exactly tw...read more

Add your answer

Q28. What is SSL VPN in detailed

Ans.

SSL VPN is a secure way to remotely access a private network over the internet using SSL encryption.

  • SSL VPN uses SSL/TLS encryption to secure the connection between the remote user and the private network

  • It allows remote users to access resources on the private network as if they were physically present on the network

  • SSL VPN can be clientless or require a client software to be installed on the remote device

  • Examples of SSL VPN solutions include Cisco AnyConnect, Pulse Secure, ...read more

Add your answer

Q29. Pair with Given Sum in a Balanced BST Problem Statement

You are given the ‘root’ of a Balanced Binary Search Tree and an integer ‘target’. Your task is to determine if there exists any pair of nodes such that t...read more

Ans.

Given a Balanced BST and a target integer, determine if there exists a pair of nodes with sum equal to the target.

  • Traverse the BST in-order to get a sorted array of values.

  • Use two pointers approach to find the pair with sum equal to target.

  • Consider edge cases like negative numbers and duplicates.

  • Time complexity should be O(n) and space complexity O(n).

Add your answer

Q30. How will you handle cases with customers of bad temeament?

Ans.

I will remain calm, empathetic, and professional while actively listening to the customer's concerns and finding a solution.

  • Remain calm and composed

  • Listen actively to understand the customer's concerns

  • Show empathy towards the customer's frustrations

  • Maintain a professional demeanor throughout the interaction

  • Focus on finding a solution to the customer's issue

  • Avoid taking the customer's behavior personally

Add your answer

Q31. Minimum Swaps to Sort Array Problem Statement

Given an array arr of size N, determine the minimum number of swaps required to sort the array in ascending order. The array consists of distinct elements only.

Exa...read more

Ans.

The minimum number of swaps required to sort an array of distinct elements in ascending order.

  • Use a hashmap to store the index of each element in the array.

  • Iterate through the array and swap elements to their correct positions.

  • Count the number of swaps needed to sort the array.

Add your answer

Q32. Zuma Game Problem Statement

You have a string of balls on the table called BOARD and several balls in your hand represented by the string hand. The balls can be of the colors red(R), blue(B), green(G), white(W)...read more

Ans.

Determine the minimum number of insertions required to empty the board in Zuma game problem.

  • Check if it's possible to empty the board by trying all possible combinations of inserting balls from hand.

  • Use backtracking algorithm to simulate the game and find the minimum number of insertions required.

  • Handle edge cases like when the board cannot be emptied or when the hand is empty.

  • Consider optimizing the algorithm by pruning branches that cannot lead to a solution.

  • Example: For BO...read more

Add your answer

Q33. How to handle escalations/ your approach to solve any issues/ why do you want to join support when already you are working on development

Ans.

Handling escalations and approach to issue resolution in support as a developer

  • I understand the importance of timely resolution of issues and the impact it has on customer satisfaction

  • My approach is to first gather all necessary information and analyze the root cause of the issue

  • I then prioritize the issue based on its severity and impact on the customer

  • I communicate effectively with the customer and keep them updated on the progress of the resolution

  • If necessary, I escalate ...read more

View 1 answer

Q34. Reverse a string and check if it's a palindrome program

Ans.

The program reverses a given string and checks if it is a palindrome.

  • Use a loop to iterate through the characters of the string and build a reversed string.

  • Compare the reversed string with the original string to check if they are the same.

  • If they are the same, the string is a palindrome.

View 1 answer

Q35. Are you flexible and adaptive?

Ans.

Yes, I am flexible and adaptive.

  • I am always willing to learn new things and adapt to changes in technology.

  • I can work in different environments and adjust to different work styles.

  • I am open to feedback and can adjust my approach accordingly.

  • For example, in my previous job, I had to quickly learn a new software program and adapt to a new team dynamic.

  • I am also able to prioritize tasks and adjust my schedule to meet deadlines.

Add your answer

Q36. Write an asnchronous apex to return opportunities groupby AccountId

Ans.

Asynchronous Apex code to group opportunities by AccountId

  • Create a Queueable Apex class to handle the asynchronous processing

  • Query the opportunities and group them by AccountId using a Map

  • Implement the execute method to process the opportunities and return the grouped data

Add your answer

Q37. Validation rules Before Insert Validation rules After Insert

Ans.

Validation rules are used to enforce data integrity in a database before and after insertion.

  • Validation rules before insert are used to check data integrity before adding a new record to the database.

  • Validation rules after insert are used to verify data integrity after a new record has been added.

  • Examples: Before insert - checking if a required field is filled, after insert - verifying if the data meets certain criteria.

Add your answer

Q38. How do you manage difficult tasks?

Ans.

I break down the task into smaller steps, prioritize them, seek help if needed, and stay organized.

  • Break down the task into smaller, manageable steps

  • Prioritize the steps based on urgency and importance

  • Seek help or guidance from colleagues or supervisors if necessary

  • Stay organized by keeping track of progress and deadlines

Add your answer

Q39. How dns works and record of dns

Ans.

DNS (Domain Name System) is a system that translates domain names to IP addresses.

  • DNS works by translating human-readable domain names (like google.com) to IP addresses (like 172.217.3.206).

  • DNS records include A records (for IPv4 addresses), AAAA records (for IPv6 addresses), CNAME records (for aliases), MX records (for mail servers), and more.

  • DNS queries are sent from client devices to DNS servers, which then resolve the domain name to the corresponding IP address.

  • DNS operat...read more

Add your answer
Q40. What is the difference between Early Binding and Late Binding in C++?
Ans.

Early binding is resolved at compile time while late binding is resolved at runtime in C++.

  • Early binding is also known as static binding, where the function call is resolved at compile time based on the type of the object.

  • Late binding is also known as dynamic binding, where the function call is resolved at runtime based on the actual type of the object.

  • Early binding is faster as the function call is directly linked during compilation.

  • Late binding allows for polymorphism and i...read more

Add your answer

Q41. Ajax and asynchronous functions in JavaScript

Ans.

Ajax allows for asynchronous communication between the client and server in JavaScript.

  • Ajax stands for Asynchronous JavaScript and XML.

  • It allows for making requests to the server without reloading the entire page.

  • Asynchronous functions in JavaScript allow for non-blocking code execution.

  • Examples of asynchronous functions include setTimeout, setInterval, and fetch API.

Add your answer

Q42. A scenario for grand parent child trigger

Ans.

A grand parent child trigger scenario involves triggering an action in a child record based on changes in a grandparent record.

  • Create a trigger on the grandparent object to monitor changes

  • Use a trigger handler class to handle the logic for updating child records

  • Consider using trigger context variables to pass data between the grandparent and child triggers

Add your answer
Q43. What is the difference between a virtual function and an abstract class in Object-Oriented Programming?
Ans.

Virtual functions can be overridden in derived classes, while abstract classes cannot be instantiated directly.

  • Virtual functions are declared using the 'virtual' keyword and can be overridden in derived classes.

  • Abstract classes cannot be instantiated and may contain one or more pure virtual functions.

  • An abstract class can have virtual functions, but a virtual function does not make a class abstract.

  • Example: Shape is an abstract class with a pure virtual function 'calculateAre...read more

Add your answer
Q44. Design a platform similar to LinkedIn. What are the key features and architecture you would implement?
Ans.

Design a platform similar to LinkedIn with key features and architecture

  • Key Features: user profiles, connections, job postings, messaging, news feed, groups

  • Architecture: microservices, cloud storage, scalable database, AI for recommendations

  • Security: encryption, secure authentication, data privacy controls

  • User Experience: intuitive UI/UX, mobile app support, notifications

  • Monetization: premium subscriptions, advertising, job posting fees

Add your answer
Q45. Can you design a system similar to Splitwise and identify three features that you would change or improve?
Ans.

Design a system similar to Splitwise and suggest three features for improvement.

  • Implement a real-time notification system for updates on shared expenses

  • Integrate a feature for automatic currency conversion for international transactions

  • Enhance the user interface with data visualization tools for better expense tracking

Add your answer

Q46. Write a SOQL query Accounts and it's related contact.

Ans.

SOQL query to retrieve Accounts and their related Contacts.

  • Use the relationship field 'Contacts' on the Account object to retrieve related contacts.

  • Use the SELECT statement to specify the fields to retrieve.

  • Use the WHERE clause to filter the results based on specific criteria.

  • Example: SELECT Id, Name, (SELECT Id, Name FROM Contacts) FROM Account WHERE Industry = 'Technology'

View 1 answer
Q47. What is meant by multitasking and multithreading in operating systems?
Ans.

Multitasking refers to the ability of an operating system to run multiple tasks concurrently, while multithreading involves executing multiple threads within a single process.

  • Multitasking allows multiple processes to run simultaneously on a single processor, switching between them quickly.

  • Multithreading enables a single process to execute multiple threads concurrently, improving performance and responsiveness.

  • Multitasking is at the process level, while multithreading is at th...read more

Add your answer

Q48. How can you handle the bulk number of support cases at a time?

Ans.

I prioritize cases based on urgency, utilize efficient troubleshooting techniques, and delegate tasks when necessary.

  • Prioritize cases based on urgency to ensure critical issues are addressed first

  • Utilize efficient troubleshooting techniques to quickly resolve common issues

  • Delegate tasks to team members to handle multiple cases simultaneously

Add your answer

Q49. Integration in real life scenario .

Ans.

Integration in real life scenario involves combining different systems or components to work together seamlessly.

  • Integration of payment gateway with an e-commerce website

  • Integration of CRM system with email marketing platform

  • Integration of GPS tracking system with fleet management software

Add your answer

Q50. How to handle angry customers

Ans.

Listen actively, stay calm, empathize, apologize, offer solutions, follow up

  • Listen actively to understand their concerns

  • Stay calm and composed, do not take their anger personally

  • Empathize with their situation and show understanding

  • Apologize for any inconvenience caused, even if it's not your fault

  • Offer solutions or alternatives to address their issues

  • Follow up to ensure the problem is resolved to their satisfaction

Add your answer

Q51. Write trigger code for given scenario

Ans.

Trigger code to update a field in a table when a new record is inserted

  • Create a trigger on the table for INSERT events

  • Use the NEW keyword to access the newly inserted record

  • Update the desired field in the table using the NEW values

Add your answer

Q52. In how many ways we can share a record to the user in salesforce

Ans.

There are multiple ways to share a record with a user in Salesforce.

  • Sharing rules

  • Manual sharing

  • Role hierarchy

  • Criteria-based sharing rules

  • Team sharing

Add your answer
Q53. Which of the HTML5 elements support media content?
Add your answer

Q54. Rewrite a paragraph after reading the given paragraph in 5 min

Ans.

Rewrite a paragraph in 5 minutes for an interview question

  • Read the paragraph carefully to understand the main idea

  • Identify key points and rephrase them in your own words

  • Ensure the rewritten paragraph maintains the original meaning and flow

  • Use synonyms and different sentence structures to convey the message

  • Proofread for grammar and clarity before submitting

Add your answer

Q55. How would you save attrition when a customer is not happy with product roadmap?

Ans.

To save attrition when a customer is not happy with the product roadmap, it is important to address their concerns and provide alternative solutions.

  • Listen to the customer's concerns and understand their specific issues with the product roadmap.

  • Offer personalized solutions or alternatives that align with the customer's needs and expectations.

  • Engage in open and transparent communication to build trust and demonstrate a commitment to addressing their concerns.

  • Provide regular up...read more

View 1 answer

Q56. How will u allocate resources (Steps) what do we need to consider beforce allocation ?

Ans.

Resource allocation requires careful planning and consideration of various factors.

  • Identify the goals and objectives of the project

  • Assess the available resources and their capabilities

  • Prioritize the tasks and allocate resources accordingly

  • Consider the timeline and deadlines

  • Monitor and adjust the allocation as needed

Add your answer

Q57. What tool tableau use for optimization of deployments?

Ans.

Tableau uses Tableau Server for optimization of deployments.

  • Tableau Server provides centralized management and scalability for Tableau deployments.

  • It allows for easy sharing and collaboration of dashboards and data sources.

  • Tableau Server also offers features such as load balancing, failover, and backup and recovery.

  • It can be deployed on-premises or in the cloud, depending on the organization's needs.

  • Tableau also offers a tool called Tableau Prep Conductor for managing data pr...read more

Add your answer

Q58. How can you debug an issue which is caused because of LWC component

Ans.

To debug an issue caused by a LWC component, use browser developer tools, check console logs, use debugger statements, and review code for errors.

  • Use browser developer tools to inspect network requests, console logs, and component hierarchy

  • Check console logs for any error messages or warnings related to the LWC component

  • Use debugger statements in the component code to pause execution and inspect variables

  • Review the LWC component code for syntax errors, logic issues, or incorr...read more

Add your answer

Q59. What is the best Encryption Algorithm to use when you store the passwords in DB?

Ans.

The best encryption algorithm to use for storing passwords in a DB is bcrypt.

  • Use bcrypt due to its adaptive hashing function, making it difficult for attackers to crack passwords

  • Bcrypt automatically handles salting, a crucial step in password security

  • Consider using a high cost factor to increase the computational time needed to hash passwords

Add your answer

Q60. Explain 3 way handshake

Ans.

Three-way handshake is a method used in TCP/IP network to establish a connection between a client and server.

  • Client sends a SYN packet to the server to initiate a connection

  • Server responds with a SYN-ACK packet to acknowledge the request

  • Client sends an ACK packet back to the server to confirm the connection

Add your answer

Q61. How Authorization and authentication different?

Ans.

Authentication is the process of verifying the identity of a user, while authorization is the process of granting access to specific resources.

  • Authentication confirms the identity of a user through credentials such as username and password.

  • Authorization determines what resources a user can access based on their authenticated identity.

  • Authentication is the first step in the authorization process.

  • Examples of authentication include biometric identification, two-factor authentica...read more

View 1 answer

Q62. When should you provide the DataWeave code based on the given input and output, and can you explain how it was executed?

Ans.

DataWeave code should be provided based on input and output requirements to transform data in Mulesoft.

  • DataWeave code should be provided when there is a need to transform data from one format to another.

  • It should be executed when integrating systems with different data structures.

  • Examples include transforming JSON to XML, CSV to JSON, etc.

Add your answer

Q63. How do you approach a given task, and can you explain the connectors involved as well as the expected outcomes?

Ans.

I approach tasks by analyzing requirements, selecting appropriate connectors, designing the integration flow, testing, and ensuring expected outcomes are met.

  • Analyze the requirements of the task to understand the data sources, transformations, and endpoints involved

  • Select the appropriate connectors based on the systems being integrated (e.g. Salesforce, SAP, databases)

  • Design the integration flow using MuleSoft's Anypoint Studio, including data mapping, error handling, and sec...read more

Add your answer
Q64. How can you reduce page loading time?
Add your answer

Q65. Difference between dynamic and static dashboards and use case for both of them

Ans.

Dynamic dashboards update in real-time with live data, while static dashboards display fixed data snapshots.

  • Dynamic dashboards are interactive and update automatically with real-time data

  • Static dashboards display fixed data snapshots and do not update automatically

  • Use dynamic dashboards for monitoring real-time metrics like website traffic or sales performance

  • Use static dashboards for historical data analysis or monthly reports

Add your answer

Q66. What is bucket field in reports?

Ans.

Bucket field in reports is a way to group data into categories for easier analysis.

  • Bucket field allows you to categorize data based on specific criteria

  • It helps in organizing and summarizing data in reports

  • Examples of bucket fields include grouping sales data by region or categorizing leads by source

View 1 answer

Q67. Different types of sandbox’s and refresh cycle of each sandbox

Ans.

Different types of sandboxes include developer sandbox, configuration sandbox, and full sandbox. Each sandbox has a different refresh cycle.

  • Developer sandbox: used for coding and testing, refreshes every 5 days

  • Configuration sandbox: used for configuration changes, refreshes every 1 month

  • Full sandbox: replica of production environment, refreshes every 29 days

Add your answer

Q68. When should REST APIs be used, and when are SOAP APIs more appropriate?

Ans.

REST APIs are more suitable for lightweight, stateless communication, while SOAP APIs are better for complex, stateful interactions.

  • REST APIs are preferred for web-based applications due to their simplicity and flexibility.

  • SOAP APIs are better suited for enterprise-level applications that require strict security and transactional support.

  • REST APIs use standard HTTP methods like GET, POST, PUT, and DELETE, making them easier to implement and understand.

  • SOAP APIs use XML for me...read more

Add your answer

Q69. Tell me about Asynchronous Apex? Difference between Batch Apex and Queueable Apex

Ans.

Asynchronous Apex allows you to run processes in the background, without user interaction. Batch Apex and Queueable Apex are two types of Asynchronous Apex.

  • Asynchronous Apex allows you to process large amounts of data asynchronously, without impacting the user interface.

  • Batch Apex is used to process large data sets that can be divided into smaller batches for processing.

  • Queueable Apex allows you to submit jobs for asynchronous processing, similar to future methods but with mo...read more

Add your answer

Q70. Imagine you are selling to a CEO. How will you sell our solutions?

Ans.

I would tailor my pitch to focus on the ROI and strategic benefits of our solutions for the CEO.

  • Highlight how our solutions can drive revenue growth and cost savings for the company

  • Emphasize the competitive advantage and market differentiation our solutions can provide

  • Discuss the long-term strategic impact of implementing our solutions, such as improved efficiency and scalability

  • Provide case studies or success stories of other CEOs who have seen positive results from using ou...read more

Add your answer

Q71. Can we implement skill based routing as queue based routing.

Add your answer

Q72. Explain Future method? and why we need (Callout= true) along with that annotation?

Ans.

Future method is used to run code asynchronously. Callout=true is needed to make HTTP callouts from future methods.

  • Future methods are used to run code asynchronously in Salesforce.

  • They are annotated with @future annotation.

  • Callout=true is needed to make HTTP callouts from future methods.

  • Without Callout=true, making HTTP callouts from future methods is not allowed.

Add your answer

Q73. Apex trigger with best practices

Ans.

Best practices for writing Apex triggers

  • Use trigger handler pattern to separate logic from trigger

  • Avoid SOQL queries and DML statements inside loops

  • Bulkify triggers to handle multiple records efficiently

  • Use trigger context variables to access old and new record data

  • Write test classes to achieve code coverage

View 1 answer

Q74. Return k most frequent string from an array of strings

Ans.

Return k most frequent strings from an array of strings

  • Use a hashmap to store the frequency of each string in the array

  • Sort the hashmap by frequency in descending order

  • Return the first k keys from the sorted hashmap

Add your answer

Q75. Why should we invest in this product? How we can train our employe on sales force ? What other solution do you have apart from the sales software?

Ans.

Investing in this product will increase sales revenue and streamline sales processes. We can train employees on sales force through hands-on training and online resources. In addition to the sales software, we offer consulting services and customized solutions.

  • Increased sales revenue

  • Streamlined sales processes

  • Hands-on training

  • Online resources

  • Consulting services

  • Customized solutions

Add your answer

Q76. How do you design the schema which can scale upto billions of rows?

Ans.

To design a schema that can scale up to billions of rows, consider partitioning, indexing, denormalization, and distributed systems.

  • Partition the data to distribute it across multiple servers or shards.

  • Use indexing techniques to optimize query performance.

  • Consider denormalizing the schema to reduce joins and improve read performance.

  • Utilize distributed systems and parallel processing to handle large data volumes.

  • Implement data compression and caching strategies to optimize st...read more

Add your answer

Q77. 3) Write a trigger on child if the all related child status is closed then update that in parent object

Ans.

Create a trigger on child object to update parent object when all related child records have a closed status.

  • Create a trigger on the child object to run before insert and update events.

  • Query all related child records in the trigger context.

  • Check if all child records have a closed status.

  • Update the parent object if all child records have a closed status.

Add your answer

Q78. difference between custom Metadata and custom settings

Ans.

Custom metadata is customizable, deployable, and upgradeable application metadata, while custom settings are application settings that can be accessed using Apex code.

  • Custom metadata is deployable and upgradeable, while custom settings are not

  • Custom metadata is customizable at the field level, while custom settings are not

  • Custom metadata can be accessed in Apex using SOQL queries, while custom settings can be accessed using Apex code

Add your answer

Q79. persistent in memory key value store optimized for write heavy workloads(use: sstables,compaction )

Ans.

Apache Cassandra is a persistent in-memory key-value store optimized for write-heavy workloads using SSTables and compaction.

  • Apache Cassandra is a popular choice for write-heavy workloads due to its distributed architecture and support for SSTables.

  • SSTables (Sorted String Tables) are used to store data on disk in a sorted manner, allowing for efficient read and write operations.

  • Compaction in Apache Cassandra helps to merge and organize SSTables, reducing disk space usage and ...read more

Add your answer

Q80. What is the command used for clear cookies

Ans.

The command used for clearing cookies varies depending on the web browser being used.

  • In Google Chrome, the command is 'chrome://settings/clearBrowserData'

  • In Mozilla Firefox, the command is 'Options > Privacy & Security > Cookies and Site Data > Clear Data'

  • In Microsoft Edge, the command is 'Settings > Privacy, search, and services > Clear browsing data > Choose what to clear'

  • In Safari, the command is 'Safari > Preferences > Privacy > Manage Website Data > Remove All'

Add your answer

Q81. What is decorator? Types of flow Difference between role and profile

Ans.

A decorator is a design pattern in Salesforce that allows you to add behavior to objects dynamically.

  • Decorators are used to modify the behavior of objects at runtime without changing their actual code

  • They are commonly used in Salesforce to extend the functionality of standard objects or fields

  • Decorators can be used to add validation rules, trigger logic, or custom UI components to Salesforce objects

Add your answer

Q82. what is java and how to slove concurrency error

Ans.

Java is a popular programming language used for developing various applications. Concurrency errors occur when multiple threads access shared resources simultaneously.

  • Java is a high-level, object-oriented programming language known for its platform independence.

  • Concurrency errors in Java can be solved using synchronization mechanisms like synchronized blocks, locks, and atomic variables.

  • Examples of solving concurrency errors in Java include using synchronized keyword to prote...read more

Add your answer

Q83. Write a program to remove all the space from the sentence .

Ans.

Program to remove all spaces from a sentence

  • Iterate through each character in the sentence

  • If the character is not a space, add it to a new string

  • Return the new string without spaces

Add your answer

Q84. Soql limits- max. time for a soql query to run.

Add your answer

Q85. Can you explain about Platform Events?

Ans.

Platform Events are a feature in Salesforce that allow developers to deliver secure, scalable, and customizable event notifications.

  • Platform Events are based on the publish-subscribe model, where publishers send events and subscribers receive them.

  • They are used to communicate changes in Salesforce data or custom events within an organization.

  • Developers can define custom event objects and trigger events using Apex or declaratively through Process Builder or Flow.

  • Subscribers ca...read more

Add your answer

Q86. Can we call Aura from LWC

Ans.

Yes, Aura can be called from LWC using the lightning namespace

  • Aura can be called from LWC using the 'lightning' namespace

  • You can use 'lightning/navigation' to navigate to a record page or URL

  • You can also use 'lightning/messageService' to communicate between components

Add your answer

Q87. Communities in depth

Ans.

Communities are groups of people with shared interests or goals who come together to support each other and achieve their objectives.

  • Communities can be based on various factors such as location, profession, hobbies, religion, etc.

  • They provide a platform for individuals to connect, share knowledge and experiences, and collaborate on projects.

  • Online communities have become increasingly popular with the rise of social media platforms.

  • Examples of communities include professional ...read more

Add your answer

Q88. What is Scatter gather how it works

Ans.

Scatter gather is a Mule component that sends a message to multiple targets in parallel and aggregates the responses.

  • Scatter gather allows you to send a message to multiple endpoints concurrently.

  • Each endpoint processes the message independently and returns a response.

  • The responses are then aggregated and returned as a single message.

  • Useful for scenarios where you need to call multiple services and combine their results.

  • Example: Sending a request to multiple APIs and combinin...read more

Add your answer

Q89. 1) Custom Settings & Custom Meta data difference

Ans.

Custom Settings are hierarchical data that can be accessed using Apex code, while Custom Metadata are records that can be accessed using SOQL queries.

  • Custom Settings are hierarchical data that can be accessed using Apex code, while Custom Metadata are records that can be accessed using SOQL queries.

  • Custom Settings are used to store data that is organization-specific, while Custom Metadata is used to store metadata that can be deployed between orgs.

  • Custom Settings can be acces...read more

Add your answer

Q90. Data Security in Salesforce and types in it.

Ans.

Data security in Salesforce involves various types of security measures to protect sensitive information.

  • Salesforce provides various security features such as user authentication, data encryption, and access controls.

  • Types of data security in Salesforce include object-level security, field-level security, and record-level security.

  • Salesforce also offers tools like Salesforce Shield for enhanced data security and compliance.

  • Regular security audits and monitoring help ensure da...read more

Add your answer

Q91. How to manage stakeholders

Ans.

Managing stakeholders involves identifying their needs, communicating effectively, and building strong relationships.

  • Identify key stakeholders and their interests

  • Communicate regularly and transparently

  • Build trust and rapport through active listening and responsiveness

  • Address concerns and conflicts proactively

  • Involve stakeholders in decision-making processes

  • Monitor and evaluate stakeholder engagement

  • Adjust strategies as needed to meet stakeholder needs

Add your answer

Q92. how to handle dynamic web elements

Ans.

Handle dynamic web elements by using techniques like waiting, locating by attributes, and using explicit waits.

  • Use implicit waits to wait for elements to load before interacting with them

  • Locate elements by attributes like ID, class name, xpath, etc.

  • Use explicit waits to wait for specific conditions before proceeding

  • Handle dynamic elements by using dynamic locators or regular expressions

  • Use frameworks like Selenium for handling dynamic web elements

Add your answer

Q93. Explanation of process and matching our experience

Ans.

The process involves explaining how our experience matches the requirements of the position.

  • Start by discussing the specific tasks and responsibilities of the position

  • Explain how your previous experience aligns with these tasks

  • Provide examples of projects or tasks you have completed that demonstrate your skills and abilities

  • Highlight any relevant certifications or training you have received

Add your answer

Q94. Type used f testing you do

Ans.

I use various types of testing such as functional, regression, integration, and user acceptance testing.

  • Functional testing to ensure the system meets the requirements

  • Regression testing to ensure changes don't break existing functionality

  • Integration testing to ensure different components work together

  • User acceptance testing to ensure the system meets user needs

  • Exploratory testing to find defects that may not be covered by other types of testing

Add your answer

Q95. 2) Diff bn Queable and future apex

Ans.

Queueable and Future Apex are both ways to run processes asynchronously in Salesforce, but they have some key differences.

  • Queueable allows chaining of jobs and implements the Queueable interface, while Future Apex does not support chaining.

  • Queueable jobs can be monitored and managed through the Apex Jobs page in Salesforce, while Future Apex jobs cannot be monitored in the same way.

  • Queueable jobs have a limit of 50 jobs in the queue per transaction, while Future Apex has a li...read more

Add your answer

Q96. Deep diving into current project works

Ans.

I am currently working on developing a new feature for our company's website to improve user experience.

  • Researching user feedback and analyzing data to identify areas for improvement

  • Collaborating with designers and developers to create wireframes and prototypes

  • Implementing and testing the new feature to ensure functionality and usability

  • Gathering feedback from users through surveys and usability testing

  • Iterating on the feature based on feedback and data analysis

Add your answer

Q97. How would you improve it?

Add your answer

Q98. What is null pointer exception

Ans.

A null pointer exception occurs when a program tries to access a memory address that is null or invalid.

  • Occurs in programming languages like Java when trying to access an object or variable that is null

  • Can be caused by not properly initializing a variable before using it

  • Example: int[] arr = null; int x = arr.length; // This will throw a null pointer exception

Add your answer

Q99. Explain the SOC in your words

Ans.

SOC stands for Security Operations Center. It is a centralized unit that monitors and manages an organization's security posture.

  • SOC is responsible for detecting, analyzing, and responding to security incidents.

  • It uses various tools and technologies to monitor the organization's network, systems, and applications.

  • SOC analysts investigate security alerts and incidents to determine their severity and impact.

  • They also develop and implement security policies and procedures to pre...read more

Add your answer

Q100. Pitch product of choice

Ans.

Our product is a cloud-based project management software that streamlines team collaboration and increases productivity.

  • Our software offers real-time communication and task tracking features.

  • It allows for easy delegation of tasks and project timelines.

  • Integrates with popular tools like Slack and Trello.

  • Customizable dashboards and reporting for project progress.

  • Affordable pricing plans for businesses of all sizes.

Add your answer
1
2

More about working at Salesforce

#12 Best Mid-Sized Company - 2022
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Freshersworld.com

based on 188 interviews
Interview experience
4.3
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.5
 • 2.1k Interview Questions
3.8
 • 403 Interview Questions
4.4
 • 218 Interview Questions
3.7
 • 169 Interview Questions
4.1
 • 148 Interview Questions
3.7
 • 140 Interview Questions
View all
Top Salesforce Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter