Download Microsoft.70-767.CertKey.2018-10-01.42q.tqb

Download Exam

File Info

Exam Implementing a SQL Data Warehouse
Number 70-767
File Name Microsoft.70-767.CertKey.2018-10-01.42q.tqb
Size 2 MB
Posted Oct 01, 2018
Download Microsoft.70-767.CertKey.2018-10-01.42q.tqb

How to open VCEX & EXAM Files?

Files with VCEX & EXAM extensions can be opened by ProfExam Simulator.

Purchase

Coupon: MASTEREXAM
With discount: 20%






Demo Questions

Question 1

You manage a data warehouse in a Microsoft SQL Server instance. Company employee information is imported from the human resources system to a table named Employee in the data warehouse instance. The Employee table was created by running the query shown in the Employee Schema exhibit. (Click the Exhibit button.) 
  
The personal identification number is stored in a column named EmployeeSSN. All values in the EmployeeSSN column must be unique. 
When importing employee data, you receive the error message shown in the SQL Error exhibit. (Click the Exhibit button.). 
  
You determine that the Transact-SQL statement shown in the Data Load exhibit is the cause of the error. (Click the Exhibit button.) 
  
You remove the constraint on the EmployeeSSN column. You need to ensure that values in the EmployeeSSN column are unique. 
For each of the following statements, select Yes if the statement is true. Otherwise, select No. 
NOTE: Each correct selection is worth one point.


Correct answer: To work with this question, an Exam Simulator is required.
Explanation:
With the ANSI standards SQL:92, SQL:1999 and SQL:2003, an UNIQUE constraint must disallow duplicate non-NULL values but accept multiple NULL values.In the Microsoft world of SQL Server however, a single NULL is allowed but multiple NULLs are not. From SQL Server 2008, you can define a unique filtered index based on a predicate that excludes NULLs. References: https://stackoverflow.com/questions/767657/how-do-i-create-a-unique-constraint-that-also-allows-nulls
With the ANSI standards SQL:92, SQL:1999 and SQL:2003, an UNIQUE constraint must disallow duplicate non-NULL values but accept multiple NULL values.
In the Microsoft world of SQL Server however, a single NULL is allowed but multiple NULLs are not. 
From SQL Server 2008, you can define a unique filtered index based on a predicate that excludes NULLs. 
References: https://stackoverflow.com/questions/767657/how-do-i-create-a-unique-constraint-that-also-allows-nulls



Question 2

You have a data warehouse. 
You need to move a table named Fact.ErrorLog to a new filegroup named LowCost. 
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.


Correct answer: To work with this question, an Exam Simulator is required.
Explanation:
Step 1: Add a filegroup named LowCost to the database.First create a new filegroup. Step 2:The next stage is to go to the ‘Files’ page in the same Properties window and add a file to the filegroup (a filegroup always contains one or more files) Step 3:To move a table to a different filegroup involves moving the table’s clustered index to the new filegroup. While this may seem strange at first this is not that surprising when you remember that the leaf level of the clustered index actually contains the table data. Moving the clustered index can be done in a single statement using the DROP_EXISTING clause as follows (using one of the AdventureWorks2008R2 tables as an example) :CREATE UNIQUE CLUSTERED INDEX PK_Department_DepartmentID ON HumanResources.Department(DepartmentID) WITH (DROP_EXISTING=ON,ONLINE=ON) ON SECONDARY This recreates the same index but on the SECONDARY filegroup. References: http://www.sqlmatters.com/Articles/Moving%20a%20Table%20to%20a%20Different%20Filegroup.aspx
Step 1: Add a filegroup named LowCost to the database.
First create a new filegroup. 
Step 2:
The next stage is to go to the ‘Files’ page in the same Properties window and add a file to the filegroup (a filegroup always contains one or more files) 
Step 3:
To move a table to a different filegroup involves moving the table’s clustered index to the new filegroup. While this may seem strange at first this is not that surprising when you remember that the leaf level of the clustered index actually contains the table data. Moving the clustered index can be done in a single statement using the DROP_EXISTING clause as follows (using one of the AdventureWorks2008R2 tables as an example) :
CREATE UNIQUE CLUSTERED INDEX PK_Department_DepartmentID 
ON HumanResources.Department(DepartmentID) 
WITH (DROP_EXISTING=ON,ONLINE=ON) ON SECONDARY 
This recreates the same index but on the SECONDARY filegroup. 
References: http://www.sqlmatters.com/Articles/Moving%20a%20Table%20to%20a%20Different%20Filegroup.aspx



Question 3

Your company has a Microsoft SQL Server data warehouse instance. The human resources department assigns all employees a unique identifier. You plan to store this identifier in a new table named Employee. 
You create a new dimension to store information about employees by running the following Transact-SQL statement:
  
You have not added data to the dimension yet. You need to modify the dimension to implement a new column named [EmployeeKey]. The new column must use unique values. 
How should you complete the Transact-SQL statements? To answer, select the appropriate Transact-SQL segments in the answer area.


Correct answer: To work with this question, an Exam Simulator is required.









CONNECT US

Facebook

Twitter

PROFEXAM WITH A 20% DISCOUNT

You can buy ProfExam with a 20% discount!



HOW TO OPEN VCEX FILES

Use ProfExam Simulator to open VCEX files