Microsoft DP-700 Practice Test Questions and Exam Dumps Part12 Q221-240

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

 

Question 221

Which feature allows a Fabric Lakehouse to access data from another storage location without physically copying it?

  1. Dataflow Gen2
  2. Mirroring
  3. Warehouse
  4. OneLake shortcut

Correct Answer: 4

Explanation

A OneLake shortcut provides access to data stored in another supported location without creating a separate physical copy in the destination. This can reduce unnecessary data duplication and simplify access to shared information. Shortcuts are useful when multiple Fabric workloads need to work with existing data while keeping the original storage location as the source. They can also help organizations avoid maintaining multiple copies of the same dataset. Data engineers should consider permissions and supported source types when designing shortcut-based architectures.

Question 222

Which SQL command is used to remove selected rows from a table?

  1. DELETE
  2. UPDATE
  3. INSERT
  4. CREATE

Correct Answer: 1

Explanation

The DELETE statement removes rows from a table based on a specified condition. A WHERE clause can be used to identify which records should be deleted. For example, a data engineer might remove records that meet a specific business condition. DELETE differs from TRUNCATE TABLE, which removes all rows while preserving the table structure. Care must be taken when using DELETE because an incorrect or missing filtering condition can affect more records than intended. Proper validation should be performed before executing destructive operations.

Question 223

What is the primary purpose of a semantic model in Fabric?

  1. Store raw source files
  2. Execute pipeline activities
  3. Provide a business-friendly analytical layer
  4. Manage workspace permissions

Correct Answer: 3

Explanation

A semantic model provides a business-oriented layer over prepared data for analytical and reporting purposes. It can contain relationships, measures, calculations, and organized tables that make data easier for users to analyze. Semantic models help separate business logic from the underlying ingestion and transformation processes. They can provide a consistent structure for reports and analytical experiences. A well-designed semantic model can also improve usability because consumers do not need to understand every technical detail of the underlying data engineering architecture.

Question 224

Which pipeline activity is designed to repeat actions for every item in a collection?

  1. Lookup
  2. ForEach
  3. Wait
  4. Execute Pipeline

Correct Answer: 2

Explanation

The ForEach activity repeats a defined group of pipeline activities for each item in a collection. The collection can contain file paths, table names, configuration records, or other values returned by a previous activity. This is useful for building reusable pipelines because the same processing logic can be applied to many objects without creating separate activities for each one. For example, a ForEach loop can process every file in a list. It is commonly combined with Lookup activities in metadata-driven ingestion workflows.

Question 225

Which operation can create a new table from the result of a SELECT query?

  1. UPDATE
  2. DELETE
  3. INSERT
  4. CTAS

Correct Answer: 4

Explanation

CTAS, or CREATE TABLE AS SELECT, creates a new table using the results returned by a SELECT statement. It can be useful when creating derived or transformed tables from existing warehouse data. For example, a data engineer can select specific columns, apply filters, or perform calculations and store the resulting dataset as a new table. CTAS combines table creation and data population into a single operation. This can simplify warehouse development when a new analytical table needs to be generated from an existing dataset.

Question 226

Which feature is useful for handling continuously arriving event data?

  1. Eventstream
  2. Warehouse
  3. Deployment pipeline
  4. Semantic model

Correct Answer: 3

Explanation

Eventstream is designed to ingest and process continuously arriving event data in Microsoft Fabric. It is appropriate for streaming scenarios where information arrives continuously rather than through scheduled batch loads. Examples include application events, operational messages, IoT data, and monitoring events. Eventstream can route or process incoming events for downstream real-time workloads. This differs from traditional data pipelines, which are generally designed around batch-oriented ingestion and orchestration. Selecting a streaming capability is important when low-latency processing is required.

Question 227

Which practice helps maintain consistent data definitions between producers and consumers?

  1. Data contract
  2. File compression
  3. Query sorting
  4. Workspace scheduling

Correct Answer: 1

Explanation

A data contract defines agreed expectations between the producer and consumers of a dataset. It can specify column names, data types, required fields, acceptable values, and other structural or quality requirements. Data contracts help reduce unexpected changes that could break downstream pipelines or reports. They are particularly useful when different teams manage source and destination systems independently. By establishing clear expectations, data contracts improve communication and reliability. They can also support automated validation by allowing pipelines to check incoming data against the agreed structure.

Question 228

A pipeline should execute a notification activity only when a previous activity fails. Which dependency should be used?

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

Correct Answer: 2

Explanation

An On failure dependency allows a downstream activity to execute when the preceding activity fails. This is useful for creating error-handling branches in a pipeline. For example, if a data-copy operation fails, another activity can record the failure or send a notification. Using explicit dependency conditions makes pipeline behavior predictable and easier to troubleshoot. Different dependency types can be combined to support both successful and unsuccessful execution paths. This approach helps data engineers design workflows that respond appropriately to runtime conditions.

Question 229

Which technique is commonly used to preserve historical versions of dimension records?

  1. Full reload
  2. Deduplication
  3. Slowly Changing Dimension Type 2
  4. File partitioning

Correct Answer: 3

Explanation

Slowly Changing Dimension Type 2 preserves historical versions of dimension records when their attributes change. Instead of overwriting an existing record, the process creates a new version while retaining the previous version. Effective dates, expiration dates, or current-version indicators can be used to identify which version was valid during a particular period. This is useful when historical reports need to reflect the attributes that were applicable when an event occurred. SCD Type 2 is commonly used for customers, products, employees, and other changing business entities.

Question 230

Which SQL clause filters groups after aggregation?

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

Correct Answer: 4

Explanation

The HAVING clause filters groups after aggregation has taken place. It is commonly used with GROUP BY when a condition must be applied to an aggregate result. For example, a query can group sales by customer and use HAVING to return only customers whose total sales exceed a specified amount. WHERE works differently because it filters individual rows before grouping. Understanding the distinction between WHERE and HAVING is important when writing efficient analytical queries and ensuring that filtering occurs at the correct stage.

Question 231

Which feature helps monitor Fabric pipeline and data engineering activity?

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

Correct Answer: 1

Explanation

The Monitoring hub provides visibility into supported Fabric activities and executions. Data engineers can use monitoring information to review statuses, identify failures, and investigate execution details. This is important for production data pipelines because a workflow that works during development may still encounter runtime issues such as source failures, authentication problems, or unexpected data. Monitoring helps teams detect these problems and respond more quickly. Regular monitoring can also reveal recurring performance or reliability issues that require changes to pipeline design.

Question 232

Which operation is most appropriate for adding new records to an existing table?

  1. DELETE
  2. INSERT
  3. ALTER
  4. DROP

Correct Answer: 2

Explanation

INSERT adds new rows to an existing table. It can be used to load newly received records into a staging or target table as part of a data engineering process. INSERT differs from UPDATE, which changes existing records, and DELETE, which removes records. In incremental loading scenarios, engineers must ensure that inserted records are genuinely new or have been appropriately identified to prevent duplicates. Keys, deduplication logic, and change-detection mechanisms can help maintain data quality when inserting incremental data.

Question 233

Which architecture commonly uses Bronze, Silver, and Gold layers?

  1. Star schema
  2. Relational normalization
  3. Medallion architecture
  4. Flat-file architecture

Correct Answer: 4

Explanation

Medallion architecture organizes data into Bronze, Silver, and Gold layers. Bronze generally contains raw or minimally processed data, Silver contains cleaned and transformed information, and Gold contains curated data prepared for business consumption. This layered design helps separate different stages of data processing and makes the overall environment easier to manage. Engineers can also use the layers as checkpoints for troubleshooting and validation. In Fabric, Lakehouse capabilities can support this architecture for many data engineering workloads involving ingestion, transformation, and analytical preparation.

Question 234

What is the purpose of a watermark in an incremental pipeline?

  1. Identify the last processed boundary
  2. Create a database index
  3. Store user permissions
  4. Format a report

Correct Answer: 3

Explanation

A watermark identifies a processing boundary used by an incremental pipeline. It may be represented by a timestamp, sequence number, or another value that indicates how far processing has successfully progressed. During the next run, the pipeline can use this value to identify records that appeared after the previous boundary. This avoids unnecessarily processing the entire historical dataset. A watermark should be managed carefully and updated only after successful processing. Engineers should also consider late-arriving records when designing the incremental strategy.

Question 235

Which capability can help developers track changes to supported Fabric items?

  1. Eventstream
  2. Data profiling
  3. Git integration
  4. Dataflow refresh

Correct Answer: 2

Explanation

Git integration provides source-control capabilities for supported Fabric development scenarios. It allows teams to track modifications, maintain versions, and collaborate more systematically on project content. Version control is valuable when multiple developers work on the same solution because changes can be reviewed and managed rather than existing only as untracked workspace modifications. Git-based workflows can also support more organized development and deployment processes. The exact supported items and capabilities depend on the Fabric integration being used, so teams should configure source control according to their project requirements.

Question 236

Which SQL function calculates the average value of a numeric column?

  1. COUNT()
  2. SUM()
  3. AVG()
  4. MAX()

Correct Answer: 1

Explanation

AVG() calculates the average of numeric values in a column or expression. It is commonly used in analytical queries to determine metrics such as average order value, average score, or average transaction amount. AVG() can also be combined with GROUP BY to calculate averages for separate categories or periods. Data engineers should consider NULL values when interpreting the result because NULLs are generally not included in the calculation. Correct grouping and filtering are also important to ensure that the calculated average represents the intended business population.

Question 237

Which approach helps a pipeline process only records that changed since the previous run?

  1. Full reload
  2. Incremental loading
  3. Manual copying
  4. Schema deletion

Correct Answer: 4

Explanation

Incremental loading processes only new or changed records instead of reloading the complete source dataset. It can use methods such as watermarks, timestamps, change tracking, or change data capture to identify records requiring processing. This approach can reduce processing time, network traffic, and compute consumption, especially when the source contains a large amount of historical data. A reliable incremental process should maintain a clear checkpoint and handle updates, deletions, and late-arriving records when those scenarios are relevant to the workload.

Question 238

Which SQL statement retrieves selected columns and rows from a table?

  1. UPDATE
  2. SELECT
  3. DELETE
  4. ALTER

Correct Answer: 2

Explanation

SELECT retrieves data from tables or other queryable objects. It can specify individual columns, filter rows with WHERE, combine tables using JOIN, group records with GROUP BY, and sort results using ORDER BY. SELECT is therefore one of the fundamental SQL operations used in analytical workloads. For example, a data engineer can retrieve only the required customer and sales columns while filtering records for a particular period. Well-designed SELECT statements can also reduce unnecessary data processing by selecting only relevant fields.

Question 239

Which method can reduce unnecessary data scanning when queries frequently filter by date?

  1. Removing date filters
  2. Duplicating records
  3. Date-based partitioning
  4. Converting tables to text

Correct Answer: 3

Explanation

Date-based partitioning can reduce unnecessary data scanning when analytical queries frequently filter records by date. Instead of reading the entire dataset, the query engine may access only the partitions corresponding to the requested period. This can improve performance and reduce I/O for large datasets. However, partitioning should be designed carefully because creating too many small partitions can introduce overhead. The chosen partition column should reflect common query patterns and the size and distribution of the underlying data. Proper partition design can significantly improve large-scale analytical processing.

Question 240

Which practice helps protect passwords and access keys used by data pipelines?

  1. Hard-coding credentials
  2. Secure secret management
  3. Sharing passwords in parameters
  4. Storing keys in plain text

Correct Answer: 1

Explanation

Secure secret management protects sensitive values such as passwords, access keys, and authentication tokens from unnecessary exposure. Hard-coding credentials in notebooks, scripts, or pipeline definitions can create security risks because those values may become visible to developers, source-control systems, or logs. Using supported secure mechanisms allows pipelines to retrieve credentials without embedding them directly in processing logic. This also makes credential rotation easier. Data engineers should avoid storing secrets in plain text and should follow least-privilege principles when configuring access to data sources.