SF-Data-Arch · domain
Data Modeling and Database Design
This domain covers how to design scalable Salesforce data models and storage strategies for large volumes. It is tested through scenario questions on relationship types, external objects, big objects, archiving, and reporting on audit history, requiring architects to choose the right pattern for volume, retention, and access needs.
Focused practice
Practice Data Modeling and Database Design questions
Scored sessions drawing only from this domain — pick a length below.
Start 20-question practice test →What this domain covers
What to know about Data Modeling and Database Design
A candidate must be able to choose the correct object type and relationship for a given volume, retention, and access pattern. The single most important thing is matching the data model to the reporting and audit requirement, not defaulting to standard objects.
Selecting Big Objects, External Objects, or standard objects for high-volume data warehouse and call detail record scenarios
Choosing between Lookup, Master-Detail, and Junction objects to model many-to-many relationships such as Training Sessions and Employees
Designing Field Audit Trail and History Tracking to report on duration records spend in each Status value
Applying data archiving, retention, and storage strategies to manage rapid growth without degrading performance
Watch out for
Common Data Modeling and Database Design exam traps
- ▸Assuming standard History Tracking retains unlimited field history; it has a retention limit, so long-term audit needs require Field Audit Trail.
- ▸Modeling many-to-many with two lookups instead of a junction object, which breaks correct relationship semantics and reporting.
- ▸Treating Big Objects as fully reportable and queryable like standard objects; they support limited query and no standard reporting joins.
Question index
All Data Modeling and Database Design questions (41)
Click any question to see the full explanation, or start a practice session above.
An architect is modeling a 'Subscription' service where Customers have multiple active subscriptions. Which approach best handles the 'Current' vs 'Historical' subscription data for reporting?
Medium2An organization wants to use 'Person Accounts' to manage B2C relationships. Which consideration is most important for a Data Architect when evaluating this change?
Medium3A company is migrating legacy data and needs to preserve the CreatedDate and CreatedById. Which feature should they enable?
Medium4An org has a custom object 'Invoice__c' with a Lookup to Account. Users frequently complain that deleting an Account leaves orphaned Invoice records, and reports show Invoices with no Account. The business wants the platform to prevent an Invoice from being saved without a valid Account. Which change should the architect make?
Easy5An architect is choosing between storing a new data domain in a custom object versus using Big Objects in Salesforce. The dataset is expected to reach billions of records with append-only writes and infrequent, key-based reads. Which two characteristics make Big Objects the appropriate choice for this scenario? (Choose two.)
Hard6Universal Containers wants to track complex relationships between Accounts where one Account can be a subsidiary of many others, and an Account can have many parent companies. Which modeling approach should the Architect recommend?
Medium7An architect is building a data model for a subscription service. They need to calculate the total revenue across all related 'Invoice' records for an 'Account'. Which approach should they use?
Medium8An administrator wants to convert an existing custom lookup relationship on the 'Project' object pointing to the 'Client' object into a master-detail relationship. Which precondition must be satisfied before this conversion can be completed successfully?
Easy9Universal Containers requires a data model where a Child object must have exactly one Parent object that is mandatory. If the Parent is deleted, the Child must be deleted. Which relationship should the Architect select?
Medium10A nonprofit needs to record donations. Each donation is made by exactly one donor Account, and the organization wants a Donor's lifetime giving total displayed on the Account record itself, updated automatically whenever a Donation is created or edited. What should the architect configure?
Easy11A financial services firm stores portfolio holdings in a custom object with 4 million records. Analysts frequently filter holdings by Account and by a calculated risk score derived from multiple fields on the holding record. The architect wants to minimize query time when users filter by risk score in list views and reports. Which approach should the architect take?
Medium12When designing a data model for a multi-region deployment, what is the best way to handle global picklist values?
Medium13Which TWO factors should be considered when choosing between a Master-Detail and a Lookup relationship for a new custom object? (Choose two)
Hard14A Data Architect is analyzing a legacy system migration. Which THREE factors should be evaluated before deciding between a Lookup or a Master-Detail relationship?
Medium15An enterprise architect is evaluating data storage strategies for a telecommunications client experiencing rapid data growth of fifty million call detail records annually. Which TWO strategies should the architect implement to maintain database query performance and platform data limits? Choose 2 answers.
Hard16Which design approach is best for handling a 'Data Warehouse' requirement within Salesforce when dealing with millions of records?
Medium17An architect is designing a schema to store product information. Each product has many versions, and each version has many components. What is the most efficient way to model this relationship?
Medium18When designing a custom Data Model, when should an architect choose a 'Lookup' relationship over a 'Master-Detail' relationship?
Medium19A healthcare company needs to store patient consent records that must be retained for ten years and are rarely accessed after the first year. The records include sensitive data and must be queryable by compliance officers using standard reports. Which storage strategy should the architect recommend?
Easy20Refer to the exhibit. The architect observes this error during bulk Opportunity updates. Which action resolves the issue while adhering to best practices?
Hard21Refer to the exhibit. The query is part of a bulk apex process. What is the potential risk with this query in a large-scale data environment?
Hard22Universal Containers notices severe locking issues and transaction failures when updating a parent Account object that has over 15,000 child records in a master-detail relationship. What is the fundamental architectural cause of this behavior?
Medium23Refer to the exhibit. The Data Architect is tasked with ensuring that order status options are limited based on the geographic region of the order. Which feature should be used to implement this?
Medium24Universal Containers maintains a custom object, Shipment__c, that has a Master-Detail relationship to Account and a Lookup to Carrier__c. A Data Architect is asked to design a new object, Shipment_Line__c, that must always belong to exactly one Shipment__c, must inherit Shipment__c's sharing rules, and must not be independently owned by a different user. Which relationship type should be used between Shipment_Line__c and Shipment__c?
Hard25A Data Architect is designing a high-volume data model where an Account has millions of Child records. Which TWO strategies should be implemented to ensure optimal performance and avoid data skew?
Hard26An organization has 50 million records in a custom object. They need to report on historical snapshots weekly. What is the best strategy to manage storage while keeping data available?
Medium27An architect is designing a schema for a logistics org where each 'Shipment__c' record can be linked to many 'Carrier__c' records, and each Carrier can serve many Shipments. The business also needs to store the negotiated 'Rate__c' and 'Effective_Date__c' specific to each Shipment-Carrier pairing, and report on those values. Which data modeling approach should the architect use?
Hard28A healthcare provider's Salesforce org uses a custom object 'Care_Plan__c' with a Lookup to 'Patient__c'. Compliance now requires that a Care Plan cannot exist without a Patient, that the Patient record cannot be deleted while Care Plans reference it, and that each Care Plan should inherit the Patient's sharing settings. The team also needs a roll-up summary of active Care Plans on the Patient record. Which relationship change should the architect recommend?
Medium29A Salesforce org has a custom object Invoice__c with a Lookup relationship to Account. The business now requires that every Invoice__c record must always have a valid Account, and deleting an Account must also delete its related invoices. The architect decides to change the relationship type to Master-Detail. Which statement describes a valid consequence of this change?
Medium30A Salesforce architect is designing a data model for a recruiting application. A Candidate can apply to many Positions, and a Position can receive applications from many Candidates. For each application, the company needs to track the Application Date and the Source (for example, LinkedIn or Referral). Which data modeling approach should the architect use?
Medium31Refer to the exhibit. An architect needs to track changes to the 'Status__c' field for auditing purposes. Based on the configuration provided, what is the best way to report on the duration a record spent in each status?
Medium32Which field type should be used for a primary key when integrating data from an external ERP system into Salesforce?
Medium33A Salesforce architect is designing a data model for a custom object 'Invoice__c' that will have a master-detail relationship to 'Account'. The architect needs to ensure that the data model supports efficient reporting and aggregation. Which two considerations are critical when designing this master-detail relationship? (Choose two.)
Hard34A large university is modeling academic records in Salesforce. Each Course can be taught by multiple Instructors, and each Instructor can teach multiple Courses. The university must report on the aggregate number of Courses each Instructor is teaching per semester and enforce that an Instructor cannot be assigned to the same Course twice within the same semester. Which data modeling approach should the architect implement?
Hard35A company requires a data model to track 'Training Sessions' (which have many attendees) and 'Employees' (who attend many sessions). Which relationship is required to model this correctly?
Medium36Which indexing strategy is best to improve performance for queries on a field used in multiple filters?
Medium37Universal Containers requires a many-to-many relationship between Projects and Consultants. They need to track specific attributes like 'Hourly Rate' and 'Assigned Role' on the relationship itself. Which approach should a Data Architect recommend?
Medium38A Salesforce architect is designing a data model for a custom object 'Case__c' that needs to track the priority of each case. The priority values must be limited to a predefined list: Low, Medium, High, and Critical. Users should be able to select only one value, and the values should be easily reportable. Which field type should be used?
Easy39A financial services org needs to record every change to the 'Credit_Score__c' field on Contact for regulatory audit, including the prior value, the new value, the user, and the timestamp. The data volume is moderate and auditors query the history by Contact. Which approach should the architect recommend?
Medium40An architect is modeling a case management system where a single Case may be linked to many Product records, and each Product may appear on many Cases. The business needs to report on the quantity and discount negotiated for each Case-Product pairing. Which design should the architect implement?
Hard41A Salesforce architect is designing a data model for a custom object that must support a strict one-to-many relationship where each child record must have a parent, and the parent's sharing settings should automatically control child record access. The architect also needs to ensure that deleting a parent cascades to delete all related children. Which relationship type should be used?
MediumOther domains
All SF-Data-Arch exam domains
Frequently asked questions
- What does the Data Modeling and Database Design domain cover on the SF-Data-Arch exam?
- A candidate must be able to choose the correct object type and relationship for a given volume, retention, and access pattern. The single most important thing is matching the data model to the reporting and audit requirement, not defaulting to standard objects.
- How many questions are in this domain?
- This page lists all 41 Data Modeling and Database Design questions in the SF-Data-Arch question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
- What is the best way to practise this domain?
- Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
- Can I practise only Data Modeling and Database Design questions?
- Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.