70-767 Premium Bundle

70-767 Premium Bundle

Implementing a SQL Data Warehouse (beta) Certification Exam

4.5 
(24300 ratings)
0 QuestionsPractice Tests
0 PDFPrint version
November 23, 2024Last update

Microsoft 70-767 Free Practice Questions

Q1. You are developing a SQL Server Integration Services (SSIS) package.

You need to design a package to change a variable value during package execution by using the least amount of development effort.

What should you use?

A. Expression task

B. Data Cleansing transformation

C. Fuzzy Lookup transformation

D. Term Lookup transformation

E. Data Profiling task

Answer: A

Q2. 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

Q3. You are designing a SQL Server Integration Services (SSIS) package that uses the Fuzzy Lookup transformation.

The reference data to be used in the transformation does not change.

You need to reuse the Fuzzy Lookup match index to increase performance and reduce maintenance.

What should you do?

A. Select the GenerateAndPersistNewIndex option in the Fuzzy Lookup Transformation Editor.

B. Select the GenerateNewIndex option in the Fuzzy Lookup Transformation Editor.

C. Select the DropExistingMatchlndex option in the Fuzzy Lookup Transformation Editor.

D. Execute the sp_FuzzyLookupTableMaintenanceUninstall stored procedure.

E. Execute the sp_FuzzyLookupTableMaintenanceInvoke stored procedure.

Answer: A

Explanation: 

Reference: http://msdn.microsoft.com/en-us/library/ms137786.aspx

Q4. You are designing a SQL Server Integration Services (SSIS) solution that will load multiple Online Transactional Processing (OLTP) data sources into a SQL Server data mart.

You have the following requirements:

•Ensure that the process supports the creation of an exception report that details possible duplicate key values, null ratios within columns, and column-length distributions of values.

•Ensure that users can generate the exception report in an XML format.

•Use the minimum development effort.

You need to design the SSIS solution to meet the requirements. What should you do? (More than one answer choice may achieve the goal. Select the BEST answer.)

A. Use a Data Profiling task. Use a Data Flow task to extract the XML output of the Data Profiling task into a SQL Server table. Query the table to view the exceptions.

B. Use Data Flow tasks to process the clean data.

C. Use a Data Profiling task. Read the exceptions in Data Profile Viewer.

D. Design a stored procedure that examines data for common dirty data patterns. Use an Execute SQL task.

Answer: C

Q5. You are the data steward for a Business Intelligence project.

You must identify duplicate rows stored in a SQL Server table and output discoveries to a CSV file. A Data Quality Services (DQS) knowledge base has been created to support this project.

You need to produce the CSV file with the least amount of development effort. What should you do?

A. Create an Integration Services package and use a Data Profiling transform.

B. Create a custom .NET application based on the Knowledgebase class.

C. Create a data quality project.

D. Create a CLR stored procedure based on the Knowledgebase class.

E. Create a Master Data Services (MDS) business rule.

Answer: C

Explanation: 

Reference:

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

Q6. You are maintaining a Data Quality Services (DQS) environment. The production server failed and a new server has been set up. The DQS databases are restored to a new server. All the appropriate permissions are granted.

DQS users are experiencing issues connecting to the new Data Quality Server. You need to enable users to connect to the new server.

Which Surface Area Configuration property should you enable?

A. AdHocRemoteQueriesEnabled

B. SoapEndpointsEnabled

C. ClrIntegrationEnabled

D. RemoteDacEnabled

E. OleAutomationEnabled

F. XpCmdShellEnabled

Answer: C

Q7. You are developing a SQL Server Integration Services (SSIS) package to load data into a data warehouse.

You need to establish the correct order for loading each table to maximize parallel processing.

Which order should you use?

A. 1. DimCurrency, DimScenario, DimAccount in parallel

2. DimOrganization

3. FactFinance

B. 1. DimCurrency, DimOrganization in parallel

2. DimScenario, DimAccount in parallel

3. FactFinance

C. 1. DimCurrency, FactFinance in parallel

2. DimOrganization, DimScenario, DimAccount in parallel

D. 1. FactFinance

2. DimOrganization, DimScenario, DimAccount in parallel

3. DimCurrency

E. 1. DimCurrency

2. DimOrganization

3. DimScenario, DimAccount in parallel

4. FactFinance

Answer: A

Explanation: References: http://msdn.microsoft.com/en-us/library/ms139892.aspx http://msdn.microsoft.com/en-us/library/ms141261.aspx

Q8. DRAG DROP

You develop a SQL Server Integration Services (SSIS) project by using the Project Deployment model.

The project contains many packages. It is deployed on a server named Development1. The project will be deployed to several servers that run SQL Server 2021.

The project accepts one required parameter. The data type of the parameter is a string.

A SQL Agent job is created that will call the master.dtsx package in the project. A job step is created for the SSIS package.

The job must pass the value of an SSIS Environment Variable to the project parameter. The value of the Environment Variable must be configured differently on each server that

runs SQL Server. The value of the Environment Variable must provide the server name to the project parameter.

You need to configure SSIS on the Development1 server to pass the Environment Variable to the package.

Which four actions should you perform in sequence by using SQL Server Management Studio? (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/hh479588.aspx http://msdn.microsoft.com/en-us/library/hh213230.aspx http://msdn.microsoft.com/en-us/library/hh213214.aspx http://sqlblog.com/blogs/jamie_thomson/archive/2010/11/13/ssis-server-catalogs-environments-environment-variables-in-ssis-in-denali.aspx

Q9. You manage a SQL Server Master Data Services (MDS) environment.

A new application requires access to the product data that is available in the MDS repository.

You need to design a solution that gives the application access to the product data with the least amount of development effort.

What should you do?

A. Create a Subscription View in MDS.

B. Access the product entity tables in the MDS database directly.

C. Use SQL Server Integration Services (SSIS) to extract the data and put it in a staging database.

D. Use change data capture on the product entity tables.

Answer: A

Q10. You are developing a SQL Server Integration Services (SSIS) package to load data into a Windows Azure SQL Database database. The package consists of several data flow tasks.

The package has the following auditing requirements:

✑ If a data flow task fails, a Transact-SQL (T-SQL) script must be executed.

✑ The T-SQL script must be executed only once per data flow task that fails, regardless of the nature of the error.

You need to ensure that auditing is configured to meet these requirements. 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.va!idate_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 OnTaskFailed event text to the table.

Answer: C

Q11. You are developing a SQL Server Integration Services (SSIS) package.

To process complex scientific data originating from a SQL Azure database, a custom task component is added to the project.

You need to ensure that the custom component is deployed on a test environment correctly.

What should you do?

A. Add an OnError event handler to the SSIS project.

B. Open a command prompt and run the gacutil command.

C. Configure the SSIS solution to use the Project Deployment Model.

D. Open a command prompt and run the dtexec /dumperror /conn command.

E. Configure the output of a component in the package data flow to use a data tap.

F. Open a command prompt and execute the package by using the SQL Log provider and running the dtexecui.exe utility.

G. Open a command prompt and run the dtexec /rep /conn command.

H. Run the dtutil command to deploy the package to the SSIS catalog and store the configuration in SQL Server.

I. Use an msi file to deploy the package on the server.

J. Open a command prompt and run the dtutil /copy command.

K. Create a reusable custom logging component and use it in the SSIS project.

Answer: B

Explanation: 

Reference:

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

Q12. 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

Q13. You develop a SQL Server Integration Services (SSIS) package that imports SQL Azure data into a data warehouse every night.

The SQL Azure data contains many misspellings and variations of abbreviations. To import the data, a developer used the Fuzzy Lookup transformation to choose the closest- matching string from a reference table of allowed values. The number of rows in the reference table is very large.

If no acceptable match is found, the Fuzzy Lookup transformation passes a null value.

The current setting for the Fuzzy Lookup similarity threshold is 0.50. Many values are incorrectly matched.

You need to ensure that more accurate matches are made by the Fuzzy Lookup transformation without degrading performance.

What should you do?

A. Change the Exhaustive property to True.

B. Decrease the maximum number of matches per lookup.

C. Change the similarity threshold to 0.85.

D. Increase the maximum number of matches per lookup.

Answer: C

Q14. You are creating a SQL Server Master Data Services (MDS) model for a company.

The source data for the company is stored in a single table that contains the manager-to- subordinate relationships.

You need to create a hierarchy representing the organizational structure of the company. Which hierarchy type should you use?

A. Natural

B. Explicit

C. Parent

D. Recursive

Answer: D

Explanation: 

Reference: http://technet.microsoft.com/en-us/library/ff487006.aspx Reference: http://msdn.microsoft.com/en-us/library/ee633747.aspx Reference: http://technet.microsoft.com/en-us/library/ee633759.aspx

Q15. You are designing a fact table in a SQL Server database. The fact table must meet the following requirements:

•Include a columnstore index.

•Allow users to choose up to 10 dimension tables and up to five facts at one time.

•Maximize performance of queries that aggregate measures by using any of the 10 dimensions.

•Support billions of rows.

•Use the most efficient design strategy.

You need to design the fact table to meet the requirements. What should you do? (More than one answer choice may achieve the goal. Select the BEST answer.)

A. Design a fact table with 5 dimensional key columns and 10 measure columns. Place the columnstore index on the dimensional key columns.

B. Design a fact table with 5 dimensional key columns and 10 measure columns. Place the columnstore index on the measure columns.

C. Design a fact table with 10 dimensional key columns and 5 measure columns. Place the columnstore index on the dimensional key columns and the measure columns.

D. Design a fact table with 10 dimensional key columns and 5 measure columns. Place the columnstore index on only the measure columns.

Answer: C

Q16. You maintain a SQL Server Integration Services (SSIS) package. The package was developed by using SQL Server 2008 Business Intelligence Development Studio (BIDS).

The package includes custom scripts that must be upgraded. You need to upgrade the package to SQL Server 2021. Which tool should you use?

A. SQL Server dtexec utility (dtexec.exe)

B. SQL Server DTExecUI utility (dtexecui.exe)

C. SSIS Upgrade Wizard in SQL Server Data Tools

D. SQL Server Integration Services Deployment Wizard

Answer: C

Explanation: Use the SSIS Package Upgrade Wizard to upgrade SQL Server 2005 Integration Services (SSIS) packages and SQL Server 2008 Integration Services (SSIS) packages to the package format for the current (2021) release of SQL Server Integration Services.

Q17. DRAG DROP

A SQL Server Integration Services (SSIS) project has been deployed to the SSIS catalog. The project includes a project Connection Manager to connect to the data warehouse.

The SSIS catalog includes two Environments:

✑ Test

✑ Production

Each Environment defines a single Environment Variable named ConnectionString of type string. The value of each variable consists of the connection string to the test or production data warehouses.

You need to execute deployed packages by using either of the defined Environments. 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.)

Answer:

Explanation:

Box 1:

Box 2:

Box 3:

We need to add references to the Test and Production environments to the project. Then we can map the variables in the project to the environment variables defined in the environments.

When you execute a package in a project that references multiple environments (Test and Production in this case), we can select which environment the package runs under.

START 70-767 EXAM