Author: thedatacommunity

Implement workspace-level access controls (DP-700 Exam Prep)

This post is a part of the DP-700: Implementing Data Engineering Solutions Using Microsoft Fabric Exam Prep Hub.
This topic falls under these sections:
Implement and manage an analytics solution (30–35%)
   --> Configure security and governance
      --> Implement workspace-level access controls


Note that there are 10 practice questions (with answers) at the end of each section to help you solidify your knowledge of the material. Also, there are 2 practice tests with 60 questions each available from the hub's main page below the exam topics section.

Introduction

Security and governance are foundational components of any enterprise analytics platform. In Microsoft Fabric, workspaces serve as the primary organizational boundary for managing content, collaboration, and permissions. Because workspaces often contain sensitive data assets such as Lakehouses, Warehouses, Data Pipelines, Notebooks, and Reports, controlling who can access and modify these assets is critical.

Workspace-level access controls provide the first layer of security within Fabric. They determine who can view, create, modify, share, and administer workspace content. Properly configured access controls help organizations implement the principle of least privilege, improve governance, reduce security risks, and ensure compliance with organizational policies.

For the DP-700 exam, you should understand workspace roles, permission inheritance, Microsoft Entra ID integration, security best practices, and common access-control scenarios.


Understanding Fabric Workspaces

A workspace is a collaborative environment used to organize and manage Fabric assets.

Examples of assets stored within a workspace include:

  • Lakehouses
  • Data Warehouses
  • Data Pipelines
  • Dataflows Gen2
  • Notebooks
  • Semantic Models
  • Reports
  • Eventstreams
  • Environments

Workspaces serve as the primary security boundary for these resources.


Why Workspace-Level Access Controls Matter

Without proper access controls:

  • Unauthorized users may access sensitive data.
  • Critical assets may be modified accidentally.
  • Governance requirements may not be met.
  • Production environments may be compromised.

Workspace-level security helps organizations:

  • Restrict access
  • Protect sensitive data
  • Separate responsibilities
  • Support auditing and compliance
  • Implement least-privilege security

Microsoft Entra ID Integration

Microsoft Fabric uses Microsoft Entra ID for authentication and identity management.

Users access Fabric using their organizational accounts.

Benefits include:

  • Centralized identity management
  • Single sign-on (SSO)
  • Multi-factor authentication support
  • Group-based security management
  • Conditional Access integration

Fabric does not maintain a separate user authentication system.


Workspace Roles

Workspace access is controlled through predefined roles.

The four primary workspace roles are:

RolePurpose
AdminFull workspace control
MemberCreate, edit, and publish content
ContributorCreate and modify content
ViewerRead-only access

Understanding these roles is extremely important for the DP-700 exam.


Admin Role

Admins have complete control over the workspace.

Capabilities include:

  • Manage workspace settings
  • Add or remove users
  • Assign roles
  • Delete workspace content
  • Configure Git integration
  • Configure deployment pipelines
  • Manage permissions

Admins effectively own the workspace.

Use Cases

  • Platform administrators
  • Workspace owners
  • Data engineering leads

Member Role

Members can actively participate in workspace development.

Capabilities include:

  • Create content
  • Modify content
  • Publish content
  • Collaborate with team members

However, Members do not have all administrative capabilities.

Use Cases

  • Senior developers
  • Data engineers
  • Analytics developers

Contributor Role

Contributors can create and modify content but have fewer management capabilities than Members.

Capabilities include:

  • Create notebooks
  • Create pipelines
  • Modify assets
  • Build solutions

Contributors generally focus on development activities rather than workspace administration.

Use Cases

  • Developers
  • Data engineers
  • ETL specialists

Viewer Role

Viewers have read-only access.

Capabilities include:

  • View reports
  • View data assets
  • Review content

Restrictions include:

  • Cannot modify content
  • Cannot create content
  • Cannot administer the workspace

Use Cases

  • Business users
  • Auditors
  • Stakeholders

Workspace Permission Assignment

Permissions can be assigned to:

  • Individual users
  • Security groups
  • Microsoft Entra ID groups

Best practice is to assign permissions through groups whenever possible.

Example:

Finance-DataEngineers → Contributor
Finance-Developers → Member
Finance-Managers → Viewer

Benefits include:

  • Easier administration
  • Reduced maintenance
  • Improved consistency

Principle of Least Privilege

One of the most important security concepts for DP-700 is the Principle of Least Privilege.

This principle states:

Users should receive only the permissions necessary to perform their job functions.

Example:

User TypeRecommended Role
Report ConsumerViewer
Data EngineerContributor
Team LeadMember
Workspace OwnerAdmin

Over-permissioning increases security risks.


Permission Inheritance

Workspace-level permissions often provide access to items contained within the workspace.

Examples include:

  • Lakehouses
  • Warehouses
  • Notebooks
  • Dataflows

A user with workspace access generally gains access to supported content based on their assigned role.

However, some Fabric items support additional item-level permissions that can supplement workspace-level controls.

Exam Tip

Workspace permissions and item-level permissions are related but not identical.

Many exam questions test your understanding of this distinction.


Workspace Access and OneLake

OneLake security is closely tied to Fabric permissions.

When users access:

  • Lakehouses
  • Warehouse data
  • OneLake files

their permissions are generally governed through Fabric security controls.

This means workspace permissions play a significant role in determining data accessibility.


Separating Development, Test, and Production Access

Organizations commonly implement separate workspaces for:

Development
Test
Production

Different access controls are applied to each environment.

Example:

EnvironmentTypical Permissions
DevelopmentContributors and Members
TestLimited Contributors
ProductionMostly Viewers

This reduces the risk of unauthorized production changes.


Workspace Security Best Practices

Use Security Groups

Prefer:

Sales-DataEngineers

instead of assigning permissions to individual users.


Minimize Admins

Only a small number of users should have Admin privileges.


Separate Production Access

Production workspaces should have stricter permissions.


Review Permissions Regularly

Conduct periodic audits of workspace access.


Follow Least Privilege

Assign the lowest role necessary.


Use Dedicated Service Principals

Automated processes should use service principals rather than personal accounts.


Common Security Scenarios

Scenario 1

A business analyst needs to view reports but should not modify content.

Solution:

Assign the Viewer role.


Scenario 2

A data engineer needs to build pipelines and notebooks but should not manage workspace permissions.

Solution:

Assign the Contributor role.


Scenario 3

A workspace owner needs to manage users and configure workspace settings.

Solution:

Assign the Admin role.


Scenario 4

A team lead needs to create and manage content while collaborating with developers.

Solution:

Assign the Member role.


Auditing and Governance

Workspace access controls support governance by enabling:

  • Access reviews
  • Compliance reporting
  • Security audits
  • Change tracking

Administrators should periodically verify:

  • User memberships
  • Group assignments
  • Admin privileges
  • Production access

These activities help maintain a secure Fabric environment.


DP-700 Exam Focus Areas

You should understand:

✓ Workspace roles

✓ Admin, Member, Contributor, and Viewer permissions

✓ Microsoft Entra ID integration

✓ Security group assignments

✓ Least-privilege principles

✓ Workspace permission inheritance

✓ Item-level versus workspace-level security

✓ Production environment security

✓ Service principal usage

✓ Governance and auditing practices


Practice Exam Questions

Question 1

Which workspace role provides full control over workspace settings and permissions?

A. Admin

B. Member

C. Contributor

D. Viewer

Answer: A

Explanation

Admins have complete control over workspace management, including permissions, settings, and content administration.


Question 2

A user needs read-only access to reports and data assets in a workspace.

Which role should be assigned?

A. Admin

B. Member

C. Contributor

D. Viewer

Answer: D

Explanation

The Viewer role allows users to access and view content without modifying it.


Question 3

Which Microsoft service provides identity and authentication for Fabric users?

A. Azure Data Lake Storage

B. Microsoft Entra ID

C. OneLake

D. Fabric Capacity

Answer: B

Explanation

Microsoft Entra ID provides authentication, identity management, and access control for Fabric users.


Question 4

A data engineer needs to create notebooks and pipelines but should not manage workspace permissions.

Which role is most appropriate?

A. Viewer

B. Admin

C. Contributor

D. Workspace Owner

Answer: C

Explanation

Contributors can create and modify content without having full administrative privileges.


Question 5

What is the primary goal of the Principle of Least Privilege?

A. Maximize workspace access

B. Reduce storage costs

C. Improve Spark performance

D. Grant only the permissions required to perform a job

Answer: D

Explanation

Least privilege reduces security risks by ensuring users receive only the permissions necessary for their responsibilities.


Question 6

Which approach is generally recommended for assigning workspace permissions?

A. Assign permissions directly to every user

B. Use Microsoft Entra ID security groups

C. Give all users Member access

D. Assign Admin access broadly

Answer: B

Explanation

Group-based permission management simplifies administration and improves consistency.


Question 7

A team lead needs to create content, collaborate with developers, and participate in solution management but does not require full administrative control.

Which role is most appropriate?

A. Viewer

B. Contributor

C. Member

D. Admin

Answer: C

Explanation

Members can actively manage and collaborate on workspace content without having full administrative authority.


Question 8

Why should organizations limit the number of workspace Admins?

A. To reduce Spark resource consumption

B. To simplify notebook development

C. To improve deployment speed

D. To reduce security risk and administrative exposure

Answer: D

Explanation

Admin roles have extensive privileges and should be assigned only when necessary.


Question 9

A company wants automated deployment processes that are not dependent on employee accounts.

What should be used?

A. Viewer accounts

B. Personal accounts

C. Service principals

D. Shared passwords

Answer: C

Explanation

Service principals provide stable, secure identities for automation and deployment activities.


Question 10

What is the primary benefit of separating Development, Test, and Production workspaces?

A. Increased storage capacity

B. Improved security and change control

C. Reduced OneLake storage usage

D. Faster notebook execution

Answer: B

Explanation

Environment separation helps prevent accidental production changes and supports proper testing and governance.


Exam Tip

For the DP-700 exam, many security questions can be solved by understanding the differences between the four workspace roles:

RoleKey Capability
AdminFull control and permissions management
MemberCreate, manage, and collaborate on content
ContributorCreate and modify content
ViewerRead-only access

When evaluating scenarios, choose the lowest role that satisfies the requirement. Microsoft frequently tests the Principle of Least Privilege, making it one of the most important security concepts to master for the exam.


Go to the DP-700 Exam Prep Hub main page.

Implement database projects (DP-700 Exam Prep)

This post is a part of the DP-700: Implementing Data Engineering Solutions Using Microsoft Fabric Exam Prep Hub.
This topic falls under these sections:
Implement and manage an analytics solution (30–35%)
--> Implement lifecycle management in Fabric
--> Implement database projects


Note that there are 10 practice questions (with answers) at the end of each section to help you solidify your knowledge of the material. Also, there are 2 practice tests with 60 questions each available from the hub's main page below the exam topics section.

Introduction

As organizations adopt DevOps and DataOps practices, managing database changes through source control and automated deployments has become a critical requirement. Traditionally, database development was performed directly against production systems, often leading to inconsistent environments, deployment risks, and limited change tracking.

Database projects address these challenges by allowing database objects and schema definitions to be treated as code. This approach enables version control, collaboration, automated testing, continuous integration (CI), and continuous deployment (CD).

In Microsoft Fabric, database projects are particularly important when working with Fabric Data Warehouses. Database projects allow teams to manage warehouse schemas using modern software development practices and integrate them into broader lifecycle management processes.

For the DP-700 exam, you should understand the purpose of database projects, how they support DevOps workflows, their relationship to source control and deployment pipelines, and how they are used to manage Fabric Warehouse schemas.


What Is a Database Project?

A database project is a collection of files that define database objects and schema structures as source code.

Instead of creating objects directly within a database, developers define them in project files.

Examples include:

  • Tables
  • Views
  • Stored procedures
  • Functions
  • Security objects
  • Schemas
  • Constraints

The database project becomes the authoritative source for database definitions.


Why Database Projects Matter

Without database projects:

  • Schema changes may be undocumented.
  • Developers may overwrite each other’s work.
  • Production environments can drift from development environments.
  • Rollbacks become difficult.

Database projects provide:

  • Version control
  • Repeatable deployments
  • Change tracking
  • Environment consistency
  • Team collaboration

These capabilities align with modern DataOps and DevOps practices.


Database-as-Code

Database projects support the concept of Database-as-Code.

Database-as-Code means:

  • Database objects are stored as code files.
  • Changes are tracked through source control.
  • Deployments are automated.
  • Changes can be reviewed before implementation.

Instead of manually executing SQL scripts against production systems, organizations deploy controlled changes from source-controlled projects.


Database Projects and Fabric Warehouses

In Microsoft Fabric, database projects are primarily associated with Data Warehouses.

Fabric Warehouse objects such as:

  • Tables
  • Views
  • Stored procedures
  • Security definitions

can be managed through database projects.

This allows warehouse development to follow the same lifecycle management practices used for application development.


Components of a Database Project

A database project typically contains:

Schema Definitions

Definitions of database structures.

Examples:

CREATE TABLE Sales
(
SalesID INT,
Amount DECIMAL(18,2)
);

Views

Reusable query definitions.

Example:

CREATE VIEW vwSalesSummary
AS
SELECT SalesID, Amount
FROM Sales;

Stored Procedures

Reusable business logic.

Example:

CREATE PROCEDURE uspLoadSales
AS
BEGIN
-- ETL logic
END;

Security Objects

Objects such as:

  • Users
  • Roles
  • Permissions

can also be defined and managed.


Database Projects and Source Control

One of the primary benefits of database projects is Git integration.

Database project files can be stored in repositories such as:

  • Azure DevOps
  • GitHub

Benefits include:

  • Change tracking
  • Auditability
  • Collaboration
  • Rollback capability

For DP-700, understand that database projects are often managed using the same source control processes as notebooks, pipelines, and other Fabric assets.


Version Control Workflow

A typical workflow looks like:

Developer
Database Project
Git Repository
Validation
Deployment

Benefits include:

  • Controlled releases
  • Code review processes
  • Consistent environments

Branching Strategies

Database projects commonly use standard Git branching practices.

Main Branch

Contains production-ready code.

main

Development Branch

Contains active development work.

main
└── develop

Feature Branches

Used for individual enhancements.

main
├── feature/new-customer-table
├── feature/security-update
└── feature-reporting-view

Feature branches reduce conflicts and improve collaboration.


Database Project Deployment

After changes are approved, they must be deployed.

The deployment process typically:

  1. Compares source and target schemas.
  2. Identifies differences.
  3. Generates deployment actions.
  4. Applies approved changes.

This process reduces manual effort and deployment errors.


Schema Comparison

Schema comparison is a key database project capability.

It identifies differences between:

  • Development and test environments
  • Test and production environments
  • Project definitions and deployed databases

Examples:

ObjectDevelopmentProduction
Sales TableExistsMissing
Customer ViewUpdatedOld Version

Schema comparison helps maintain consistency across environments.


Database Projects and CI/CD

Database projects are frequently integrated into CI/CD pipelines.

CI/CD stands for:

  • Continuous Integration
  • Continuous Deployment

Typical process:

Developer Changes
Git Commit
Build Validation
Testing
Deployment Pipeline
Production

Benefits:

  • Faster releases
  • Reduced risk
  • Increased automation
  • Improved reliability

Database Projects and Fabric Deployment Pipelines

Deployment pipelines complement database projects.

Database projects manage:

  • Database definitions
  • Source code
  • Schema changes

Deployment pipelines manage:

  • Promotion between environments
  • Release processes

Typical environment flow:

Development
Test
Production

This separation of responsibilities is important for the exam.


Managing Warehouse Objects Through Projects

Database projects help manage common warehouse objects.

Tables

Examples:

  • Fact tables
  • Dimension tables

Views

Used for:

  • Business reporting
  • Data abstraction
  • Security

Stored Procedures

Used for:

  • ETL operations
  • Data loading
  • Data quality checks

Security Definitions

Used for:

  • Role management
  • Permission assignments

Benefits of Database Projects

Improved Collaboration

Multiple developers can work simultaneously.


Repeatable Deployments

Deployments become consistent across environments.


Auditability

All changes are tracked through source control.


Rollback Capability

Previous versions can be restored.


Reduced Human Error

Automation reduces deployment mistakes.


Common DP-700 Exam Scenarios

Scenario 1

Multiple developers are modifying warehouse schemas.

Requirement:

Track changes and prevent overwriting.

Solution:

Implement a database project with Git integration.


Scenario 2

A company needs consistent schemas across development, test, and production environments.

Solution:

Use database projects and deployment pipelines.


Scenario 3

An accidental schema change is deployed.

Requirement:

Restore a previous version.

Solution:

Rollback using source control history.


Best Practices

Store All Database Objects in Source Control

Treat schemas as code.


Use Feature Branches

Avoid direct modifications to production branches.


Perform Code Reviews

Review schema changes before deployment.


Automate Deployments

Use deployment pipelines whenever possible.


Maintain Environment Consistency

Use schema comparison tools to identify drift.


Document Changes

Use meaningful commit messages.

Example:

Added customer dimension surrogate key support

DP-700 Exam Focus Areas

You should understand:

✓ Purpose of database projects

✓ Database-as-Code concepts

✓ Source control integration

✓ Git repositories

✓ Schema comparison

✓ Deployment processes

✓ CI/CD integration

✓ Branching strategies

✓ Warehouse schema management

✓ Rollback and versioning

✓ Relationship to deployment pipelines


Practice Exam Questions

Question 1

What is the primary purpose of a database project?

A. Execute Spark workloads

B. Store warehouse data files

C. Manage database schemas as source-controlled code

D. Monitor Fabric capacities

Answer: C

Explanation

Database projects allow database objects and schemas to be defined, tracked, and managed as code. This supports version control, collaboration, and automated deployments.


Question 2

Which Fabric item is most commonly managed through a database project?

A. Data Warehouse

B. Eventstream

C. Notebook

D. Lakehouse Shortcut

Answer: A

Explanation

Database projects are primarily associated with Fabric Data Warehouses and their schema objects.


Question 3

What is a key benefit of storing database projects in source control?

A. Increased storage capacity

B. Change tracking and version history

C. Faster SQL execution

D. Reduced OneLake usage

Answer: B

Explanation

Source control provides auditability, rollback capabilities, collaboration support, and historical tracking of schema changes.


Question 4

Which Git branching strategy allows developers to work on isolated enhancements?

A. Feature branch

B. Production branch

C. Release branch

D. Main-only development

Answer: A

Explanation

Feature branches enable developers to work independently and merge approved changes later.


Question 5

What is the purpose of schema comparison in a database project?

A. Increase warehouse performance

B. Compare Fabric capacities

C. Identify differences between database environments

D. Create deployment pipelines

Answer: C

Explanation

Schema comparison identifies discrepancies between source and target databases, helping maintain consistency.


Question 6

Which process typically occurs after a developer commits database project changes?

A. Data replication

B. Build validation and testing

C. Spark optimization

D. Capacity scaling

Answer: B

Explanation

CI/CD workflows generally include validation and testing before deployment occurs.


Question 7

Which database object can be managed within a database project?

A. Table

B. View

C. Stored Procedure

D. All of the above

Answer: D

Explanation

Database projects can manage tables, views, stored procedures, functions, schemas, and security objects.


Question 8

What is the primary role of deployment pipelines when used with database projects?

A. Store source code

B. Manage Git repositories

C. Promote changes between environments

D. Execute SQL queries

Answer: C

Explanation

Deployment pipelines move validated changes through development, test, and production environments.


Question 9

A team needs the ability to restore a previous schema version after a failed deployment.

Which capability should they use?

A. Version control rollback

B. Capacity monitoring

C. Spark session recovery

D. Dataflow refresh

Answer: A

Explanation

Source control systems maintain historical versions, enabling rollback to previous states when necessary.


Question 10

What does the term “Database-as-Code” refer to?

A. Storing data in code files

B. Executing SQL through notebooks

C. Converting SQL to Spark code

D. Managing database objects through source-controlled definitions

Answer: D

Explanation

Database-as-Code treats database definitions as managed source code artifacts that can be versioned, reviewed, tested, and deployed through automated processes.


Exam Tip

For the DP-700 exam, remember that database projects are fundamentally about applying software engineering practices to database development. Questions often focus on source control, schema management, CI/CD, deployment consistency, and collaboration. If a scenario involves managing warehouse schemas across multiple environments, tracking changes, enabling rollbacks, or automating deployments, a database project is often a key part of the solution.


Go to the DP-700 Exam Prep Hub main page.

Implement and use Microsoft Fabric audit logs (DP-700 Exam Prep)

This post is a part of the DP-700: Implementing Data Engineering Solutions Using Microsoft Fabric Exam Prep Hub.
This topic falls under these sections:
Implement and manage an analytics solution (30–35%)
   --> Configure security and governance
      --> Implement and use Microsoft Fabric audit logs


Note that there are 10 practice questions (with answers) at the end of each section to help you solidify your knowledge of the material. Also, there are 2 practice tests with 60 questions each available from the hub's main page below the exam topics section.

Introduction

As organizations adopt Microsoft Fabric for enterprise analytics, data engineering, and business intelligence workloads, maintaining visibility into user activity becomes increasingly important. Administrators and governance teams need to answer questions such as:

  • Who accessed a specific report?
  • Who deleted a workspace item?
  • When was a dataset modified?
  • Which users shared sensitive information?
  • What actions were performed during a security incident investigation?

Microsoft Fabric Audit Logs provide a detailed record of user and administrative activities across the Fabric environment. These logs are essential for governance, security monitoring, compliance reporting, operational troubleshooting, and forensic investigations.

For the DP-700 exam, you should understand what audit logs are, how they work, what information they capture, where they can be accessed, and how they support security and governance requirements.


What Are Microsoft Fabric Audit Logs?

Audit logs are records of activities performed within Microsoft Fabric.

They capture information about:

  • User actions
  • Administrative actions
  • Security-related events
  • Content access
  • Item modifications
  • Sharing activities
  • Workspace operations

Audit logs provide a historical record that organizations can use for monitoring and investigation purposes.


Why Audit Logging Is Important

Audit logging helps organizations:

  • Monitor user activity
  • Detect suspicious behavior
  • Support compliance requirements
  • Investigate security incidents
  • Verify governance policies
  • Track administrative changes
  • Understand platform usage

Without audit logs, organizations have limited visibility into how Fabric resources are being used.


Types of Activities Captured

Microsoft Fabric audit logs can capture many types of events.

Examples include:

Workspace Activities

  • Workspace creation
  • Workspace deletion
  • Workspace updates
  • Membership changes

Item Activities

  • Report creation
  • Report deletion
  • Dataset creation
  • Semantic model updates
  • Lakehouse modifications
  • Warehouse modifications

Sharing Activities

  • Sharing reports
  • Sharing datasets
  • Permission changes
  • External sharing actions

Security Activities

  • Role assignments
  • Permission updates
  • Access changes
  • Governance actions

Administrative Activities

  • Tenant setting modifications
  • Capacity changes
  • Configuration updates

Audit Log Architecture

A simplified workflow looks like this:

User Action
Fabric Records Event
Audit Log Entry Created
Administrator Reviews Activity

Every significant operation can generate an audit event that becomes part of the organization’s audit trail.


Information Captured in Audit Logs

A typical audit log entry may contain:

FieldDescription
TimestampWhen the action occurred
UserWho performed the action
ActivityWhat action occurred
Item NameObject involved
WorkspaceLocation of activity
Operation StatusSuccess or failure
Additional DetailsContext information

Example:

Timestamp: 2026-01-15 10:42 AM
User: jsmith@contoso.com
Activity: Deleted Report
Report: Executive Dashboard
Workspace: Finance
Status: Success

Microsoft Fabric and Microsoft 365 Audit Logs

Fabric auditing is integrated into the broader Microsoft ecosystem.

Audit events are available through Microsoft 365 audit capabilities, allowing organizations to centralize monitoring and investigation activities.

This integration provides:

  • Unified auditing
  • Centralized investigation
  • Compliance support
  • Enterprise-wide visibility

Common Audit Log Use Cases

Security Investigations

A sensitive report is accidentally deleted.

Administrators can review audit logs to determine:

  • Who deleted the report
  • When the deletion occurred
  • Which workspace was affected

Compliance Audits

Regulators request evidence of access controls.

Audit logs provide historical records of:

  • User access
  • Permission changes
  • Administrative actions

Governance Reviews

An organization wants to understand how frequently critical assets are used.

Audit logs can reveal:

  • Access patterns
  • Sharing activities
  • Usage trends

Operational Troubleshooting

A workspace suddenly becomes unavailable.

Audit logs may identify:

  • Recent configuration changes
  • Role assignments
  • Administrative actions

Audit Logs vs Monitoring Metrics

This distinction is commonly tested.

Audit LogsMonitoring Metrics
Who performed an actionResource performance
Historical activity recordsCapacity utilization
Security and governance focusPerformance focus
User behavior trackingSystem behavior tracking

Example:

Audit Log:

User deleted dataset

Monitoring Metric:

CPU utilization reached 85%

Audit Logs vs Activity Monitoring

Although related, they serve different purposes.

Audit Logs

Focus on:

  • Security
  • Governance
  • Compliance
  • User activity

Monitoring Tools

Focus on:

  • Performance
  • Capacity utilization
  • Query execution
  • System health

Audit Logs and Compliance

Audit logging plays an important role in regulatory frameworks such as:

  • GDPR
  • HIPAA
  • SOX
  • PCI DSS
  • Internal governance standards

Organizations often require audit trails to demonstrate:

  • Accountability
  • Access monitoring
  • Change tracking
  • Security oversight

Key Security Benefits

Audit logs help organizations:

Detect Unauthorized Activity

Example:

Multiple unexpected permission changes

Investigate Security Incidents

Example:

Who accessed sensitive data?

Support Forensics

Example:

Timeline of events before a breach

Improve Accountability

Every action is associated with a user identity.


Common Audit Events for DP-700

Candidates should recognize events such as:

  • Create Workspace
  • Delete Workspace
  • Update Workspace
  • Create Report
  • Delete Report
  • Modify Dataset
  • Share Content
  • Change Permissions
  • Update Tenant Settings
  • Assign Roles

Audit Log Retention

Organizations should understand that audit logs are retained according to Microsoft and organizational retention policies.

Longer retention periods support:

  • Compliance investigations
  • Historical analysis
  • Security reviews

Retention capabilities may vary depending on licensing and organizational configuration.


Best Practices

Enable Auditing

Ensure audit logging is enabled and properly configured.


Review Logs Regularly

Perform periodic reviews for:

  • Security incidents
  • Governance violations
  • Unusual activity

Protect Audit Data

Audit logs themselves may contain sensitive information and should be protected appropriately.


Integrate with Security Processes

Use audit data alongside:

  • Security monitoring
  • Governance reviews
  • Compliance audits

Establish Alerting Procedures

Monitor for:

  • Unexpected permission changes
  • Mass deletions
  • Excessive sharing
  • Administrative changes

Retain Logs Appropriately

Align retention periods with:

  • Regulatory requirements
  • Organizational policies
  • Security needs

Common DP-700 Exam Scenarios

Scenario 1

A report is unexpectedly deleted.

Question:

How do you determine who deleted it?

Solution:

Review Microsoft Fabric audit logs.


Scenario 2

Management requests evidence showing who modified workspace permissions.

Solution:

Use audit logs to review permission-change events.


Scenario 3

A compliance auditor requests historical access records.

Solution:

Provide relevant audit log entries.


Scenario 4

An administrator wants to determine which users shared a sensitive dashboard.

Solution:

Review sharing-related audit events.


DP-700 Exam Focus Areas

You should understand:

✓ Purpose of audit logging

✓ Types of activities captured

✓ Security investigation scenarios

✓ Compliance use cases

✓ Governance monitoring

✓ Audit log contents

✓ Audit logs versus monitoring metrics

✓ Audit logs versus performance monitoring

✓ User activity tracking

✓ Administrative activity tracking

✓ Best practices for auditing


Practice Exam Questions

Question 1

What is the primary purpose of Microsoft Fabric audit logs?

A. To track user and administrative activities

B. To improve query performance

C. To optimize storage usage

D. To automate data ingestion

Answer: A

Explanation

Audit logs provide a historical record of user and administrative actions for governance, compliance, and security purposes.


Question 2

Which activity would most likely appear in a Fabric audit log?

A. CPU utilization reaching 90%

B. Network latency measurements

C. A user deleting a report

D. Spark memory allocation

Answer: C

Explanation

Audit logs capture user actions such as creating, modifying, sharing, and deleting Fabric items.


Question 3

A compliance auditor asks for evidence showing who changed workspace permissions last month.

Which feature should be used?

A. Audit logs

B. Capacity Metrics App

C. Query Insights

D. Spark Monitoring

Answer: A

Explanation

Audit logs record permission changes and can be used to identify who performed administrative actions.


Question 4

Which information is commonly included in an audit log entry?

A. CPU utilization percentage

B. Cluster memory consumption

C. Spark executor count

D. Timestamp, user, and activity performed

Answer: D

Explanation

Audit logs typically record who performed an action, when it occurred, and what operation was performed.


Question 5

A report was accidentally deleted. What is the best way to determine who deleted it?

A. Review workspace endorsements

B. Review sensitivity labels

C. Review audit logs

D. Review data lineage

Answer: C

Explanation

Audit logs provide detailed records of item deletion events and the users responsible for them.


Question 6

How do audit logs differ from monitoring metrics?

A. Audit logs track activities, while monitoring metrics track performance and resource usage.

B. Audit logs improve query performance.

C. Monitoring metrics identify user actions.

D. Monitoring metrics replace audit logs.

Answer: A

Explanation

Audit logs focus on user and administrative actions, whereas monitoring metrics focus on system and workload performance.


Question 7

Which scenario represents a common use of audit logs?

A. Scaling Spark clusters

B. Monitoring storage capacity growth

C. Determining who shared a sensitive report

D. Configuring deployment pipelines

Answer: C

Explanation

Audit logs capture sharing events and can be used to investigate who shared content.


Question 8

Which governance objective is best supported by audit logs?

A. Data compression

B. Accountability and traceability

C. Capacity scaling

D. Schema optimization

Answer: B

Explanation

Audit logs establish accountability by recording user actions and maintaining an activity history.


Question 9

Why are audit logs important during a security investigation?

A. They automatically restore deleted content.

B. They optimize warehouse performance.

C. They classify data sensitivity.

D. They provide a timeline of user and administrative activities.

Answer: D

Explanation

Audit logs help investigators reconstruct events and determine what actions occurred during a security incident.


Question 10

An organization wants to review all permission changes made during the last quarter.

Which Microsoft Fabric capability should be used?

A. Capacity Metrics

B. Query Monitoring

C. Audit Logs

D. Dataflows Gen2

Answer: C

Explanation

Audit logs record permission modifications and provide historical visibility into administrative actions.


Exam Tip

A frequent DP-700 exam challenge is distinguishing between audit logs, monitoring tools, and governance features.

Remember:

RequirementSolution
Determine who performed an actionAudit Logs
Monitor system performanceMonitoring Metrics
Track capacity utilizationCapacity Monitoring
Classify sensitive contentSensitivity Labels
Identify trusted contentEndorsements

If a question asks who did something, when it happened, or what changes were made, the correct answer is usually Audit Logs. If the question focuses on CPU, memory, performance, or utilization, the answer is likely a monitoring tool rather than auditing.


Go to the DP-700 Exam Prep Hub main page.

DP-700 Practice Exam #4 (30 questions with answers)


Question 1

You need to grant a group of analysts read-only access to all Fabric items within a workspace.

Which workspace role should you assign?

A. Admin

B. Member

C. Contributor

D. Viewer

Answer: D

Explanation

The Viewer role provides read-only access to workspace content.

  • Admin allows full management.
  • Member allows content creation and modification.
  • Contributor allows editing.
  • Viewer is the least privileged role that satisfies the requirement.

Question 2

A company stores raw CSV files in a Bronze layer and cleansed Delta tables in a Silver layer.

What is the primary purpose of the Silver layer?

A. Long-term archival

B. Cleansed and validated data

C. Business reporting

D. Security auditing

Answer: B

Explanation

The Silver layer contains validated, transformed, and standardized data prepared for downstream analytics.


Question 3

Select TWO answers.

Which Fabric items can directly consume data from OneLake shortcuts?

A. Lakehouse

B. Warehouse

C. Eventstream

D. Dataflow Gen2

E. Activator

Answer: A, B

Explanation

OneLake shortcuts are commonly used by Lakehouses and Warehouses to access external data without duplication.


Question 4

Match each technology to its primary use case.

TechnologyUse Case
1. Dataflow Gen2A. Streaming event processing
2. EventstreamB. Low-code data transformation
3. NotebookC. Advanced Spark development

Answer

  • 1 → B
  • 2 → A
  • 3 → C

Explanation

Each Fabric component addresses a specific processing requirement.


Question 5

Fill in the blank.

Delta tables use the __________ transaction log to provide ACID compliance.

Answer

Delta Log

Explanation

The Delta Log records transactional metadata and enables reliable operations.


Question 6

A Fabric pipeline must execute three data loads in a specific order because each load depends on the previous one.

What should you configure?

A. Sequential dependencies

B. Parallel execution

C. Eventhouse ingestion

D. Activator triggers

Answer: A

Explanation

Dependent tasks should execute sequentially using activity dependencies.


Question 7

A real-time analytics solution requires querying billions of telemetry events with low latency.

Which Fabric component is best suited for this workload?

A. Semantic Model

B. Warehouse

C. Eventhouse

D. Dataflow Gen2

Answer: C

Explanation

Eventhouse is optimized for high-volume, low-latency analytical workloads.


Question 8

Which KQL operator is primarily used to filter rows?

A. summarize

B. project

C. extend

D. where

Answer: D

Explanation

The where operator filters data based on specified conditions.


Question 9

A notebook execution fails due to an OutOfMemory error.

What should you investigate first?

A. Spark pool sizing

B. Workspace permissions

C. Semantic model refresh schedule

D. Pipeline trigger settings

Answer: A

Explanation

Memory-related failures typically indicate insufficient Spark resources.


Question 10

Select THREE answers.

Which factors commonly improve Lakehouse query performance?

A. V-Order optimization

B. Partition pruning

C. Delta optimization

D. Increasing file fragmentation

E. Removing statistics

Answer: A, B, C

Explanation

These optimizations reduce scanning and improve storage efficiency.


Question 11

You need to monitor Fabric capacity consumption over time.

Which tool should you use?

A. Eventstream diagnostics

B. Capacity Metrics App

C. Warehouse explorer

D. Semantic model lineage view

Answer: B

Explanation

The Capacity Metrics App provides detailed capacity usage and performance insights.


Question 12

A data engineering team wants to ingest data from Azure Event Hubs into Fabric in real time.

Which Fabric component should be configured first?

A. Warehouse

B. Notebook

C. Eventstream

D. Semantic Model

Answer: C

Explanation

Eventstreams are designed for real-time event ingestion.


Question 13

Match the optimization technique to the benefit.

TechniqueBenefit
1. Broadcast JoinA. Reduce network shuffle
2. CachingB. Speed repeated access
3. Partition PruningC. Reduce scanned data

Answer

  • 1 → A
  • 2 → B
  • 3 → C

Question 14

A Dataflow Gen2 refresh succeeds but loads fewer rows than expected.

What should you investigate first?

A. Applied transformation steps

B. Workspace branding

C. Capacity SKU name

D. Semantic model permissions

Answer: A

Explanation

Filtering or transformation logic may be unintentionally excluding records.


Question 15

Which Spark Structured Streaming feature helps handle late-arriving data?

A. Repartitioning

B. Watermarking

C. Broadcast joins

D. Delta optimization

Answer: B

Explanation

Watermarks define how long late events can be accepted.


Question 16

Select TWO answers.

Which destinations are commonly used with Eventstreams?

A. Eventhouse

B. Lakehouse

C. Semantic Model

D. Power BI Dashboard

Answer: A, B

Explanation

Eventstreams commonly route data into Eventhouse and Lakehouse destinations.


Question 17

Fill in the blank.

The KQL __________ operator is frequently used to aggregate data into groups.

Answer

summarize

Explanation

summarize performs aggregations such as count(), avg(), and max().


Question 18

A Fabric warehouse query experiences poor performance due to scanning an entire fact table.

Which optimization should be considered first?

A. More dashboards

B. Query filtering

C. Additional workspaces

D. Manual report refreshes

Answer: B

Explanation

Proper filtering significantly reduces data scanned.


Question 19

A team needs to access external Amazon S3 data without copying it into Fabric.

Which feature should they use?

A. Data Activator

B. Deployment Pipeline

C. OneLake Shortcut

D. Semantic Link

Answer: C

Explanation

OneLake shortcuts provide logical access to external storage.


Question 20

A streaming solution requires event aggregation every five minutes.

Which concept should be implemented?

A. Delta optimization

B. Windowing

C. Caching

D. Workspace roles

Answer: B

Explanation

Windowing groups events into time-based intervals.


Question 21

A notebook suddenly fails after a package upgrade.

What is the most likely cause?

A. Dependency incompatibility

B. Lakehouse corruption

C. Eventstream throttling

D. Capacity scaling

Answer: A

Explanation

Package upgrades frequently introduce compatibility issues.


Question 22

Select THREE answers.

Which metrics are useful when monitoring Eventhouse ingestion?

A. Ingestion latency

B. Throughput

C. Failed ingestions

D. Workspace color settings

E. Queue backlog

Answer: A, B, C

Explanation

These metrics directly measure ingestion health and performance.


Question 23

A Fabric administrator wants to identify which workloads consume the most capacity units.

Which tool should be used?

A. Dataflow Gen2

B. Activator

C. Capacity Metrics App

D. Eventstream canvas

Answer: C

Explanation

The Capacity Metrics App breaks down workload consumption.


Question 24

A pipeline includes several independent copy activities.

What is the best way to improve overall execution speed?

A. Disable monitoring

B. Execute sequentially

C. Reduce logging

D. Execute in parallel

Answer: D

Explanation

Parallel execution reduces total pipeline duration.


Question 25

Match each item to the most likely troubleshooting location.

IssueTool
1. Notebook errorA. Spark execution logs
2. Pipeline failureB. Pipeline run history
3. Eventhouse ingestion issueC. Ingestion diagnostics

Answer

  • 1 → A
  • 2 → B
  • 3 → C

Question 26

You need to improve performance of repeated Spark computations.

Which technique should you use?

A. Increase shuffle operations

B. Remove partitions

C. Cache intermediate DataFrames

D. Disable parallelism

Answer: C

Explanation

Caching avoids recomputation of frequently accessed datasets.


Question 27

A company wants automatic notifications when a streaming metric exceeds a threshold.

Which Fabric feature should be implemented?

A. Warehouse

B. Data Activator

C. Notebook

D. Shortcut

Answer: B

Explanation

Data Activator enables event-driven notifications and actions.


Question 28

Select TWO answers.

Which actions help optimize Eventhouse query performance?

A. Use filtering predicates

B. Reduce scanned data

C. Increase file fragmentation

D. Remove aggregation logic

Answer: A, B

Explanation

Filtering and reducing scanned data improve query efficiency.


Question 29

Fill in the blank.

A Fabric deployment pipeline is primarily used to promote content between development, test, and __________ environments.

Answer

production

Explanation

Deployment pipelines support lifecycle management across environments.


Question 30

A Fabric solution experiences intermittent performance degradation during peak business hours.

Which action should be performed first?

A. Delete semantic models

B. Disable monitoring

C. Review workload utilization and capacity metrics

D. Rebuild all Lakehouses

Answer: C

Explanation

Capacity metrics help identify bottlenecks, workload spikes, throttling, and resource contention before major architectural changes are made.


Go to the DP-700 Exam Prep Hub main page.

DP-700 Practice Exam #3 (30 questions with answers)


Question 1

You need to provide data engineers access to create Lakehouses and Data Warehouses within a Fabric workspace. However, they should not be able to manage workspace permissions.

Which workspace role should you assign?

A. Viewer

B. Contributor

C. Member

D. Admin

Answer: C

Explanation

Members can create and manage content within a workspace but cannot perform all administrative functions available to Admins.

  • A is incorrect because Viewers have read-only access.
  • B is incorrect because Contributors cannot manage all workspace content ownership scenarios.
  • C is correct.
  • D is incorrect because Admin grants excessive permissions.

Question 2

You are implementing a Medallion architecture.

Match each layer to its primary purpose.

LayerPurpose
1. BronzeA. Business-ready curated data
2. SilverB. Raw ingested data
3. GoldC. Cleansed and validated data

Answer

  • 1 → B
  • 2 → C
  • 3 → A

Explanation

Bronze stores raw data, Silver contains cleansed and transformed data, and Gold provides analytics-ready datasets.


Question 3

A Fabric Eventstream receives telemetry from 50,000 IoT devices.

You need to route the incoming events to multiple destinations simultaneously.

Which feature should you use?

A. Dataflow Gen2

B. Eventstream routing

C. Notebook scheduling

D. Warehouse shortcuts

Answer: B

Explanation

Eventstreams can route a single event stream to multiple destinations.


Question 4

Select TWO answers.

Which destinations can Eventstreams write to directly?

A. Eventhouse

B. Lakehouse

C. SQL Database

D. Notebook

E. Activator

Answer: A, E

Explanation

Common Eventstream destinations include:

  • Eventhouse
  • Activator
  • Lakehouse
  • KQL Database

Notebook is not a direct destination.


Question 5

Fill in the blank.

A OneLake shortcut allows users to access data without creating a physical __________ of the data.

Answer

Copy

Explanation

Shortcuts create logical references to data rather than duplicating storage.


Question 6

A Fabric notebook processing job frequently fails due to insufficient executor resources.

What should you do first?

A. Increase notebook timeout

B. Rebuild the Lakehouse

C. Scale Spark resources

D. Delete checkpoints

Answer: C

Explanation

Resource shortages are typically addressed by increasing Spark capacity or executor allocation.


Question 7

You are designing a real-time analytics solution.

Requirements:

  • Ingest millions of events per minute
  • Sub-second querying
  • Time-series analysis

Which technology is most appropriate?

A. Dataflow Gen2

B. Eventhouse

C. Warehouse

D. Semantic Model

Answer: B

Explanation

Eventhouse is optimized for high-volume streaming analytics and KQL workloads.


Question 8

Which KQL operator is used to aggregate records?

A. project

B. where

C. extend

D. summarize

Answer: D

Explanation

The summarize operator performs aggregations such as count(), avg(), and sum().


Question 9

A Dataflow Gen2 refresh suddenly begins failing after a source schema change.

What is the most likely cause?

A. Workspace permissions

B. Network latency

C. Column mismatch

D. Spark pool scaling

Answer: C

Explanation

Schema changes commonly cause transformation failures when expected columns are missing or renamed.


Question 10

Select THREE answers.

Which actions help improve Delta table performance?

A. OPTIMIZE

B. V-Order

C. Small file generation

D. Compaction

E. Disabling partitioning

Answer: A, B, D

Explanation

OPTIMIZE, V-Order, and compaction improve query efficiency and storage organization.


Question 11

You need to monitor Fabric pipeline execution history.

Where should you start?

A. Capacity Metrics App

B. Pipeline monitoring pane

C. Purview Hub

D. Semantic model settings

Answer: B

Explanation

Pipeline monitoring provides execution status, duration, and error details.


Question 12

A streaming solution requires SQL-like processing over continuously arriving data.

Which option should you choose?

A. Data Factory

B. Eventstream

C. Warehouse stored procedures

D. Power BI Report

Answer: B

Explanation

Eventstreams support real-time stream processing and routing.


Question 13

Match the technology to its primary purpose.

TechnologyPurpose
1. EventhouseA. Batch orchestration
2. PipelineB. Real-time analytics
3. NotebookC. Spark processing

Answer

  • 1 → B
  • 2 → A
  • 3 → C

Question 14

You need to reduce query latency against large Delta tables.

Which strategy is most effective?

A. Increase report refresh frequency

B. Create more workspaces

C. Enable V-Order optimization

D. Disable partitioning

Answer: C

Explanation

V-Order reorganizes storage to improve analytical query performance.


Question 15

A warehouse query scans billions of rows unnecessarily.

What should you investigate first?

A. Query filters

B. Workspace permissions

C. Capacity region

D. Semantic model ownership

Answer: A

Explanation

Missing predicates often cause excessive data scans.


Question 16

Select TWO answers.

Which items can be sources for OneLake shortcuts?

A. ADLS Gen2

B. Amazon S3

C. Power BI Report

D. Notebook

Answer: A, B

Explanation

Shortcuts commonly connect to ADLS Gen2 and Amazon S3 data.


Question 17

Fill in the blank.

Spark Structured Streaming processes data using incremental __________.

Answer

Micro-batches

Explanation

Structured Streaming generally operates through continuous micro-batch execution.


Question 18

A Fabric capacity consistently shows high CU utilization.

What should you do?

A. Delete semantic models

B. Reduce storage

C. Review workload consumption patterns

D. Disable monitoring

Answer: C

Explanation

Investigating workload usage is the first step before scaling or optimization.


Question 19

Which KQL function is commonly used to create time windows?

A. datetime_diff()

B. bin()

C. tostring()

D. strcat()

Answer: B

Explanation

bin() groups timestamps into fixed intervals for windowed analysis.


Question 20

You need to process late-arriving streaming events.

Which concept should be configured?

A. Watermarking

B. Capacity scaling

C. Workspace role assignment

D. Notebook scheduling

Answer: A

Explanation

Watermarks help define how late data should be handled.


Question 21

A notebook execution fails with a Python module import error.

What is the most likely cause?

A. Missing package dependency

B. Lakehouse corruption

C. Capacity throttling

D. Semantic model refresh issue

Answer: A

Explanation

Import failures typically indicate missing libraries.


Question 22

Select THREE answers.

Which metrics are useful when monitoring data ingestion?

A. Throughput

B. Latency

C. Failure rate

D. Workspace color theme

E. Event volume

Answer: A, B, C

Explanation

Throughput, latency, and failures are key ingestion health indicators.


Question 23

You want to accelerate analytical queries against external data accessed through shortcuts.

Which feature should you consider?

A. Semantic Links

B. Query Acceleration

C. Spark Monitoring

D. Activator

Answer: B

Explanation

Query Acceleration improves performance when querying external shortcut data.


Question 24

A pipeline contains five independent activities.

How can you reduce overall execution time?

A. Execute activities sequentially

B. Disable retries

C. Run activities in parallel

D. Convert activities to reports

Answer: C

Explanation

Independent tasks should execute concurrently whenever possible.


Question 25

Match the optimization technique to its purpose.

TechniquePurpose
1. PartitioningA. Reduce file count
2. CompactionB. Improve data pruning
3. CachingC. Reduce repeated reads

Answer

  • 1 → B
  • 2 → A
  • 3 → C

Question 26

Which Fabric component is best suited for orchestration of complex ETL workflows?

A. Eventhouse

B. Data Pipeline

C. Semantic Model

D. Activator

Answer: B

Explanation

Pipelines coordinate and orchestrate end-to-end workflows.


Question 27

A real-time dashboard requires alerts when sensor temperature exceeds a threshold.

Which Fabric capability is most appropriate?

A. Activator

B. Warehouse

C. Notebook

D. V-Order

Answer: A

Explanation

Activator enables event-driven actions and alerts.


Question 28

Select TWO answers.

Which actions commonly improve Spark job performance?

A. Reduce shuffle operations

B. Use broadcast joins when appropriate

C. Increase small file generation

D. Disable partition pruning

Answer: A, B

Explanation

Reducing shuffles and using broadcast joins can significantly improve Spark efficiency.


Question 29

A warehouse workload contains many repeated analytical queries.

Which optimization is most likely to help?

A. Remove statistics

B. Increase file fragmentation

C. Use result caching

D. Disable parallelism

Answer: C

Explanation

Result caching can dramatically improve repeated query performance.


Question 30

A data engineering team must investigate intermittent Eventstream ingestion failures.

What should be reviewed first?

A. Report visualizations

B. Eventstream monitoring and diagnostics

C. Semantic model relationships

D. Workspace themes

Answer: B

Explanation

Eventstream diagnostics provide details about ingestion health, routing issues, throughput bottlenecks, and destination errors, making them the best starting point for troubleshooting.


Go to the DP-700 Exam Prep Hub main page.

DP-700 Practice Exam #2 (30 questions with answers)


Question 1

A company plans to ingest customer data from Azure Data Lake Storage Gen2 into a Fabric Lakehouse. The source data changes daily and must be copied automatically.

Which Fabric component should perform the data movement?

A. Data Pipeline
B. KQL Queryset
C. Semantic Model
D. Warehouse View

Answer: A

Explanation

Data Pipelines are designed to orchestrate and automate data movement between sources and destinations.


Question 2

You are designing a medallion architecture.

Which layer should contain data that has been standardized, validated, and enriched but is not yet optimized for business reporting?

A. Gold
B. Bronze
C. Silver
D. Semantic

Answer: C

Explanation

The Silver layer contains cleansed and transformed data that serves as an intermediate layer between raw and business-ready data.


Question 3

Which THREE actions can be performed using Dataflow Gen2?

(Choose three.)

A. Apply Power Query transformations
B. Join datasets from multiple sources
C. Create streaming windows on IoT events
D. Filter rows before loading data

Answers: A, B, D

Explanation

Dataflow Gen2 supports Power Query-based transformations including filtering, joining, and shaping data. Streaming windows are typically handled through Eventstreams, KQL, or Spark Structured Streaming.


Question 4

Match each Fabric item with its primary workload.

Fabric ItemWorkload
1. WarehouseA. Real-time analytics
2. EventhouseB. Relational analytics
3. EventstreamC. Event ingestion

Answer

  • 1 → B
  • 2 → A
  • 3 → C

Explanation

Warehouses support relational analytics, Eventhouses support real-time analytics, and Eventstreams handle event ingestion.


Question 5

Fill in the blank.

A OneLake __________ allows data to be referenced from another location without physically copying the data.

Answer

shortcut

Explanation

Shortcuts provide virtual access to data while avoiding duplication.


Question 6

A Fabric data engineer wants to create a Spark DataFrame from a Delta table.

Which language is most commonly used?

A. DAX
B. MDX
C. PySpark
D. Power Query M

Answer: C

Explanation

PySpark is the most common language used in Fabric notebooks for Spark processing.


Question 7

A table contains duplicate customer records.

Which Spark operation is most appropriate?

A. cache()
B. dropDuplicates()
C. repartition()
D. collect()

Answer: B

Explanation

dropDuplicates() removes duplicate rows from a DataFrame.


Question 8

A company wants to analyze machine telemetry arriving every second.

Which solution is most appropriate?

A. Dataflow Gen2
B. Warehouse
C. Eventhouse
D. SQL Analytics Endpoint

Answer: C

Explanation

Eventhouse is optimized for high-volume streaming and telemetry analytics.


Question 9

You need to aggregate website clicks into five-minute windows.

Which technology is best suited?

A. Eventstream alone
B. Structured Streaming window functions
C. OneLake Shortcut
D. Semantic Model

Answer: B

Explanation

Window functions in Structured Streaming are designed specifically for time-based aggregations.


Question 10

Which statement about Delta Lake is correct?

A. Delta tables support ACID transactions.
B. Delta tables cannot be queried through SQL.
C. Delta tables require Eventhouse.
D. Delta tables are read-only.

Answer: A

Explanation

Delta Lake provides ACID transaction support and is queryable through SQL, Spark, and Fabric workloads.


Question 11

A data engineer needs to query real-time events using KQL.

Which Fabric item should store the data?

A. Dataflow Gen2
B. Semantic Model
C. Eventhouse
D. Notebook

Answer: C

Explanation

Eventhouse stores data for KQL-based analytics.


Question 12

Which TWO advantages does Direct Lake provide?

(Choose two.)

A. Near-import performance
B. No requirement for OneLake
C. Reduced data duplication
D. Requires continuous ETL refreshes

Answers: A, C

Explanation

Direct Lake provides high performance while reducing duplicated storage.


Question 13

You need to troubleshoot a failed Spark notebook execution.

Where should you review execution logs first?

A. Capacity Metrics App
B. Spark Monitoring
C. Semantic Model Refresh History
D. Eventstream Destination Settings

Answer: B

Explanation

Spark Monitoring provides execution details, stages, and error information.


Question 14

A Fabric Warehouse query frequently filters by ProductCategory.

What optimization technique may reduce scanning?

A. Partitioning
B. Removing statistics
C. Converting all values to VARCHAR(MAX)
D. Disabling caching

Answer: A

Explanation

Partitioning can reduce the amount of data scanned.


Question 15

Match each KQL operator with its function.

OperatorFunction
1. whereA. Create calculated column
2. summarizeB. Aggregate results
3. extendC. Filter rows

Answer

  • 1 → C
  • 2 → B
  • 3 → A

Explanation

where filters rows, summarize aggregates data, and extend creates calculated columns.


Question 16

Which feature allows querying historical versions of Delta tables?

A. Mirroring
B. Time Travel
C. DirectQuery
D. Event Processing

Answer: B

Explanation

Time Travel enables access to previous Delta table versions.


Question 17

A company requires event enrichment by joining streaming data with reference data.

Which technology should be used?

A. Structured Streaming
B. Dataflow Gen2
C. Warehouse Views
D. Semantic Relationships

Answer: A

Explanation

Structured Streaming supports stream-static joins.


Question 18

Which Fabric feature enables near real-time movement of streaming data from sources to destinations?

A. Warehouse
B. Semantic Model
C. Eventstream
D. Dataflow Gen2

Answer: C

Explanation

Eventstreams route and process streaming events.


Question 19

You need to monitor workspace-wide execution history across notebooks, pipelines, and dataflows.

Which tool should you use?

A. Spark UI
B. Monitoring Hub
C. Warehouse Explorer
D. Notebook View

Answer: B

Explanation

Monitoring Hub provides centralized monitoring across Fabric items.


Question 20

A Lakehouse contains thousands of tiny Delta files.

Which command should be executed?

A. CACHE
B. ANALYZE
C. VACUUM
D. OPTIMIZE

Answer: D

Explanation

OPTIMIZE compacts small files into larger ones.


Question 21

Which THREE sources are commonly used with OneLake shortcuts?

(Choose three.)

A. Azure Data Lake Storage Gen2
B. Another Fabric Lakehouse
C. Amazon S3
D. Local Excel file on a desktop

Answers: A, B, C

Explanation

Shortcuts can reference supported cloud storage systems and Fabric items.


Question 22

A Fabric engineer needs to investigate why a semantic model refresh failed.

Where should they begin?

A. Refresh History
B. Spark Job Definitions
C. Eventhouse Metrics
D. Notebook Parameters

Answer: A

Explanation

Refresh History provides details about semantic model refresh failures.


Question 23

Fill in the blank.

The KQL operator used to create a new calculated column is __________.

Answer

extend

Explanation

extend creates calculated columns during query execution.


Question 24

A Fabric Warehouse contains a very large fact table and several small dimension tables.

Which join strategy generally performs best?

A. Cross Join
B. Joining on mismatched datatypes
C. Star schema joins
D. Cartesian joins

Answer: C

Explanation

Star schemas are optimized for analytical workloads.


Question 25

A pipeline activity occasionally fails due to temporary network issues.

What should be configured first?

A. Retry policy
B. Additional semantic models
C. KQL cache
D. OneLake replication

Answer: A

Explanation

Retry policies help recover from transient failures.


Question 26

Which TWO actions improve Spark performance?

(Choose two.)

A. Cache frequently used DataFrames
B. Reduce unnecessary shuffles
C. Use SELECT *
D. Create duplicate notebooks

Answers: A, B

Explanation

Caching and minimizing shuffles significantly improve Spark performance.


Question 27

A company wants to query operational data from Azure SQL Database without building a separate ingestion process.

Which Fabric capability should be considered?

A. Dataflow Gen2
B. Mirroring
C. Spark Streaming
D. Semantic Refresh

Answer: B

Explanation

Mirroring provides near-real-time access to operational data sources.


Question 28

You are creating a streaming analytics solution.

Which window type continuously moves forward as time progresses?

A. Tumbling Window
B. Fixed Window
C. Sliding Window
D. Batch Window

Answer: C

Explanation

Sliding windows overlap and move continuously over time.


Question 29

A notebook runs successfully but takes significantly longer than expected.

Which monitoring tool provides stage-level Spark execution details?

A. Monitoring Hub
B. Spark Monitoring
C. Workspace Settings
D. Dataflow History

Answer: B

Explanation

Spark Monitoring provides detailed stage and task-level performance information.


Question 30

A data engineer wants to improve SQL query performance in a Warehouse.

Which action is generally recommended?

A. Use SELECT * in production queries
B. Disable statistics collection
C. Remove partitioning
D. Filter data as early as possible

Answer: D

Explanation

Applying filters early reduces the volume of processed data and improves query performance.


Go to the DP-700 Exam Prep Hub main page.

DP-700 Practice Exam #1 (30 questions and answers)


Question 1

You need to ingest data from an on-premises SQL Server database into a Microsoft Fabric Lakehouse on a daily schedule.

Which Fabric component should you use?

A. Eventstream
B. Data Pipeline
C. KQL Queryset
D. Semantic Model

Answer: B

Explanation

Data Pipelines are designed for orchestrating and scheduling data movement and transformation activities. Eventstreams are intended for streaming data rather than scheduled batch ingestion.


Question 2

You are designing a medallion architecture in a Fabric Lakehouse.

Match each layer to its primary purpose.

LayerPurpose
1. BronzeA. Business-ready data
2. SilverB. Raw ingested data
3. GoldC. Cleaned and transformed data

Answer

  • 1 → B
  • 2 → C
  • 3 → A

Explanation

  • Bronze stores raw source data.
  • Silver stores cleansed and standardized data.
  • Gold stores curated business-ready datasets.

Question 3

Which TWO capabilities are provided by Delta Lake tables?

(Choose two.)

A. ACID transactions
B. Schema enforcement
C. XML indexing
D. Star schema generation

Answers: A, B

Explanation

Delta Lake supports ACID transactions, schema enforcement, schema evolution, and time travel. XML indexing and star schema generation are not Delta Lake features.


Question 4

A Fabric Warehouse contains a fact table with 2 billion rows.

Users frequently filter queries by OrderDate.

What should you consider to improve performance?

A. Remove statistics
B. Convert the table to CSV files
C. Use partitioning based on OrderDate
D. Disable Delta support

Answer: C

Explanation

Partitioning on commonly filtered columns reduces data scanning and improves query performance.


Question 5

Fill in the blank.

The Fabric storage layer that provides a unified logical data lake across Fabric workloads is called __________.

Answer

OneLake

Explanation

OneLake serves as the centralized storage layer across Fabric workloads.


Question 6

You need to process IoT telemetry arriving continuously from thousands of sensors.

Which Fabric component is most appropriate?

A. Warehouse
B. Notebook
C. Eventstream
D. Dataflow Gen2

Answer: C

Explanation

Eventstreams are designed specifically for real-time ingestion and routing of streaming events.


Question 7

A notebook performs the following operations:

  • Reads Bronze data
  • Removes duplicates
  • Standardizes formats
  • Writes cleaned data

Which medallion layer is being produced?

A. Bronze
B. Silver
C. Gold
D. Semantic

Answer: B

Explanation

Silver layer contains cleansed and transformed data.


Question 8

Which THREE sources can Eventstreams directly ingest from?

(Choose three.)

A. Azure Event Hubs
B. Sample data source
C. Custom application streams
D. Power BI semantic models

Answers: A, B, C

Explanation

Eventstreams support ingestion from Event Hubs, custom streams, Fabric sources, and sample data.


Question 9

You want to create a shortcut in a Lakehouse that references data stored in another Lakehouse without duplicating the data.

What should you use?

A. Mirrored Database
B. Warehouse View
C. OneLake Shortcut
D. Dataflow Gen2

Answer: C

Explanation

OneLake shortcuts provide virtual access to data without physically copying it.


Question 10

Match each workload to the most appropriate language.

WorkloadLanguage
1. Warehouse queriesA. KQL
2. Eventhouse analyticsB. T-SQL
3. Spark notebook transformationsC. PySpark

Answer

  • 1 → B
  • 2 → A
  • 3 → C

Explanation

Warehouses use T-SQL, Eventhouses use KQL, and Spark notebooks commonly use PySpark.


Question 11

Which statement about Dataflow Gen2 is correct?

A. It is used only for streaming data.
B. It provides low-code data transformation.
C. It replaces Spark entirely.
D. It requires KQL.

Answer: B

Explanation

Dataflow Gen2 provides a Power Query-based low-code transformation experience.


Question 12

You need to deduplicate customer records during ingestion.

Which Spark function is commonly used?

A. distinct() or dropDuplicates()
B. cache()
C. collect()
D. union()

Answer: A

Explanation

dropDuplicates() and distinct() are standard Spark methods for removing duplicate records.


Question 13

A Fabric Warehouse query is running slowly.

You discover many joins use columns with mismatched data types.

What should you do?

A. Disable indexing
B. Increase storage only
C. Align data types across joined columns
D. Convert all columns to VARCHAR

Answer: C

Explanation

Matching data types allows the optimizer to generate more efficient execution plans.


Question 14

Which TWO benefits are provided by OneLake shortcuts?

(Choose two.)

A. Reduced data duplication
B. Faster networking hardware
C. Centralized access to data
D. Automatic data encryption removal

Answers: A, C

Explanation

Shortcuts minimize data duplication while enabling centralized access.


Question 15

A company wants to analyze clickstream events with second-level latency.

Which Fabric workload is best suited?

A. Eventhouse
B. Warehouse
C. Dataflow Gen2
D. Semantic Model

Answer: A

Explanation

Eventhouse is optimized for real-time analytics and telemetry workloads.


Question 16

Fill in the blank.

The Spark feature used to continuously process incoming streaming data is called Structured __________.

Answer

Streaming

Explanation

Spark Structured Streaming provides scalable stream processing.


Question 17

Which KQL operator is used to aggregate data?

A. join
B. summarize
C. extend
D. where

Answer: B

Explanation

summarize performs aggregation operations.


Question 18

A notebook fails because a referenced Delta table no longer exists.

What category of issue is this?

A. Authentication issue
B. Schema drift issue
C. Missing resource dependency
D. Capacity issue

Answer: C

Explanation

The notebook references an object that no longer exists.


Question 19

You need to schedule a notebook execution every night.

Which Fabric component should orchestrate this process?

A. Eventstream
B. Pipeline
C. Eventhouse
D. Semantic Model

Answer: B

Explanation

Pipelines provide orchestration and scheduling capabilities.


Question 20

Which operation helps compact small Delta files into larger files?

A. VACUUM
B. ANALYZE
C. OPTIMIZE
D. CACHE

Answer: C

Explanation

OPTIMIZE compacts files and improves query performance.


Question 21

A data engineer wants to improve Spark query performance for repeatedly accessed datasets.

Which technique should be used?

A. VACUUM
B. Partition deletion
C. Cache DataFrames
D. Convert to CSV

Answer: C

Explanation

Caching stores frequently accessed data in memory.


Question 22

Select all valid Fabric items.

(Choose three.)

A. Lakehouse
B. Eventhouse
C. Warehouse
D. Azure VM

Answers: A, B, C

Explanation

Lakehouse, Eventhouse, and Warehouse are Fabric items. Azure VM is not.


Question 23

A streaming solution must enrich incoming events with reference data.

Which technology is most appropriate?

A. Structured Streaming
B. PowerPoint
C. Semantic Model Refresh
D. OneLake Shortcut

Answer: A

Explanation

Structured Streaming supports stream-to-static joins for enrichment.


Question 24

Match the monitoring tool to its purpose.

ToolPurpose
1. Monitoring HubA. View workload execution history
2. Capacity MetricsB. Analyze capacity utilization
3. Spark MonitoringC. Diagnose Spark execution

Answer

  • 1 → A
  • 2 → B
  • 3 → C

Explanation

Each tool focuses on a different operational aspect of Fabric.


Question 25

Which statement about Eventhouse is TRUE?

A. It only supports batch data.
B. It stores data using KQL databases.
C. It replaces OneLake.
D. It cannot query streaming data.

Answer: B

Explanation

Eventhouse uses KQL databases optimized for real-time analytics.


Question 26

A Lakehouse table experiences slow query performance due to excessive small files.

What is the best first action?

A. Delete the table
B. Run OPTIMIZE
C. Remove partitions
D. Disable Delta

Answer: B

Explanation

OPTIMIZE consolidates files and improves query efficiency.


Question 27

A company needs historical tracking of changes to Delta tables.

Which feature provides this capability?

A. Time Travel
B. Direct Lake
C. Eventstream
D. Monitoring Hub

Answer: A

Explanation

Delta Time Travel enables querying previous versions of data.


Question 28

You need to identify why a pipeline failed overnight.

Where should you start?

A. Monitoring Hub execution details
B. Power BI report settings
C. Semantic model relationships
D. Capacity scaling settings

Answer: A

Explanation

Monitoring Hub provides execution history, logs, and failure details.


Question 29

Which TWO actions commonly improve Warehouse query performance?

(Choose two.)

A. Maintain statistics
B. Use partitioning strategically
C. Convert all columns to strings
D. Use SELECT *

Answers: A, B

Explanation

Statistics and partitioning improve optimization and reduce scanning.


Question 30

A company wants Power BI reports to query Lakehouse data with minimal data duplication and high performance.

Which storage mode should be considered first?

A. Import Mode
B. DirectQuery
C. Direct Lake
D. Live Connection to Excel

Answer: C

Explanation

Direct Lake allows Power BI to access OneLake data directly while delivering near-import performance without data duplication.


Go to the DP-700 Exam Prep Hub main page.

Optimize query performance (DP-700 Exam Prep)

This post is a part of the DP-700: Implementing Data Engineering Solutions Using Microsoft Fabric Exam Prep Hub.
This topic falls under these sections:
Monitor and optimize an analytics solution (30–35%)
   --> Optimize performance
      --> Optimize query performance


Note that there are 10 practice questions (with answers) at the end of each section to help you solidify your knowledge of the material. Also, there are 2 practice tests with 60 questions each available from the hub's main page below the exam topics section.

Introduction

Optimizing query performance is a critical skill for the DP-700 certification and for real-world Microsoft Fabric data engineering solutions. As organizations store larger volumes of data in Lakehouses, Warehouses, Eventhouses, and semantic models, poorly performing queries can significantly impact report responsiveness, data pipeline execution times, and overall user experience.

In Microsoft Fabric, query performance optimization involves more than simply writing efficient SQL. Data engineers must understand how Fabric’s storage engines, Delta tables, Warehouse architecture, Spark processing, caching mechanisms, and Real-Time Intelligence components interact to produce query results.

For the DP-700 exam, you should understand how to identify performance bottlenecks, optimize data structures, improve query design, and leverage Fabric-specific features to achieve faster query execution.


Why Query Performance Matters

Poorly performing queries can cause:

  • Slow Power BI reports
  • Long-running pipelines
  • Increased capacity consumption
  • Higher operational costs
  • User dissatisfaction
  • Resource contention across workloads

Optimized queries provide:

  • Faster report rendering
  • Lower compute usage
  • Better scalability
  • Improved concurrency
  • More efficient capacity utilization

Performance optimization is often one of the highest-value activities a data engineer can perform because a single optimization can improve thousands of downstream report executions.


Understanding Query Processing in Fabric

Microsoft Fabric supports multiple query engines:

EngineTypical Use Case
SQL Warehouse EngineData warehouse analytics
SQL Analytics EndpointLakehouse SQL queries
Spark EngineLarge-scale transformations
KQL EngineReal-time analytics and telemetry
Direct Lake EnginePower BI semantic models

Each engine has different optimization characteristics.

For DP-700, you should understand that query performance tuning depends heavily on the workload being executed.


Common Causes of Poor Query Performance

Excessive Data Scanning

One of the most common performance issues occurs when queries scan more data than necessary.

Example:

SELECT *
FROM Sales

This query retrieves every column.

A better approach:

SELECT SaleID,
SaleDate,
Revenue
FROM Sales

Retrieving only required columns reduces I/O and improves performance.

Microsoft recommends minimizing both rows and columns returned by queries whenever possible. (Microsoft Learn)


Missing Filters

Poor:

SELECT *
FROM Sales

Better:

SELECT *
FROM Sales
WHERE SaleDate >= '2026-01-01'

Filtering early reduces the amount of data processed.


Inefficient Joins

Large joins are often responsible for performance bottlenecks.

Example:

SELECT *
FROM FactSales s
JOIN Customer c
ON s.CustomerID = c.CustomerID

Performance improves when:

  • Join columns use matching data types
  • Tables are properly optimized
  • Filtering occurs before joins

Fabric documentation specifically recommends maintaining data type consistency between columns used in joins and comparisons. (Microsoft Learn)


Statistics and Query Optimization

What Are Statistics?

Statistics describe data distribution within tables.

The Fabric query optimizer uses statistics to estimate:

  • Row counts
  • Cardinality
  • Query cost
  • Join strategies

Accurate statistics help the optimizer generate efficient execution plans.

Fabric automatically maintains statistics, but manual updates may still be beneficial in some scenarios. (Microsoft Learn)


Delta Table Optimization

For Lakehouse workloads, Delta table health directly impacts query performance.

Common issues include:

  • Too many small files
  • Fragmented storage
  • Excessive Delta log growth

These problems increase query overhead.


OPTIMIZE Command

The OPTIMIZE command compacts many small files into fewer large files.

Benefits include:

  • Reduced file metadata scanning
  • Faster reads
  • Improved Spark performance
  • Better SQL Analytics Endpoint performance

Example:

OPTIMIZE sales_table

Microsoft recommends periodically optimizing heavily updated Lakehouse tables. (Microsoft Learn)


V-Order Optimization

What Is V-Order?

V-Order is a Fabric-specific write optimization that improves:

  • Compression
  • Scan efficiency
  • Query performance

Benefits include:

  • Faster reads
  • Better Direct Lake performance
  • Improved storage efficiency

V-Order is enabled by default in Fabric Warehouses. (Microsoft Learn)


Partitioning for Performance

Partitioning reduces the amount of data scanned.

Example:

A table partitioned by year:

2024
2025
2026

Query:

WHERE OrderYear = 2026

Only the relevant partition is scanned.

Suitable partition columns include:

  • Date
  • Year
  • Month
  • Region

Avoid partitioning on extremely high-cardinality columns.


Clustering and Z-Ordering

For Lakehouse tables, clustering helps accelerate filtering.

Example:

OPTIMIZE sales_table
ZORDER BY (CustomerID)

Benefits:

  • Improved predicate pushdown
  • Reduced data scanning
  • Faster query execution

Z-Ordering is particularly valuable when queries frequently filter on the same columns. (Microsoft Learn)


Reducing Data Movement

Large distributed systems incur costs when moving data between nodes.

Best practices include:

  • Filter before joining
  • Aggregate early
  • Reduce intermediate result sets
  • Avoid unnecessary transformations

Example:

Poor:

SELECT *
FROM FactSales s
JOIN Customers c
ON s.CustomerID = c.CustomerID

Better:

SELECT *
FROM (
SELECT *
FROM FactSales
WHERE SaleDate >= '2026-01-01'
) s
JOIN Customers c
ON s.CustomerID = c.CustomerID

The join processes fewer rows.


Querying Lakehouse Data Efficiently

When using SQL Analytics Endpoints:

Use Delta Tables

Delta tables provide:

  • Optimized metadata
  • Transaction support
  • Better query performance

Avoid Many Small Files

Many small files increase overhead.

Fabric recommends periodically running optimization operations to combine small files. (Microsoft Learn)


Understanding Cold Cache vs Warm Cache

A query may run slower the first time it executes.

This is known as a cold start.

Causes include:

  • Data loaded from OneLake
  • Statistics generation
  • Compute initialization

Subsequent executions often run significantly faster due to caching. (Microsoft Learn)

For DP-700, remember:

Do not evaluate performance solely from the first execution of a query.


Optimizing Power BI Direct Lake Queries

Direct Lake performance depends heavily on underlying Delta table quality.

Important practices include:

  • V-Order optimization
  • Large row groups
  • Reduced file fragmentation
  • Efficient data types
  • Optimized Delta maintenance

Well-maintained Delta tables improve both semantic model performance and query execution. (Microsoft Learn)


Query Plan Analysis

Execution plans reveal how queries are processed.

Key information includes:

  • Table scans
  • Join operations
  • Aggregations
  • Data movement
  • Cost estimates

Analyzing execution plans helps identify bottlenecks.

DP-700 may test when execution plans should be used for troubleshooting.


Capacity Considerations

Query performance is also influenced by Fabric capacity.

Factors include:

  • Concurrent workloads
  • Available compute
  • Memory resources
  • Scaling activity

However, simply increasing capacity is not a substitute for good query design.

Query optimization should occur before scaling resources whenever possible.


Query Performance Best Practices

For the exam, remember these key recommendations:

Do

  • Filter data early
  • Return only needed columns
  • Maintain Delta tables
  • Run OPTIMIZE when appropriate
  • Use partitioning wisely
  • Keep statistics current
  • Use matching data types in joins
  • Leverage V-Order
  • Monitor query execution history

Avoid

  • SELECT *
  • Excessive data scans
  • Large unfiltered joins
  • Many small files
  • Frequent tiny updates
  • Poor partition strategies
  • Excessive string column sizes
  • Evaluating performance using only cold-cache executions

Exam Tips

Expect scenario-based questions involving:

  • Slow Warehouse queries
  • Slow SQL Analytics Endpoint queries
  • Delta table maintenance
  • Partitioning strategies
  • Statistics management
  • V-Order benefits
  • Direct Lake performance optimization
  • Query plan troubleshooting
  • Cold-cache behavior
  • Lakehouse versus Warehouse performance considerations

Focus on identifying the root cause of performance issues rather than simply increasing capacity.


Practice Exam Questions

Question 1

A Fabric Warehouse query retrieves all columns from a large fact table even though only three columns are required. What should you do first?

A. Increase Fabric capacity

B. Create additional tables

C. Replace SELECT * with only required columns

D. Enable Direct Lake

Answer: C

Explanation: Retrieving only necessary columns reduces I/O and improves query performance. Increasing capacity should not be the first optimization step.


Question 2

A Lakehouse table contains thousands of small Delta files. Query performance has degraded. Which action is most appropriate?

A. Run OPTIMIZE on the table

B. Add more columns

C. Create duplicate tables

D. Disable Delta Lake

Answer: A

Explanation: OPTIMIZE compacts small files into larger files, reducing metadata overhead and improving query performance.


Question 3

Which Fabric feature improves compression and query performance for Warehouse tables?

A. Partition Elimination

B. V-Order

C. DirectQuery

D. Mirroring

Answer: B

Explanation: V-Order improves storage layout and compression, leading to faster query execution.


Question 4

A query joins two tables using columns with different data types. What is the likely impact?

A. Improved performance

B. Automatic partitioning

C. Reduced query performance

D. Faster statistics updates

Answer: C

Explanation: Data type mismatches can force conversions and prevent optimal execution plans.


Question 5

What is a primary benefit of partitioning a large table by date?

A. Reduced storage costs only

B. Faster semantic model refreshes only

C. Reduced data scanning during filtered queries

D. Automatic V-Order optimization

Answer: C

Explanation: Partition elimination allows the engine to scan only relevant partitions.


Question 6

A query runs slowly the first time but quickly on subsequent executions. What is the most likely explanation?

A. Data corruption

B. Cold-cache behavior

C. Missing workspace permissions

D. Duplicate statistics

Answer: B

Explanation: Initial execution may require loading data and generating statistics before caching improves performance.


Question 7

Which operation helps improve query performance when filtering on frequently queried columns in a Lakehouse?

A. Dataflow refresh

B. Semantic model refresh

C. Workspace migration

D. Z-Ordering

Answer: D

Explanation: Z-Ordering physically organizes data to improve filtering performance.


Question 8

What is generally the best way to reduce the cost of a large join operation?

A. Increase string lengths

B. Disable statistics

C. Filter rows before performing the join

D. Add more SELECT * statements

Answer: C

Explanation: Reducing row counts before joins minimizes data movement and processing requirements.


Question 9

Which object helps the query optimizer estimate cardinality and create efficient execution plans?

A. Statistics

B. Pipelines

C. Shortcuts

D. Workspaces

Answer: A

Explanation: Statistics provide information about data distribution used by the optimizer.


Question 10

A Direct Lake semantic model experiences slower performance because underlying Delta tables contain fragmented files and poor compression. Which action is most likely to help?

A. Delete the semantic model

B. Switch to CSV storage

C. Disable Delta tables

D. Optimize Delta tables and maintain V-Order

Answer: D

Explanation: Direct Lake performance depends heavily on well-maintained Delta tables, proper file sizing, and V-Order optimization. (Microsoft Learn)


Go to the DP-700 Exam Prep Hub main page.

Optimize Spark performance (DP-700 Exam Prep)

This post is a part of the DP-700: Implementing Data Engineering Solutions Using Microsoft Fabric Exam Prep Hub.
This topic falls under these sections:
Monitor and optimize an analytics solution (30–35%)
   --> Optimize performance
      --> Optimize Spark performance


Note that there are 10 practice questions (with answers) at the end of each section to help you solidify your knowledge of the material. Also, there are 2 practice tests with 60 questions each available from the hub's main page below the exam topics section.

Introduction

Apache Spark is the primary distributed data processing engine used throughout Microsoft Fabric for large-scale data engineering workloads. Spark powers notebooks, Lakehouse processing, data transformations, machine learning workloads, and streaming analytics. While Spark provides significant scalability and performance advantages, poorly designed Spark jobs can consume excessive compute resources, run slowly, and increase costs.

For the DP-700 exam, candidates must understand how to identify and implement Spark performance optimization techniques in Microsoft Fabric. This includes optimizing:

  • Data storage formats
  • Partitioning strategies
  • Query execution
  • Cluster utilization
  • Memory management
  • Shuffle operations
  • Caching
  • Delta Lake performance features

Understanding Spark optimization is essential because Fabric capacities are shared resources. Efficient Spark workloads improve performance while reducing capacity consumption and operational costs.


Understanding Spark Performance Fundamentals

Spark is a distributed computing framework that divides work across multiple executors running on multiple nodes.

Several factors influence performance:

  • Amount of data processed
  • Number of partitions
  • Data storage format
  • Query complexity
  • Network communication
  • Memory availability
  • Cluster size
  • Shuffle operations

A common exam theme is recognizing that Spark performance problems are often caused by inefficient data movement rather than insufficient compute power.


Use Efficient Storage Formats

Prefer Delta Lake Format

Microsoft Fabric Lakehouses use Delta Lake as the preferred storage format.

Delta Lake provides:

  • ACID transactions
  • Efficient metadata management
  • Optimized reads
  • Schema enforcement
  • Time travel capabilities

Compared to CSV files, Delta tables significantly improve query performance.

Example

Less efficient:

df = spark.read.csv("/Files/sales.csv")

More efficient:

df = spark.read.format("delta").load("/Tables/Sales")

Benefits include:

  • Faster scans
  • Better optimization
  • Improved metadata handling

Avoid CSV for Large Workloads

CSV files:

  • Lack schema enforcement
  • Require parsing on every read
  • Consume more storage

Preferred formats:

  • Delta Lake
  • Parquet

These columnar formats reduce I/O and improve Spark execution performance.


Optimize Partitioning

Understand Partitioning

Spark processes data in partitions.

Too few partitions:

  • Underutilized cluster resources

Too many partitions:

  • Excessive scheduling overhead

Proper partitioning balances workload distribution across executors.


Repartition When Necessary

Use repartitioning when data is unevenly distributed.

Example:

df = df.repartition(100)

This redistributes data across partitions.

Benefits:

  • Improved parallelism
  • Better workload distribution

However, repartitioning causes a shuffle operation and should be used only when beneficial.


Use Coalesce for Reducing Partitions

When decreasing partition counts:

df = df.coalesce(10)

Unlike repartition:

  • Minimizes data movement
  • Reduces shuffle overhead

This is useful when writing output files.


Minimize Shuffle Operations

Why Shuffles Are Expensive

A shuffle occurs when Spark moves data between executors.

Examples:

  • GROUP BY
  • DISTINCT
  • JOIN
  • ORDER BY

Shuffles typically represent one of the largest performance bottlenecks in Spark workloads.


Reduce Unnecessary Shuffles

Instead of repeatedly sorting and grouping data:

  • Perform filtering early.
  • Reduce dataset size before joins.
  • Aggregate before joining when possible.

Example:

Less efficient:

large_df.join(other_df)

More efficient:

filtered_df = large_df.filter(...)
filtered_df.join(other_df)

Reducing rows before joins minimizes shuffle volume.


Optimize Joins

Broadcast Small Tables

When joining a large table with a small lookup table, use a broadcast join.

Example:

from pyspark.sql.functions import broadcast
result = sales.join(
broadcast(products),
"ProductID"
)

Benefits:

  • Eliminates expensive shuffle operations
  • Improves join performance

This is one of the most commonly tested Spark optimization concepts.


Avoid Skewed Joins

Data skew occurs when certain partition values contain significantly more records than others.

Example:

Region
------
US 95%
UK 2%
CA 2%
FR 1%

One executor may receive most of the workload, causing bottlenecks.

Optimization techniques:

  • Repartition data
  • Salt skewed keys
  • Filter data before joins

Use Predicate Pushdown

What Is Predicate Pushdown?

Predicate pushdown allows Spark to push filters directly to the storage layer.

Example:

df.filter(df.OrderDate >= "2026-01-01")

Instead of loading all records, Spark retrieves only relevant data.

Benefits:

  • Reduced I/O
  • Faster scans
  • Lower memory consumption

Delta and Parquet formats support predicate pushdown.


Filter Early

One of the most important Spark optimization principles is:

Filter as early as possible.

Example:

Less efficient:

df.join(customers).filter(df.Region == "East")

More efficient:

east = df.filter(df.Region == "East")
east.join(customers)

Benefits:

  • Smaller datasets
  • Reduced memory usage
  • Faster joins

Cache Frequently Used Data

Why Cache?

When a DataFrame is reused multiple times, Spark may recompute it repeatedly.

Example:

sales.cache()

Benefits:

  • Faster repeated access
  • Reduced recomputation

Use caching when:

  • Data is reused multiple times
  • Data fits comfortably in memory

Avoid Excessive Caching

Caching everything can:

  • Consume memory
  • Cause executor pressure
  • Reduce overall performance

Cache only data that provides measurable benefit.


Optimize Delta Lake Tables

Use OPTIMIZE

Over time, Delta tables can accumulate many small files.

Small file problems include:

  • Slower reads
  • Increased metadata operations

Use:

OPTIMIZE Sales

Benefits:

  • File compaction
  • Improved query performance

This is a highly important Fabric-specific optimization technique.


Use V-Order Optimization

Microsoft Fabric supports V-Order optimization.

Benefits:

  • Improved compression
  • Faster reads
  • Better query performance

V-Order is particularly beneficial for analytics workloads and large-scale scans.


Use Z-Ordering When Appropriate

Z-Ordering physically organizes data based on frequently filtered columns.

Example:

OPTIMIZE Sales
ZORDER BY (CustomerID)

Benefits:

  • Reduced data scanning
  • Faster filtering performance

Best used on frequently queried columns.


Optimize Notebook Execution

Avoid Excessive Actions

Spark transformations are lazy.

Actions trigger execution:

count()
collect()
show()
display()

Repeated actions can cause repeated computations.

Instead:

  • Cache reusable data
  • Minimize unnecessary actions

Use Notebook Monitoring

Fabric provides Spark monitoring capabilities that allow engineers to review:

  • Job execution
  • Stage duration
  • Shuffle size
  • Executor utilization
  • Memory consumption

Monitoring helps identify bottlenecks before scaling resources unnecessarily.


Optimize Spark Pools and Compute Resources

Right-Size Compute Resources

Larger clusters are not always faster.

Consider:

  • Dataset size
  • Concurrency requirements
  • Transformation complexity

Overprovisioning increases costs without necessarily improving performance.


Use Autoscaling

Autoscaling allows Spark resources to expand and contract based on workload demand.

Benefits:

  • Reduced idle resources
  • Improved cost efficiency
  • Better workload management

Monitor Spark Performance

Important metrics include:

Job Duration

Measures overall execution time.

Stage Duration

Identifies bottlenecks within jobs.

Shuffle Read/Write

High values often indicate optimization opportunities.

Executor Utilization

Shows whether compute resources are effectively used.

Memory Usage

Helps identify memory pressure and caching issues.

Task Failures

May indicate:

  • Data skew
  • Resource exhaustion
  • Code inefficiencies

Common DP-700 Exam Scenarios

You may encounter questions involving:

  • Small-file problems solved with OPTIMIZE
  • Join optimization using broadcast joins
  • Delta Lake versus CSV performance
  • Predicate pushdown benefits
  • Data skew troubleshooting
  • Repartition versus coalesce decisions
  • Spark monitoring interpretation
  • Shuffle reduction techniques
  • V-Order optimization
  • Caching strategies

Exam Tips

Remember these key points:

  • Delta Lake generally performs better than CSV.
  • Filter data as early as possible.
  • Broadcast small lookup tables.
  • Minimize shuffle operations.
  • Use repartition carefully.
  • Use coalesce when reducing partitions.
  • Cache only frequently reused datasets.
  • Run OPTIMIZE on fragmented Delta tables.
  • Monitor shuffle metrics and stage durations.
  • Use V-Order and Z-Ordering to improve query performance.

Practice Exam Questions

Question 1

A Spark job repeatedly joins a 5 TB sales table with a 5 MB product lookup table. Query performance is poor.

Which optimization should be implemented?

A. Broadcast the product lookup table

B. Increase the number of Delta tables

C. Convert the lookup table to CSV

D. Disable partitioning

Correct Answer: A

Explanation: Broadcasting the small lookup table eliminates expensive shuffle operations and significantly improves join performance.


Question 2

A Delta table contains thousands of small files after months of incremental loads.

Which command should be used?

A. REBUILD

B. OPTIMIZE

C. VACUUM

D. MERGE

Correct Answer: B

Explanation: OPTIMIZE compacts small files into larger files, improving read performance and reducing metadata overhead.


Question 3

Which operation is most likely to trigger a costly Spark shuffle?

A. SELECT specific columns

B. Filter rows

C. GROUP BY

D. Read a Delta table

Correct Answer: C

Explanation: GROUP BY redistributes data across executors and typically requires a shuffle operation.


Question 4

A DataFrame is reused multiple times throughout a notebook.

Which optimization is most appropriate?

A. Repartition it repeatedly

B. Convert it to CSV

C. Cache it

D. Broadcast it

Correct Answer: C

Explanation: Caching prevents repeated recomputation and improves performance when data is reused.


Question 5

What is the primary purpose of predicate pushdown?

A. Increase memory usage

B. Push filters to the storage layer

C. Increase shuffle operations

D. Create additional partitions

Correct Answer: B

Explanation: Predicate pushdown allows filters to be applied at the storage layer, reducing the amount of data read.


Question 6

A data engineer wants to reduce partitions before writing output files while minimizing data movement.

Which operation should be used?

A. Broadcast

B. OPTIMIZE

C. Repartition

D. Coalesce

Correct Answer: D

Explanation: Coalesce reduces partitions efficiently with less data movement than repartition.


Question 7

Which storage format generally provides the best Spark performance in Microsoft Fabric Lakehouses?

A. TXT

B. CSV

C. Delta Lake

D. XML

Correct Answer: C

Explanation: Delta Lake provides optimized storage, metadata management, ACID transactions, and better query performance.


Question 8

A Spark job shows one executor consistently running much longer than all others.

What is the most likely cause?

A. Predicate pushdown

B. Data skew

C. V-Order optimization

D. Delta caching

Correct Answer: B

Explanation: Data skew causes uneven workload distribution and often results in one executor becoming a bottleneck.


Question 9

Which Fabric optimization improves data compression and analytical query performance for Delta tables?

A. V-Order

B. Autoscaling

C. Caching

D. Broadcast joins

Correct Answer: A

Explanation: V-Order optimizes data layout for analytics workloads, improving compression and read performance.


Question 10

A Spark job performs several joins and aggregations before filtering rows.

What optimization would likely improve performance?

A. Increase retention

B. Apply filtering earlier in the workflow

C. Increase notebook count

D. Export data to CSV first

Correct Answer: B

Explanation: Early filtering reduces dataset size before expensive operations such as joins and aggregations, decreasing shuffle volume and improving overall performance.


Go to the DP-700 Exam Prep Hub main page.

Optimize Eventstreams and Eventhouses (DP-700 Exam Prep)

This post is a part of the DP-700: Implementing Data Engineering Solutions Using Microsoft Fabric Exam Prep Hub.
This topic falls under these sections:
Monitor and optimize an analytics solution (30–35%)
   --> Optimize performance
      --> Optimize Eventstreams and Eventhouses


Note that there are 10 practice questions (with answers) at the end of each section to help you solidify your knowledge of the material. Also, there are 2 practice tests with 60 questions each available from the hub's main page below the exam topics section.

Introduction

As organizations increasingly rely on real-time analytics, optimizing streaming architectures becomes critical. In Microsoft Fabric, Eventstreams and Eventhouses form the foundation of Real-Time Intelligence solutions. Eventstreams handle real-time ingestion, transformation, and routing of events, while Eventhouses provide highly scalable storage and analytics using Kusto Query Language (KQL).

For the DP-700 exam, candidates should understand how to optimize both components to achieve:

  • Lower latency
  • Higher throughput
  • Improved query performance
  • Reduced capacity consumption
  • Better scalability
  • Reliable real-time analytics

Understanding optimization techniques is important because poorly designed streaming solutions can lead to ingestion bottlenecks, excessive capacity usage, delayed analytics, and poor user experiences. (Microsoft Learn)


Understanding Eventstreams and Eventhouses

Eventstreams

An Eventstream is a real-time ingestion pipeline that:

  • Connects to streaming sources
  • Performs transformations
  • Routes data to destinations
  • Supports multiple concurrent outputs

Eventstreams do not permanently store data. Instead, they process and forward events to destinations such as:

  • Eventhouses
  • Lakehouses
  • Activator
  • Custom endpoints
  • Derived streams

Eventstreams support filtering, aggregation, joins, grouping, and field management without requiring code. (Microsoft Learn)

Eventhouses

An Eventhouse is optimized for:

  • High-volume event ingestion
  • Real-time analytics
  • Time-series workloads
  • Log analytics
  • Telemetry analysis
  • Operational monitoring

Eventhouses use KQL and are designed to efficiently ingest and query large volumes of streaming data. (Microsoft Learn)


Eventstream Optimization Strategies

Filter Data Early

One of the most important optimization principles is:

Eliminate unnecessary data as early as possible.

Instead of sending all events downstream:

  1. Apply filters immediately after ingestion.
  2. Remove irrelevant records.
  3. Route only required events.

Benefits include:

  • Lower network traffic
  • Reduced storage costs
  • Faster downstream processing
  • Lower capacity consumption

Example:

An IoT solution receives:

  • Device telemetry
  • Configuration changes
  • Diagnostic events

If only telemetry is required for analytics, filter out other event types before routing.


Remove Unused Fields

Many event sources contain dozens or hundreds of attributes.

If downstream systems only need:

  • Device ID
  • Timestamp
  • Temperature

Remove unnecessary columns.

Benefits:

  • Smaller payload sizes
  • Reduced ingestion costs
  • Faster processing
  • Improved query performance

Eventstream transformations support field management operations specifically for this purpose. (Microsoft Learn)


Use Derived Streams

Derived streams allow you to create separate processing paths.

Example:

Incoming stream contains:

  • Sales events
  • Inventory events
  • Customer events

Instead of sending everything to one destination:

  • Route sales events to one Eventhouse table.
  • Route inventory events to another.
  • Route customer events elsewhere.

Benefits:

  • Smaller datasets
  • Better query performance
  • Easier maintenance
  • More targeted optimization

Optimize Aggregations

Eventstreams support real-time aggregations.

Rather than storing every individual event, consider aggregating:

  • Per minute
  • Per hour
  • Per device
  • Per region

Example:

Instead of storing 60 temperature readings per minute:

Store:

  • Average temperature
  • Minimum temperature
  • Maximum temperature

Benefits:

  • Reduced storage requirements
  • Faster analytics
  • Lower query costs

Choose Appropriate Throughput Settings

Eventstreams support different throughput levels.

Higher throughput settings:

  • Handle larger ingestion volumes
  • Increase processing capacity

However:

  • Consume more resources
  • May increase costs

For optimization:

  • Start with the lowest acceptable throughput.
  • Increase only when ingestion bottlenecks occur.

Configure Appropriate Data Retention

Eventstream retention can be configured for varying durations.

Long retention periods:

  • Increase storage consumption
  • Increase costs

Short retention periods:

  • Reduce storage costs
  • Improve efficiency

A common best practice is:

  • Retain only enough data to handle temporary processing delays.
  • Persist long-term data in Eventhouses or Lakehouses.

(LinkedIn)


Eventhouse Optimization Strategies

Optimize Ingestion Design

When ingesting into Eventhouses:

  • Avoid unnecessary transformations during ingestion.
  • Keep ingestion pipelines simple.
  • Perform complex analysis during querying when appropriate.

Direct ingestion often provides better performance than overly complex ingestion pipelines. (Microsoft Learn)


Use Time-Based Filtering

Many Eventhouse workloads involve recent data.

Poorly optimized query:

Telemetry
| where DeviceId == "D-431"
| summarize avg(Temperature) by bin(EventTime, 1m)

Optimized query:

Telemetry
| where EventTime >= ago(2h)
| where DeviceId == "D-431"
| summarize avg(Temperature) by bin(EventTime, 1m)

Benefits:

  • Reduced scans
  • Faster execution
  • Lower resource consumption

Time filters are among the most effective Eventhouse optimizations. (Mastery Exam Prep)


Reduce Data Scanned

Always limit query scope.

Use:

  • Time filters
  • Specific columns
  • Targeted predicates

Avoid:

Table
| summarize count()

Across years of data when only recent information is needed.


Optimize KQL Queries

Common optimization techniques include:

Project Only Required Columns

Instead of:

Table
| where EventTime >= ago(1d)

Use:

Table
| where EventTime >= ago(1d)
| project DeviceId, Temperature

Filter Early

Apply filters before joins and aggregations.

Minimize Complex Operations

Expensive operations include:

  • Large joins
  • Cross joins
  • Broad aggregations
  • Full-table scans

Use Appropriate Retention Policies

Not all streaming data needs indefinite retention.

Common pattern:

Hot Data

Recent data:

  • Days or weeks
  • Frequently queried

Historical Data

Older data:

  • Archived
  • Stored in Lakehouses
  • Used for long-term analytics

This approach balances performance and cost.


Monitor Query Diagnostics

When queries perform poorly:

Review:

  • Data scanned
  • CPU consumption
  • Query duration
  • Resource utilization

Query diagnostics help identify:

  • Missing filters
  • Inefficient aggregations
  • Excessive scans

(Mastery Exam Prep)


Capacity Optimization

Real-time workloads consume Fabric Capacity Units (CUs).

Optimization techniques include:

Scale Appropriately

Symptoms of insufficient capacity:

  • Ingestion delays
  • Query latency
  • Processing bottlenecks

Symptoms of excessive capacity:

  • Unnecessary costs
  • Underutilized resources

Monitor capacity metrics regularly.


Reduce Unnecessary Processing

Avoid:

  • Duplicate transformations
  • Duplicate destinations
  • Excessive aggregations
  • Redundant routing

Every processing step consumes capacity.


Route Data Efficiently

Instead of:

Source
Eventstream
Everything → Everywhere

Use:

Source
Filter
Project Required Fields
Route to Specific Destinations

This architecture is generally more scalable and cost-effective. (MindMesh Academy)


Monitoring and Troubleshooting

Monitor:

  • Ingestion latency
  • Event volume
  • Failed events
  • Query execution time
  • Capacity consumption

Watch for:

Eventstream Issues

  • Backlogs
  • Dropped events
  • Throughput limits
  • Source connection failures

Eventhouse Issues

  • High query latency
  • Excessive scans
  • Storage growth
  • CPU spikes

Regular monitoring enables proactive optimization.


DP-700 Exam Tips

Remember these key points:

  • Filter and project data as early as possible.
  • Use derived streams to separate workloads.
  • Configure only the throughput needed.
  • Use Eventhouses for real-time analytics.
  • Apply time filters in KQL queries.
  • Reduce scanned data whenever possible.
  • Monitor capacity utilization.
  • Use retention policies strategically.
  • Analyze query diagnostics to identify bottlenecks.
  • Optimize ingestion and querying separately.

Practice Exam Questions

Question 1

A company processes millions of IoT events per day. Most downstream systems only require three fields from each event.

What should you do first to optimize the Eventstream?

A. Increase Eventhouse retention

B. Remove unused fields during Eventstream processing

C. Add additional Eventhouse tables

D. Increase throughput settings

Correct Answer: B

Explanation: Removing unused fields reduces payload size, network traffic, storage consumption, and downstream processing costs. This is one of the most effective Eventstream optimization techniques.


Question 2

A dashboard should display data from only the last two hours. Queries are scanning months of data in the Eventhouse.

What is the best optimization?

A. Increase Eventstream throughput

B. Add a time-based filter to the query

C. Create more destinations

D. Increase retention settings

Correct Answer: B

Explanation: Restricting queries to the required timeframe significantly reduces scanned data and improves performance. (Mastery Exam Prep)


Question 3

Which Eventstream feature enables separate processing paths for different event types?

A. Eventhouse retention

B. Custom endpoints

C. Derived streams

D. Data exports

Correct Answer: C

Explanation: Derived streams allow different subsets of data to be processed and routed independently.


Question 4

What is the primary benefit of filtering events immediately after ingestion?

A. Increased retention

B. More storage consumption

C. Increased schema flexibility

D. Reduced downstream processing workload

Correct Answer: D

Explanation: Early filtering removes unnecessary data before it reaches downstream systems.


Question 5

An Eventhouse query is consuming excessive CPU resources.

Which action should be evaluated first?

A. Upgrade Fabric licensing

B. Add additional Eventstreams

C. Review query filters and data scans

D. Increase event retention

Correct Answer: C

Explanation: Query inefficiencies often cause excessive CPU usage. Reviewing filters and scanned data is the first troubleshooting step.


Question 6

Which strategy helps reduce storage costs while maintaining historical analytics capability?

A. Store all data indefinitely in Eventstreams

B. Archive older data to a Lakehouse and retain only recent Eventhouse data

C. Disable retention

D. Duplicate Eventhouse tables

Correct Answer: B

Explanation: Retaining recent operational data in Eventhouses while archiving historical data is a common optimization strategy.


Question 7

Why should aggregations sometimes be performed in Eventstreams?

A. To increase event volume

B. To create duplicate records

C. To eliminate Eventhouses

D. To reduce the amount of data stored downstream

Correct Answer: D

Explanation: Aggregating data before storage can dramatically reduce storage and processing requirements.


Question 8

Which KQL optimization principle generally improves performance?

A. Query all columns

B. Avoid filters

C. Project only required columns

D. Increase retention

Correct Answer: C

Explanation: Returning only needed columns reduces data movement and improves query efficiency.


Question 9

A streaming solution experiences increased latency because unnecessary event types are routed to multiple destinations.

What should be implemented?

A. Event filtering and targeted routing

B. Longer retention

C. More Eventhouse databases

D. More semantic models

Correct Answer: A

Explanation: Filtering and routing only necessary events reduces processing overhead and latency.


Question 10

Which metric is most useful when identifying Eventhouse query bottlenecks?

A. Workspace name

B. Number of dashboards

C. Data scanned during query execution

D. Number of users in the workspace

Correct Answer: C

Explanation: Excessive data scans are a common cause of poor query performance and should be examined when troubleshooting Eventhouse workloads. (Mastery Exam Prep)


Go to the DP-700 Exam Prep Hub main page.