Microsoft DP-700 Practice Test Questions and Exam Dumps Part20 Q381-400

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

 

Question 381

What does a Delta transaction log primarily record?

  1. User permissions
  2. Pipeline schedules
  3. Table versions and changes
  4. Workspace members

Correct Answer: 3

Explanation

The Delta transaction log records changes made to a Delta table and provides the information needed to understand different table versions. Operations such as inserts, updates, and deletes are represented through transaction information. This log is fundamental to Delta Lake features such as reliable transactions, version history, and consistent reads. Engineers should understand that the transaction log is separate from the actual Parquet data files. Together, the log and data files allow supported engines to determine the correct state of a Delta table at a particular version.

Question 382

Which operation is commonly used to create a new table from the results of a query?

  1. CTAS
  2. DROP VIEW
  3. SELECT DISTINCT
  4. ALTER COLUMN

Correct Answer: 1

Explanation

CTAS, or CREATE TABLE AS SELECT, creates a new table using the results returned by a SELECT statement. It is useful when engineers need to materialize transformed or filtered data into a new table. For example, a query can select specific columns and records from an existing dataset and store the results as a new analytical table. CTAS can simplify table creation and data preparation. Engineers should still consider table structure, data types, naming conventions, storage format, and the intended downstream workload before using it.

Question 383

Which Spark feature provides preconfigured resources for starting notebook sessions quickly?

  1. Warehouse
  2. Dataflow Gen2
  3. Starter pools
  4. Eventhouse

Correct Answer: 3

Explanation

Starter pools provide preconfigured Spark resources that can help users start Spark-based workloads more quickly. They are useful for notebook and Spark development because users do not always need to wait for a completely new Spark environment to become available. This can improve the development experience for common workloads. Engineers should still consider workload size, session requirements, capacity, and performance when choosing Spark resources. Starter pools are associated with Spark processing and should not be confused with Fabric Warehouse or Dataflow Gen2.

Question 384

What is the main purpose of a semantic model relationship?

  1. Compress files
  2. Connect related tables
  3. Schedule pipelines
  4. Store secrets

Correct Answer: 2

Explanation

Relationships in a semantic model connect related tables so analytical queries can correctly combine information. For example, a sales fact table can be related to a product dimension through a product key. Relationships allow filters and calculations to flow between related tables according to the model’s configuration. Correct relationship design is important for accurate reporting and analysis. Engineers should consider relationship direction, cardinality, and key uniqueness when designing a semantic model. Poorly designed relationships can produce incorrect totals, ambiguous filtering, or unexpected analytical results.

Question 385

Which approach is most appropriate for storing multiple historical versions of a customer’s address?

  1. SCD Type 0
  2. SCD Type 1
  3. Full table deletion
  4. SCD Type 2

Correct Answer: 4

Explanation

SCD Type 2 is used when historical versions of dimension records must be preserved. When a customer’s address changes, the existing record can be closed and a new record created with the updated address. Effective dates, expiration dates, or an active-status indicator are commonly used to identify which version applies during a particular period. This approach allows historical reports to use the address that was valid when an event occurred. Type 1, in contrast, generally overwrites the previous value rather than preserving its history.

Question 386

Which statement about a Lakehouse table is correct?

  1. It can combine analytical tables with OneLake files
  2. It can only store CSV files
  3. It requires every query to use KQL
  4. It cannot be accessed through SQL

Correct Answer: 1

Explanation

A Fabric Lakehouse combines file-based storage in OneLake with structured tables that can be processed through supported analytical engines. This allows data engineers to work with formats such as Parquet and Delta while also providing SQL-based access through the Lakehouse SQL analytics endpoint. The Lakehouse supports both data engineering and analytical scenarios. It is not limited to CSV files, and KQL is not required for ordinary Lakehouse workloads. Understanding the combination of files, tables, Spark, and SQL access is important when designing Fabric solutions.

Question 387

What is a key benefit of a OneLake shortcut?

  1. It creates a duplicate copy of every source file
  2. It provides access to data without traditional duplication
  3. It converts all data to CSV
  4. It automatically creates a semantic model

Correct Answer: 2

Explanation

A OneLake shortcut provides access to data stored in another supported location without requiring the data to be physically duplicated into the destination location. This can help reduce unnecessary copies and simplify access to shared data. Shortcuts are useful when different Fabric workloads need to work with data that already exists elsewhere. Engineers should still consider permissions, source availability, governance, and supported shortcut locations. A shortcut is a reference to data rather than a traditional full data-copy operation.

Question 388

Which feature can help identify the previous versions of a Delta table?

  1. Table history
  2. Pipeline trigger
  3. Workspace role
  4. Dataflow parameter

Correct Answer: 1

Explanation

Delta table history provides information about operations performed on a Delta table and can help engineers understand how the table has changed over time. This is useful for troubleshooting, auditing supported operations, and investigating unexpected modifications. Delta’s version-based architecture also supports capabilities that depend on maintaining table versions. Engineers should distinguish table history from pipeline run history: table history concerns changes to the table, while pipeline run history concerns execution of orchestration workflows. Both can be valuable when diagnosing data-processing issues.

Question 389

Which option is generally used to overwrite existing records or insert new ones based on matching keys?

  1. ORDER BY
  2. GROUP BY
  3. MERGE
  4. COUNT

Correct Answer: 3

Explanation

MERGE is commonly used for upsert-style processing where incoming records are compared with existing target records. Matching rows can be updated, while nonmatching rows can be inserted according to the defined logic. This makes MERGE useful for incremental loading, synchronization, and change-processing scenarios. Engineers must carefully define matching conditions and actions to avoid unintended updates or duplicates. MERGE can also be useful when implementing pipelines that need to process changed source records repeatedly while maintaining a consistent target table.

Question 390

Which Fabric capability is designed for continuously processing streaming event data?

  1. Dataflow Gen2
  2. Eventstream
  3. CTAS
  4. Lookup

Correct Answer: 2

Explanation

Eventstream is designed to ingest, transform, and route streaming event data within Fabric’s real-time capabilities. It can connect to supported event sources and send the resulting stream to appropriate destinations for further analysis or processing. This makes it useful for scenarios such as telemetry, application events, operational monitoring, and other continuously arriving data. Eventstream differs from traditional batch-oriented pipeline activities because it focuses on streaming flows. Engineers should select destinations and transformations according to latency, processing, and analytical requirements.

Question 391

Why would an engineer use a stored procedure in a Warehouse workload?

  1. To package reusable SQL logic
  2. To create a Spark session
  3. To stream events
  4. To manage OneLake shortcuts

Correct Answer: 1

Explanation

A stored procedure can package reusable SQL logic into a callable database object. This can help organize repeated operations such as loading tables, applying transformations, or executing a sequence of SQL statements. In Warehouse workloads, stored procedures can support more consistent execution of recurring database operations. Engineers should design procedures carefully, document their inputs and outputs, and consider transaction behavior and error handling. Stored procedures are different from views because procedures are generally designed to perform executable operations rather than simply expose a reusable query result.

Question 392

Which pipeline feature stores a value that can change during pipeline execution?

  1. Parameter
  2. Variable
  3. Workspace role
  4. Shortcut

Correct Answer: 2

Explanation

A pipeline variable can hold a value that changes during pipeline execution. Variables are useful when workflow logic needs temporary state, counters, flags, or other runtime values. Parameters are generally supplied to a pipeline as inputs and are not intended to behave in the same way as mutable runtime variables. Understanding this distinction helps engineers design flexible orchestration workflows. Variables can be combined with expressions and control-flow activities when building dynamic pipelines that need to make decisions or track information while processing.

Question 393

Which technique can reduce the impact of many small files in a data lake?

  1. File compaction
  2. Row duplication
  3. Full reload
  4. Schema deletion

Correct Answer: 1

Explanation

File compaction combines many small data files into fewer, larger files. Excessive small files can create additional metadata and file-management overhead and may reduce processing efficiency because engines need to handle many individual files. Compaction can improve read efficiency and simplify storage layout. Engineers should consider appropriate file sizes alongside partitioning and workload characteristics. Compaction is particularly relevant in data lake environments where frequent incremental writes may produce many small files over time. It should be performed carefully to balance performance improvements with processing costs.

Question 394

What does Direct Lake primarily change about semantic model data access?

  1. It removes all relationships
  2. It requires exporting data to CSV
  3. It allows direct access to supported OneLake data
  4. It disables analytical queries

Correct Answer: 3

Explanation

Direct Lake enables supported semantic models to access data directly from OneLake rather than relying on a traditional imported copy of the data. This can reduce the need for separate data movement and help semantic models work closely with Fabric data. Direct Lake is especially relevant when analytical data already resides in supported Lakehouse or Warehouse structures. It does not eliminate relationships or prevent analytical queries. Engineers should still design the semantic model appropriately and verify that the required tables, columns, relationships, and security behavior are supported.

Question 395

Which security principle gives users only the permissions they need?

  1. Data duplication
  2. Least privilege
  3. Full administration
  4. Shared credentials

Correct Answer: 2

Explanation

The principle of least privilege means users and processes should receive only the permissions required to perform their assigned tasks. Applying least privilege reduces unnecessary access and limits the potential impact of compromised accounts or accidental changes. In Fabric, permissions should be planned across relevant workspaces, items, data sources, and other security mechanisms. Engineers should avoid giving administrative access when a narrower permission set is sufficient. Regular permission reviews are also useful because responsibilities can change, leaving older access rights unnecessary.

Question 396

Which operation removes all rows from a table while retaining the table structure?

  1. TRUNCATE TABLE
  2. SELECT
  3. CREATE VIEW
  4. GROUP BY

Correct Answer: 1

Explanation

TRUNCATE TABLE removes all rows from a table while keeping the table definition available. It is different from DELETE, which can remove selected rows based on conditions. TRUNCATE is useful when an entire target table needs to be cleared before a complete reload. Engineers should use it carefully because it can remove all existing records and may not provide the row-level filtering associated with DELETE. Before executing a destructive operation, pipeline logic should confirm that the target and intended load strategy are correct.

Question 397

A pipeline must run only after an upstream activity succeeds. Which dependency condition should be used?

  1. On failure
  2. On completion
  3. On success
  4. On skip

Correct Answer: 3

Explanation

The On success dependency condition causes a downstream activity to run only when the preceding activity completes successfully. This is useful when later processing depends on the successful completion of an earlier operation. For example, a transformation step should normally begin only after the source data has been copied successfully. Other dependency conditions can support different workflow behaviors, such as handling failures or completion regardless of outcome. Correct dependency design helps prevent invalid downstream processing and makes pipeline execution behavior more predictable.

Question 398

Which component can retrieve configuration records for use in a dynamic pipeline?

  1. Lookup
  2. Wait
  3. Delete
  4. View

Correct Answer: 1

Explanation

The Lookup activity can retrieve data from a supported source and make the returned information available to subsequent pipeline activities. This is especially useful in metadata-driven designs where configuration tables contain information such as source paths, target tables, processing modes, or load dates. The returned values can then be used with dynamic content, parameters, or ForEach activities. Lookup helps reduce hard-coded pipeline logic and supports reusable workflows. Engineers should ensure that the returned data has the expected structure and that downstream activities correctly handle empty or unexpected results.

Question 399

Which relationship type allows a record in one table to relate to multiple records in another table?

  1. One-to-one
  2. One-to-many
  3. Many-to-one only
  4. No relationship

Correct Answer: 2

Explanation

A one-to-many relationship allows one record on one side of a relationship to correspond to multiple records on the other side. A common analytical example is a product dimension where one product can be associated with many sales transactions in a fact table. Correct cardinality is important because it affects filtering and aggregation behavior in semantic models. Engineers should ensure that the key on the one side is appropriately unique and that the many side contains the expected related values. Incorrect relationship design can lead to misleading analytical results.

Question 400

Which practice helps ensure a pipeline can safely process the same input more than once?

  1. Idempotent design
  2. Uncontrolled appending
  3. Duplicate insertion
  4. Random deletion

Correct Answer: 1

Explanation

Idempotent design allows repeated processing of the same input without producing unintended duplicate or inconsistent results. This is especially important when pipelines are retried after failures or rerun because of operational issues. Engineers can use techniques such as MERGE operations, unique business keys, checkpoints, controlled overwrites, and deduplication to support idempotent behavior. The correct approach depends on the workload and data source. Designing for reruns improves reliability because recovery does not require manually repairing duplicated or inconsistent target data.