FEFreeExamDumps.in

DP-203 Practice Questions — Page 6

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 the table? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A.

B.

C.

D.

E.

Question 51

You have an Azure subscription.

You plan to build a data warehouse in an Azure Synapse Analytics dedicated SQL pool named pool1 that will contain staging tables and a dimensional model.

Pool1 will contain the following tables.

You need to design the table storage for pool1. The solution must meet the following requirements:

✑ Maximize the performance of data loading operations to Staging.WebSessions.

✑ Minimize query times for reporting queries against the dimensional model.

Which type of table distribution should you use for each table? To answer, drag the appropriate table distribution types to the correct tables. Each table distribution type may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Select and Place:

Question 52

You have an Azure Synapse Analytics dedicated SQL pool that contains a table named Table1. Table1 contains the following:

✑ One billion rows

✑ A clustered columnstore index

✑ A hash-distributed column named Product Key

✑ A column named Sales Date that is of the date data type and cannot be null

Thirty million rows will be added to Table1 each month.

You need to partition Table1 based on the Sales Date column. The solution must optimize query performance and data loading.

How often should you create a partition?

  • A.once per month
  • B.once per year
  • C.once per day
  • D.once per week

You have an Azure Databricks workspace that contains a Delta Lake dimension table named Table1.

Table1 is a Type 2 slowly changing dimension (SCD) table.

You need to apply updates from a source table to Table1.

Which Apache Spark SQL operation should you use?

  • A.CREATE
  • B.UPDATE
  • C.ALTER
  • D.MERGE

You plan to create a dimension table in Azure Synapse Analytics that will be less than 1 GB.

You need to create the table to meet the following requirements:

✑ Provide the fastest query time.

✑ Minimize data movement during queries.

Which type of table should you use?

  • A.replicated
  • B.hash distributed
  • C.heap
  • D.round-robin

You are designing a dimension table in an Azure Synapse Analytics dedicated SQL pool.

You need to create a surrogate key for the table. The solution must provide the fastest query performance.

What should you use for the surrogate key?

  • A.a GUID column
  • B.a sequence object
  • C.an IDENTITY column

You have an Azure Synapse Analytics dedicated SQL pool.

You need to create a fact table named Table1 that will store sales data from the last three years. The solution must be optimized for the following query operations:

• Show order counts by week.

• Calculate sales totals by region.

• Calculate sales totals by product.

• Find all the orders from a given month.

Which data should you use to partition Table1?

  • A.product
  • B.month
  • C.week
  • D.region

You are designing the folder structure for an Azure Data Lake Storage Gen2 account.

You identify the following usage patterns:

• Users will query data by using Azure Synapse Analytics serverless SQL pools and Azure Synapse Analytics serverless Apache Spark pools.

• Most queries will include a filter on the current year or week.

• Data will be secured by data source.

You need to recommend a folder structure that meets the following requirements:

• Supports the usage patterns

• Simplifies folder security

• Minimizes query times

Which folder structure should you recommend?

  • A.\DataSource\SubjectArea\YYYY\WW\FileData_YYYY_MM_DD.parquet
  • B.\DataSource\SubjectArea\YYYY-WW\FileData_YYYY_MM_DD.parquet
  • C.DataSource\SubjectArea\WW\YYYY\FileData_YYYY_MM_DD.parquet
  • D.\YYYY\WW\DataSource\SubjectArea\FileData_YYYY_MM_DD.parquet
  • E.WW\YYYY\SubjectArea\DataSource\FileData_YYYY_MM_DD.parquet

You have an Azure Synapse Analytics dedicated SQL pool named Pool1. Pool1 contains a table named table1.

You load 5 TB of data into table1.

You need to ensure that columnstore compression is maximized for table1.

Which statement should you execute?

  • A.DBCC INDEXDEFRAG (pool1, table1)
  • B.DBCC DBREINDEX (table1)
  • C.ALTER INDEX ALL on table1 REORGANIZE
  • D.ALTER INDEX ALL on table1 REBUILD

You have an Azure Synapse Analytics dedicated SQL pool named pool1.

You plan to implement a star schema in pool and create a new table named DimCustomer by using the following code.

You need to ensure that DimCustomer has the necessary columns to support a Type 2 slowly changing dimension (SCD).

Which two columns should you add? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Question 60
  • A.[HistoricalSalesPerson] [nvarchar] (256) NOT NULL
  • B.[EffectiveEndDate] [datetime] NOT NULL
  • C.[PreviousModifiedDate] [datetime] NOT NULL
  • D.[RowID] [bigint] NOT NULL
  • E.[EffectiveStartDate] [datetime] NOT NULL