Tag: Fabric

Configure model and Model Context Protocol (MCP) tool options in a GitHub Copilot or Copilot in Fabric chat session – Part 1 (DP-800 Exam Prep)

Part 1 – Configuring AI Models in GitHub Copilot and Microsoft Copilot in Fabric


This post is a part of the DP-800: Developing AI-Enabled Database Solutions Exam Prep Hub.
This topic falls under these sections:
Design and develop database solutions (35–40%)
   --> Design and implement SQL solutions by using AI-assisted tools
      --> Configure model and Model Context Protocol (MCP) tool options in a GitHub Copilot or Copilot in Fabric chat session


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 4 practice tests with 30 questions each available from the hub's main page below the exam topics section.

Introduction

Candidates should understand how to configure and use AI models within GitHub Copilot and Microsoft Copilot in Fabric, select the appropriate model for a task, understand the capabilities and limitations of different models, and use AI effectively when developing SQL solutions.

Unlike traditional SQL development, AI-assisted development requires understanding not only SQL syntax but also how the selected AI model influences the quality, speed, reasoning ability, and accuracy of generated code.


Learning Objectives

After studying this article, you should be able to:

  • Explain how GitHub Copilot and Copilot in Fabric use Large Language Models (LLMs)
  • Describe the role of AI models in SQL development
  • Understand model selection options
  • Compare reasoning-focused models with speed-focused models
  • Choose the appropriate model for database development tasks
  • Understand context windows and token limitations
  • Apply best practices when interacting with AI assistants
  • Recognize exam scenarios involving model configuration

AI-Assisted SQL Development

Modern SQL developers spend significant time performing repetitive tasks such as:

  • Writing CRUD statements
  • Creating stored procedures
  • Building database objects
  • Optimizing queries
  • Writing documentation
  • Generating test data
  • Troubleshooting syntax errors
  • Refactoring legacy SQL

AI assistants accelerate these activities by generating code from natural language.

Instead of writing:

CREATE TABLE Customer
(
CustomerID INT PRIMARY KEY,
FirstName NVARCHAR(100),
LastName NVARCHAR(100),
Email NVARCHAR(200)
)

A developer can simply ask:

Create a customer table with an identity primary key, email validation, audit columns, and an index on Email.

The AI model generates the initial implementation, which the developer reviews and refines.


What Is an AI Model?

An AI model is the language model responsible for interpreting prompts and generating responses.

The model determines:

  • reasoning quality
  • SQL accuracy
  • explanation depth
  • response speed
  • context understanding
  • coding capabilities

Different models are optimized for different workloads.

Some prioritize:

  • speed

Others prioritize:

  • complex reasoning

Others balance both.


GitHub Copilot Architecture

A simplified architecture looks like this:

Developer
GitHub Copilot Chat
Selected AI Model
Generated SQL
Developer Review
Database

The AI never executes SQL automatically.

The developer remains responsible for:

  • reviewing code
  • testing
  • validating security
  • validating performance

Microsoft Copilot in Fabric

Microsoft Copilot in Fabric provides AI assistance across Fabric workloads including:

  • SQL Database
  • Fabric Warehouse
  • Lakehouse
  • Data Engineering
  • Data Science
  • Power BI
  • Notebooks
  • Data Factory
  • Data Warehouse development

For SQL developers, Copilot can:

  • generate SQL
  • explain SQL
  • optimize SQL
  • summarize execution plans
  • generate documentation
  • create sample data
  • troubleshoot errors

Why Model Selection Matters

Different AI models excel at different activities.

For example:

A very fast model may generate:

SELECT *
FROM Orders

A reasoning model might instead suggest:

SELECT
OrderID,
CustomerID,
OrderDate,
TotalAmount
FROM Sales.Orders
WHERE OrderDate >= DATEADD(month,-6,GETDATE());

along with an explanation of:

  • why SELECT * should be avoided
  • indexing recommendations
  • performance implications

The reasoning model produces higher-quality guidance.


Common AI Model Characteristics

Although Microsoft continuously updates available models, most fall into these categories.

Fast Models

Optimized for:

  • rapid responses
  • autocomplete
  • simple SQL
  • syntax correction

Best for:

  • INSERT statements
  • UPDATE statements
  • CREATE TABLE
  • formatting SQL
  • documentation

Advantages

  • very fast
  • low latency
  • excellent for routine work

Disadvantages

  • less detailed reasoning
  • weaker optimization suggestions

Balanced Models

Designed for:

  • coding
  • explanation
  • optimization
  • documentation

Best for:

  • stored procedures
  • views
  • CTEs
  • joins
  • JSON
  • window functions

Advantages

  • good reasoning
  • good speed

Disadvantages

  • may not perform as well as reasoning models on complex architecture questions

Reasoning Models

Reasoning models focus on:

  • architecture
  • optimization
  • debugging
  • security
  • query analysis

Ideal for:

  • execution plans
  • indexing strategy
  • normalization
  • concurrency
  • deadlocks
  • performance tuning

Advantages

  • excellent explanations
  • identifies tradeoffs
  • strong analytical reasoning

Disadvantages

  • slower responses
  • higher computational cost

Choosing the Appropriate Model

A SQL developer should match the model to the task.

TaskRecommended Model Type
Generate CREATE TABLE statementsFast
Explain SQL syntaxBalanced
Write stored proceduresBalanced
Optimize slow queriesReasoning
Analyze execution plansReasoning
Explain indexesReasoning
Generate documentationFast
Review securityReasoning
Refactor codeBalanced
Produce examplesBalanced

Model Selection in GitHub Copilot

Depending on the supported environment and subscription, GitHub Copilot Chat allows users to select from available models.

The workflow generally involves:

  1. Open GitHub Copilot Chat
  2. Open the model selector
  3. Review available models
  4. Choose the appropriate model
  5. Continue the conversation

Changing models changes how future prompts are processed.


Example

Suppose a developer asks:

Optimize this stored procedure.

A reasoning model may return:

  • missing indexes
  • SARGability improvements
  • parameter sniffing considerations
  • execution plan observations
  • rewritten SQL

A fast model may simply reformat the SQL.


Model Selection in Microsoft Copilot in Fabric

Copilot in Fabric similarly enables AI-assisted experiences throughout Microsoft Fabric. Depending on the workload and the capabilities available to your tenant, Copilot uses supported foundation models to generate responses for SQL development, analytics, and data engineering tasks.

When working in Fabric SQL experiences, Copilot can assist with:

  • generating SQL queries
  • explaining existing queries
  • creating tables and views
  • summarizing schemas
  • troubleshooting SQL errors
  • suggesting query improvements
  • documenting database objects

Administrators control whether Copilot features are enabled for a Fabric capacity. Users with access to Copilot interact through the integrated chat interface rather than manually invoking models.


Understanding Context Windows

Every AI model has a maximum amount of information it can process at one time.

This is called the context window.

The context includes:

  • prompts
  • previous conversation
  • SQL scripts
  • schemas
  • documentation

Example:

Prompt
+
Conversation
+
Database Schema
+
SQL Script
=
Context

Larger context windows allow:

  • larger stored procedures
  • multiple tables
  • lengthy conversations
  • larger execution plans

Token Limits

Large Language Models process text as tokens rather than words.

A very large SQL script consumes more tokens than a small query.

If the context exceeds the model’s limit:

  • earlier conversation may be truncated
  • important schema details may be omitted
  • responses may become less accurate

Best practice:

Break very large SQL tasks into smaller requests.


Effective Prompting

Model quality depends heavily on prompt quality.

Poor prompt:

Fix this.

Better prompt:

Optimize this stored procedure for Azure SQL Database. Reduce logical reads while maintaining identical results.

Even better:

Optimize this stored procedure for Azure SQL Database. The Orders table contains 40 million rows. Focus on indexing recommendations, parameter sniffing, and SARGable predicates while preserving the current output.

Specific prompts produce significantly better responses.


Providing Context

Useful context includes:

  • database platform
  • compatibility level
  • schema
  • expected row counts
  • performance goals
  • business rules

Example:

Platform:
Azure SQL Database
Table:
Sales.Orders
Rows:
150 million
Goal:
Reduce CPU utilization
Current execution time:
18 seconds

The more relevant information supplied, the more useful the AI-generated recommendation.


Responsible Use of AI Models

Although AI significantly improves developer productivity, it does not replace professional judgment.

Developers should always:

  • review generated SQL
  • validate security
  • test performance
  • verify business logic
  • confirm permissions
  • review indexes
  • test edge cases

Never assume generated SQL is production-ready without validation.


Common DP-800 Exam Scenarios

The certification exam may present scenarios where you must choose the most appropriate AI model for a particular task.

Examples include:

  • Selecting a reasoning model to analyze an execution plan for a slow query.
  • Choosing a balanced model to generate and explain a stored procedure.
  • Using a fast model to quickly scaffold a set of standard CRUD statements.
  • Understanding that different models may produce different levels of explanation and optimization guidance for the same prompt.

You should also understand that AI-generated SQL should always be reviewed, tested, and validated before deployment.


Best Practices

  • Choose the model that best matches the complexity of the task.
  • Provide detailed prompts with sufficient database context.
  • Include schema information when requesting SQL generation.
  • Break very large requests into smaller, focused prompts.
  • Review all generated SQL for correctness, security, and performance.
  • Validate AI recommendations using execution plans and performance metrics.
  • Avoid sharing sensitive production data unless organizational policies explicitly allow it.
  • Remember that AI assists the developer—it does not replace testing, code review, or database design expertise.

DP-800 Exam Tips

Remember the following points for the exam:

  • AI models differ in reasoning ability, response speed, and context handling.
  • Reasoning-focused models are generally better suited for performance tuning, query optimization, and architectural guidance.
  • Simpler or faster models are appropriate for routine SQL generation and code completion.
  • The quality of AI output depends heavily on the quality of the prompt and the context provided.
  • GitHub Copilot and Copilot in Fabric accelerate development but do not automatically validate correctness or security.
  • Developers remain responsible for reviewing and testing all AI-generated SQL before deployment.

Go to the DP-800 Exam Prep Hub main page

Integrate a Fabric data agent (AB-620 Exam Prep)

This post is a part of the AB-620: Designing and Building Integrated AI Agent Solutions in Copilot Studio Exam Prep Hub.
This topic falls under these sections:
Integrate and extend agents in Copilot Studio (40–45%)
   --> Configure multi-agent collaboration from Copilot Studio
      --> Integrate a Fabric data agent


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 4 practice tests with 30 questions each available from the hub's main page below the exam topics section.

Overview

A Fabric data agent is used to enable an AI agent in Copilot Studio to interact with enterprise data stored in Microsoft Fabric. This includes semantic models, lakehouses, warehouses, and other Fabric-based data assets. The integration allows users to ask natural language questions and receive grounded, governed responses based on curated datasets.

In AB-620, this topic focuses on how Copilot Studio agents connect to Fabric data sources, how queries are interpreted, and how data governance and security are enforced during retrieval.


Core Concept: What a Fabric Data Agent Does

A Fabric data agent acts as a semantic layer bridge between:

  • Copilot Studio agents (natural language interface)
  • Microsoft Fabric data assets (structured analytics layer)

It enables:

  • Natural language querying over Fabric datasets
  • Retrieval of governed business metrics
  • Consistent answers aligned with semantic models
  • Reduced need for direct query writing (SQL/DAX)

Key Capabilities

When integrating a Fabric data agent, you should understand these capabilities:

1. Natural Language to Semantic Query Translation

The agent converts user prompts into structured queries against:

  • Power BI semantic models
  • Fabric warehouses
  • Lakehouse tables

2. Semantic Model Awareness

The agent respects:

  • Measures
  • Relationships
  • Calculated columns
  • Business definitions (KPIs)

3. Governance and Security Enforcement

Access is controlled through:

  • Microsoft Entra ID authentication
  • Role-Level Security (RLS)
  • Object-level permissions in Fabric/Power BI

4. Contextual Answer Generation

Responses are:

  • Grounded in Fabric data only
  • Filtered based on user permissions
  • Summarized for conversational output

Prerequisites for Integration

Before integrating a Fabric data agent, ensure:

  • A Microsoft Fabric workspace is configured
  • A semantic model exists (Power BI dataset or Fabric model)
  • Data is properly modeled (relationships, measures defined)
  • Users have access permissions (Viewer or higher depending on scenario)
  • Copilot Studio environment is enabled for enterprise data integration

How Integration Works (Conceptual Flow)

The integration process follows this flow:

  1. User asks a question in Copilot Studio
  2. Agent identifies intent as a data query
  3. Request is routed to Fabric data agent
  4. Fabric semantic model is queried
  5. Results are returned in structured form
  6. Copilot Studio formats response into conversational output

Configuration Steps (High-Level)

While exact UI steps may evolve, the exam expects conceptual understanding:

Step 1: Enable Fabric Data Source Connection

  • Select Microsoft Fabric as a data source
  • Choose a semantic model or dataset

Step 2: Register the Data Agent

  • Link Fabric workspace to Copilot Studio agent
  • Define which datasets are available for querying

Step 3: Define Query Scope

  • Limit accessible tables/measures
  • Control supported business domains

Step 4: Configure Security Context

  • Enforce Entra ID authentication
  • Apply RLS roles automatically

Step 5: Test Natural Language Queries

  • Validate question-to-answer mapping
  • Ensure correct aggregation and filtering

Best Practices

1. Use Well-Modeled Semantic Layers

A Fabric data agent performs best when:

  • Measures are clearly defined
  • Relationships are accurate
  • Naming conventions are business-friendly

2. Avoid Direct Raw Table Exposure

Instead:

  • Use curated semantic models
  • Hide unnecessary technical columns

3. Optimize for Business Language

Rename fields such as:

  • “SalesAmt” → “Total Sales”
  • “CustCnt” → “Customer Count”

4. Validate Security Boundaries

Ensure:

  • RLS behaves correctly
  • Sensitive data is excluded from responses

5. Limit Dataset Scope

Smaller, focused models improve:

  • Query accuracy
  • Response time
  • AI interpretation quality

Common Use Cases

  • Sales performance dashboards via chat
  • Financial reporting queries (revenue, cost, profit)
  • Operational metrics (inventory, supply chain)
  • Executive summary generation from Fabric data
  • Self-service analytics for business users

Practice Exam Questions


1. A company wants Copilot Studio agents to answer questions using metrics stored in a Fabric warehouse. What is required first?

A. Enable Power Automate flows for all queries
B. Create a semantic model over the warehouse data
C. Export data to Azure SQL Database
D. Enable Azure AI Search indexing

Correct Answer: B

Explanation: A Fabric data agent relies on semantic models to interpret business metrics and relationships. Without a semantic layer, natural language queries cannot be correctly mapped.


2. What is the primary role of a Fabric data agent in Copilot Studio?

A. Execute REST API calls to external systems
B. Translate natural language into semantic model queries
C. Train large language models on enterprise data
D. Replace Power BI dashboards entirely

Correct Answer: B

Explanation: The Fabric data agent acts as a bridge between natural language input and structured queries against Fabric semantic models.


3. Which security mechanism ensures users only see data they are allowed to access?

A. Azure API Management policies
B. Row-Level Security (RLS) in Fabric
C. Copilot Studio topic restrictions
D. Dataflow Gen2 filters

Correct Answer: B

Explanation: RLS in Fabric enforces row-level restrictions based on user identity.


4. What type of data source is primarily used by Fabric data agents?

A. Unstructured PDF documents
B. REST APIs only
C. Semantic models in Microsoft Fabric
D. Local Excel files uploaded manually

Correct Answer: C

Explanation: Fabric data agents are designed to work with structured semantic models.


5. Why is a semantic model important for Fabric data agent integration?

A. It enables AI model training
B. It provides business definitions and relationships
C. It replaces the need for authentication
D. It stores raw unprocessed logs

Correct Answer: B

Explanation: Semantic models define relationships, measures, and business logic used for query interpretation.


6. A user asks a question that requires filtering sales by region. What does the Fabric data agent use to answer correctly?

A. Hardcoded filters in Copilot Studio topics
B. Semantic model relationships and measures
C. Power Automate approval flows
D. Azure Logic Apps workflows

Correct Answer: B

Explanation: Filtering logic is derived from the semantic model structure.


7. What is a recommended best practice when preparing data for a Fabric data agent?

A. Use raw unmodeled tables for flexibility
B. Expose all columns to maximize coverage
C. Use business-friendly naming in semantic models
D. Disable relationships between tables

Correct Answer: C

Explanation: Clear naming improves AI interpretation and response quality.


8. How does Copilot Studio ensure secure access to Fabric data?

A. By duplicating datasets into Copilot Studio
B. By bypassing Entra ID for faster access
C. By enforcing authentication and inherited Fabric permissions
D. By caching all data in memory

Correct Answer: C

Explanation: Access is controlled through Entra ID and inherited Fabric permissions.


9. What happens when a user query exceeds the scope of the connected Fabric dataset?

A. The agent guesses an answer
B. The request is forwarded to REST APIs
C. The agent responds that data is unavailable or out of scope
D. The system automatically creates a new dataset

Correct Answer: C

Explanation: The agent can only respond based on connected and governed data sources.


10. Which scenario best demonstrates use of a Fabric data agent?

A. Sending emails based on workflow triggers
B. Querying sales performance using natural language
C. Uploading files to SharePoint
D. Creating PowerPoint slides automatically

Correct Answer: B

Explanation: Fabric data agents are designed for conversational analytics over structured enterprise data.


Go to the AB-620 Exam Prep Hub main page

Configure Spark workspace settings (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 Microsoft Fabric workspace settings
--> Configure Spark workspace settings


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

One of the key responsibilities of a Fabric Data Engineer is configuring Spark settings at the workspace level. Proper Spark configuration helps ensure that notebooks, Spark job definitions, and Data Engineering workloads run efficiently, reliably, and cost-effectively.

For the DP-700 exam, you should understand the Spark settings available at the workspace level, when to modify them, and how they affect performance, scalability, concurrency, and resource consumption. Microsoft Fabric provides centralized Spark workspace settings that apply across Data Engineering and Data Science workloads within a workspace. (Microsoft Learn)


What Are Spark Workspace Settings?

Spark Workspace Settings are administrative configurations that control the default Spark behavior for a Fabric workspace.

These settings allow administrators to configure:

  • Default Spark pools
  • Starter pool behavior
  • Default environments
  • Spark job management
  • High concurrency settings
  • Automatic logging
  • Session timeout settings
  • Compute customization options

These settings are found under:

Workspace Settings → Data Engineering/Science → Spark Settings. (Microsoft Learn)


Why Spark Workspace Settings Matter

Without centralized Spark settings:

  • Every notebook would require individual configuration.
  • Resource consumption would be inconsistent.
  • Performance could vary significantly.
  • Capacity utilization would be difficult to control.

Workspace-level settings establish consistent defaults across all Spark workloads.

Benefits include:

  • Standardized compute resources
  • Faster notebook startup
  • Better workload governance
  • Improved capacity management
  • Simplified administration

Spark Pools in Microsoft Fabric

Spark workloads run on Spark pools.

Fabric supports two primary options:

Starter Pools

Starter pools are pre-warmed Spark clusters maintained by Fabric.

Advantages:

  • Extremely fast startup times
  • Minimal administrative effort
  • Automatically managed by Microsoft
  • Ideal for development and general workloads

Starter pools use medium-sized nodes and can automatically scale based on workload demand. Workspace administrators can configure maximum node counts and executor limits based on capacity size. (Microsoft Learn)

When to Use Starter Pools

Use Starter Pools when:

  • Fast startup is important
  • Workloads are relatively standard
  • Custom Spark configurations are unnecessary
  • Development and testing workloads dominate

For many organizations, Starter Pools are sufficient for most notebook workloads.


Custom Spark Pools

Custom Spark Pools allow administrators to define:

  • Node size
  • Autoscaling settings
  • Executor allocation
  • Compute characteristics

Advantages:

  • Greater control
  • Better support for specialized workloads
  • Ability to optimize for large-scale processing

Tradeoff:

  • Session startup is typically slower than Starter Pools because compute must be provisioned. (Microsoft Learn)

Configuring the Default Pool

A workspace can specify a default Spark pool.

Options include:

  • Starter Pool
  • Workspace-level Custom Pool
  • Capacity-level Custom Pool

When users launch notebooks or Spark jobs without explicitly selecting a pool, the workspace default is used. (Microsoft Learn)

DP-700 Exam Tip

Know the distinction:

  • Starter Pool = fastest startup
  • Custom Pool = greatest control

Microsoft frequently tests scenarios where you must balance startup speed against customization requirements.


Configuring Starter Pool Settings

Administrators can customize Starter Pool behavior.

Common settings include:

Autoscale

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

Benefits:

  • Better resource utilization
  • Reduced waste
  • Improved scalability

Autoscaling is enabled by default. (Microsoft Learn)


Dynamic Executor Allocation

Dynamic allocation automatically adjusts the number of executors used by Spark jobs.

Benefits:

  • Better performance
  • Reduced idle resources
  • More efficient capacity usage

This setting is also enabled by default. (Microsoft Learn)


Maximum Nodes

Administrators can define the maximum number of nodes available to Starter Pools.

Higher limits:

  • Support larger workloads
  • Consume more capacity resources

Lower limits:

  • Reduce resource consumption
  • May slow large jobs

The available maximum depends on the Fabric capacity SKU. (Microsoft Learn)


Default Environment Configuration

Fabric allows administrators to configure a workspace-level default environment.

An environment can define:

  • Spark runtime version
  • Libraries
  • Compute settings
  • Spark configurations

Benefits:

  • Consistency across notebooks
  • Simplified deployment
  • Easier governance

When a default environment is configured, new notebooks automatically inherit those settings. (Microsoft Learn)


Spark Runtime Version

The workspace default environment can specify the Spark runtime version.

Examples include:

  • Runtime 1.2
  • Runtime 1.3
  • Future Fabric runtime releases

Benefits:

  • Consistent execution behavior
  • Predictable package compatibility
  • Easier testing and validation

A common exam scenario involves selecting a runtime version to ensure compatibility with libraries or workloads.


High Concurrency Mode

High Concurrency allows multiple notebook executions to share Spark resources.

Benefits include:

  • Improved resource utilization
  • Reduced capacity consumption
  • Increased throughput

Workspace administrators can enable high concurrency for:

  • Interactive notebook runs
  • Pipeline notebook runs

High Concurrency settings are configured at the workspace level. (Microsoft Learn)

When High Concurrency Is Useful

Consider enabling it when:

  • Many notebooks run simultaneously
  • Workloads are lightweight
  • Capacity utilization is a concern

Job Management Settings

Workspace Spark settings also include Spark job management controls.

Session Timeout

Administrators can configure how long inactive Spark sessions remain active.

Benefits of shorter timeouts:

  • Reduced resource consumption
  • Lower capacity usage

Benefits of longer timeouts:

  • Better user experience
  • Less frequent cluster startup

The timeout can be configured up to 14 days. (Microsoft Learn)


Conservative Job Admission

Conservative Job Admission determines how Fabric allocates Spark resources.

Enabled

Fabric reserves the maximum cores potentially required by active jobs.

Benefits:

  • Improved reliability
  • Reduced risk of resource contention

Tradeoff:

  • Fewer jobs may run simultaneously

Disabled

Fabric allocates only the minimum required cores initially.

Benefits:

  • More concurrent jobs

Tradeoff:

  • Potential resource competition if jobs scale up later

This setting is particularly important for capacity planning and workload management. (Microsoft Learn)


Automatic Logging

Automatic Logging can be enabled at the workspace level.

Purpose:

  • Automatically capture Spark execution information
  • Support troubleshooting
  • Improve monitoring
  • Assist machine learning experiment tracking

Administrators can enable or disable automatic logging through Spark Workspace Settings. (Microsoft Learn)


Customize Compute Settings

Workspace administrators can determine whether users may override workspace compute defaults.

This governance feature helps organizations:

  • Standardize Spark usage
  • Prevent excessive resource consumption
  • Improve compliance

Fabric environments can also provide workload-specific compute settings while maintaining centralized governance. (Microsoft Learn)


DP-700 Exam Focus Areas

You should be comfortable answering questions about:

✓ Starter Pools

✓ Custom Spark Pools

✓ Autoscaling

✓ Dynamic Executor Allocation

✓ Default Pool Selection

✓ Default Environment Configuration

✓ Spark Runtime Versions

✓ High Concurrency

✓ Session Timeout Settings

✓ Conservative Job Admission

✓ Automatic Logging

✓ Compute Governance


10 DP-700 Practice Questions

Question 1

You need Spark sessions to start as quickly as possible for notebook developers.

Which pool type should you configure as the workspace default?

A. Starter Pool

B. Custom Pool

C. Dedicated SQL Pool

D. KQL Pool

Answer: A


Question 2

Which Starter Pool feature automatically increases or decreases resources based on workload demand?

A. Dynamic Partitioning

B. Autoscale

C. High Concurrency

D. Session Timeout

Answer: B


Question 3

A workspace administrator wants Spark executors to be allocated and released automatically as workload demands change.

Which setting should be enabled?

A. Conservative Job Admission

B. Automatic Logging

C. Dynamic Executor Allocation

D. High Concurrency

Answer: C


Question 4

You need multiple notebooks to share Spark resources and improve capacity utilization.

Which Spark setting should you enable?

A. Autoscale

B. Automatic Logging

C. Dynamic Allocation

D. High Concurrency

Answer: D


Question 5

What is the primary purpose of a workspace default environment?

A. Configure Power BI semantic models

B. Define Spark runtime and related settings for workloads

C. Configure capacity metrics

D. Manage OneLake shortcuts

Answer: B


Question 6

Which setting controls how long an inactive Spark session remains active before termination?

A. Dynamic Allocation

B. High Concurrency

C. Session Timeout

D. Autoscale

Answer: C


Question 7

An administrator wants to maximize Spark job reliability by reserving sufficient cores for jobs that may scale up.

Which setting should be enabled?

A. Conservative Job Admission

B. Dynamic Allocation

C. Automatic Logging

D. Session Timeout

Answer: A


Question 8

Which Spark workspace feature automatically records Spark execution information for monitoring and troubleshooting?

A. High Concurrency

B. Autoscale

C. Dynamic Allocation

D. Automatic Logging

Answer: D


Question 9

What is a key advantage of a Custom Spark Pool compared to a Starter Pool?

A. Faster startup times

B. Greater control over compute configuration

C. No capacity consumption

D. Automatic logging support

Answer: B


Question 10

A Fabric administrator wants notebook authors to use standardized compute configurations across the workspace.

Which approach should be used?

A. Disable Autoscale

B. Reduce Session Timeout

C. Configure a default environment

D. Disable Dynamic Allocation

Answer: C


This topic is tested frequently because Spark settings directly influence performance, scalability, governance, and cost management across Microsoft Fabric Data Engineering workloads. Understanding the interaction between pools, environments, concurrency, and job management settings is essential for success on the DP-700 exam.


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

Understanding Microsoft Fabric Shortcuts

Microsoft Fabric is a central platform for data and analytics, and one of its powerful features that supports it being an all-in-one platform is Shortcuts. Shortcuts provide a simple way to unify data across multiple locations without duplicating or moving it. This is a big deal because it saves a LOT of time and effort that is usually involved in moving data around.

What Are Shortcuts?

Shortcuts are references (or “pointers”) to data that resides in another storage location. Instead of copying the data into Fabric, a shortcut lets you access and query it as if it were stored locally.

This is especially valuable in today’s data landscape, where data often spans OneLake, Azure Data Lake Storage (ADLS), Amazon S3, or other environments.

Types of Shortcuts

There are 2 types of shortcuts: table shortcuts and file shortcuts

  1. Table Shortcuts
    • Point to existing tables in other Fabric workspaces or external sources.
    • Allow you to query and analyze the table without physically moving it.
  2. File Shortcuts
    • Point to files (e.g., Parquet, CSV, Delta Lake) stored in OneLake or other supported storage systems.
    • Useful for scenarios where files are your system of record, but you want to use them in Fabric experiences like Power BI, Data Engineering, or Data Science.

Benefits of Shortcuts

Shortcuts is a really useful feature, and here are some of its benefits:

  • No Data Duplication: Saves storage costs and avoids data sprawl.
  • Single Source of Truth: Data stays in its original location while being usable across Fabric.
  • Speed and Efficiency: Query and analyze external data in place, without lengthy ETL processes.
  • Flexibility: Works across different storage platforms and Fabric workspaces.

How and Where Shortcuts Can Be Created

  • In OneLake: You can create shortcuts directly in OneLake to link to data from ADLS Gen2, Amazon S3, or other OneLake workspaces.
  • In Fabric Experiences: Whether working in Data Engineering, Data Science, Real-Time Analytics, or Power BI, shortcuts can be created in lakehouses or KQL (Kusto Query Language) databases, and you can use them directly as data in OneLake. Any Fabric service will be able to use them without copying data from the data source.
  • In Workspaces: Shortcuts make it possible to connect across lakehouses stored in different workspaces, breaking down silos within an organization. The shortcuts can be generated from a lakehouse, warehouse, or KQL database.
  • Note that warehouses do not support the creation of shortcuts. However, you can query data stored within other warehouses and lakehouses.

How Shortcuts Can Be Used

  • Cross-Workspace Data Access: Analysts can query data in another team’s workspace without requesting a copy.
  • Data Virtualization: Data scientists can work with files stored in ADLS without having to move them into Fabric.
  • BI and Reporting: Power BI models can use shortcuts to reference external files or tables, enabling consistent reporting without duplication.
  • ETL Simplification: Instead of moving raw files into Fabric, engineers can create shortcuts and build transformations directly on the source.

Common Scenarios

  • A finance team wants to build Power BI reports on data stored by the operations team without moving the data.
  • A data scientist needs access to parquet files in Amazon S3 but prefers to analyze them within Fabric.
  • A company with multiple Fabric workspaces wants to centralize access to shared reference data (like customer or product master data) without replication.

In summary: Microsoft Fabric Shortcuts simplify data access across locations and workspaces. Whether table-based or file-based, they allow organizations to unify data without duplication, streamline analytics, and improve collaboration.

Here is a link to the Microsoft Learn OneLake documentation about Shortcuts. From there you will be able to explore all the Shortcut topics shown in the image below:

Thanks for reading! I hope you found this information useful.

Microsoft Fabric OneLake Catalog – description and links to resources

What is OneLake Catalog?

Microsoft Fabric OneLake Catalog is the next generation, enhanced version of the OneLake Data Hub. It provides a complete solution in a central location for team members (data engineers, data scientists, analysts, business team members, and other stakeholders) to browse, manage, and govern all their data from a single, intuitive location. It provides an intuitive and efficient user interface and truly simplifies and transforms the way we can manage, explore, and utilize content in Fabric. Usage is contextual and it has unified all Fabric item types (including Power BI items) and expanded support to all Fabric item types, integrating experiences, and providing detailed views of data subitems. It is a great tool.

Why use OneLake Catalog?

This tool will make your work within Fabric easier, and it will reduce duplication of items due to improved discoverability, and it will enhance our ability to govern data objects within the platform. So, check out the resources below to learn more.

Here is a link to a detailed Microsoft blog post introducing the OneLake Catalog:

And here is a link to a Microsoft Learn OneLake Catalog overview:

And finally, this is a link to a great, short (less than 5 min) video that gives an overview of the OneLake Catalog:

Thanks for reading! Good luck on your data journey!