Back to exam

Certified Data Architect Cheatsheet

Salesforce Certified Data Architect

Download free PDF

Data modeling and platform design

Translate the business model

  • Start with **entities, cardinality, ownership and access patterns**. Map legacy concepts to standard objects before adding custom objects; preserve business meaning rather than copying every legacy table.
  • Use **Business Accounts** for organizations and **Contacts** for people. **Person Accounts** combine account and contact information for individual consumers; choose the model around business processes and integrations.
  • Use **Account Contact Relationships** when one person relates to several organizations or households. Record the relationship's role rather than duplicating the person for each affiliation.
  • **Record types** support different business processes, picklist choices and assigned page layouts within an object. They do not provide record security; use field-level security for field access.

Relationships and dependency

  • A **master-detail field belongs on the child**. The detail inherits record access from its master, has no independent owner, and is deleted when its master is deleted.
  • A **lookup** links independently managed records. Configure whether the relationship is required and how deletion of the referenced record is handled; a lookup does not automatically inherit the parent's sharing.
  • A **junction object** models many-to-many relationships, such as people attending conferences. Two master-detail fields suit dependent junction records; use lookups where independent ownership or lifecycle is needed.
  • **Roll-up summary fields** aggregate supported detail values onto a master. A cross-object formula reads related values but does not sum an arbitrary child collection; consider parent locking when maintaining aggregates.

Fields, reference data and pricing

  • Use a **restricted picklist** for a small, governed set of choices. A lookup suits reference records needing their own attributes or lifecycle; avoid a heavily shared lookup target for simple static categories.
  • A **Geolocation** field stores latitude and longitude together and supports location-based calculations. Define precision and source quality before using coordinates for business decisions.
  • **Custom metadata types** hold deployable application configuration, such as geographic pricing criteria and precedence. Use ordinary records for transactional data and avoid hard-coded rules that require code releases.
  • **Products, Price Books and Price Book Entries** represent products and their prices. Regional price books can organize regional prices; configure selection, currency and access consistently with the selling process.

Platform capabilities and user access

  • Select **licenses by required objects and features**: platform licenses suit eligible custom applications, Sales and Service offerings support their respective CRM processes, and partner access suits external channel selling.
  • For external users, check **sales-object access, reports, dashboards and sharing** before choosing an Experience Cloud license. Budget custom-object capacity, API entitlement, storage and add-on requirements together.
  • **Enterprise Territory Management** models geographic or other sales coverage and supports territory-based access and reporting. Account assignment, opportunity territory association and record ownership are separate design choices.
  • For Lightning adoption, plan migration from **Attachments to Salesforce Files** and from legacy Notes to **Enhanced Notes**. Preserve record links and access, and validate the converted content.

Master data and customer identity

Authority and the golden record

  • **Master data management (MDM)** coordinates identity, matching, standardization and trusted values across systems. Define the authoritative system for each entity and critical field, with named business owners.
  • A **system of record** owns the authoritative stored record for a defined scope. A trusted enterprise view can combine several systems; specify which one may create or change each attribute.
  • A **golden record** results from matching records and applying survivorship rules. Decide whether source trust, verification or recency wins for each field; retain provenance and resolve ambiguous matches.
  • MDM improves **accuracy, completeness, consistency and uniqueness** through governed processes. It does not replace backup, recovery or consent management.

Global identity and cross-references

  • Use a stable **global customer identifier** across CRM, billing, support and marketing. Names, email addresses and phone numbers can change or be shared, so they are unreliable enterprise primary keys.
  • Store an MDM key in a Salesforce **External ID** field for matching and upsert. Configure **Unique** separately when uniqueness is required; External ID status alone does not establish every identity constraint.
  • Maintain a **cross-reference** from source system and source ID to the global identity when many local records map to one customer. Scope keys by source to prevent collisions.
  • Customer identity can include **individuals, businesses and households**. Define relationship and merge rules for each entity type; a shared address alone does not establish that two people are the same person.

Distribute trusted changes

  • A **hub-and-spoke** integration distributes approved master changes through a central service or middleware. It reduces the conflicting logic and operational complexity of many point-to-point connections.
  • Use **one-way synchronization** where one system owns a field, such as product pricing. Bidirectional synchronization needs explicit conflict rules, loop prevention and source attribution.
  • Protect externally mastered fields with appropriate **field-level access** and integration permissions. Separate user estimates from authoritative amounts if both values are needed for forecasting or analysis.
  • **Change Data Capture (CDC)** exposes record changes for subscribers. Consumers still need transformation, target writes, retry handling and reconciliation; event-driven replication provides eventual consistency.

Customer 360 and multi-org design

  • A **customer 360 view** combines a resolved identity with relevant activity from sales, service, billing and marketing. Choose freshness and detail per use case rather than copying all activity into CRM.
  • Use **virtualization or a mashup** for current external detail, **replication** for local processes, and a **central analytical store** for enterprise reporting. These patterns can coexist around one customer key.
  • For acquisitions or regional orgs, define **common identifiers, canonical mappings and field ownership** before sharing data. A shared screen does not by itself reconcile duplicate customer identities.
  • For global analysis, consolidate governed datasets in **CRM Analytics or a warehouse**. Align currencies, reporting periods, measures and source lineage before comparing regional results.

Data quality, governance and protection

Prevent invalid and duplicate data

  • **Validation rules** enforce business conditions across supported record-write paths. For an either-or contact requirement, reject a record only when both phone and email are blank.
  • A **page-layout required field** is a UI control. Use field-definition requirements where supported, or validation rules, when integrations and imports must also supply a value.
  • **Matching rules** define how duplicates are recognized; **duplicate rules** determine whether to alert, block or report them. Apply a consistent policy to web, store, batch and user entry channels.
  • Preventing new duplicates and **remediating existing duplicates** are separate tasks. Profile and cluster existing records, choose survivors, merge through supported tools and preserve related records and external references.

Measure and govern quality

  • Measure **accuracy, completeness, consistency, timeliness and uniqueness** with explicit thresholds. Data-quality dashboards should identify owners, exceptions and remediation progress, not just aggregate scores.
  • Use **staging and preprocessing** to normalize formats, validate reference values and deduplicate before loading. Re-enabling validation rules later does not automatically repair records already loaded.
  • Use trusted **enrichment and address-validation services** to repair stale contact or company data. Define refresh frequency, match confidence, permitted usage and protection of customer information.
  • Maintain a **data dictionary**, field definitions, ownership and change approval. Use meaningful labels and supported help text, communicate changes, and train users on common mappings and import processes.

Classification, access and monitoring

  • **Data Classification metadata** records attributes such as data owner, sensitivity level and compliance categorization on fields. Maintain an inventory for review; classification labels do not enforce access.
  • Combine **object permissions, field-level security and record sharing**. Private organization-wide defaults establish a restrictive baseline; ownership, hierarchy and sharing then grant the required record access.
  • **Implicit parent sharing** can provide Account visibility to users accessing related standard child records such as Opportunities. It does not grant access to every sibling record or apply universally to custom lookups.
  • **Login IP restrictions** control allowed network ranges. **Event Monitoring** supplies activity evidence; supported **Transaction Security policies** can react to export or other monitored events. Match each control to the requirement.

Encryption and privacy preferences

  • **Shield Platform Encryption** protects supported standard and custom fields and files at rest. Plan key management and the encryption of existing data; assess impacts on search, filtering and integrations.
  • **Classic encrypted text fields** are a different feature with masking and **View Encrypted Data** permission behavior. Test exports with the actual backup user's permissions and secure exported plaintext.
  • **Individual** records support privacy preferences associated with people represented in CRM. **Consent Management** includes purpose and contact-point consent; **Authorization Form Consent** records agreement to a form.
  • Check consent for the intended **purpose and communication channel** before contact. Design retention, deletion or anonymization across replicas and archives, preserving applicable legal holds and an auditable request process.

Large data volumes and performance

Selectivity and query diagnosis

  • **Selective filters** narrow a large object to a small candidate set. Use the **Query Plan** tool to inspect leading operations, estimated cardinality and relative cost with representative data.
  • An **index** helps only when the optimizer can use it effectively. Prefer targeted predicates on indexed fields; broad negative conditions, leading-wildcard searches and unsuitable null filters often perform poorly.
  • Index thresholds depend on **index type and object cardinality**. Validate filter distribution and skew; adding an index does not guarantee that a query becomes selective.
  • Retrieve only needed fields and rows. **LIMIT** caps returned rows but does not guarantee a selective access path. **SOQL** queries structured records; **SOSL** serves text search across supported objects and fields.

Reports, aggregates and skinny tables

  • Improve slow reports with **selective date or business filters**, fewer unnecessary joins and a smaller active dataset. Diagnose the underlying data access before changing dashboard presentation.
  • Use a **summary object** for repeated monthly or yearly metrics. Define the aggregation grain, update schedule and reconciliation so totals remain correct when underlying transactions change.
  • A **skinny table** is a Salesforce-managed optimization for supported objects and fields. Work with Salesforce Support; it is not a user-defined table joining arbitrary objects or a substitute for selective queries.
  • Use **CRM Analytics or an external warehouse** for large historical and multi-source analysis. Keep detailed analytical scans separate from interactive CRM transactions when volumes become extreme.

Ownership, parent and lookup skew

  • **Ownership skew** concentrates many records under one user and can make sharing changes expensive. Distribute ownership where business rules allow; avoid routing all unmatched leads or orders to one generic owner.
  • If a high-volume integration owner is necessary, evaluate **role placement and group membership** carefully. Keeping that user outside the role hierarchy can reduce sharing work where the access design permits it.
  • **Account skew** concentrates child records beneath one Account. **Lookup skew** concentrates references on one target. Both can create hot records and lock contention even when record owners are distributed.
  • Treat roughly **10,000 related or commonly owned records** as a design-review signal rather than a universal hard limit. Evaluate write concurrency, sharing complexity and parent updates; use realistic volume tests.

Control lock contention

  • **UNABLE_TO_LOCK_ROW** indicates contention for a record or related resource. Parent updates, roll-ups, lookup checks and sharing operations can expand the lock footprint beyond the record being loaded.
  • Group loads by **parent key**, keep competing batches from touching the same parents, reduce batch size when useful, and retry transient failures with backoff. Use serial processing when parallelism repeatedly collides.
  • SOQL **FOR UPDATE** locks selected records during an Apex transaction. Keep transactions short, acquire locks consistently and handle contention; the clause does not remove the need for concurrency design.
  • Schedule **role, group and territory changes** to avoid overlapping membership operations. Evaluate granular locking for supported scenarios; **deferred sharing calculation** postpones eligible recalculation and must be followed by completion.

Data access, storage and lifecycle

Persist, virtualize or compose

  • **Persistence** stores records locally for native processing, reporting and automation. Estimate growth, storage, API consumption and lifecycle costs before replicating large IoT or transaction streams.
  • **Virtualization** exposes remote data without copying its full dataset into Salesforce. It suits current, on-demand order or invoice history when only a small portion is needed at a time.
  • A **mashup or Canvas application** embeds an external user experience in Salesforce. It preserves external processing but requires authentication, access and usability design; it does not create native CRM records.
  • Use a **hybrid** approach: keep operational records or summaries locally and retrieve history externally. Marketing-only prospect lists can stay in the marketing platform, with identity and conversion reconciliation.

Salesforce Connect and external objects

  • **Salesforce Connect** exposes supported remote sources as external objects. Plan source reachability, authentication, adapter support, relationships and remote query performance before designing the user interface.
  • Use an **OData adapter** for compatible endpoints, a **cross-org adapter** for another Salesforce org, or the **Apex Connector Framework** for a custom adapter. A REST endpoint alone is not automatically an OData service.
  • An **external lookup** relates to an external-object parent using its external identifier. An **indirect lookup** relates an external child to a standard or custom parent through a matching unique External ID.
  • Virtual queries consume **remote calls** and depend on source availability. Check paging, filters, report support and call limits with expected usage; external objects do not provide every local-object feature.

Retention, archives and big objects

  • Set **retention by business need**, including operational reporting windows, audit access and legal holds. Define how archived data will be searched, displayed and restored before removing it from the active org.
  • An archive process **copies, verifies and then purges** eligible records on a controlled schedule. Preserve keys, parent-child context and required history; moving rows to another ordinary custom object does not remove CRM storage demand.
  • **Custom big objects** suit massive, stable datasets with known indexed access patterns. Define their metadata and composite index around planned queries; they have different automation, query and reporting capabilities from ordinary objects.
  • Do not assume **standard reports directly query big objects**. Use an appropriate analytical extraction or summarized reporting layer. External archives can expose historical cases through external objects or custom components.

Backup, recovery and deletion

  • **Backup** provides recoverable copies; **archive** manages long-lived, infrequently used data. **RPO** defines acceptable data loss and **RTO** defines recovery time; test restoration against both.
  • Protect **records, relationships, files and metadata** in appropriately secured storage. A warehouse extract or provider availability commitment alone does not establish a complete, independently recoverable backup.
  • The **Data Export** facility supports UI-configured CSV exports on eligible schedules. Frequent backup and dependable restore may require a dedicated service or tool; validate relationship and file restoration.
  • Normal deletion and **hard delete** have different recovery implications. Bulk API hard delete bypasses the Recycle Bin and requires suitable permission; verify the archive or backup before irreversible purging.

Data migration and integration delivery

Profile, stage and transform

  • Define the **migration scope**: operational versus historical data, target objects, ownership, retention and acceptance criteria. Very large legacy datasets need placement decisions before selecting a loading tool.
  • Use a **staging area and ETL** for complex multi-source consolidation. Profile source models, perform gap analysis, map data types and picklists, cleanse duplicates and apply agreed survivorship rules.
  • Build a **repeatable mapping** for identifiers, dates, currencies, nulls and relationships. Reconcile source and target counts, rejected rows and business totals; record counts alone cannot prove a correct migration.
  • Rehearse with **production-like volumes and automation**, estimate the cutover window, capture deltas and define rollback. Train business owners and validate the data needed for adoption before go-live.

Preserve relationships and audit context

  • Load **parents before dependent children**, then junctions and other related records. For cycles, use staged relationship updates where the model permits them rather than breaking required dependencies.
  • Salesforce **record IDs change across orgs**. Maintain source-to-target ID mappings, or store source keys in target External ID fields and resolve relationships with supported external-ID loading features.
  • Use **upsert** for repeatable create-or-update loads when reliable keys exist. A business duplicate without the same matching key can still be inserted; upsert is not fuzzy deduplication.
  • Use **Set Audit Fields upon Record Creation** and **Update Records with Inactive Owners** where supported and authorized. Configure permissions and validate API behavior; do not assume system fields are freely editable.

Choose the API and processing mode

  • **Bulk API** suits asynchronous large-volume extraction and loading. **REST or SOAP APIs** suit smaller transactional operations; **Metadata API** retrieves and deploys configuration for backup or source control.
  • **PK Chunking** partitions eligible large extracts by record ID through supported Bulk API operations. It reduces individual query scope; distinguish it from merely running several overlapping full-table queries.
  • With **Bulk API 1.0**, parallel batches can improve throughput when they avoid common locks; serial mode reduces overlapping writes. Do not assume the same mode controls exist in Bulk API 2.0.
  • **Data Loader** supports common export and load tasks. Use ETL or middleware when transformation, multi-object dependencies, scheduling and recoverable orchestration exceed a simple file-based job.

Automation, failures and reconciliation

  • **Bulkify Apex and automation** to process collections efficiently. Assess validations, triggers, flows and sharing before a load; use a controlled bypass only where needed, with preprocessing and a restoration plan.
  • Use **idempotent integration operations**, stable keys and bounded retries. For near-real-time multi-org changes, middleware or event consumers must manage conflicts, duplicate delivery and target failures.
  • Persist **row-level errors and processing status** in a reportable log or suitable custom object. Give operators actionable failures, retry state and reconciliation totals instead of relying only on email notifications.
  • After loading or synchronizing, verify **relationships, owners, permissions and business aggregates**. Complete postponed calculations, restore controls and confirm that rejected or delayed records have an accountable resolution path.