Microsoft Certified: Fabric Analytics Engineer Associate flashcards
162 free flashcards. Tap a card to flip it.
Spark Notebooks
Flip cardInteractive development environments within Microsoft Fabric for data processing using Apache Spark with languages like PySpark, Scala, or C#.
- Offers high flexibility for complex transformations.
- Scalable for large datasets.
- Supports various data formats and operations.
Memory trick: Spark code sculpts raw data into analyzed perfection.
Spark DataFrame API Optimization
Flip cardFor highly performant and scalable complex transformations on large datasets in Spark, prioritizing built-in Spark SQL functions and DataFrame API operations is crucial. These leverage Spark's Catalyst optimizer and distributed execution model for efficiency.
- Built-in functions are highly optimized.
- DataFrame API allows declarative transformations.
- Leverages Spark's Catalyst optimizer for execution plans.
- Executed in a distributed manner for scalability.
Memory trick: Spark's DataFrame API powers optimal transformations.
Copy Data Fault Tolerance
Flip cardSettings within the Copy Data activity that define how errors are handled during data transfer, ensuring resilience and data integrity.
- Can skip incompatible rows.
- Can log inconsistent data.
- Prevents pipeline failure due to minor data issues.
Memory trick: Fault tolerance is the pipeline's safety net.
Dataflows Gen2
Flip cardA low-code data integration tool in Microsoft Fabric for ingesting, transforming, and preparing data from various sources.
- Uses Power Query for transformations.
- Supports a wide range of data sources.
- Can output directly to Lakehouse tables.
Memory trick: Flowing data, visually transformed, ready for the Lakehouse.
Data Pipeline Parameterized ADLS Gen2 Ingestion
Flip cardThe ability to dynamically specify source file paths in Azure Data Lake Storage Gen2 within a Microsoft Fabric Data Pipeline using parameters, allowing for flexible and reusable ingestion.
- Uses pipeline parameters to pass dynamic values (e.g., dates, folders).
- Dataset path is defined with parameters.
- Enables ingestion from varying paths without pipeline modification.
- Essential for incremental or date-based loads.
Memory trick: Parameters are like GPS coordinates, guiding your pipeline to the right data each time.
Power Query Combine Files
Flip cardA feature in Power Query that simplifies combining multiple files with the same schema from a folder into a single dataset.
- Automates the creation of a transformation function.
- Applies transformations to all files consistently.
- Efficient for folder-based data sources.
Memory trick: Folder of files becomes one table with a single click.
Fabric Eventstream
Flip cardMicrosoft Fabric Eventstream is a real-time analytics component for ingesting, transforming, and routing high-volume streaming data with low latency.
- Designed for real-time data ingestion (e.g., IoT, logs).
- Supports various streaming sources and destinations.
- Enables real-time analytics and anomaly detection.
Memory trick: Data flows into Fabric, either a calm lake or a rushing stream.
Dataflows Gen2 for API Ingestion
Flip cardDataflows Gen2 leverage Power Query to connect to and ingest data from various sources, including web APIs and semi-structured formats like JSON, enabling visual transformations.
- Uses Power Query Editor for visual ETL.
- Supports a wide range of connectors, including Web API.
- Ideal for ingesting semi-structured data and applying basic to intermediate transformations.
- Output can be loaded directly into a Lakehouse or Data Warehouse.
Memory trick: Web API data flows visually to the Lakehouse.
Copy Data Wildcard Path
Flip cardThe 'Wildcard file path' setting in a Data Pipeline's Copy Data activity allows dynamic selection of source files based on patterns, often incorporating dynamic expressions.
- Enables filtering files by name, date, or other patterns.
- Supports system variables like 'utcNow()' for dynamic dates.
- Efficient for ingesting a subset of files from a folder.
Memory trick: Pipeline flows, date-filtered, like a river finding its daily path.
Spark for Large-Scale ETL
Flip cardSpark Notebooks in Microsoft Fabric, utilizing PySpark or Scala, are the preferred tool for performing complex, large-scale ETL (Extract, Transform, Load) operations on multi-terabyte datasets, offering distributed processing, custom logic, and high performance.
- Handles multi-terabyte datasets efficiently.
- Supports custom code (PySpark, Scala).
- Leverages distributed computing for performance.
- Ideal for complex cleansing, enrichment, and aggregation.
Memory trick: Spark handles complex ETL at scale.
Data Pipelines for On-Premises Ingestion
Flip cardData Pipelines in Microsoft Fabric provide orchestration capabilities, including scheduling and monitoring, for ingesting data from various sources, particularly on-premises databases via an On-premises data gateway, using activities like 'Copy Data'.
- Orchestrates data movement and transformation.
- Supports scheduling and monitoring of activities.
- Uses Copy Data activity for efficient data transfer.
- Connects to on-premises sources via On-premises data gateway.
Memory trick: On-premises data moves through a pipeline to the Lakehouse.
Secure Credential Management (SFTP)
Flip cardThe practice of securely storing and accessing sensitive authentication information, such as SSH private keys, for external SFTP connections in Microsoft Fabric Data Pipelines.
- Azure Key Vault is the recommended secure store.
- Linked services reference Key Vault secrets.
- Prevents hardcoding or exposing credentials.
Memory trick: Key Vault is the vault for your SSH key, unlocking secure data transfer.
PySpark String Cleaning
Flip cardPySpark's `functions` module provides efficient methods like `trim`, `regexp_replace`, and `lower` for cleaning string columns in DataFrames.
- Use `F.trim()` for leading/trailing whitespace.
- Use `F.regexp_replace()` for complex pattern-based cleaning (e.g., multiple spaces, special characters).
- Operations are vectorized for performance on large datasets.
Memory trick: Clean strings like a chef preps ingredients: trim, replace, standardize.
Power Query Merge Queries
Flip cardA Power Query transformation that combines two queries (tables) into a single query based on matching values in specified columns, similar to a SQL JOIN.
- Used for horizontal combination of data.
- Supports various join kinds (inner, left outer, right outer, full outer).
- Essential for denormalization and bringing related data together.
Memory trick: Merge is like two rivers joining, combining their waters into one flow.
Data Pipelines (Copy Data)
Flip cardA Microsoft Fabric component for orchestrating and automating data movement and transformation activities.
- Supports large-scale data transfer.
- Offers various data source and sink connectors.
- Can be scheduled and monitored.
Memory trick: A pipeline moves mountains of data, steadily and surely.
Eventstream
Flip cardA real-time analytics capability in Microsoft Fabric for ingesting, transforming, and routing streaming data from various sources.
- Low-latency processing.
- Supports Event Hubs, Kafka, custom apps.
- Integrates with other Fabric items like Lakehouse.
Memory trick: Eventstream: The river for your real-time data.
Spark DataFrame Write Modes
Flip cardSettings that control how a Spark DataFrame writes data to a destination when the table/path already exists.
- append: Adds new data to existing.
- overwrite: Replaces existing data.
- ignore: Does nothing if exists.
- errorifexists: Fails if exists.
Memory trick: Append mode adds to the story, never erasing history.
Power Query Editor
Flip cardA visual data transformation tool integrated into Dataflows Gen2 and other Microsoft products, enabling users to clean, shape, and combine data.
- Uses a M language behind the scenes.
- Provides a wide array of transformation functions.
- Records steps for reproducibility.
Memory trick: Power Query: The artist's studio for data shaping.
Data Pipelines Copy Data
Flip cardData Pipelines' Copy Data activity in Microsoft Fabric enables scheduled, scalable data movement between various sources and destinations, including on-premises databases.
- Supports a wide range of connectors including on-premises via gateway.
- Ideal for scheduled batch data ingestion.
- Provides monitoring and retry capabilities.
Memory trick: Connect, Schedule, Move: The Fabric pipeline for data flow.
Dataflows Gen2 Incremental File Ingestion
Flip cardThe process of efficiently adding only new or changed data from files to an existing destination table using Dataflows Gen2, typically leveraging Delta Lake capabilities.
- Achieved by writing to a Delta table.
- Uses 'Append' write mode for new records.
- Avoids reprocessing or duplicating historical data.
Memory trick: Append to Delta is like adding new pages to an existing, organized book.
Copy Data Incremental File Load
Flip cardThe Copy Data activity in a Data Pipeline supports efficient incremental loading of files from sources like ADLS Gen2. This is achieved by configuring the 'File filter' option with 'Last modified date' and dynamically setting a 'Start time (UTC)' to process only new or updated files since the last run.
- Filters files based on their last modification timestamp.
- Uses 'Start time (UTC)' to define the incremental window.
- Prevents reprocessing of unchanged files.
- Efficient for ingesting new or updated data in file-based sources.
Memory trick: Copy Data filters files by their last modified time.
Power Query Type Conversion
Flip cardA Power Query transformation that changes the data type of a column, essential for ensuring data quality and enabling correct operations on the data.
- Accessed via 'Change Type' option in Power Query Editor.
- Supports various conversions (Text to Number, Text to Date, etc.).
- Crucial for data quality and downstream analytical capabilities.
- Errors if conversion is not possible (e.g., 'abc' to Number).
Memory trick: Change Type is like a data chameleon, transforming its nature.
Power Query Append Queries
Flip cardThe 'Append Queries' feature in Power Query Editor (part of Dataflows Gen2) allows combining rows from two or more queries (tables) into a new single query, assuming they have compatible schemas. It's ideal for uniting similarly structured data from multiple sources.
- Combines rows from multiple queries/tables.
- Requires compatible (identical or similar) schemas.
- Creates a single unified output table.
- Available visually in Power Query Editor.
Memory trick: Append queries to combine similar tables into one.
Dataflows Gen2 Append
Flip cardDataflows Gen2 can combine data from multiple sources, including other Dataflows, by using the 'Append Queries' transformation in Power Query.
- Connects to existing Dataflow outputs as data sources.
- Efficiently combines tables with similar schemas.
- Keeps data transformation logic within the Dataflow environment.
Memory trick: Combine data streams like rivers into one grand lake.
Secure Credential Management in Fabric
Flip cardFor secure management of sensitive credentials like API keys in Microsoft Fabric Data Pipelines, Azure Key Vault is the recommended solution. Secrets are stored in Key Vault and referenced securely within pipeline activities and linked services.
- Prevents hardcoding sensitive information.
- Leverages Azure Key Vault for robust security.
- Secrets are referenced, not exposed in plain text.
- Enhances compliance and reduces security risks.
Memory trick: Key Vault locks API keys in the cloud.
Power Query Automatic Type Detection
Flip cardA feature within Power Query that automatically infers and applies appropriate data types to columns during data ingestion and transformation.
- Operates on various data sources (SQL, APIs, files).
- Reduces manual effort for schema definition.
- Can be refined or overridden manually if needed.
Memory trick: Power Query's auto-detect is like a smart data librarian, sorting types automatically.
Power Query Type Conversion to Date
Flip cardIn Power Query Editor, converting a `datetime` or `datetimeoffset` column to a `Date` type can be directly achieved by selecting 'Change Type' from the column header. Power Query automatically extracts the date component, discarding time and offset.
- Directly available from column header context menu.
- Automatically handles extraction of date part.
- Efficient and straightforward for common conversions.
- Works for `datetime` and `datetimeoffset` sources.
Memory trick: Change column type to date directly for simplicity.
Power Query Expand Column
Flip cardThe 'Expand Column' transformation in Power Query flattens structured data (lists, records, tables) within a column into new rows or columns.
- Used for nested JSON or structured data.
- Creates new rows for each item in a nested list/array.
- Crucial for transforming hierarchical data into tabular format.
Memory trick: Reshape data like clay, molding it to your will.
Box and Whisker Plot
Flip cardA visual display of the distribution of a dataset through its quartiles, median, and potential outliers, often used for comparing distributions across different groups.
- Shows five-number summary: minimum, first quartile (Q1), median (Q2), third quartile (Q3), maximum.
- Whiskers extend to the lowest/highest data points within 1.5 times the interquartile range (IQR).
- Points beyond the whiskers are considered outliers.
Memory trick: Boxes show the spread, whiskers show the reach.
Spark SQL BROADCAST Join Hint
Flip cardA Spark SQL hint that forces the optimizer to use a broadcast hash join by broadcasting the specified table to all executor nodes.
- Ideal for joining a small table with a large table.
- Avoids data shuffling for the larger table.
- Can significantly improve join performance if the broadcasted table fits in executor memory.
Memory trick: Broadcast the small message to all for a fast meeting.
Referential Integrity
Flip cardReferential integrity in a semantic model ensures that every foreign key value in a child (many) table has a matching primary key value in the parent (one) table.
- Crucial for accurate relationship behavior.
- Assuming it can optimize query performance.
- Disabling it is necessary when orphaned rows exist to prevent errors.
Memory trick: Cardinality counts, integrity checks, orphaned rows need careful effects.
Combined OLS and RLS
Flip cardCombining Object-Level Security (OLS) and Row-Level Security (RLS) provides comprehensive data access control by restricting both entire objects (tables/columns) and specific data rows based on user roles.
- OLS hides sensitive objects (tables, columns, measures).
- RLS filters sensitive data at the row level.
- Together they offer robust, granular security.
Memory trick: Objects hide, rows filter, together they secure, no data can slip or deter.
Table-level Refresh Schedule
Flip cardMicrosoft Fabric allows setting individual refresh schedules for tables within a semantic model, enabling different data freshness requirements for different data sources or components.
- Optimizes refresh cycles and resource consumption.
- Ensures specific tables are refreshed at their required frequency.
- Maintains a single, cohesive semantic model.
Memory trick: Each table has its own clock, sales tick fast, inventory stock.
Incremental Refresh with DirectQuery for Historical Data
Flip cardThis policy within incremental refresh allows recent data partitions to be imported for performance, while older, less-frequently accessed partitions remain in DirectQuery mode, reducing refresh times and memory usage.
- Optimizes refresh by only importing new data.
- Reduces memory consumption by keeping historical data in DirectQuery.
- Ensures all historical data is available for compliance without full import.
Memory trick: Recent data imports, old data waits, DirectQuery for history, no data fates.
DAX Context Transition
Flip cardContext transition in DAX converts row context into filter context during calculations, often implicitly by `CALCULATE` or explicitly by iterating functions.
- Crucial for complex filtering logic.
- Implicitly occurs with `CALCULATE`.
- Allows filters derived from one period/set to be applied to another.
Memory trick: Filter context shifts and turns, previous month's products, current month learns.
Spark SQL Cumulative Sum
Flip cardA calculation that computes the running total of a numeric column within a defined window (partition and order) in Spark SQL.
- Uses the `SUM()` aggregate function with an `OVER()` clause.
- `PARTITION BY` defines the groups for which the sum restarts.
- `ORDER BY` defines the sequence in which the sum accumulates within each group.
Memory trick: Windows frame how you view the data.
PySpark rangeBetween() for Time
Flip cardA PySpark window function clause that defines a window frame based on a range of values relative to the current row, commonly used for time-based windows when `orderBy` is on a numeric or timestamp column.
- Requires `orderBy` on a numeric or timestamp column.
- Offsets specify values relative to the current row (e.g., seconds for timestamp).
- Used for fixed-duration rolling windows, like 'last 30 minutes'.
Memory trick: Range by time, not just by row count.
Inactive Relationships
Flip cardInactive relationships in a semantic model allow a single dimension table to relate to multiple date columns in fact tables, activated as needed by DAX functions.
- Used when a dimension relates to multiple columns in one or more tables.
- Activated using `USERELATIONSHIP()` in DAX.
- Prevents ambiguity in filter propagation.
Memory trick: Dates flow, one active, others wait, DAX then chooses to activate.
Power Query Editor (Fabric)
Flip cardThe Power Query Editor in Microsoft Fabric is a visual tool used for connecting to diverse data sources, performing data cleansing, transformation, and shaping operations before loading data into a semantic model.
- Supports hundreds of data connectors.
- Uses the M language for transformations.
- Essential for data preparation in semantic models.
Memory trick: Connect, transform, load – Power Query's the data's road.
Incremental Load
Flip cardA data ingestion strategy that only processes and loads new or changed data from the source system since the last successful load.
- Optimizes performance by reducing data volume.
- Reduces resource consumption (compute, storage, network).
- Requires a mechanism to identify new/changed records (e.g., timestamp, version, change tracking).
Memory trick: Only new data, like a detective, finds what's changed.
Workspace Admin Role Assignment Delegation
Flip cardThe 'Allow workspace admins to assign users to workspace roles' tenant setting enables workspace administrators to manage user permissions within their own workspaces.
- Delegates user management to workspace admins.
- Does not require tenant-level admin privileges.
- Enhances decentralized governance and reduces IT overhead.
Memory trick: Tenant settings delegate power, like passing a baton to workspace admins.