没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Microsoft DP-203 Exam Actual Questions
The questions for DP-203 were last updated at June 19, 2021.
• Viewing page 1 out of 16 pages.
• Viewing questions 1-4 out of 61 questions
Topic 1 - Question Set 1
Question #1Topic 1
HOTSPOT -
You are creating dimensions for a data warehouse in an Azure Synapse Analytics
dedicated SQL pool.
You create a table by using the Transact-SQL statement shown in the following exhibit.
Use the drop-down menus to select the answer choice that completes each statement
based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct
Answer:
Box 1: Type 2 -
A Type 2 SCD supports versioning of dimension members. Often the source system
doesn't store versions, so the data warehouse load process detects and manages
changes in a dimension table. In this case, the dimension table must use a surrogate
key to provide a unique reference to a version of the dimension member. It also
includes columns that define the date range validity of the version (for example,
StartDate and EndDate) and possibly a flag column (for example,
IsCurrent) to easily filter by current dimension members.
Incorrect Answers:
A Type 1 SCD always reflects the latest values, and when changes in source data are
detected, the dimension table data is overwritten.
Box 2: a business key -
A business key or natural key is an index which identifies uniqueness of a row based on
columns that exist naturally in a table according to business rules. For example
business keys are customer code in a customer table, composite of sales order header
number and sales order item line number within a sales order details table.
Reference:
https://docs.microsoft.com/en-us/learn/modules/populate-slowly-changing-
dimensions-azure-synapse-analytics-pipelines/3-choose-between-dimension-types
Question #2Topic 1
You are designing a fact table named FactPurchase in an Azure Synapse Analytics
dedicated SQL pool. The table contains purchases from suppliers for a retail store.
FactPurchase will contain the following columns.
FactPurchase will have 1 million rows of data added daily and will contain three years
of data.
Transact-SQL queries similar to the following query will be executed daily.
SELECT -
SupplierKey, StockItemKey, COUNT(*)
FROM FactPurchase -
WHERE DateKey >= 20210101 -
AND DateKey <= 20210131 -
GROUP By SupplierKey, StockItemKey
Which table distribution will minimize query times?
• A. replicated
• B. hash-distributed on PurchaseKey
• C. round-robin
• D. hash-distributed on DateKey
Correct Answer: B
Hash-distributed tables improve query performance on large fact tables, and are the
focus of this article. Round-robin tables are useful for improving loading speed.
Incorrect:
Not D: Do not use a date column. . All data for the same date lands in the same
distribution. If several users are all filtering on the same date, then only 1 of the 60
distributions do all the processing work.
Reference:
https://docs.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/sql-
data-warehouse-tables-distribute
Question #3Topic 1
You have a table in an Azure Synapse Analytics dedicated SQL pool. The table was
created by using the following Transact-SQL statement.
You need to alter the table to meet the following requirements:
✑ Ensure that users can identify the current manager of employees.
✑ Support creating an employee reporting hierarchy for your entire company.
✑ Provide fast lookup of the managersג€™ attributes such as name and job title.
Which column should you add to the table?
• A. [ManagerEmployeeID] [int] NULL
• B. [ManagerEmployeeID] [smallint] NULL
• C. [ManagerEmployeeKey] [int] NULL
• D. [ManagerName] [varchar](200) NULL
Correct Answer: A
Use the same definition as the EmployeeID column.
Reference:
https://docs.microsoft.com/en-us/analysis-services/tabular-models/hierarchies-ssas-
tabular
Question #4Topic 1
You have an Azure Synapse workspace named MyWorkspace that contains an Apache
Spark database named mytestdb.
You run the following command in an Azure Synapse Analytics Spark pool in
MyWorkspace.
CREATE TABLE mytestdb.myParquetTable(
EmployeeID int,
EmployeeName string,
EmployeeStartDate date)
USING Parquet -
You then use Spark to insert a row into mytestdb.myParquetTable. The row contains the
following data.
One minute later, you execute the following query from a serverless SQL pool in
MyWorkspace.
SELECT EmployeeID -
FROM mytestdb.dbo.myParquetTable
WHERE name = 'Alice';
What will be returned by the query?
• A. 24
• B. an error
• C. a null value
Correct Answer: A
Once a database has been created by a Spark job, you can create tables in it with Spark
that use Parquet as the storage format. Table names will be converted to lower case
and need to be queried using the lower case name. These tables will immediately
become available for querying by any of the Azure Synapse workspace Spark pools.
They can also be used from any of the Spark jobs subject to permissions.
Note: For external tables, since they are synchronized to serverless SQL pool
asynchronously, there will be a delay until they appear.
Reference:
https://docs.microsoft.com/en-us/azure/synapse-analytics/metadata/table
Question #5Topic 1
DRAG DROP -
You have a table named SalesFact in an enterprise data warehouse in Azure Synapse
Analytics. SalesFact contains sales data from the past 36 months and has the following
剩余81页未读,继续阅读
虾稿
- 粉丝: 129
- 资源: 30
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- ZEND解密dezender12
- sony 索尼IMX334摄像头模组电路板AD版硬件PCB图(6层板).zip
- 基于flask和echarts融合交易策略的bitfinex可视化微服务.zip
- 包含了wvp-assist.tar wvp-talk.tar zlmediakit.tar .
- 3r4efgh53wgrf43tw
- 2024新版Java基础从入门到精通全套视频+资料下载
- Spring AI大模型视频教程+ChatGPT视频教程+OpenAI大模型视频教程(资料+视频教程)
- ABB工业机器人教程PDF版本
- 123321123323211
- 三相桥式全桥整流电路MATALB Simulink仿真文件
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
前往页