ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 55 - DP-203 discussion

Report
Export

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] [smallint] NULL
Answers
A.
[ManagerEmployeeID] [smallint] NULL
B.
[ManagerEmployeeKey] [smallint] NULL
Answers
B.
[ManagerEmployeeKey] [smallint] NULL
C.
[ManagerEmployeeKey] [int] NULL
Answers
C.
[ManagerEmployeeKey] [int] NULL
D.
[ManagerName] [varchar](200) NULL
Answers
D.
[ManagerName] [varchar](200) NULL
Suggested answer: C

Explanation:

We need an extra column to identify the Manager. Use the data type as the EmployeeKey column, an int column.

Reference: https://docs.microsoft.com/en-us/analysis-services/tabular-models/hierarchies-ssas-tabular

asked 02/10/2024
Dilara Unsal
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first