Skip to content

Study guide

Also in 28 languages

Español · 日本語 · Português (Brasil) · Français · Deutsch · Italiano · 한국어 · 简体中文 · Português (Portugal) · 繁體中文 · Bahasa Indonesia · Türkçe · Polski · Tiếng Việt · ไทย · Nederlands · العربية · עברית · Українська · हिन्दी · Русский · Svenska · Dansk · Norsk bokmål · Suomi · Español (México) · Français (Canada) · Deutsch (Schweiz)

An open sketchbook on a drafting table at dawn, a building sketched on one page and a data model on the other, with a pencil, an eraser, a cup and a lamp.
Image generated with AI

Study guide for chapter 2 of the Data Architect course. Read the six modules first; this page helps you check what stuck.

About this study guide. It’s built only from this course’s own content and the published Salesforce exam guide’s list of objectives. It is never based on real exam questions, and it doesn’t claim to know what’s on the exam. If you’ve taken the exam, please don’t send me questions from it: the certification agreement forbids sharing them, and memorizing answers is the wrong way to become an architect anyway.

This chapter is the foundation for the exam’s Data Modeling and Database Design section, which is a quarter of the exam. It covers the thinking; the next chapter, Salesforce Data Architecture, covers how the platform builds it. So most of what’s tested on objects, fields and relationships needs both chapters.

The points from this chapter most likely to matter on the exam. Each one is tied to its exam objective and links to where it’s taught. Tick them off as you go.

DM-1: comparing techniques for designing a Salesforce data model

The exam is the floor, not the ceiling. These are the habits from this chapter that an architect needs, whether or not a question ever asks about them.

  • Forget Salesforce for a minute. Model the business before you map it to Account and Contact.
  • Listen for the word that hides two things. At Steve Trucking, “customer” was a Retail Partner and a Recipient.
  • The model is part of the conversation. Your first model isn’t meant to be right; it’s meant to show you where you’re wrong.
  • Name the lines. Two models with the same boxes can mean different things.
  • Ask “now, or over time?” of every relationship.
  • Unique, unchanging, meaningless, never PII.
  • Put a fact where it belongs, then back off on purpose, and write down why.
  • Denormalization doesn’t remove complexity; it moves it. Know who owns the truth.
  • One source of truth, many shapes: screens, reports, the warehouse and AI.
  • Don’t design from Setup. Draw the model before you click New Custom Object.
  • Trace every physical decision back to something the business needs.
TermIn one line
EntityA thing the business cares about and keeps data on
Candidate entityA noun that might become an entity, once you’ve asked about it
AttributeA fact that describes an entity
RelationshipHow two entities are connected, named in business language
CardinalityHow many of one relate to how many of the other
OptionalityWhether the relationship is required, or can be zero
Crow’s footThe mark for “many” at the end of a line
Junction objectSalesforce’s way to build a many-to-many relationship: a child of both parents
Conceptual modelWhat exists in the business and how it relates; no Salesforce
Logical modelThe data: attributes, unique IDs and relationships, still not tied to a platform
Physical modelHow the platform will build it: objects, fields and relationship types
Natural keyAn identifier that already exists in the business, like a truck’s VIN
Surrogate keyAn identifier created only to identify the record
External identifierAnother system’s ID for the same record, kept and mapped
Normalization (1NF, 2NF, 3NF)Putting each fact where it belongs: one value per field, facts about the whole key, no facts about other facts
DenormalizationCopying or flattening data on purpose, for a reason you can name
Update anomalyThe same fact stored in many places, so one change leaves some copies wrong

Short scenarios in the style of the course. Decide your answer before you open it.

1. A business tells you a crew drives a truck. Six weeks later, someone asks which crew had truck 117 on a given day. What should the model have had?

A Crew Assignment: the relationship between crew and truck as a record of its own, with a start date, an end date and the route. Crews and trucks are many-to-many over time, and the business cares about the history. A field on the truck would have been overwritten. Reread Time Changes Relationships.

2. A team proposes using each Recipient's phone number as the unique ID, "because it's unique." What do you say?

It fails the tests: phone numbers change and get shared, so it isn’t unchanging or reliably unique, and it’s personal information that would be copied into every system that links to the record. Use a meaningless generated ID and keep the phone number as an attribute. Reread Then We Have to Talk About Unique IDs.

3. A Delivery has fields Item 1, Item 2 and Item 3. A delivery with four items arrives. What's the real problem, and the fix?

The model hid a repeating structure inside fields (a first normal form problem). The fix isn’t an Item 4 field; it’s a Delivery Item entity, a child of Delivery, so every item is a record. Reread First Normal Form.

4. Every delivery stores the distribution center manager's name. The manager changes. What went wrong?

A fact about something else (the distribution center) was stored on the delivery: a third normal form problem, and now an update anomaly across hundreds of records. The manager belongs with the distribution center; the delivery points at the distribution center. Reread Third Normal Form.

5. The kind of stop (delivery only, with install, with haul-away) needs a duration, crew skills and a checklist. Picklist or object?

An object. It has more than one column of information, it’s managed by the business and it changes on its own schedule. A delivery’s status, a short stable list of labels, stays a picklist. Reread Lookup or Picklist?.

6. Partners want an on-time scorecard by region, and the region lives on the distribution center. You copy the region onto each delivery. What must you decide?

Who owns the truth, how the copy stays in sync, and whether old deliveries should keep the region that was true when they happened or follow the distribution center if it moves. Denormalizing moved the complexity; it didn’t remove it. Reread Sometimes Reporting Wins.

7. A trick like Sit could be linked to hundreds of thousands of pets. Master-detail or lookup from Pet Trick to Trick?

A lookup. Salesforce’s guidance is no more than 10,000 children on one parent, and a popular trick would pass it. Master-detail fits Pet Trick to Pet, because a pet’s trick is never re-parented and one pet knows only a few tricks; it’s also what lets the pet roll up its Tricks Known count. Reread Sit, Stay, Model.