Microsoft DP-700 Practice Test Questions and Exam Dumps Part9 Q161-180

View Full Microsoft DP-700 Exam Dumps and Practice Test Dumps.

 

Question 161

Which feature allows a Fabric Lakehouse to reference data stored externally without copying it?

  1. Dataflow Gen2
  2. Warehouse view
  3. OneLake shortcut
  4. Spark pool

Correct Answer: 4

Explanation

A OneLake shortcut allows a Fabric item to reference data stored in another supported location without creating a separate physical copy. This is useful when organizations want to access existing data while avoiding unnecessary duplication. Shortcuts can support centralized data access and reduce storage requirements. They are especially useful in scenarios where multiple workloads need to work with the same underlying data. Because the data remains in its original location, teams can access it through Fabric without building another copy solely for analytical consumption.

Question 162

Which command removes all rows from a table while keeping the table structure?

  1. TRUNCATE TABLE
  2. DROP TABLE
  3. ALTER TABLE
  4. CREATE TABLE

Correct Answer: 1

Explanation

TRUNCATE TABLE removes all rows from a table while preserving the table definition and structure. This differs from DROP TABLE, which removes the table itself. Truncation can be useful when a staging or temporary table needs to be cleared before loading a fresh dataset. Because it operates on the entire table, it should be used carefully when data needs to be preserved. Data engineers should select the appropriate operation based on whether they need to remove records only or remove the table definition as well.

Question 163

A company wants to analyze data from several sources using a common analytical model. What should the engineer create?

  1. Data contract
  2. Pipeline trigger
  3. Semantic model
  4. File shortcut

Correct Answer: 3

Explanation

A semantic model provides a business-oriented representation of data that can be used for analytical reporting and visualization. It can organize tables, relationships, measures, and other modeling elements into a structure that is easier for report users to consume. When data comes from multiple sources, a semantic model can provide a consistent analytical layer over the prepared datasets. This helps separate reporting logic from the underlying ingestion and transformation processes. It can also make analytical calculations and relationships easier to manage.

Question 164

Which activity can execute another pipeline from within the current pipeline?

  1. Lookup
  2. Execute Pipeline
  3. Copy Data
  4. Wait

Correct Answer: 2

Explanation

The Execute Pipeline activity allows one pipeline to invoke another pipeline as part of a larger workflow. This is useful when data engineering processes are divided into reusable components. For example, one pipeline can handle ingestion while another performs transformation or validation. The main orchestration pipeline can execute these components in the required sequence. This design improves maintainability because common processing logic can be placed in separate reusable pipelines instead of being duplicated across multiple workflows.

Question 165

Which method can help improve query performance by reducing unnecessary data scans?

  1. Removing filters
  2. Selecting all columns
  3. Increasing duplicate records
  4. Applying selective filters

Correct Answer: 4

Explanation

Selective filters reduce the amount of data that a query needs to process. Applying appropriate filtering conditions can prevent unnecessary rows from being scanned or passed to later transformation and aggregation steps. This is particularly useful when working with large datasets. For example, filtering records by date before performing an aggregation can significantly reduce the amount of data involved in the operation. Data engineers should also consider partitioning and query design when optimizing performance, because filtering works most effectively when it aligns with the underlying data organization.

Question 166

Which Fabric capability is designed to ingest and process continuously arriving event data?

  1. Eventstream
  2. Warehouse
  3. Deployment pipeline
  4. Dataflow Gen2

Correct Answer: 3

Explanation

Eventstream is designed for handling streaming event data in Microsoft Fabric. It can ingest continuously arriving events and route or process them for downstream real-time scenarios. This differs from traditional batch pipelines, which generally process data at scheduled or manually initiated intervals. Eventstream can be useful for scenarios such as application events, IoT messages, operational monitoring, and other continuously generated information. Using a streaming approach allows organizations to process events as they arrive rather than waiting for a later batch-processing cycle.

Question 167

What does a foreign key generally represent in a relational data model?

  1. A connection to another table’s key
  2. A file partition
  3. A pipeline parameter
  4. A Spark configuration

Correct Answer: 1

Explanation

A foreign key generally represents a relationship between a column in one table and a key in another table. In a typical analytical model, a fact table may contain a foreign key that references a dimension table. This relationship allows queries to combine transactional measurements with descriptive information. Foreign keys are important for maintaining logical relationships between datasets and supporting consistent data modeling. Data engineers should ensure that the values used for relationships are compatible and that the model accurately reflects the intended business relationships.

Question 168

Which transformation changes a column from text data to a numeric data type?

  1. Deduplication
  2. Type conversion
  3. Partitioning
  4. Aggregation

Correct Answer: 2

Explanation

Type conversion changes a value from one data type to another. For example, a column containing numbers stored as text can be converted into an integer or decimal type so mathematical operations can be performed correctly. Correct data types are important for reliable transformations, filtering, aggregation, and storage. If type conversion is not handled properly, pipelines may fail or produce incorrect results. Data engineers should also account for invalid values, such as non-numeric text in a numeric column, when designing type-conversion logic.

Question 169

Which architecture separates data into raw, refined, and curated layers?

  1. Star schema
  2. Snowflake schema
  3. Medallion architecture
  4. Relational normalization

Correct Answer: 3

Explanation

Medallion architecture organizes data into layers commonly referred to as Bronze, Silver, and Gold. The Bronze layer generally contains raw or minimally processed data, the Silver layer contains cleaned and transformed data, and the Gold layer contains curated datasets designed for analytical consumption. This layered approach makes data processing easier to organize and manage. Each stage has a defined purpose, which helps data engineers separate ingestion, transformation, and business-ready preparation. It can also make troubleshooting easier because engineers can inspect data at different processing stages.

Question 170

Which SQL clause is used to sort query results?

  1. GROUP BY
  2. HAVING
  3. WHERE
  4. ORDER BY

Correct Answer: 4

Explanation

The ORDER BY clause sorts rows returned by a SQL query according to one or more columns. Sorting can be performed in ascending or descending order. For example, a query can use ORDER BY to display sales from highest to lowest or arrange records chronologically by date. ORDER BY does not filter or aggregate records; its primary purpose is controlling the presentation order of the result set. Data engineers should use it when an ordered result is required rather than assuming that query results are automatically returned in a particular order.

Question 171

What is the purpose of a fact table in a star schema?

  1. Store measurable business events
  2. Store pipeline credentials
  3. Store workspace permissions
  4. Store source-control settings

Correct Answer: 1

Explanation

A fact table stores measurable business events or transactions in a dimensional model. Examples include sales amounts, quantities, costs, clicks, or other numeric measurements. Fact tables usually contain foreign keys that connect them to related dimension tables, such as customer, product, or date dimensions. This structure allows analysts to combine measurements with descriptive attributes. Fact tables are generally designed around a defined grain, meaning each row represents a specific level of business detail. Clearly defining the grain is important for accurate analytical calculations.

Question 172

Which feature is useful for automatically retrying a failed pipeline activity?

  1. Partition pruning
  2. Retry policy
  3. Data lineage
  4. Schema mapping

Correct Answer: 2

Explanation

A retry policy allows a pipeline activity to be attempted again when a failure occurs. This can be useful for temporary problems such as intermittent connectivity issues or transient service errors. Instead of immediately marking the workflow as permanently failed, the pipeline can retry according to configured settings. Retry policies should not be treated as a solution for persistent data-quality or configuration problems. Data engineers should investigate repeated failures and use monitoring information to determine whether the underlying issue requires a permanent correction.

Question 173

Which operation combines multiple rows into summary values such as total sales?

  1. Aggregation
  2. Deduplication
  3. Replication
  4. Partitioning

Correct Answer: 4

Explanation

Aggregation combines multiple rows to produce summary results such as totals, averages, minimums, maximums, or counts. For example, a sales dataset can be grouped by product and aggregated to calculate total revenue for each product. Aggregations are fundamental to analytical workloads because business users frequently need summarized information rather than individual transaction records. SQL functions such as SUM, AVG, COUNT, MIN, and MAX are commonly used for these calculations. Data engineers should ensure that the grouping columns and aggregation logic match the required business meaning.

Question 174

What is the main purpose of a primary key?

  1. Store duplicate records
  2. Identify a row uniquely
  3. Partition a pipeline
  4. Schedule a notebook

Correct Answer: 3

Explanation

A primary key identifies a row uniquely within a table. It helps establish a reliable identifier for each record and can be used when defining relationships between tables. In data engineering, maintaining unique identifiers is important for detecting duplicates, joining datasets, and tracking individual entities. The appropriate key depends on the data model and workload. In dimensional models, surrogate keys may be used instead of natural business identifiers. Data engineers should ensure that the chosen key remains suitable for the intended relationships and processing requirements.

Question 175

Which approach is most appropriate when only newly added records need to be processed?

  1. Full reload
  2. Manual deletion
  3. Incremental load
  4. Schema removal

Correct Answer: 2

Explanation

An incremental load processes only new or changed data rather than reloading the entire dataset every time. This approach can reduce processing time, network traffic, and compute requirements, especially when the source contains a large amount of historical information. Common methods include watermarks, change tracking, timestamps, or source-system change data capture. The implementation should account for updates and deletions when those changes are relevant. A well-designed incremental process should also maintain a reliable record of the last successfully processed point.

Question 176

Which feature helps identify whether a pipeline, notebook, or other item depends on another Fabric item?

  1. Data lineage
  2. File compression
  3. Table truncation
  4. Column sorting

Correct Answer: 1

Explanation

Data lineage provides visibility into relationships between data sources and downstream Fabric items. It can help users understand how data moves through an analytical environment and identify dependencies between assets. This is useful when troubleshooting, planning changes, or determining the potential impact of modifying a dataset. For example, if a source table is changed, lineage information can help identify downstream items that may be affected. Lineage is therefore valuable for both operational troubleshooting and broader governance of analytical data environments.

Question 177

Which method can help maintain historical values when a customer attribute changes?

  1. Dropping the old record
  2. Overwriting every historical value
  3. Removing the customer
  4. Slowly changing dimension Type 2

Correct Answer: 4

Explanation

Slowly Changing Dimension Type 2 preserves historical versions of dimension records when attributes change. Instead of replacing the old record, the data engineering process creates a new version and retains the previous version. Effective and expiration dates or current-status indicators can be used to identify which version was valid during a particular period. This approach is useful when historical reporting must reflect the attributes that were valid at the time of a transaction. It therefore supports more accurate time-based analysis of changing business entities.

Question 178

A pipeline must process ten files using the same sequence of activities. Which feature can reduce duplicated pipeline logic?

  1. ForEach
  2. DROP TABLE
  3. View
  4. Semantic model

Correct Answer: 2

Explanation

The ForEach activity allows the same group of pipeline activities to run repeatedly for each item in a collection. If a pipeline needs to process ten files using the same workflow, the file names or paths can be supplied as a list and processed through one ForEach structure. This avoids creating ten separate copies of the same activities. ForEach is especially useful in metadata-driven ingestion scenarios, where the number and names of files may change over time while the underlying processing logic remains consistent.

Question 179

Which practice helps ensure that incoming data follows expected column names and data types?

  1. File renaming
  2. Schema validation
  3. Report formatting
  4. Data sorting

Correct Answer: 3

Explanation

Schema validation checks incoming data against an expected structure, including elements such as column names and data types. This helps detect unexpected source changes before they cause downstream processing failures or inaccurate results. For example, if a source changes a numeric column into text, validation can identify the mismatch before later transformations depend on the original type. Schema validation can be incorporated into ingestion and quality-control processes. It is particularly valuable when source systems are managed independently and can change without direct coordination.

Question 180

Which Fabric capability can help monitor pipeline executions and identify failed activities?

  1. Monitoring hub
  2. OneLake shortcut
  3. Star schema
  4. CTAS

Correct Answer: 1

Explanation

The Monitoring hub provides a centralized way to monitor activities and executions across supported Fabric workloads. For data engineering tasks, monitoring information can help identify failed pipeline runs, execution status, and other operational details. This allows data engineers to investigate problems more quickly and determine whether an issue is related to a source, transformation, dependency, or configuration. Monitoring is an important part of reliable data operations because successful pipeline development alone does not guarantee that recurring production workloads will continue running correctly.