Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Cloud Analogy Team. If you also belong to the team, you can get access from here

Cloud Analogy Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Cloud Analogy Salesforce Developer Interview Questions and Answers

Updated 27 Mar 2025

14 Interview questions

A Salesforce Developer was asked 2mo ago
Q. Do you know about user management?
Ans. 

User management in Salesforce involves creating, managing, and securing user accounts and their access to data.

  • User Roles: Define user roles to control access levels, e.g., Admin, Sales Rep.

  • Profiles: Assign profiles to users to set permissions, e.g., Read/Write access to specific objects.

  • Permission Sets: Use permission sets to grant additional permissions without changing profiles.

  • User Licenses: Manage different t...

A Salesforce Developer was asked 2mo ago
Q. Explain the security model of Salesforce.
Ans. 

Salesforce's security model ensures data protection through various layers like organization-wide defaults, role hierarchy, and sharing rules.

  • Organization-Wide Defaults (OWD): Sets baseline access levels for all records, e.g., Public Read Only.

  • Role Hierarchy: Allows users higher in the hierarchy to access records owned by users below them.

  • Sharing Rules: Custom rules to grant additional access to specific groups, e...

Salesforce Developer Interview Questions Asked at Other Companies

asked in Cognizant
Q1. Write a trigger to update related Opportunity records when an acc ... read more
asked in Deloitte
Q2. Write a trigger to update a contact when an account's phone numbe ... read more
asked in Infosys
Q3. How do you make the child records read-only if the parent record' ... read more
asked in Cognizant
Q4. How many ways can asynchronous code be written in Salesforce?
asked in TCS
Q5. Difference between Roles & Profiles, Difference between Workf ... read more
A Salesforce Developer was asked 3mo ago
Q. Given a 2D matrix, find the sum of the elements on the right diagonal.
Ans. 

Calculate the sum of elements on the right diagonal of a 2D matrix.

  • The right diagonal elements are those where the row index and column index sum to the number of columns minus one.

  • For a matrix of size n x n, the right diagonal elements are at positions (0, n-1), (1, n-2), ..., (n-1, 0).

  • Example: For the matrix [[1, 2, 3], [4, 5, 6], [7, 8, 9]], the right diagonal is 3, 5, 7. Sum = 3 + 5 + 7 = 15.

  • Iterate through th...

A Salesforce Developer was asked 3mo ago
Q. Given an integer n, return true if it is a power of two. Otherwise, return false. An integer n is a power of two, if there exists an integer x such that n == 2x.
Ans. 

A number is a power of 2 if it can be expressed as 2 raised to an integer exponent, like 1, 2, 4, 8, 16, etc.

  • Definition: A number n is a power of 2 if there exists an integer x such that n = 2^x.

  • Binary Representation: A power of 2 has exactly one '1' in its binary representation. For example, 4 (100) and 8 (1000).

  • Mathematical Check: You can check if n > 0 and (n & (n - 1)) == 0. For instance, for n = 8, (8 ...

A Salesforce Developer was asked 7mo ago
Q. Write code to print a pyramid pattern.
Ans. 

Code to print pyramid pattern in Python

  • Use nested loops to print spaces and stars in each row

  • Increment the number of stars in each row to form the pyramid shape

  • Example: for a pyramid with 5 rows, the code would look like this:

  • for i in range(5):

  • print(' '*(5-i-1) + '*'*(2*i+1))

A Salesforce Developer was asked 7mo ago
Q. Write code to reverse a string containing your name.
Ans. 

Code to reverse a string of your name

  • Create a function that takes a string as input

  • Use built-in functions like reverse() or loop through the string to reverse it

  • Return the reversed string

A Salesforce Developer was asked
Q. When will we face an 'Attempt to de-refresh null object' error?
Ans. 

Attempt to de-reference null object occurs when trying to access or manipulate a null object in Salesforce development.

  • Always check if an object is null before trying to access its properties or methods

  • Use safe navigation operator '?' to avoid null pointer exceptions

  • Example: Account acc = null; System.debug(acc.Name); // This will throw Attempt to de-reference null object error

  • Example: Account acc = null; System.d...

Are these interview questions helpful?
A Salesforce Developer was asked
Q. What does a Salesforce developer do?
Ans. 

Salesforce developer is a professional who develops and customizes applications on the Salesforce platform.

  • Salesforce developers use Apex and Visualforce to create custom applications and functionality

  • They work closely with stakeholders to understand business requirements and design solutions

  • They also integrate Salesforce with other systems and manage data within the platform

  • Examples of Salesforce developer roles ...

A Salesforce Developer was asked
Q. Why do we use the Apex programming language?
Ans. 

Apex is used for building custom business logic and integrations on the Salesforce platform.

  • Apex is a strongly-typed, object-oriented programming language.

  • It allows developers to create custom code to extend Salesforce functionality.

  • Apex can be used to build triggers, controllers, and classes for custom business logic.

  • It can also be used to integrate Salesforce with external systems.

  • Apex code runs natively on the ...

A Salesforce Developer was asked
Q. How do you remove leading whitespaces from a string in Python?
Ans. 

Python provides a built-in method to remove leading whitespaces from a string.

  • Use the lstrip() method to remove leading whitespaces from a string.

  • lstrip() method removes all whitespaces from the beginning of the string.

  • Example: string = ' Hello World' string.lstrip() Output: 'Hello World'

Cloud Analogy Salesforce Developer Interview Experiences

9 interviews found

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Write a code to reverse the string of your name.
  • Ans. 

    Code to reverse a string of your name

    • Create a function that takes a string as input

    • Use built-in functions like reverse() or loop through the string to reverse it

    • Return the reversed string

  • Answered by AI
  • Q2. Write a code to print pyramid pattern
  • Ans. 

    Code to print pyramid pattern in Python

    • Use nested loops to print spaces and stars in each row

    • Increment the number of stars in each row to form the pyramid shape

    • Example: for a pyramid with 5 rows, the code would look like this:

    • for i in range(5):

    • print(' '*(5-i-1) + '*'*(2*i+1))

  • Answered by AI
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I appeared for an interview in Sep 2024, where I was asked the following questions.

  • Q1. What is Salesforce and how Salesforce help to business?
  • Ans. 

    Salesforce is a cloud-based CRM platform that helps businesses manage customer relationships and streamline operations.

    • Centralized Customer Data: Salesforce provides a single platform to store and manage customer information, improving accessibility and collaboration.

    • Automation of Sales Processes: Tools like Sales Cloud automate lead tracking, opportunity management, and forecasting, enhancing sales efficiency.

    • Enhanced...

  • Answered by AI
  • Q2. Explain security model of salesforce?
  • Ans. 

    Salesforce's security model ensures data protection through various layers like organization-wide defaults, role hierarchy, and sharing rules.

    • Organization-Wide Defaults (OWD): Sets baseline access levels for all records, e.g., Public Read Only.

    • Role Hierarchy: Allows users higher in the hierarchy to access records owned by users below them.

    • Sharing Rules: Custom rules to grant additional access to specific groups, e.g., ...

  • Answered by AI
  • Q3. Explain relationship?
  • Ans. 

    In Salesforce, relationships define how objects are connected, enabling data integrity and efficient querying.

    • There are two main types of relationships: Lookup and Master-Detail.

    • Lookup relationships are one-to-one or one-to-many, e.g., a Contact can have a Lookup to an Account.

    • Master-Detail relationships create a strong bond, e.g., an Order (Master) can have multiple Order Items (Detail).

    • In Master-Detail, the Detail re...

  • Answered by AI
  • Q4. Do you know about user management ?
  • Ans. 

    User management in Salesforce involves creating, managing, and securing user accounts and their access to data.

    • User Roles: Define user roles to control access levels, e.g., Admin, Sales Rep.

    • Profiles: Assign profiles to users to set permissions, e.g., Read/Write access to specific objects.

    • Permission Sets: Use permission sets to grant additional permissions without changing profiles.

    • User Licenses: Manage different types ...

  • Answered by AI
  • Q5. Explain execution process?
  • Ans. 

    The execution process in Salesforce involves various stages from request to response, including triggers, workflows, and Apex code.

    • 1. Request Initiation: A user action or API call triggers the execution process.

    • 2. Context Setup: Salesforce sets up the execution context, including user permissions and record access.

    • 3. Trigger Execution: Before and after triggers are executed for the affected records.

    • 4. Workflow Rules: W...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - The company is very good.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I appeared for an interview in Sep 2024, where I was asked the following questions.

  • Q1. Find the right diagonal sum of a 2D matrix
  • Ans. 

    Calculate the sum of elements on the right diagonal of a 2D matrix.

    • The right diagonal elements are those where the row index and column index sum to the number of columns minus one.

    • For a matrix of size n x n, the right diagonal elements are at positions (0, n-1), (1, n-2), ..., (n-1, 0).

    • Example: For the matrix [[1, 2, 3], [4, 5, 6], [7, 8, 9]], the right diagonal is 3, 5, 7. Sum = 3 + 5 + 7 = 15.

    • Iterate through the mat...

  • Answered by AI
  • Q2. Check whether a number is Power of 2
  • Ans. 

    A number is a power of 2 if it can be expressed as 2 raised to an integer exponent, like 1, 2, 4, 8, 16, etc.

    • Definition: A number n is a power of 2 if there exists an integer x such that n = 2^x.

    • Binary Representation: A power of 2 has exactly one '1' in its binary representation. For example, 4 (100) and 8 (1000).

    • Mathematical Check: You can check if n > 0 and (n & (n - 1)) == 0. For instance, for n = 8, (8 &...

  • Answered by AI
  • Q3. SQL : Second highest salary of an Employee
  • Ans. 

    To find the second highest salary in SQL, we can use various methods like subqueries or the DISTINCT keyword.

    • Using Subquery: SELECT MAX(salary) FROM employees WHERE salary < (SELECT MAX(salary) FROM employees);

    • Using DISTINCT: SELECT DISTINCT salary FROM employees ORDER BY salary DESC LIMIT 1 OFFSET 1;

    • Using ROW_NUMBER: SELECT salary FROM (SELECT salary, ROW_NUMBER() OVER (ORDER BY salary DESC) AS rank FROM employees)...

  • Answered by AI
Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Campus Placement and was interviewed in Aug 2023. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Properly align and format text in your resume. A recruiter will have to spend more time reading poorly aligned text, leading to high chances of rejection.
View all tips
Round 2 - Coding Test 

There is a total of 4 coding questions and you have to complete any 3 codes to get selected for the next round i.e. Technical Round.

Round 3 - Technical 

(1 Question)

  • Q1. Not got shortlisted for this round
Round 4 - HR 

(1 Question)

  • Q1. Not got shortlisted for this round

Interview Preparation Tips

Interview preparation tips for other job seekers - 4 Coding Questions

1. You have to print a pattern like this

4 3 2 1
3 2 1
2 1
1
2 1
3 2 1
4 3 2 1

2. Find the number that needs to be removed to make a palindrome.
input = 12334
output = 2

3. Print the sum of the palindrome number between to number given.

Input = 10, 45
Palindrome numbers between these two are 11, 22, 33, 44
Output = 1+1+2+2+3+3+4+4
= 20

4. Generate a N-digit password whose sum and multiplication are two times the digit and equal.
Input = 4
Output = 1124

5 = 11125
6 = 111126
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. When we will face Attempt to de-refresh null object
  • Ans. 

    Attempt to de-reference null object occurs when trying to access or manipulate a null object in Salesforce development.

    • Always check if an object is null before trying to access its properties or methods

    • Use safe navigation operator '?' to avoid null pointer exceptions

    • Example: Account acc = null; System.debug(acc.Name); // This will throw Attempt to de-reference null object error

    • Example: Account acc = null; System.debug(...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Make sure give the logical and accurate answer
Interview experience
3
Average
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed in Dec 2022. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - Coding Test 

Mcq questiojn answering given

Round 3 - Technical 

(2 Questions)

  • Q1. What is salesforce developer
  • Ans. 

    Salesforce developer is a professional who develops and customizes applications on the Salesforce platform.

    • Salesforce developers use Apex and Visualforce to create custom applications and functionality

    • They work closely with stakeholders to understand business requirements and design solutions

    • They also integrate Salesforce with other systems and manage data within the platform

    • Examples of Salesforce developer roles inclu...

  • Answered by AI
  • Q2. Why we use apex programming language
  • Ans. 

    Apex is used for building custom business logic and integrations on the Salesforce platform.

    • Apex is a strongly-typed, object-oriented programming language.

    • It allows developers to create custom code to extend Salesforce functionality.

    • Apex can be used to build triggers, controllers, and classes for custom business logic.

    • It can also be used to integrate Salesforce with external systems.

    • Apex code runs natively on the Sales...

  • Answered by AI
Round 4 - Aptitude Test 

Quant and verbal percentage question number series question

Interview Preparation Tips

Interview preparation tips for other job seekers - please suggest best question answer for interview preparation

Skills evaluated in this interview

I applied via Campus Placement and was interviewed in Oct 2022. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Coding Test 

Coding test contains 4 questions in which we have to do only 3
1. It was based on a pattern ,we have to print the pattern
2. Reverse array with some additional work
3. Find the number to delete so that it makes a palindrome number .for ex-122321 Here 2 at index 0 or 1 should be deleted to make a palindrome number.
4.We have to find the difference of stable numbers and unstable number
Stable number is which contains same no. of each digit like 112233
Unstable no. which has different no. of each digit like 1123

Round 3 - Technical 

(1 Question)

  • Q1. Last atmost 20 minutes 1.Dsa question to find common factor of two numbers 2. Find sum of numbers of diagonals in matrix Other Dbms , Oops questions
Round 4 - HR 

(1 Question)

  • Q1. Last atmost 20 minutes 1. About myself 2. About interesting which is not in resume 3. While and do while loop syntax 4. Difference between c and c++ Some other hr questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Just focus on coding part as first round is coding. In interview also they just verify that candidate is done coding or not

I applied via Campus Placement and was interviewed in Mar 2022. There were 3 interview rounds.

Round 1 - Aptitude Test 
Round 2 - Technical 

(1 Question)

  • Q1. About Oops, syntax ,dbms , logical approach
Round 3 - HR 

(1 Question)

  • Q1. Family bckgrnd, strengths,weakness

Interview Preparation Tips

Interview preparation tips for other job seekers - learn basics ,oops in detail,dbms,projects must be descriptive

I applied via Campus Placement and was interviewed in Oct 2020. There were 4 interview rounds.

Interview Questionnaire 

6 Questions

  • Q1. Write the code to reverse the string
  • Ans. 

    Code to reverse a string

    • Create an empty string variable to store the reversed string

    • Loop through the original string from the end to the beginning

    • Add each character to the empty string variable

    • Return the reversed string

  • Answered by AI
  • Q2. How to overload constructor in Python?
  • Ans. 

    To overload constructor in Python, define multiple constructors with different parameters.

    • Python does not support method overloading like Java or C++.

    • To achieve method overloading, define multiple constructors with different parameters.

    • The constructor with the matching number and type of arguments will be called.

    • Use default arguments to define a constructor with optional parameters.

    • Example: def __init__(self, arg1, arg...

  • Answered by AI
  • Q3. How to remove leading whitespaces from a string in the Python
  • Ans. 

    Python provides a built-in method to remove leading whitespaces from a string.

    • Use the lstrip() method to remove leading whitespaces from a string.

    • lstrip() method removes all whitespaces from the beginning of the string.

    • Example: string = ' Hello World' string.lstrip() Output: 'Hello World'

  • Answered by AI
  • Q4. Why we use tuple, difference between tuple and list and some basic questions on data structure .
  • Q5. Oops concepts
  • Q6. Write code to create pattern { star (*) pattern was given }
  • Ans. 

    Code to create a star pattern

    • Use nested loops to print the pattern

    • The outer loop controls the number of rows

    • The inner loop controls the number of stars to print in each row

    • Use conditional statements to print spaces instead of stars in certain positions

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - First round will be a MCQ round, not too tough only basic questions.

Main is Interview :
For Technical interview ;
Prepare some data structure questions available over internet .
Prepare any language for pattern and some basic 5-6 line code .

That's it . HR round is normal
Tell me about yourself , Why cloud analogy , any experience , what is cloud computing and some basic HR questions as your likes , dislikes etc .

Skills evaluated in this interview

Top trending discussions

View All
Interview Tips & Stories
6d (edited)
a team lead
Why are women still asked such personal questions in interview?
I recently went for an interview… and honestly, m still trying to process what just happened. Instead of being asked about my skills, experience, or how I could add value to the company… the questions took a totally unexpected turn. The interviewer started asking things like When are you getting married? Are you engaged? And m sure, if I had said I was married, the next question would’ve been How long have you been married? What does my personal life have to do with the job m applying for? This is where I felt the gender discrimination hit hard. These types of questions are so casually thrown at women during interviews but are they ever asked to men? No one asks male candidates if they’re planning a wedding or how old their kids are. So why is it okay to ask women? Can we please stop normalising this kind of behaviour in interviews? Our careers shouldn’t be judged by our relationship status. Period.
Got a question about Cloud Analogy?
Ask anonymously on communities.

Interview questions from similar companies

I appeared for an interview before Mar 2021.

Round 1 - Coding Test 

Round duration - 30 minutes
Round difficulty - Medium

This was a MCQ round. 30 ques in 30 mins consisting of difficult quantitative aptitude questions were to be solved.

Round 2 - Coding Test 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Medium

In this test round, 2 coding questions were given. Either write the code or pseudo code

  • Q1. 

    N Queens Problem

    Given an integer N, find all possible placements of N queens on an N x N chessboard such that no two queens threaten each other.

    Explanation:

    A queen can attack another queen if they ar...

  • Ans. 

    The N Queens Problem involves finding all possible placements of N queens on an N x N chessboard without threatening each other.

    • Use backtracking algorithm to explore all possible configurations.

    • Keep track of rows, columns, and diagonals to ensure queens do not threaten each other.

    • Generate all valid configurations and print them out.

  • Answered by AI
  • Q2. 

    Sort 0 1 2 Problem Statement

    Given an integer array arr of size 'N' containing only 0s, 1s, and 2s, write an algorithm to sort the array.

    Input:

    The first line contains an integer 'T' representing the n...
  • Ans. 

    Sort an array of 0s, 1s, and 2s in linear time complexity.

    • Use three pointers to keep track of 0s, 1s, and 2s while traversing the array.

    • Swap elements based on the values encountered to sort the array in-place.

    • Time complexity should be O(N) and space complexity should be O(1).

  • Answered by AI
Round 3 - Face to Face 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Easy

This was a technical round with questions on DSA.

  • Q1. 

    Reverse Words in a String: Problem Statement

    You are given a string of length N. Your task is to reverse the string word by word. The input may contain multiple spaces between words and may have leading o...

  • Ans. 

    Reverse words in a string while handling leading, trailing, and multiple spaces.

    • Split the input string by spaces to get individual words

    • Reverse the order of the words

    • Join the reversed words with a single space in between

  • Answered by AI
  • Q2. 

    Circular Linked List Detection

    You are provided with the head of a linked list containing integers. Your task is to determine if the linked list is circular.

    Note:
    • A linked list is considered circula...
  • Ans. 

    Detect if a given linked list is circular by checking if it forms a closed loop.

    • Traverse the linked list using two pointers, one moving at double the speed of the other.

    • If the two pointers meet at any point, the linked list is circular.

    • If the faster pointer reaches the end of the list (NULL), the linked list is not circular.

  • Answered by AI
Round 4 - HR 

Round duration - 30 minutes
Round difficulty - Easy

HR round with typical behavioral problems.

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAMAQ Software interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, System Design, Aptitude, OOPSTime required to prepare for the interview - 5 monthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewSelected

Skills evaluated in this interview

Cloud Analogy Interview FAQs

How many rounds are there in Cloud Analogy Salesforce Developer interview?
Cloud Analogy interview process usually has 2-3 rounds. The most common rounds in the Cloud Analogy interview process are Technical, HR and Resume Shortlist.
What are the top questions asked in Cloud Analogy Salesforce Developer interview?

Some of the top questions asked at the Cloud Analogy Salesforce Developer interview -

  1. How to remove leading whitespaces from a string in the Pyt...read more
  2. Write code to create pattern { star (*) pattern was give...read more
  3. How to overload constructor in Pyth...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4.1/5

based on 9 interview experiences

Difficulty level

Easy 50%
Moderate 50%

Duration

Less than 2 weeks 75%
2-4 weeks 25%
View more

Interview Questions from Similar Companies

MAQ Software Interview Questions
1.9
 • 104 Interviews
Webkul Software Interview Questions
4.0
 • 71 Interviews
Softenger Interview Questions
4.0
 • 59 Interviews
Tata Digital Interview Questions
2.8
 • 48 Interviews
View all
Cloud Analogy Salesforce Developer Salary
based on 327 salaries
₹2.4 L/yr - ₹18.9 L/yr
27% more than the average Salesforce Developer Salary in India
View more details

Cloud Analogy Salesforce Developer Reviews and Ratings

based on 58 reviews

3.6/5

Rating in categories

3.9

Skill development

3.3

Work-life balance

3.7

Salary

3.1

Job security

3.3

Company culture

3.6

Promotions

3.4

Work satisfaction

Explore 58 Reviews and Ratings
Salesforce Developer
327 salaries
unlock blur

₹2.4 L/yr - ₹18.9 L/yr

Quality Analyst
77 salaries
unlock blur

₹2.7 L/yr - ₹7.7 L/yr

Salesforce Administrator
66 salaries
unlock blur

₹3.9 L/yr - ₹9 L/yr

Senior Salesforce Developer
40 salaries
unlock blur

₹10.1 L/yr - ₹21.8 L/yr

Full Stack Developer
40 salaries
unlock blur

₹7.3 L/yr - ₹14.9 L/yr

Explore more salaries
Compare Cloud Analogy with

Tekwissen

4.8
Compare

Softenger

4.0
Compare

XcelServ Solutions

4.4
Compare

Capital Numbers Infotech

4.4
Compare
write
Share an Interview