Microsoft Practice Questions, Discussions & Exam Topics by our Authors
You are designing a sales transactions table in an Azure Synapse Analytics dedicated SQL pool. The table will contain approximately 60 million rows per month and will be partitioned by month. The table will use a clustered column store index and round-robin...
To determine the number of rows for each combination of distribution and partition in the table, let's break down the key elements of the table design and its distribution.
Key Points:
1. 60 million rows per month: This indicates the total number of rows in the table for each month (i.e., per partition).
2. Partitioned by month: The table is partitioned by month, meaning there will be a separate partition for each month’s data.
3. Clustered column store index: This will help optimize querying and storage, but does not impact the distribution or partitioning.
4. Round-robin distribution: Round-robin distribution means that the rows are distributed evenly across the available distributions (partitions on disk). Each row is distributed in a round-robin fashion across the distributions, meaning the data is split evenly across them.
How to calculate the number of rows per distribution and partition:
- Partitioning by month: Each month will have its own partition, so you have one partition per month (i.e., 1 partition for 60 million...
Author: Lina Zhang · Last updated Jul 5, 2026
You have an Azure Synapse Analytics workspace.
You plan to deploy a lake database by using a database template in Azure Synapse.
Which two elements are included in the template? Each correct ans...
When deploying a lake database in Azure Synapse Analytics using a database template, the template typically includes the elements that define the structure and access to data within the database, as well as how it interacts with other services and systems. Let’s break down each option:
A) Relationships
- Explanation: Relationships (such as foreign key relationships) describe how tables are logically connected in a database. However, lake databases in Azure Synapse typically work with data in a more flexible and schema-on-read way, which is common in data lakes. In these environments, strict relationships like foreign keys aren’t typically enforced. The template will not focus heavily on defining relational constraints.
- Why it’s rejected: While you may define logical relationships for analysis purposes, relationships are not a primary part of the template for lake databases in Synapse, which focus on flexible data storage and querying.
B) Data formats
- Explanation: Data formats refer to the format of the data stored in the lake, such as Parquet, Delta, or CSV. These are crucial when working with data lakes in Azure Synapse because they define how data is stored and accessed. A lake database template will typically include details on the data format of the stored tables.
- Why it’s selected: The data format is an essential part of setting up a lake database template because it ensures that data in the lake is properly stored and can be efficiently queried. Different data formats affect performance, storage, and ease of integration with other tools, so they are part of the template.
C) Linked services
- Explanation: Linked services define how Azure Synapse connects to external data sources like databases, storage accounts, and other services. While linked services are essential for data in...
Author: Isabella1 · Last updated Jul 5, 2026
You are implementing a star schema in an Azure Synapse Analytics dedicated SQL pool.
You plan to create a table named DimProduct.
DimProduct must be a Type 3 slowly changing dimension (SCD) table that meets the following requirements:
* The values in two columns named ProductKey and ProductSourceID will remain the same.
* The values in three columns named ProductName, ProductDescription, and Color can change.
You need to add additional c...
To implement a Type 3 Slowly Changing Dimension (SCD) in an Azure Synapse Analytics dedicated SQL pool, we need to consider how to store both the current and previous values of columns that may change over time. For a Type 3 SCD, we store both the current and previous values for columns that are subject to change. Here's an analysis of each option based on the provided requirements:
A) [EffectiveStartDate] [datetime] NOT NULL
- Explanation: The EffectiveStartDate column is used to record the date when the current value of a column became effective. It is essential for tracking the changes in a Type 3 SCD.
- Why it’s selected: This column is required for tracking the start date of the current value for columns that are subject to change. This is important in a Type 3 SCD because we need to know when the current value was first inserted into the table.
B) [EffectiveEndDate] [datetime] NOT NULL
- Explanation: The EffectiveEndDate column is used to record when the current value of a column stops being valid, essentially marking the end of the "current" value and the beginning of the "previous" value. This is a key column in Type 3 SCDs because it allows us to track the time period during which a particular value was active.
- Why it’s selected: This column is required in a Type 3 SCD to track when the current value was replaced by a new value, enabling us to maintain historical data.
C) [OriginalProductDescription] NVARCHAR(2000) NOT NULL
- Explanation: OriginalProductDescription would store the previous value of the ProductDescription column. In a Type 3 SCD, we need to maintain the previous value of columns that are subject to change.
- Why it’s selected: This column is necessary for storing the original (previous) value of the ProductDescription when it changes. Type 3 SCDs store both the current and previous values, so this column is essential.
D) [IsCurrentRow] [bit] NOT NULL
- Explanation: The IsCurrentRow column is used to indicate whether the current row represents the active (current) version of a record. It is typically used in Type 2 SCDs to track the current version, but for Type 3 SCD, we ...
Author: Zara · Last updated Jul 5, 2026
SNAPSHOT
-
You have an Azure Synapse Analytics dedicated SQL pool named Pool1. Pool1 contains a fact table named Table1. Table1 contains sales data. Sixty-five million rows of data are added to Table1 monthly.
At the end of each month, you need to remove data that is older than 36 months. The solution must minimize how long it takes to remove the data.
How should you parti...
Author: SilverBear · Last updated Jul 5, 2026
You have an Azure subscription that contains an Azure Synapse Analytics serverless SQL pool.
You execute the following query.
...
When you execute a query in Azure Synapse Analytics serverless SQL pool, the query itself does not explicitly define where the results should be stored unless you specify it in the query. Let’s break down each option to see where the query results would go, based on how the serverless SQL pool operates.
A) In a file in a data lake
- Explanation: In serverless SQL pools, if you are querying data from external sources (such as Azure Data Lake or Azure Blob Storage), the query results are not automatically written back to a file in the data lake unless you explicitly specify an output location using INSERT INTO or CTAS (Create Table As Select) queries to write the result to a file. Serverless SQL pools do not automatically store query results in a data lake unless instructed.
- Why it’s rejected: The query results in this case are not automatically written back to a file in a data lake unless additional operations (like INSERT INTO or CTAS) are defined.
B) In a relational database
- Explanation: A relational database typically refers to a structured database like those in dedicated SQL pools or traditional SQL-based databases. In serverless SQL pools, the query results are not automatically stored in a relational database unless you explicitly define a target database for storing the result.
- Why it’s rejected: Serverless SQL pools don’t store query results in a relational database unless instructed to by a query like INSERT INTO. They are designed to execute queries over external data without writing the results to a relational database automatically.
C) In a global temporary table
- Explanation: Global temporary tables are used to store data temporarily and are accessible across se...
Author: Aditya · Last updated Jul 5, 2026
You are deploying a lake database by using an Azure Synapse database template.
You need to add additional tables to the database. The solution must use the same groupi...
When deploying a lake database in Azure Synapse using a database template, the goal is to maintain consistency and use the same grouping method as the template tables. This ensures that any additional tables you add will be aligned with the existing design principles of the database.
Let's break down the available options for grouping methods:
A) Partition style
- Explanation: Partition style refers to how data is divided and organized within storage based on specific columns (such as time, region, or other criteria). In the context of a lake database, partitioning can significantly impact performance by making it easier to filter and query large datasets.
- Why it’s rejected: While partitioning is an important design consideration for how data is stored, partition style is more about how data is physically stored in partitions, not about the logical grouping of tables. The template would more likely focus on logical grouping strategies, not just partitioning.
B) Business area
- Explanation: Business area refers to the grouping of tables based on business-related concepts or domains. For example, sales data, finance data, and inventory data might each reside in their respective "business areas." This grouping method aligns the data organization with business operations and makes the data model easier to navigate.
- Why it’s selected: Business area is a common method for organizing and grouping tables in a lake database. This approach helps maintain the structure and logical flow of data across different areas of business functionality (like sales, inventory, or finance). When using a template, applying the same grouping method (business area) for new tables ensur...
Author: Oscar · Last updated Jul 5, 2026
You have an Azure data factory connected to a Git repository that contains the following branches:
* main: Collaboration branch
* abc: Feature branch
* xyz: Feature branch
You save changes to a pipeline in the x...
In Azure Data Factory, when you are working with Git integration, changes made to a branch (such as `xyz`) need to be published to the live service, which typically happens after merging the changes into the main branch. The key step in this process involves ensuring that the changes are integrated into the main branch, which is the default branch for the live service.
Let’s analyze the options in detail:
A) Publish the data factory
- Explanation: Publishing in Azure Data Factory applies to pushing the changes made in the main branch to the live service. However, since you made changes in the `xyz` branch, these changes need to be merged into the `main` branch first before they can be published. You cannot directly publish from a feature branch (e.g., `xyz`).
- Why it’s rejected: You need to merge the changes into the `main` branch before you can publish them. Publishing directly from the `xyz` branch is not possible without merging it into the `main` branch first.
B) Create a pull request to merge the changes into the main branch
- Explanation: In Git-based workflows, the main branch is typically used as the production or live branch. Changes in feature branches (e.g., `xyz`) should be merged into the `main` branch before they can be published to the live service.
- Why it’s selected: This is the correct step to take. You should first create a pull request (PR) to merge the changes in the `xyz` branch into the `main` branch. Onc...
Author: Harper · Last updated Jul 5, 2026
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains an Azure data factory named ADF1.
From Azure Data Factory Studio, you build a complex data pipeline in ADF1.
You discove...
Scenario Breakdown:
You have an Azure Data Factory (ADF1) pipeline with validation errors that prevents you from saving the pipeline. You are trying to save the pipeline logic so that you can continue working on it and eventually publish it.
The suggested solution is to enable Git integration for the Azure Data Factory.
Let's evaluate whether enabling Git integration will meet the goal:
Explanation of Git Integration:
- Git integration in Azure Data Factory allows you to link your ADF environment with a Git repository (e.g., Azure Repos or GitHub). This integration provides version control for your data factory assets (like pipelines, datasets, etc.), and it ensures that you can save and track changes in the repository.
- However, enabling Git integration does not bypass validation errors. If there are issues with the pipeline logic (like validation errors), you cannot save the pipeline even after enabling Git. Git integ...
Author: Zara1234 · Last updated Jul 5, 2026
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains an Azure data factory named ADF1.
From Azure Data Factory Studio, you build a complex data pipeline in ADF1.
You discover that the Save button is unavail...
To determine whether the solution meets the goal, let's break it down:
Problem Recap: You have a complex data pipeline in Azure Data Factory (ADF1), and you are unable to save the pipeline due to validation errors. You want to ensure that you can save the logic of the pipeline.
Evaluating the solution:
The solution involves viewing the JSON representation of the resource and copying it to a file.
1. Viewing the JSON Representation:
- In Azure Data Factory Studio, every pipeline and its components are represented as JSON. You can inspect the pipeline in JSON format, but simply viewing the JSON does not "save" the logic to Azure Data Factory or persist the changes to the pipeline.
2. Copying JSON to a File:
- Copying the JSON to a file essentially allows you to extract the pipeline's logi...
Author: Julian · Last updated Jul 5, 2026
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains an Azure data factory named ADF1.
From Azure Data Factory Studio, you build a complex data pipeline in ADF1.
You discover that the Save b...
To determine whether the solution meets the goal, let's break down the components:
Problem Recap:
You are unable to save the pipeline in Azure Data Factory (ADF1) because there are validation errors. You need a way to ensure that the logic of the pipeline is saved.
Evaluating the solution:
The proposed solution is to export ADF1 as an Azure Resource Manager (ARM) template.
1. Exporting as an ARM Template:
- ARM Templates are used for defining the infrastructure and configurations of resources in Azure. In the context of Azure Data Factory, exporting a pipeline or an entire Data Factory instance as an ARM template allows you to capture the entire structure (including pipelines, datasets, linked services, etc.).
- Exporting the pipeline as an ARM template allows you to back up the pipeline's configuration, even if validation errors prevent you from saving it within the Data Factory interface.
- The ARM template can be saved externally, and you can later redeploy it to restore the pipeline if needed. This means the logic of the pipeline is preserved, even if the "Save" button in Azure Data Factory Studio is unavailable due to validation errors.
2. Advantages of ARM ...
Author: Liam · Last updated Jul 5, 2026
SNAPSHOT
-
You have an Azure Databricks workspace.
You read data from a CSV file by using a notebook, and then load the data to a DataFrame.
You need to add rows from the DataFrame to an existing Delta table by using Python code.
How should you complete the co...
Author: IceDragon2023 · Last updated Jul 5, 2026
DRAG DROP
-
You have an Azure subscription that contains an Azure Cosmos DB for NoSQL account named account1. The account1 account contains a container named Container1 that has the following configurations:
* Analytical store: On
* TTL: 3600
You need to remove analytical store support from Container1. The solution must meet the following requirements:
* Minimize the impact on the apps that reference Container1.
* Minimize st...
Author: BlazingPhoenix22 · Last updated Jul 5, 2026
DRAG DROP
-
You have an Azure Synapse Analytics dedicated SQL pool named SQL1 that contains a hash-distributed fact table named Table1.
You need to recreate Table1 and add a new distribution column. The solution must maximize the availability of data.
Which four actions should you perform in s...
Author: Carlos Garcia · Last updated Jul 5, 2026
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains an Azure data factory named ADF1.
From Azure Data Factory Studio, you build a complex data pipeline in ADF1.
You discover ...
To determine if disabling all the triggers for ADF1 meets the goal, we need to understand the role of triggers in Azure Data Factory and whether disabling them affects the ability to save the pipeline.
Key points:
1. Triggers in Azure Data Factory: Triggers in Azure Data Factory are used to execute pipelines automatically based on specific events or schedules. Disabling the triggers only prevents the pipeline from running automatically. However, triggers are not typically involved in the process of saving or publishing a pipeline's logic in Azure Data Factory Studio.
2. Pipeline Save Issue: The issue is that the Save button is unavailable, and there are validation errors preventing the pipeline from being published. Validation errors are usually cause...
Author: Daniel · Last updated Jul 5, 2026
You have an Azure subscription that contains the resources shown in the following table.
You need to implement Azure Synapse Link for Azure SQL Database.
Which two actions should you perform on sql1? Each corr...
To implement Azure Synapse Link for Azure SQL Database, there are specific steps that need to be followed to set up the necessary configurations. Let's analyze the options and understand the required actions.
Key Considerations:
- Azure Synapse Link enables near real-time analytics over operational data in Azure SQL Database. To enable this, certain configurations must be applied, such as granting permissions and ensuring proper connectivity.
- System-assigned managed identities are often used to secure the connection between Azure resources.
- Firewall settings should allow the necessary connections from Azure services.
Let's review the options:
A) Update the firewall rules to allow Azure services to access sql1.
- Reasoning: Azure Synapse Link requires a connection to the Azure SQL Database. To ensure that Azure services, such as Synapse, can access the database, you must update the firewall rules of the Azure SQL Database (sql1) to allow access from Azure services.
- Selected: This is necessary for Azure Synapse Link to connect to the SQL database.
B) Enable the system-assigned managed identity.
- Reasoning: Enabling the system-assigned managed identity on the Azure SQL Database (sql1) is essential to establish a secure connection between Azure Synapse and the database. This identity is used for authentication wit...
Author: Zain · Last updated Jul 5, 2026
You have an Azure subscription that contains an Azure Cosmos DB database. Azure Synapse Link is implemented on the database.
You configure a full fidelity schema for the analytical store.
You perform the following actions:
* Insert {"customerID": 12, "customer": 'Tailspin Toys"} as the first document in the container.
* In...
Scenario Understanding:
You are using Azure Synapse Link with Azure Cosmos DB and have configured a full fidelity schema for the analytical store. When using full fidelity schema, the analytical store is designed to maintain all the properties (columns) of the documents inserted into the Cosmos DB container, including both defined and dynamic properties.
Actions Taken:
1. First document: `{"customerID": 12, "customer": "Tailspin Toys"}`
- This document has two properties: `customerID` (a number) and `customer` (a string).
2. Second document: `{"customerID": "14", "customer": "Contoso"}`
- This document has the same two properties, but the value of `customerID` is now a string (`"14"`) instead of a number.
What Happens to the Columns in the Analytical Store?
- Full Fidelity Schema: This means that the schema in the analytical store will include all properties found in any documen...
Author: ElectricLionX · Last updated Jul 5, 2026
SNAPSHOT
-
You have an Azure Data Lake Storage account that contains CSV files. The CSV files contain sales order data and are partitioned by using the following format.
/data/salesorders/year=xxxx/month=y
You need to retrieve only the sales orders from January 2023 and February 2023.
How should yo...
Author: John · Last updated Jul 5, 2026
SNAPSHOT
-
You have an Azure subscription that contains an Azure Data Lake Storage Gen2 account named adlsv2. adlsv2 contains a container named logs and an Azure Synapse Analytics dedicated SQL pool named Sqlpool.
You plan to use PolyBase to load external data into Sqlpool.
You need to define the external data source.
How ...
Author: Elijah · Last updated Jul 5, 2026
You are developing a solution that will stream to Azure Stream Analytics. The solution will have both streaming data and reference data....
When developing a solution that streams both streaming data and reference data to Azure Stream Analytics, it’s important to choose the appropriate input type for reference data. The reference data will likely consist of data that does not change frequently, such as static datasets or lookup tables, which need to be joined with streaming data. Here’s a breakdown of the options:
A) Azure Service Bus
- Reason for Rejection: Azure Service Bus is designed for messaging and event-driven architectures, not for static reference data. It is ideal for passing messages between services, rather than serving large or static datasets for reference purposes. This is not suitable for reference data that needs to be used in Stream Analytics queries.
- Scenario: Could be used for messaging or event streaming in other architectures, but not for reference data.
B) Azure Blob Storage
- Reason for Selection: Azure Blob Storage is ideal for storing large datasets, including reference data, which does not change frequently. Stream Analytics can ingest reference data from Blob Storage, making it suitable for static reference datasets that are joined with streaming data during real-time analytics. Reference data is typically stored in a file (CSV, JSON, Parquet, etc.) in Blob Storage and can be used in Stream Analytics jobs for lookups and joins.
- Scenario: ...
Author: Ethan Smith · Last updated Jul 5, 2026
SNAPSHOT -
You plan to create a real-time monitoring app that alerts users when a device travels more than 200 meters away from a designated location.
You need to design an Azure Stream Analytics job to process the data for the planned app. The solution must minimize the amount of code developed and the number of technologies used.
What should you inclu...
Author: Leah · Last updated Jul 5, 2026
A company has a real-time data analysis solution that is hosted on Microsoft Azure. The solution uses Azure Event Hub to ingest data and an Azure Stream
Analytics cloud job to analyze the data. The cloud job is configured to use 120 Streaming Units (SU).
You need to optimize performance for the Azure Stream Analytics job....
To optimize performance for an Azure Stream Analytics job, there are several approaches you can take. Let's go through each option to determine the best ones for improving performance.
A) Implement event ordering
- Reason for Rejection: Event ordering ensures that events are processed in the correct sequence, which is important for specific use cases, such as time-series analysis or when events are highly dependent on their order. However, event ordering can introduce overhead, potentially slowing down performance, especially if you don't need strict ordering for your use case. In general, enabling event ordering is a trade-off that may not be needed for all scenarios and can decrease performance if not essential.
- Scenario: Useful for scenarios requiring strict event ordering (e.g., transactions in sequence), but not typically an optimization for general performance.
B) Implement Azure Stream Analytics user-defined functions (UDF)
- Reason for Rejection: User-defined functions (UDFs) allow for custom logic to be embedded in Stream Analytics queries. While UDFs can provide flexibility, they often lead to performance degradation, as the execution of custom code can be slower than built-in Stream Analytics operations. UDFs are typically used for complex transformations that cannot be easily achieved using SQL-like queries but are not typically used to optimize performance.
- Scenario: Useful for custom logic but not specifically for improving performance.
C) Implement query parallelization by partitioning the data output
- Reason for Rejection: Partitioning the output data can help in distributing work across multiple streams for parallel processing. However, output partitioning does not significantly affect the performance of the query execution itself. It’s more about how the results are distributed and stored, not how the input data is processed. Hence, partitioning output data isn’t a primary optimization for query performance during data ingestion and analysis.
- Scenario: Useful for organizing or distributing results, but not for improving input data processing performance.
D) Scale the SU count for the job up
- Reason for Sele...
Author: ElectricLionX · Last updated Jul 5, 2026
You need to trigger an Azure Data Factory pipeline when a file arrives in an Azure Data Lake Storage Gen2 contai...
To trigger an Azure Data Factory pipeline when a file arrives in an Azure Data Lake Storage Gen2 container, we need to select the right resource provider for event-driven processing. Here’s an analysis of each option:
A) Microsoft.Sql
- Reason for Rejection: This provider is associated with SQL Server and related services in Azure. It is used for managing SQL-based resources such as Azure SQL Database and SQL Server in Azure. It is not relevant to event-driven triggers for files arriving in Azure Data Lake Storage Gen2.
- Scenario: Used when working with Azure SQL or SQL-based services but not for file arrival or event-driven triggers related to Data Lake.
B) Microsoft.Automation
- Reason for Rejection: The Microsoft.Automation provider is associated with Azure Automation, which is used for automating workflows, runbooks, and managing resources in Azure. While Azure Automation can be used for many tasks, it is not directly involved in triggering events for new files in Data Lake Storage Gen2.
- Scenario: Useful for automating infrastructure management, configurations, and operational tasks but not for file arrival triggers in Data Lake Storage.
C) Microsoft.EventGrid
- Reason for Selection: Microsoft.EventGrid is the correct choice for triggering actions based on events like the arrival of a file in a container in Azure Data Lake Storage...
Author: Ethan Smith · Last updated Jul 5, 2026
You plan to perform batch processing in Azure Databricks once daily.
Which type of Databricks clust...
When planning to perform batch processing in Azure Databricks once daily, you need to choose the right type of cluster based on the nature of your workload (in this case, a scheduled daily batch job). Here's a breakdown of each cluster type and why certain options are more suitable than others:
A) High Concurrency
- Reason for Rejection: High Concurrency clusters are designed for workloads that need to handle multiple concurrent users and interactive sessions, typically for ad-hoc analysis, dashboards, or queries with low latency. These clusters are optimized to allow several users to run queries at the same time without interfering with each other. Since you are doing daily batch processing (a non-interactive, scheduled process), this cluster type is not ideal for your use case.
- Scenario: Best for serving multiple users who perform simultaneous interactive analytics but not for batch processing.
B) Automated
- Reason for Selection: Automated clusters are ideal for scheduled jobs like batch processing. They can be automatically started and terminated based on a schedule, and they do not require manual intervention to run. You can set them up to automatically sca...
Author: VenomousSerpent42 · Last updated Jul 5, 2026
SNAPSHOT -
You are processing streaming data from vehicles that pass through a toll booth.
You need to use Azure Stream Analytics to return the license plate, vehicle make, and hour the last vehicle passed during each 10-minute window.
How should you complete the query? To ...
Author: Layla · Last updated Jul 5, 2026
You have an Azure Data Factory instance that contains two pipelines named Pipeline1 and Pipeline2.
Pipeline1 has the activities shown in the following exhibit.
Pipeline2 has the activities shown in the following exhibit.
You e...
In order to determine the status of the pipeline runs, let's break down the situation step by step, based on the given information and key factors about how Azure Data Factory handles pipeline executions:
Key Considerations:
- Pipeline1 contains Stored Procedure1, and Stored Procedure1 fails. The status of Pipeline1 is dependent on the success or failure of Stored Procedure1 since it's a key activity.
- Pipeline2 is executed independently and likely triggers Pipeline1 as part of its execution. If Stored Procedure1 fails in Pipeline1, this could affect the overall status of Pipeline1.
What Happens When Stored Procedure1 Fails:
- If Stored Procedure1 fails in Pipeline1, this will cause Pipeline1 to fail unless there is some custom logic (like error handling or retries) that catches the failure. By default, Azure Data Factory will mark Pipeline1 as failed when one of its activities fails.
Status of Pipeline2:
- If Pipeline2 executes and triggers Pipeline1 as part of its process, the failure of Stored Procedure1 in Pipeline1 could cause Pipeline2 to fail, depending on how Pipeline2 is structured. If Pipeline2 depends on Pipeline1 to complete successf...
Author: Sofia · Last updated Jul 5, 2026
SNAPSHOT -
A company plans to use Platform-as-a-Service (PaaS) to create the new data pipeline process. The process must meet the following requirements:
Ingest:
* Access multiple data sources.
* Provide the ability to orchestrate workflow.
* Provide the capability to run SQL Server Integration Services packages.
Store:
* Optimize storage for big data workloads.
* Provide encryption of data at rest.
* Operate with no size limits.
Prepare and Train:
* Provide a fully-managed and interactive workspace for exploration and visualization.
* Provide the ability to program in R, SQL, Python, Scala, and Java.
Provide seamless user authentication with Azure Active Directory.
Model & Serve:
* Implemen...
Author: Henry · Last updated Jul 5, 2026
DRAG DROP -
You have the following table named Employees.
You need to calculate the employee_type value based on the hire_date value.
How should you complete the Transact-SQL statement? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You ma...
Author: Sophia Clark · Last updated Jul 5, 2026
DRAG DROP -
You have an Azure Synapse Analytics workspace named WS1.
You have an Azure Data Lake Storage Gen2 container that contains JSON-formatted files in the following format.
You need to use the serverless SQL pool in WS1 to read the files.
How should you complete the Transact-SQL statement? To answer, drag the appropriate values to the correct targets. Each value may be used once, mor...
Author: Layla · Last updated Jul 5, 2026
DRAG DROP -
You have an Apache Spark DataFrame named temperatures. A sample of the data is shown in the following table.
You need to produce the following table by using a Spark SQL query.
How should you complete the query? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at ...
Author: Daniel · Last updated Jul 5, 2026
You have an Azure Data Factory that contains 10 pipelines.
You need to label each pipeline with its main purpose of either ingest, transform, or load. The labels must be available for grouping and filtering wh...
To label each pipeline with its main purpose (ingest, transform, or load) and make these labels available for grouping and filtering in the monitoring experience of Azure Data Factory, you need a way to associate a label with each pipeline for easy filtering and grouping in the Azure Data Factory monitoring interface.
Key Considerations:
- Resource Tag: Tags are useful for applying metadata to Azure resources, allowing you to categorize resources across resource groups and subscriptions. However, tags are typically used for categorizing Azure resources at a higher level (e.g., resource groups, storage accounts) and are not specifically designed for grouping or filtering pipelines directly in the monitoring experience of Azure Data Factory.
- Scenario: Suitable for resource categorization at the Azure subscription level but not designed specifically for filtering within Azure Data Factory’s monitoring interface.
- Correlation ID: The Correlation ID is used to track related activities across different pipelines or services, providing a unique identifier for tracing purposes. It is not designed for labeling or grouping pipelines by their purpose (ingest, transform, or load).
- Scenario: Useful for tracing and debugging across multiple services but not intended for categorizing or labeling pipelines in Data Factory.
- Run Group ID...
Author: BlazingPhoenix22 · Last updated Jul 5, 2026
SNAPSHOT -
The following code segment is used to create an Azure Databricks cluster.
For each of the following statements, select Yes if the statement is true. Otherwis...
Author: Olivia · Last updated Jul 5, 2026
You are designing a statistical analysis solution that will use custom proprietary Python functions on near real-time data from Azure Event Hubs.
You need to recommend which Azure service to use to perform ...
To design a solution for performing statistical analysis on near real-time data from Azure Event Hubs using custom proprietary Python functions, the primary goal is to minimize latency and ensure that the analysis can be done efficiently in a near real-time context. Let's evaluate each option based on this requirement:
A) Azure Synapse Analytics
- Reason for Rejection: Azure Synapse Analytics is a powerful analytics platform that can process large-scale data and perform data integration, warehousing, and big data analytics. However, it is more suited for batch processing and large-scale ETL workflows rather than low-latency, real-time analysis. It doesn’t inherently provide a fast, low-latency mechanism for handling near real-time data from Event Hubs. Synapse would introduce higher latency due to the nature of its architecture.
- Scenario: Suitable for large-scale analytics on structured or unstructured data, especially in batch processing scenarios, but not ideal for real-time processing with low latency.
B) Azure Databricks
- Reason for Selection: Azure Databricks is designed for fast data processing with the ability to run custom Python code, including machine learning and statistical functions. It has built-in support for integrating with Azure Event Hubs for real-time streaming data, which is essential for near real-time analysis. Databricks is well-suited for scenarios that require flexibility in using custom Python functions for complex analyses. It provides low latency and can scale to handle large amounts of data while executing Python-based statistical functions efficiently in a streaming context.
- Scenario: Ideal for real-time analytics with low latency, especially when custom Python functions and machine learning mode...
Author: Oscar · Last updated Jul 5, 2026
SNAPSHOT -
You have an enterprise data warehouse in Azure Synapse Analytics that contains a table named FactOnlineSales. The table contains data from the start of 2009 to the end of 2012.
You need to improve the performance of queries against FactOnlineSales by using table partitions. The solution must meet the following requirements:
* Create four partitions based on the order date.
* Ensure that each partition contains all the orders placed ...
Author: Emma · Last updated Jul 5, 2026
You need to implement a Type 3 slowly changing dimension (SCD) for product category data in an Azure Synapse Analytics dedicated SQL pool.
You have a table that was created by using the following Transact-SQL statement.
Which two columns should you add to...
To implement a Type 3 Slowly Changing Dimension (SCD) in an Azure Synapse Analytics dedicated SQL pool, the goal is to maintain historical data by storing both the current and the previous values of a column. Typically, for product category data, you want to capture the effective start and end dates for each record, as well as possibly the previous category name if it changes.
Let's review each option:
A) [EffectiveStartDate] [datetime] NOT NULL
- Explanation: This column is critical for Type 3 SCD, as it will store the date when the current record became effective. Type 3 SCD typically stores the previous and current values of a column, with an associated "start date" and "end date" to track the time range during which each value is valid.
- Conclusion: This is a necessary column to capture the start date of the current value.
B) [CurrentProductCategory] [nvarchar] (100) NOT NULL
- Explanation: This column represents the current value of the product category, which is essential for any slowly changing dimension. However, in Type 3 SCD, this isn't typically needed since the current value is already stored in the main category column (likely `ProductCategory`).
- Conclusion: Not a critical addition for a Type 3 SCD implementation, where you already track the current and previous values in specific columns.
C) [EffectiveEndDate] [datetime] NULL
- Explanation: The "end date" column is important in Type 3 SCD to capture when the current value of the product category ceased to be valid and the previous value took ...
Author: Noah Williams · Last updated Jul 5, 2026
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You are designing an Azure Stream Analytics solution that will analyze Twitter data.
You need to coun...
In this case, you're looking to count tweets in each 10-second window, and the key requirement is that each tweet should be counted only once. Let's analyze the solution:
Analysis of the proposed solution:
The solution suggests using a hopping window with a hop size of 10 seconds and a window size of 10 seconds.
- Hopping Window: In a hopping window, the window "hops" over the stream of events at regular intervals (the hop size). In this case, the hop size is also 10 seconds.
- Window Size of 10 Seconds: The window size indicates the period over which events (tweets) are aggregated. Here, it’s set to 10 seconds.
Why this solution does not meet the goal:
A hopping window with both the hop size and window size set to 10 seconds will effectively create a sliding window of tweets that overlap. This means:
- For every 10-second period, you will count tweets within that time window....
Author: ElectricLionX · Last updated Jul 5, 2026
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You are designing an Azure Stream Analytics solution that will analyze Twitter data.
You need to c...
Let's analyze the proposed solution in the context of the requirement to count tweets in each 10-second window, ensuring that each tweet is counted only once.
Analysis of the Proposed Solution:
The solution suggests using a hopping window with a hop size of 5 seconds and a window size of 10 seconds.
- Hopping Window: A hopping window works by "sliding" over the event stream, and it has a hop size and a window size. The hop size defines how frequently the window moves forward in time, while the window size defines the duration of the time window over which events are grouped.
- Hop Size of 5 Seconds and Window Size of 10 Seconds: In this case, the window is 10 seconds long, but it "hops" forward every 5 seconds. This means:
- The first window starts at time 0 and ends at time 10.
- The next window starts at time 5 and ends at time 15.
- The next window starts at time 10 and ends at time 20, and so on.
Key Issue:
The problem here is overlapping windows. The windows are sliding every 5 seconds, but...
Author: Noah · Last updated Jul 5, 2026
SNAPSHOT -
You are building an Azure Stream Analytics job to identify how much time a user spends interacting with a feature on a webpage.
The job receives events based on user actions on the webpage. Each row of data represents an event. Each event has a type of either 'start' or 'end'.
You need to calculate the duration between start and end events.
Ho...
Author: Alexander · Last updated Jul 5, 2026
You are creating an Azure Data Factory data flow that will ingest data from a CSV file, cast columns to specified types of data, and insert the data into a table in an
Azure Synapse Analytic dedicated SQL pool. The CSV file contains three columns named username, comment, and date.
The data flow already contains the following:
* A source transformation.
* A Derived Column transformation to set the appropriate types of data.
* A sink transformation to land the data in the pool.
You need to ensure that the data flow meets the following requirements:
* All valid rows must be written to the destination table.
* Truncation errors in the comment column must b...
Let's break down the requirements and analyze the solution step by step:
Requirements:
1. All valid rows must be written to the destination table (Azure Synapse Analytics dedicated SQL pool).
2. Truncation errors in the comment column must be avoided proactively.
3. Any rows containing comment values that will cause truncation errors must be written to a file in blob storage.
Now, let's analyze each option:
A) To the data flow, add a sink transformation to write the rows to a file in blob storage.
- Explanation: This option ensures that any rows that cause truncation errors are written to a file in blob storage. You can write invalid rows (those that would cause truncation) to a separate blob file for further review or processing.
- Why it’s correct: This option directly addresses the requirement to handle rows that cause truncation errors by writing them to a separate file in blob storage.
- Conclusion: This is a correct option.
B) To the data flow, add a Conditional Split transformation to separate the rows that will cause truncation errors.
- Explanation: A Conditional Split transformation can be used to route rows based on conditions (e.g., checking the length of the `comment` column against the maximum allowed length in the destination table). This can be used to separate valid rows from those that will cause truncation.
- Why it’s correct: The Conditional Split allows you to filter out rows that would cause truncation, and you can then direct valid rows to the sink (the Azure Synapse SQL pool) and the invalid rows to another output (like blob storage).
- Conclusion: This is a correct option because it all...
Author: Ethan · Last updated Jul 5, 2026
DRAG DROP -
You need to create an Azure Data Factory pipeline to process data for the following three departments at your company: Ecommerce, retail, and wholesale. The solution must ensure that data can also be processed for the entire company.
How should you complete the Data Factory data flow script? To answer, drag the appropriate values to the correct targets. Each value may be used once, mo...
Author: Evelyn · Last updated Jul 5, 2026
DRAG DROP -
You have an Azure Data Lake Storage Gen2 account that contains a JSON file for customers. The file contains two attributes named FirstName and LastName.
You need to copy the data from the JSON file to an Azure Synapse Analytics table by using Azure Databricks. A new column must be created that concatenates the FirstName and LastName values.
You create the following components:
* A destination table in Azure Synapse
* An Azure Blob storage container
* A service principal
Which ...
Author: Vikram · Last updated Jul 5, 2026
SNAPSHOT -
You build an Azure Data Factory pipeline to move data from an Azure Data Lake Storage Gen2 container to a database in an Azure Synapse Analytics dedicated
SQL pool.
Data in the container is stored in the following folder structure.
/in/{YYYY}/{MM}/{DD}/{HH}/{mm}
The earliest folder is /in/2021/01/01/00/00. The latest folder is /in/2021/01/15/01/45.
You need to configure a pipeline trigger to meet the following requirements:
* Existing data must be loaded.
* Data must be loaded every 30 minutes.
* Late-arriving data of up to two minutes must ...
Author: MoonlitPantherX · Last updated Jul 5, 2026
SNAPSHOT -
You are designing a near real-time dashboard solution that will visualize streaming data from remote sensors that connect to the internet. The streaming data must be aggregated to show the average value of each 10-second interval. The data will be discarded after being displayed in the dashboard.
The solution will use Azure Stream Analytics and must meet the following requirements:
* Minimize latency from an Azure Event hub to the dashboard.
* Minimize the requir...
Author: Emma Brown · Last updated Jul 5, 2026
DRAG DROP -
You have an Azure Stream Analytics job that is a Stream Analytics project solution in Microsoft Visual Studio. The job accepts data generated by IoT devices in the JSON format.
You need to modify the job to accept data generated by the IoT devices in the Protobuf format.
Which three actions should you perform from Visual Studio on s...
Author: Ming · Last updated Jul 5, 2026
You have an Azure Storage account and a data warehouse in Azure Synapse Analytics in the UK South region.
You need to copy blob data from the storage account to the data warehouse by using Azure Data Factory. The solution must meet the following requirements:
* Ensure that the data remain...
To solve this requirement, let’s analyze the available integration runtime options based on the key factors mentioned:
Key Factors:
1. Data must remain in the UK South region: The solution must ensure that data is not transferred across regions.
2. Minimize administrative effort: We aim to minimize the complexity and administrative overhead of managing the solution.
Options:
A) Azure Integration Runtime
- The Azure Integration Runtime (IR) is a fully managed service that can run in the cloud. It is capable of moving data between cloud services like Azure Storage and Azure Synapse Analytics without needing any on-premises components.
- Region Restriction: Azure IR can be deployed in the same region as the data sources (in this case, UK South), ensuring that data stays within the UK South region.
- Administrative Effort: As a fully managed service, Azure IR minimizes administrative overhead since you don’t need to set up or manage physical hardware or virtual machines.
B) Azure-SSIS Integration Runtime
- The Azure-SSIS Integration Runtime is specifically designed to run SSIS (SQL Server Integration Services) packages in Azure. It is used for running SQL-based data transformation tasks.
- Region Restriction: Similar to Azure IR, it can be configured to run in the UK South region.
- Administrative Effort: However, using SSIS involves additional setup, configuration, and management of SSIS packages, leading...
Author: Emily · Last updated Jul 5, 2026
SNAPSHOT -
You have an Azure SQL database named Database1 and two Azure event hubs named HubA and HubB. The data consumed from each source is shown in the following table.
You need to implement Azure Stream Analytics to calculate the average fare per mile by driver.
How should you configure the Stream Analytics input ...
Author: Ethan · Last updated Jul 5, 2026
You have an Azure Stream Analytics job that receives clickstream data from an Azure event hub.
You need to define a query in the Stream Analytics job. The query must meet the following requirements:
* Count the number of clicks within each 10-second window based on t...
To determine the correct query for your Azure Stream Analytics job, let’s analyze each option based on the requirements:
Requirements:
1. Count the number of clicks within each 10-second window based on the country of a visitor.
2. Ensure that each click is not counted more than once.
Key Concepts:
- Tumbling Window: A fixed-size, non-overlapping window. Each window is independent and processes events within the specified time frame.
- Sliding Window: A fixed-size window that "slides" forward over time, which can overlap.
- Hopping Window: A window that moves forward at a specified rate (overlap between windows).
- Session Window: Groups events based on session logic, which uses gaps in time between events to define a session.
- Timestamp: Used to specify the time a specific event occurred.
Analysis of Options:
A) `SELECT Country, Avg() AS Average FROM ClickStream TIMESTAMP BY CreatedAt GROUP BY Country, SlidingWindow(second, 10)`
- Sliding Window: A sliding window will overlap, which means data can be counted multiple times if it's in overlapping windows. This does not meet the requirement that each click is counted only once.
- Use Case: This option is more appropriate for scenarios where you need continuous time-based aggregation with overlap, which isn't what you need here.
B) `SELECT Country, Count() AS Count FROM ClickStream TIMESTAMP BY CreatedAt GROUP BY Country, TumblingWindow(second, 10)`
- Tumbling Window: A tumbling window divides the stream into fixed, non-overlapping windows. I...
Author: Kai · Last updated Jul 5, 2026
SNAPSHOT -
You are building an Azure Analytics query that will receive input data from Azure IoT Hub and write the results to Azure Blob storage.
You need to calculate the difference in the number of readings per sensor per hour.
How should you complete the query? To an...
Author: Aarav2020 · Last updated Jul 5, 2026
You need to schedule an Azure Data Factory pipeline to execute when a new file arrives in an Azure Data Lake Storage Ge...
To determine the correct trigger for your Azure Data Factory (ADF) pipeline, let’s evaluate each option based on the requirement: to execute when a new file arrives in an Azure Data Lake Storage Gen2 container.
Key Requirements:
- The pipeline should trigger automatically when a new file arrives in a specific Azure Data Lake Storage Gen2 container.
Analysis of Options:
A) On-Demand Trigger
- On-Demand Trigger allows you to manually trigger the pipeline whenever needed. It doesn't automatically respond to external events like a new file arrival.
- Rejection Reason: Since you need the pipeline to be automatically triggered when a new file arrives (not manually), this option is not suitable.
B) Tumbling Window Trigger
- Tumbling Window Trigger is a time-based trigger that processes data in fixed, non-overlapping windows. It’s used for regularly scheduled operations such as running a pipeline every X minutes or hours.
- Rejection Reason: This trigger does not respond to file events or changes in the storage container; it is purely time-based. Since the requirement is to trigger based o...
Author: Ella · Last updated Jul 5, 2026
You have two Azure Data Factory instances named ADFdev and ADFprod. ADFdev connects to an Azure DevOps Git repository.
You publish changes from the main branch of the Git repository to ADFdev.
...
To deploy artifacts from ADFdev to ADFprod, you first need to establish a method for transferring the changes between the two Azure Data Factory instances. Here’s the analysis of the given options:
A) From ADFdev, modify the Git configuration.
- Reasoning: Modifying the Git configuration in ADFdev would change how ADFdev connects to its source control (Azure DevOps Git). However, modifying the Git configuration on ADFdev won't directly help in deploying to ADFprod. ADFprod is a separate instance, and simply altering Git configuration does not trigger or facilitate deployment between ADFdev and ADFprod.
- Conclusion: Not a suitable choice.
B) From ADFdev, create a linked service.
- Reasoning: A linked service in Azure Data Factory defines the connection to external resources, such as databases, file systems, or other services. While you might need to configure linked services for ADFprod to interact with various data sources, creating or modifying a linked service in ADFdev does not directly help with deploying artifacts from ADFdev to ADFprod.
- Conclusion: Not relevant for deployment between environments.
C) From Azure DevOps, create a release pipeline.
- Reasoning: Azure DevOps release pipelines are specifically designed for automating dep...
Author: ThunderBear · Last updated Jul 5, 2026
You are developing a solution that will stream to Azure Stream Analytics. The solution will have both streaming data and reference data...
In Azure Stream Analytics, when dealing with streaming data and reference data, it's important to differentiate between the two types of data sources to ensure proper processing.
A) Azure Cosmos DB
- Reasoning: Azure Cosmos DB is a globally distributed NoSQL database designed for real-time, low-latency data access. While it is suitable for streaming data, reference data typically refers to static or slowly changing datasets (e.g., look-up tables, configuration data, etc.) that can be joined with streaming data during processing. Cosmos DB can be used for reference data in some cases, but it may not be the most efficient choice compared to other options for static reference data, especially for high-volume real-time data streams.
- Conclusion: Not ideal for reference data in this case.
B) Azure Blob Storage
- Reasoning: Azure Blob Storage is a suitable option for storing reference data. It can hold large amounts of unstructured data, such as text files, CSV files, or JSON files, which is common for reference data. In Azure Stream Analytics, you can use blob storage to store reference data that the streaming job can access for lookups and joins. The reference data in blob storage can be static or semi-static and can be updated or replaced periodically, which makes it an ideal choice.
- Conclusion: Best option for st...