70-767 Exam - Implementing a SQL Data Warehouse (beta)

certleader.com

Q1. You are designing a SQL Server Integration Services (SSIS) solution. The solution will contain an SSIS project that includes several SSIS packages. Each SSIS package will define the same connection managers and variables.

You have the following requirements:

•Ensure that the deployment model supports changing the content of connection strings by using parameters at execution time.

•Ensure that the deployment model automatically starts from calls to the catalog.start_execution stored procedure in the SSISDB database.

•Maximize performance at execution time.

•Minimize development effort.

You need to design a solution that meets the requirements.

What should you do? (More than one answer choice may achieve the goal. Select the BEST answer.)

A. Use a project deployment model. Modify connection manager properties to use project parameters. Ensure that the SSISDB database is created.

B. Use a project deployment model. Configure connections in an XML configuration file referenced by an environment variable that corresponds to the SQL Server environment of each SSIS package.

C. Use a package deployment model. Use a SQL Server package configuration with a common filter. Change the contents of the SSIS Configurations table at runtime.

D. Use a package deployment model. Save each SSIS package to a file share that can be accessed from all environments.

Answer: A

Q2. To ease the debugging of packages, you standardize the SQL Server Integration Services (SSIS) package logging methodology.

The methodology has the following requirements:

•Centralized logging in SQL Server

•Simple deployment

•Availability of log information through reports or T-SQL

•Automatic purge of older log entries

•Configurable log details

You need to configure a logging methodology that meets the requirements while minimizing the amount of deployment and development effort.

What should you do?

A. Deploy the package by using an msi file.

B. Use the gacutil command.

C. Create an OnError event handler.

D. Create a reusable custom logging component.

E. Use the dtutil /copy command.

F. Use the Project Deployment Wizard.

G. Run the package by using the dtexec /rep /conn command.

H. Add a data tap on the output of a component in the package data flow.

I. Run the package by using the dtexec /dumperror /conn command.

J. Run the package by using the dtexecui.exe utility and the SQL Log provider.

K. Deploy the package to the Integration Services catalog by using dtutil and use SQL Server to store the configuration.

Answer:

Explanation: References:

http://msdn.microsoft.com/en-us/library/ms140246.aspx http://msdn.microsoft.com/en-us/library/ms180378(v=sql.110).aspx

Q3. DRAG DROP

You are building a SQL Server Integration Services (SSIS) package to load data from all files that are automatically copied to a directory each night through an external FTP process.

You need to load data from all copied files to a destination table in SQL Server.

Which three steps 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.)

Answer:

Explanation:

References:

http://msdn.microsoft.com/en-us/library/ms141724.aspx http://msdn.microsoft.com/en-us/library/ms137728.aspx

Q4. You are developing a SQL Server Integration Services (SSIS) project with multiple packages to copy data to a Windows Azure SQL Database database.

An automated process must validate all related Environment references, parameter data types, package references, and referenced assemblies. The automated process must run on a regular schedule.

You need to establish the automated validation process by using the least amount of administrative effort.

What should you do?

A. Use an event handler for OnError for the package.

B. Use an event handler for OnError for each data flow task.

C. Use an event handler for OnTaskFailed for the package.

D. View the job history for the SQL Server Agent job.

E. View the All Messages subsection of the All Executions report for the package.

F. Store the System::SourceID variable in the custom log table.

G. Store the System::ServerExecutionID variable in the custom log table.

H. Store the System::ExecutionInstanceGUID variable in the custom log table.

I. Enable the SSIS log provider for SQL Server for OnError in the package control flow.

J. Enable the SSIS log provider for SQL Server for OnTaskFailed in the package control flow.

K. Deploy the project by using dtutil.exe with the /COPY DTS option.

L. Deploy the project by using dtutil.exe with the /COPY SQL option.

M. Deploy the .ispac file by using the Integration Services Deployment Wizard.

N. Create a SQL Server Agent job to execute the SSISDB.catalog.validate_project stored procedure.

O. Create a SQL Server Agent job to execute the SSISDB.catalog.validate_package stored procedure.

P. Create a SQL Server Agent job to execute the

SSISDB.catalog.create_execution and SSISDB.catalog.start_execution stored procedures.

Q. Create a table to store error information. Create an error output on each data flow destination that writes OnError event text to the table.

R. Create a table to store error information. Create an error output on each data flow destination that writes OnTaskFailed event text to the table.

Answer: N

Q5. You are designing a data warehouse with two fact tables. The first table contains sales per month and the second table contains orders per day.

Referential integrity must be enforced declaratively.

You need to design a solution that can join a single time dimension to both fact tables. What should you do?

A. Create a view on the sales table.

B. Partition the fact tables by day.

C. Create a surrogate key for the time dimension.

D. Change the level of granularity in both fact tables to be the same.

Answer: D

Q6. HOTSPOT

You are developing a data flow to load sales data into a fact table. In the data flow, you configure a Lookup Transformation in full cache mode to look up the product data for the sale.

The lookup source for the product data is contained in two tables.

You need to set the data source for the lookup to be a query that combines the two tables. Which page of the Lookup Transformation Editor should you select to configure the query?

To answer, select the appropriate page in the answer area.

Answer:

Explanation:

References:

http://msdn.microsoft.com/en-us/library/ms141821.aspx http://msdn.microsoft.com/en-us/library/ms189697.aspx

Q7. You are writing a SQL Server Integration Services (SSIS) package that transfers data from a legacy system.

Data integrity in the legacy system is very poor. Invalid rows are discarded by the package but must be logged to a CSV file for auditing purposes.

You need to establish the best technique to log these invalid rows while minimizing the amount of development effort.

What should you do?

A. Add a data tap on the output of a component in the package data flow.

B. Deploy the package by using an msi file.

C. Run the package by using the dtexecui.exe utility and the SQL Log provider.

D. uses the dtutil /copy command.

E. Deploy the package to the Integration Services catalog by using dtutil and use SQL Server to store the configuration.

F. Create an OnError event handler.

G. uses the Project Deployment Wizard.

H. Use the gacutil command.

I. Create a reusable custom logging component.

J. Run the package by using the dtexec /rep /conn command.

K. Run the package by using the dtexec /dumperror /conn command.

Answer: A

Explanation: 

Reference:

http://www.rafael-salas.com/2021/01/ssis-2021-quick-peek-to-data-taps.html

http://msdn.microsoft.com/en-us/library/hh230989.aspx http://msdn.microsoft.com/en-us/library/jj655339.aspx

Q8. HOTSPOT

You are developing a SQL Server Integration Services (SSIS) package. An Execute SQL task in the package checks product stock levels and sets a package variable named InStock to TRUE or FALSE depending on the stock level found.

After the successful execution of the Execute SQL task, one of two data flow tasks must run, depending on the value of the InStock variable.

You need to set the precedence constraints.

Which value for the evaluation operation should you use? (To answer, select the appropriate option for the evaluation operation in the answer area.)

Answer:

Q9. You develop and deploy a SQL Server Integration Services (SSIS) package. The package is stored in the file system.

You need to execute the package without importing it to the SSIS server.

What should you use to execute the package? (Each correct answer presents a complete solution. Choose all that apply.)

A. catalog.start_package

B. dtexec

C. SQL Server Management Studio

D. SQL Server Agent

Answer: B,D

Explanation:

Ref: http://technet.microsoft.com/en-us/library/ms141708(v=sql.110).aspx

Q10. DRAG DROP

You are creating a sales data warehouse. When a product exists in the product dimension, you update the product name. When a product does not exist, you insert a new record.

In the current implementation, the DimProduct table must be scanned twice, once for the insert and again for the update. As a result, inserts and updates to the DimProduct table take longer than expected.

You need to create a solution that uses a single command to perform an update and an insert.

How should you use a MERGE T-SQL statement to accomplish this goal? (To answer, drag the appropriate answer choice from the list of options to the correct location or locations in the answer area.

You may need to drag the split bar between panes or scroll to view content.)

Answer:

Explanation:

References:

http://msdn.microsoft.com/en-us/library/bb510625.aspx http://msdn.microsoft.com/en-us/library/cc280522.aspx