Start with the decision
Define the business question, users, information sensitivity, freshness needs and consequences of a wrong answer. A reporting improvement may need only a few reconciled sources; document search may need a curated corpus rather than a full enterprise platform.
Choose a suitable architecture
This is a reference architecture, not a mandatory technology stack. Organizations may use a warehouse, lakehouse, object storage, or a combination based on workload and operating requirements. Reliable enterprise AI depends on appropriate data quality, ownership, access controls, and evaluation. The controls required vary with the use case, data sensitivity, and deployment model.
Sources and ingestion
Inventory databases, SaaS applications, APIs, event streams and file transfers. Select batch, streaming or scheduled ingestion based on freshness and recovery needs. Record source ownership, schema changes, reconciliation checks and failure handling. Glue and Azure Data Factory can support ingestion; Airflow can orchestrate dependencies. Managed file transfer may remain appropriate for partner file exchanges.
Data platforms and transformation
Object storage such as S3 or ADLS can retain source files and curated datasets where needed. Snowflake provides a managed data platform with warehouse capabilities; Databricks supports lakehouse analytics and engineering; dbt provides SQL transformation, testing and documentation. These technologies serve different roles and are not all required. Select modeling and storage patterns for workload, cost, interoperability and skills.
Ownership, metadata and data quality
Assign accountable data owners and operational stewards. Capture classification, permitted use, retention and provenance where relevant. Carry lineage and quality results across transformations so teams can investigate discrepancies. Define quality thresholds, quarantine handling and escalation rather than assuming that metadata guarantees trusted data.
Permission-aware retrieval and AI
For document search, ingest approved versions, preserve source citations, and design authorization for both documents and derived chunks. In this reference design, retrieval filtering is intended to restrict context using approved metadata and authorization policies. Enforcement must be implemented and tested across retrieval, caching, tools, and downstream outputs. RBAC or ABAC choices depend on the identity and policy model. Tags alone do not implement authorization.
Evaluate before release
Test authorized and unauthorized users, stale versions, deleted documents, prompt injection, missing evidence, citation accuracy and task completion. Evaluate answers against representative questions and agreed thresholds. Use MLflow or other suitable tools when experiment tracking helps. Keep human approval for consequential actions; define fallback behavior and escalation when evidence is insufficient.
Operate and improve
Define support ownership, incident response, access reviews, data refresh, model or prompt versioning, rollback and cost monitoring. Capture sufficient evidence to investigate behavior while applying retention and privacy requirements. Monitor changes in source content and permissions. Compliance alignment requires control-specific validation; this guide does not establish compliance certification.
Example: internal policy search
A small pilot could use a curated policy repository, existing employee identity, document-level permissions, an index and an answer interface. It may need neither a warehouse nor a lakehouse. Test that a user cannot retrieve restricted policy passages, that withdrawn versions disappear, and that questions without an approved answer trigger escalation.
Architecture questions by responsibility
- Sponsor
- What decision improves, why it matters, and who accepts the result.
- Business owner
- Which definitions, policies and workflows the information supports.
- Architect
- How sources, interfaces, identity, platforms and controls fit together.
- Engineer
- How pipelines, validation, deployment and recovery are implemented.
- Operations
- Who monitors quality, cost, access, incidents and change.
Illustrative reference design. Platform selection and control effectiveness require validation for the specific environment.
Discuss Your Data Architecture ↗