热门面试题与答案和在线测试
面向面试准备、在线测试、教程与实战练习的学习平台

通过聚焦学习路径、模拟测试和面试实战内容持续提升技能。

WithoutBook 将分主题面试题、在线练习测试、教程和对比指南整合到一个响应式学习空间中。

面试准备

Data Modeling 面试题与答案

问题 26. What is the difference between a snowflake schema and a star schema?

While a star schema has a centralized fact table connected to dimension tables, a snowflake schema takes normalization further by breaking down dimension tables into sub-dimensions, forming a more normalized structure.

Example:

Example: In a snowflake schema, the 'Location' dimension may be normalized into 'City,' 'State,' and 'Country' tables.

这有帮助吗? 添加评论 查看评论
 

问题 27. How do you handle historical data in a data warehouse?

Handling historical data involves using slowly changing dimensions (SCDs), where changes to data over time are tracked. SCD types include Type 1 (overwrite), Type 2 (add new row), and Type 3 (add columns).

Example:

Example: Using Type 2 SCD to add a new row for an employee when their department changes over time.

这有帮助吗? 添加评论 查看评论
 

问题 28. What is a fact table, and how is it different from a dimension table?

A fact table contains quantitative data, such as sales or revenue, and is surrounded by dimension tables that provide context to the data. Dimension tables describe the who, what, where, when aspects of the facts.

Example:

Example: In a retail data warehouse, a 'Sales' fact table might include 'ProductID,' 'CustomerID,' 'DateID,' and 'SalesAmount.'

这有帮助吗? 添加评论 查看评论
 

问题 29. What is data governance, and why is it important in data modeling?

Data governance involves managing the availability, usability, integrity, and security of data within an organization. It is crucial in data modeling to ensure consistency, quality, and compliance with standards.

Example:

Example: Establishing policies and procedures for data quality checks and access control within a data model.

这有帮助吗? 添加评论 查看评论
 

问题 30. Explain the concept of database normalization.

Database normalization is the process of organizing data to minimize redundancy and dependency by dividing tables into smaller, related tables. Normal forms (1NF, 2NF, 3NF, BCNF) guide this process.

Example:

Example: Breaking down a 'Customer' table into 'Customer' and 'Address' tables to eliminate duplicate address information.

这有帮助吗? 添加评论 查看评论
 

用户评价最有帮助的内容:

版权所有 © 2026,WithoutBook。