Data Model Interview Questions check how well you understand objects, fields, relationships, formulas and validation rules, the base of every Salesforce org. This is Part 3 of our 25-part series, and freshers get many of these questions in the first round.
In Part 2, we covered Flow and automation. Here we stay with the building blocks. For practice with real situations, also see our data model scenario questions.
How to Use These Data Model Interview Questions
First, learn the words: object, field, record, relationship and record type. Next, practise the “can you” questions, because interviewers love limits and edge cases. Then build one example of each relationship in your practice org. Our data model guide explains every term.

Data Model Interview Questions on Objects
Study with Standard vs Custom Objects.
- What is an object in Salesforce?
- What is the difference between a standard and a custom object?
- How can you tell from the API name if an object is custom?
- What options do you set when you create a custom object?
- What do Allow Reports, Allow Activities and Track Field History do?
- Briefly, what does the Deployment Status of an object mean?
- Can you delete a custom object? What happens to its data?
- Can you rename a standard object?
- What is a big object?
- What is an external object?
- How many custom objects can an org have?
- What is an object relationship diagram, and why draw one?
- Scenario: the school needs to track student enrollments. Do you use a standard or a custom object, and why?
- Scenario: a user wants to rename “Account” to “School” for the whole org. How do you do it?
Field Types Questions
Study with Formula Fields and Field Types.
- What are the main field data types?
- What is the difference between Text, Text Area, Long Text Area and Rich Text Area?
- Explain the difference between Number, Currency and Percent fields.
- What is an auto number field used for?
- What is a geolocation field?
- Define an encrypted text field.
- Can you change a field data type later? What are the risks?
- Which field types cannot be changed later?
- What is help text on a field?
- What are audit fields, and can you set them during a data load?
- Briefly, what happens when you delete a custom field?
- Can you restore a deleted field?
- How many custom fields can an object have?
- What is the difference between a picklist and a lookup field?
- What is a time field?
- Define a URL field.
- Scenario: a field has the wrong data type in production and holds 10,000 values. How do you change it safely?
- Scenario: users type phone numbers in many formats. Which field type and rule do you use?
Data Model Interview Questions on Record IDs, Unique and External IDs
Study with Data Migration.
- What is a record ID?
- What is the difference between the 15 and 18 character ID?
- How do you get the 18 character ID in a formula?
- What is an external ID?
- Why do data loads use external IDs?
- What makes a field unique?
- Which field types cannot be unique?
- Can a field be both unique and an external ID?
- Is the record Name field unique?
- Scenario: two systems use different IDs for the same customer. How do you store both?
- Scenario: a spreadsheet matches records by 15 character IDs and gives wrong results. Why?
Picklists and Record Types Questions
Study with Picklists and Record Types.
- What is a picklist?
- What is a global value set?
- Define a restricted picklist.
- What is a dependent picklist?
- Which fields can be controlling fields?
- Can a multi-select picklist be a controlling field?
- How do you replace an old picklist value on records?
- What is a record type?
- How do record types link to page layouts?
- What is a business process, such as a sales process?
- What is the master record type?
- How do you set a default record type for users?
- Can a user see records of a record type they cannot use?
- Scenario: schools and single students need different fields and stages on Account. How do you design it?
- Scenario: picklist values must differ by country. What are your options?

Data Model Interview Questions on Relationships
Study with Master-Detail vs Lookup.
- What relationship types does Salesforce have?
- What is a lookup relationship?
- Define a master-detail relationship.
- What is the difference between lookup and master-detail?
- What happens to children when you delete the parent in each type?
- If you restore the parent, do the children come back?
- Can a standard object be the detail side of master-detail?
- How many master-detail relationships can one object have?
- How many relationships can one object have in total?
- Can you change a lookup to master-detail? What must be true first?
- Can you change master-detail to lookup?
- What is a self relationship?
- What is a hierarchical relationship?
- Describe external lookup and indirect lookup relationships.
- How does sharing work for the detail side of master-detail?
- Can you create a lookup to the User object?
- What is a lookup filter?
- Can a lookup filter be optional?
- Scenario: a lookup must stop users from deleting a parent that has children. Which option do you choose?
- Scenario: course records must disappear when their program is deleted. Which relationship do you use?
Junction Objects and Roll-Ups Questions
Study with Roll-Up Summary Fields.
- What is a junction object?
- Give a real example of a junction object.
- Which parent is the primary master on a junction object?
- What is a roll-up summary field?
- Which functions can a roll-up summary use?
- Can you filter a roll-up summary?
- Can you create a roll-up summary on a lookup relationship?
- How do you build a total on a lookup relationship?
- Can you roll up from Contact to Account?
- How many roll-up summary fields can an object have?
- Scenario: students join many courses and courses have many students. How do you model it?
- Scenario: each course must show the total of paid enrollments. What do you build?
Data Model Interview Questions on Formula Fields
Study with Formula Fields.
- What is a formula field?
- Can users edit a formula field value?
- What return types can a formula have?
- What is a cross-object formula?
- How many levels can a cross-object formula reach?
- What is the difference between ISBLANK and ISNULL?
- What do IF and CASE do in a formula?
- Explain the difference between TODAY() and NOW().
- How do you add days to a date in a formula?
- What does the TEXT() function do with a picklist?
- Does a formula field use data storage?
- Can you use a formula field in a roll-up summary?
- What is the character limit of a formula?
- What is the difference between BLANKVALUE and NULLVALUE?
- How do you show an image or icon with a formula?
- Scenario: show “Senior” when a course lasts more than 12 weeks, else “Standard”. Write the formula idea.
- Scenario: a formula shows an error because a field is blank. How do you fix it?
Validation Rules Questions
Study with Validation Rules and REGEX Validation.
- What is a validation rule?
- When does a validation rule show its error?
- Where can a validation rule error appear on the page?
- How do you make a rule run only for new records?
- What do ISCHANGED and PRIORVALUE do?
- In how many ways can you make a field required?
- Can a validation rule stop a delete?
- Do validation rules run for Data Loader and flows?
- How do you let an integration user skip a rule?
- What is the REGEX function used for?
- How many validation rules can one object have?
- What is the difference between a validation rule and a required field on the layout?
- How do you test a validation rule before you activate it?
- Scenario: the Fee must be more than zero, but only for paid courses. Write the rule idea.
- Scenario: a rule blocks a data load of old records. How do you load them?
Data Model Interview Questions on Custom Metadata, Settings and Labels
Study with Custom Metadata Types vs Custom Settings and Schema Builder.
- What is a custom metadata type?
- What is a custom setting?
- Explain the difference between them.
- What is a hierarchy custom setting?
- What are custom labels, and why use them?
- Explain what Schema Builder is used for.
- Can you create fields in Schema Builder?
- Scenario: discount rates must be the same in every sandbox and production. Where do you store them?
- Scenario: one user must skip a validation rule. Which tool helps?
Data Model Interview Questions FAQ
Are data model questions asked to freshers?
Yes. Objects, fields, relationships and validation rules are the most common fresher topics.
How deep should my answers be?
Give the definition, one limit or rule, and one example. That shows real understanding.
Official Resources
Quick Recap
- These Data Model Interview Questions cover objects, fields, IDs, picklists, relationships, formulas and rules.
- Learn the limits and the “can you” answers.
- Build each relationship type once in a practice org.
- Each section ends with two scenario questions.
- Part 4 covers Sales Cloud.
What’s Next?
Continue with the next part. Read Salesforce CRM Interview Questions: Sales Cloud (Part 4).


