Salesforce Certified Data Architect Exam-style mock test
Salesforce Data Architect Practice Exams|Practice test
Full explanations
Exam format
Pass line 67%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · Data Modeling and Database Design
A B2B SaaS company sells annual software subscriptions. Their sales reps already track company accounts, buyer contacts, deals, and quotes in Salesforce. They now want to track each subscription's renewal date, seat count, and the parent customer. Which modeling approach best fits their existing data model?
・Introduce a new custom object called Subscription with a master-detail relationship to Account so renewals, seats, and ownership roll up and inherit sharing from the customer record
Incorrect. Master-detail forces ownership and sharing inheritance and deletes children when the parent is removed, which is inappropriate for independently retained subscription records.
✓Create a custom Subscription object linked to Account via lookup
Correct. A custom Subscription object related to Account by lookup captures the new entity cleanly while keeping independent lifecycle and sharing, matching the renewal/seat tracking need.
・Store renewal date, seat count, and customer on new custom fields added directly to the Opportunity object
Incorrect. Opportunities represent in-progress deals, not an ongoing subscription entity, so overloading them conflates the sales cycle with post-sale lifecycle data.
・Repurpose the Contract standard object by adding seat-count and renewal custom fields to it
Incorrect. The Contract object has fixed lifecycle semantics and status automation that do not map to seat and renewal tracking for this use case.
Explanation
A dedicated custom Subscription object with a lookup to Account models the new entity without overloading Opportunity or Contract, preserving independent lifecycle and sharing.
Example2 · Master Data Management (MDM) and Data Governance
A B2B SaaS company runs Salesforce for sales, a billing platform for subscriptions, and a support tool, each holding its own copy of account records. Leadership wants a single trusted version of each company that all three systems can read, but they do not want any one application to become the system of entry for the others. Which MDM architecture style best fits this requirement?
✓A registry style that keeps source records in place and maintains cross-reference links to a master index without forcing one application to own data entry
Correct. A registry style leaves authoritative records in their source systems, builds a cross-reference index with matched identifiers, and exposes a virtual golden view, satisfying the trusted-single-version goal without making any app the system of entry.
・A consolidation style that merges copies into a reporting hub
Incorrect. A consolidation style aggregates copies mainly for analytics and reporting and does not provide an operational trusted record the three systems read in real time.
・A transaction (centralized) hub where the MDM system becomes the single authoring application for all accounts across sales, billing, and support
Incorrect. A transaction hub makes the MDM system the single authoring application, which directly violates the requirement that no one application becomes the system of entry.
・A coexistence style that stores master data centrally and writes cleansed values back to every participating system on a schedule
Incorrect. A coexistence style does synchronize cleansed values back to each system, but it introduces a central authoring layer and ongoing write-back the company explicitly wanted to avoid.
Explanation
Registry MDM maintains cross-reference links to data left in source systems, fitting a read-only trusted view where no application owns entry; the others require centralized authoring or write-back.
Example3 · Large Data Volumes (LDV) and Performance
At CloudLedger, a B2B SaaS billing platform, a single integration user owns 4 million invoice records. Admins report frequent record-locking errors and slow updates on this object. Which condition best explains the symptoms?
✓Ownership skew, because one user owning a disproportionate number of records forces recalculation of sharing and group membership
Correct. Ownership skew (one user owning very many records) causes expensive sharing recalculations and lock contention when those records are reparented or updated.
・Field-level security misconfiguration that denies write access to the integration user on the invoice object
Incorrect. FLS denial would produce access errors, not record-locking and slow mass updates.
・A missing custom index on the invoice amount field used in the integration's filter clause
Incorrect. A missing index slows reads/filters but does not cause record-locking during updates.
・Insufficient API request limits allocated to the integration user's permission set license
Incorrect. API limits throttle call volume; they do not create row-lock contention on the records.
Explanation
Concentrating ownership of millions of records under one user is the classic ownership skew pattern that drives locking and sharing recalculation costs.
Example4 · Data Migration, ETL, and Integration
A healthcare services firm is migrating 60 million historical patient encounter records from a legacy claims system into Salesforce as part of a one-time cutover. The architect needs the load to complete within a tight weekend window and to minimize the number of API calls consumed. Which approach best meets these requirements?
✓Use the Bulk API 2.0 in parallel mode with the records grouped by parent key to reduce lock contention during the load
Correct. Bulk API 2.0 is purpose-built for very large, asynchronous one-time loads; parallel processing with records ordered by parent key reduces record-locking contention and consumes far fewer API calls than row-based APIs.
・Use the SOAP API with batches of 200 records, running several concurrent threads from the ETL tool to speed things up
Incorrect. The SOAP API processes only 200 records per call synchronously, so 60 million records would consume an enormous number of calls and is unlikely to finish within the window.
・Use the REST Composite API to insert related records together in a single transactional request per encounter
Incorrect. The Composite API is designed for small sets of related records per request and is inefficient and call-heavy for tens of millions of rows.
・Load the records manually through the Data Import Wizard in multiple sequential sessions over the weekend
Incorrect. The Data Import Wizard is capped around 50,000 records per operation and is unsuitable for a 60-million-record cutover.
Explanation
For a one-time, high-volume cutover under a tight window, Bulk API 2.0 with parent-key ordering in parallel mode maximizes throughput while minimizing lock contention and API consumption.
Example5 · Data Quality, Security, and Archiving
A healthcare services firm finds that Patient Account records are frequently duplicated when front-desk staff manually create new accounts for returning patients. The data architect must stop new duplicates at the point of entry while still allowing staff to proceed in rare legitimate cases. What should the architect recommend?
・Schedule a nightly batch job that scans all Patient Account records, identifies duplicates based on fuzzy name matching, and automatically merges the records it is most confident about each morning
Incorrect. Automatic nightly merging is risky for clinical data because confidence-based auto-merge can combine distinct patients, and it does not prevent the duplicate at entry.
✓Configure matching rules and duplicate rules so staff see an alert and can choose to save anyway
Correct. Matching rules define what counts as a duplicate and duplicate rules enforce the action at save time, alerting staff while still permitting an override for legitimate cases.
・Rely on a required external ID field so the platform rejects any save that reuses an existing identifier value
Incorrect. A required external ID blocks reuse of a known identifier but cannot catch near-duplicates created with slightly different data, and it offers no override path.
・Train staff to search before creating records and document the process in a runbook
Incorrect. Process training alone is not an enforceable technical control and relies entirely on staff discipline.
Explanation
Duplicate management (matching rules plus duplicate rules) is the native Salesforce capability that enforces data quality at the point of entry while allowing an authorized override, which fits the firm's requirement.
Example6 · Data Modeling and Database Design
A healthcare services firm tracks each patient and the many clinical visits that patient has over time, where every visit belongs to exactly one patient. The data architect is deciding how to model the Visit entity relative to the Patient custom object. Which relationship type should the architect choose for the lookup field on Visit?
・A standard account-contact hierarchy that automatically links each visit record to the patient through the built-in household model Salesforce provides
Incorrect. The account-contact hierarchy is not a generic entity-relationship tool and cannot model a custom Visit-to-Patient parent-child ownership where visits are custom records.
✓A master-detail relationship from Visit to Patient so visits are tightly owned by the patient record
Correct. A master-detail relationship enforces that each Visit (detail) belongs to exactly one Patient (master) and ties the child lifecycle to the parent, matching the stated cardinality.
・A lookup relationship from Visit to Patient configured to clear the visit when the patient is deleted
Incorrect. A clear-on-delete lookup does not enforce required ownership and leaves orphaned visits, which contradicts the rule that every visit belongs to exactly one patient.
・An external lookup relationship from Visit to Patient that references the patient key stored in an external object
Incorrect. An external lookup is used when the parent lives in an external system, but here Patient is a Salesforce custom object, so this relationship type does not apply.
Explanation
Master-detail relationships enforce mandatory, single-parent ownership and cascade behavior, which exactly matches a Visit that must always belong to one Patient stored in Salesforce.
Example7 · Data Modeling and Database Design
UrbanThread, a retail apparel brand, tracks each Store and its Shelf_Layout__c records. A Shelf_Layout__c must never exist without a Store, and merchandising managers need roll-up summaries of total shelf capacity per store. Which relationship best satisfies these requirements?
・A lookup relationship from Shelf_Layout__c to Store, with an Apex trigger that recalculates and writes total shelf capacity onto the Store record after every insert, update, and delete event
Incorrect. A lookup allows the child to exist without a parent and needs custom Apex to mimic roll-ups, which is more fragile and costly than the declarative option.
✓A master-detail relationship from Shelf_Layout__c to Store
Correct. Master-detail enforces the required parent, cascades deletes, and enables declarative roll-up summary fields for total shelf capacity.
・A many-to-many junction object placed between Store and Shelf_Layout__c records
Incorrect. A junction object models many-to-many relationships, but each Shelf_Layout__c belongs to exactly one Store, so this overcomplicates the model.
・A hierarchical relationship defined on the Store object pointing back to Shelf_Layout__c
Incorrect. Hierarchical relationships apply only to the User object and cannot link Store to Shelf_Layout__c.
Explanation
Master-detail is the declarative choice when the child cannot exist independently and the parent needs roll-up summaries.
Example8 · Data Modeling and Database Design
At UrbanThread, a single Promotion can apply to many Products and each Product can be part of many Promotions. The architect must capture the effective discount for each Product-Promotion combination. What is the most appropriate design?
・Add a multi-select picklist of Promotion names on the Product object
Incorrect. A multi-select picklist cannot store per-combination attributes like effective discount and does not scale or report well.
✓Create a junction object with two master-detail relationships to Product and Promotion
Correct. A junction object with two master-detail relationships models the many-to-many link and holds the per-combination discount.
・Create a lookup field on Product that references a single related Promotion record
Incorrect. A single lookup forces a one-to-many relationship, which cannot represent a Product belonging to multiple Promotions.
・Store all participating Product Ids as comma-separated text inside a long text field on each Promotion record so reporting queries can parse the list
Incorrect. Comma-separated Ids break referential integrity, are unreportable, and are not a supported relationship pattern.
Explanation
Junction objects are the standard way to model many-to-many relationships while storing attributes on the association itself.
Example9 · Data Modeling and Database Design
UrbanThread's architect is deciding whether to extend the standard Account object or build a custom object to represent retail store partners that have addresses, contacts, and opportunities. Which consideration most strongly favors reusing the standard Account object?
✓Standard objects come with mature, out-of-the-box relationships to Contacts, Opportunities, and built-in reporting
Correct. Account already provides native relationships to Contacts and Opportunities plus reporting, which maps directly to the store-partner need.
・Custom objects support more total custom fields than any standard object does
Incorrect. Field limits are comparable, and this is not a reason to prefer the standard Account for partners.
・Custom objects can never participate in master-detail relationships with standard objects
Incorrect. Custom objects can be the detail side of a master-detail to standard objects, so this statement is false.
・Standard objects are the only record type that supports sharing rules
Incorrect. Both standard and custom objects support sharing rules, so this is not a differentiator.
Explanation
Reusing a standard object leverages its built-in relationships and reporting, reducing build and maintenance effort.
Example10 · Data Modeling and Database Design
A wealth management firm stores each client's household details, repeated across every one of the client's investment accounts in a single Account object. Advisors complain that updating a household's mailing address requires editing dozens of records. A data architect wants to reduce redundant storage and update anomalies. Which modeling change best addresses this?
・Enable field history tracking on the household address fields so that bulk updates propagate automatically to all related investment account records at once
Incorrect. Field history tracking only logs changes; it does not eliminate the repeated storage of the household address nor propagate a single edit across records.
✓Extract household attributes into a parent Household record and relate investment accounts to it via a lookup
Correct. Normalizing household data into its own parent record related by lookup removes the repeated storage and lets one edit serve all accounts.
・Add validation rules that block saving an investment account unless its household address matches the others
Incorrect. A validation rule enforcing matching values keeps the redundancy in place and still forces manual edits across every record.
・Create a formula field on each investment account that concatenates the household name and the mailing address for display
Incorrect. A display formula only reformats existing data; the address is still physically duplicated on every investment account record.
Explanation
Moving the shared household attributes into a dedicated parent record and relating accounts to it is normalization, which removes update anomalies and redundant storage.
Example11 · Data Modeling and Database Design
At an investment bank, each custom Trade__c record must always belong to exactly one Portfolio__c record, and portfolio-level roll-up summaries of total traded volume are required. If a portfolio is deleted, its trades should be deleted too. Which relationship type should the architect use between Trade__c and Portfolio__c?
✓A master-detail relationship with Portfolio__c as the master
Correct. Master-detail enforces a required parent, supports roll-up summary fields, and cascades deletion of children.
・A lookup relationship configured to clear the child reference on parent deletion
Incorrect. A lookup does not enforce a mandatory parent by default, cannot host roll-up summaries natively, and clearing the reference contradicts the cascade-delete need.
・An external lookup relationship pointing to an external portfolio dataset held outside the org
Incorrect. An external lookup relates to data stored outside Salesforce, which does not fit a native parent-child trade-to-portfolio requirement needing roll-ups and cascade delete.
・A self-relationship on Trade__c that references the governing portfolio trade
Incorrect. A self-relationship links Trade__c records to each other, not trades to their owning portfolio, so it cannot satisfy the stated requirement.
Explanation
Required parent, roll-up summaries, and cascade delete are the signature capabilities of a master-detail relationship.
Example12 · Data Modeling and Database Design
A manufacturing distributor models Shipment line items that must be deleted automatically when the parent Shipment record is removed, and each line must always belong to exactly one Shipment. Which relationship best enforces this requirement?
・Create a lookup relationship from Shipment Line to Shipment and a scheduled batch job that nightly deletes orphaned line items whose parent has been removed from the system
Incorrect. A nightly batch to clean up orphans leaves windows of inconsistent data and reinvents cascade delete that master-detail provides natively.
✓Create a master-detail relationship from Shipment Line to Shipment
Correct. Master-detail enforces a required parent and cascades delete of child records when the parent is deleted, matching both requirements.
・Create an external lookup relationship from Shipment Line to Shipment so the records stay loosely coupled across objects
Incorrect. External lookups point to records stored outside Salesforce and do not provide cascade delete for standard child records.
・Create a lookup relationship from Shipment Line to Shipment and mark the lookup field as required on the page layout
Incorrect. A required lookup enforces a parent at entry but does not cascade delete and can be bypassed via API or data loads.
Explanation
Master-detail is the only relationship type that both requires a parent and cascades deletion to children, satisfying the ownership and auto-delete rules.
Example13 · Data Modeling and Database Design
A distributor stores the same supplier name and address redundantly on thousands of Product records, causing update anomalies when a supplier moves. What modeling change best resolves this?
・Normalize by creating a Supplier object and relating Product to it, so supplier details live in one place and are referenced rather than copied onto every product
Incorrect. This describes the right idea but is padded; the concise normalized design is the better-worded equivalent answer here.
・Add a validation rule on Product that forces users to re-enter the supplier address consistently every time a product is created or edited
Incorrect. Validation rules cannot eliminate the underlying redundancy and still require manual duplicate entry.
・Keep the redundant fields but add a nightly batch to copy the latest supplier address onto all matching products
Incorrect. A nightly sync still stores duplicated data and only masks the anomaly rather than removing it.
✓Normalize by moving supplier details into a Supplier object and relating Product to it
Correct. Extracting supplier details into their own object and relating products to it removes duplication and update anomalies.
Explanation
Normalizing repeated supplier data into a dedicated related object eliminates update anomalies by storing each fact once.
Example14 · Data Modeling and Database Design
A telecom operator stores each mobile line as a child record that must inherit the sharing and ownership of its parent subscriber account, and the operator wants roll-up summary fields showing total lines per account. Which relationship should the data architect use between the line object and the account?
・A lookup relationship, because it keeps the child record independent when the parent subscriber account is reassigned
Incorrect. A lookup keeps records independent and does not propagate sharing or ownership, and standard lookups do not provide roll-up summary fields.
✓A master-detail relationship from the line object to the account
Correct. Master-detail makes the line a detail that inherits the account's sharing and ownership and enables roll-up summary fields such as total lines.
・A hierarchical relationship, since lines belong to a chain of accounts
Incorrect. Hierarchical relationships apply only to the User object referencing other users, not to a subscriber-to-line model.
・An external lookup relationship pointing at the subscriber record held in the external billing system
Incorrect. An external lookup links to data stored outside Salesforce and cannot provide native sharing inheritance or roll-up summaries.
Explanation
Roll-up summaries plus inherited sharing and ownership are hallmark requirements that only a master-detail relationship satisfies natively.
Example15 · Data Modeling and Database Design
In the telecom operator's org, a Service Ticket object is already the detail in a master-detail relationship with Account. The architect now needs it to also be the detail of the Network Node object. What is the correct understanding of this design?
✓An object can be the detail side of at most two master-detail relationships, so a second master-detail to Network Node is supported
Correct. An object may be the detail in up to two master-detail relationships, so adding Network Node as a second master is allowed and creates a many-to-many pattern.
・The detail object can hold unlimited master-detail parents as long as each parent lives in a different object
Incorrect. The platform caps a detail object at two master-detail relationships, not an unlimited number.
・Master-detail relationships are prohibited entirely once an object already participates in one
Incorrect. Participating in one master-detail does not prohibit a second one; the limit is two.
・This forms a junction object, with Service Ticket linked to two masters
Incorrect. While two masters do enable a junction pattern, the design is valid precisely because the two-master limit permits it.
Explanation
A detail object supports up to two master-detail relationships, which is exactly what enables the many-to-many junction object pattern.
▶ Try 10 free questions (graded)