Microsoft 70-463 Practice Questions 3
Master SQL Server Integration Services (SSIS) with This Quiz
Test your knowledge of SQL Server Integration Services (SSIS) with this comprehensive quiz. Perfect for data professionals, this quiz covers key topics, including data flow tasks, error handling, and managing data integrity. Whether you're preparing for a certification exam or looking to refresh your skills, this quiz is tailored for you.
- 30 carefully crafted questions
- Covering various SSIS fun
ctionalities - Score and review your answers instantly
For multichoice questions the points are divided among the correct answers.
For multichoice questions the points are divided among the correct answers.
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?
You administer a Microsoft SQL Server 2012 database. The database contains a table named Employee. Part of the Employee table is shown in the exhibit.
---------
EmployeeID int
EmployeeNum char(10)
LastName nvarchar(200)
FirstName nvarchar(200)
MiddleName nvarchar(200)
DateHired date
DepartmentID int
JobTitle varchar(200)
ReportsToID int
---------
EmployeeID(pk) : Uniquely identifies the employee record in the table. Used throughout the database by all the other tables that reference the Employee table.
EmployeeNum : An alphanumeric value calculated according to company requirements. Has to be unique within the Employee table. Exists only within the Employee table
DepartmentID : References another table named Department that contains data for each department in the company.
ReportsToID : Contains the EmployeeID of the manager to whom an employee reports.
Confidential information about the employees is stored in a separate table named EmployeeData. One record exists within EmployeeData for each record in the Employee table. You need to assign the appropriate constraints and table properties to ensure data integrity and visibility.
On which column in the Employee table should you a create a unique constraint?
You administer a Microsoft SQL Server 2012 database. The database contains a table named Employee. Part of the Employee table is shown in the exhibit.
---------
EmployeeID int
EmployeeNum char(10)
LastName nvarchar(200)
FirstName nvarchar(200)
MiddleName nvarchar(200)
DateHired date
DepartmentID int
JobTitle varchar(200)
ReportsToID int
---------
EmployeeID(pk) : Uniquely identifies the employee record in the table. Used throughout the database by all the other tables that reference the Employee table.
EmployeeNum : An alphanumeric value calculated according to company requirements. Has to be unique within the Employee table. Exists only within the Employee table
DepartmentID : References another table named Department that contains data for each department in the company.
ReportsToID : Contains the EmployeeID of the manager to whom an employee reports.
Confidential information about the employees is stored in a separate table named EmployeeData. One record exists within EmployeeData for each record in the Employee table. You need to assign the appropriate constraints and table properties to ensure data integrity and visibility.
On which column in the Employee table should you use an identity specification to include a seed of 1,000 and an increment of 1?
You are the administrator for a Data Quality Server. You are adding a user who must have permission to:
Edit and execute a project
View the activity monitoring data
This user must not be able to:
Perform any kind of knowledge management
Create or change a knowledge base
Terminate an activity or perform administrative duties
You need to develop a Transact-SQL (T-SQL) script to meet these requirements. What should you do? Choose the two items that complete the script.
Use [master]
GO
Create Login [MYDOMAIN\dqsuser] From Windows With Default_Database=[ma.....
GO
USE _______________
GO
Create User [MYDOMAIN\dqsuser] For Login [MYDOMAIN\dqsuser]
GO
Alter Role __________________ Add Member [MYDOMAIN\dqsuser]
GO
A new dedicated server is used to execute resource-intensive SQL Server Integration Services (SSIS) 2012 packages. The environment that you are deploying the packages to has the following constraints:
The operating system is Windows Server 2008 R2.
The SSIS packages are stored in the SSIS catalog.
Some of these SSIS packages use 32-bit custom components.
You need to install only the components that are required to deploy and run the packages on the new server. Which three actions should you perform in sequence?
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. In the Precedence Constraint Editor, which value for the evaluation operation should you use?
You are designing a data warehouse for a fresh food distribution business that stores sates by individual product. It stores sales targets by product category. Products are classified into subcategories and categories. Each product is included in only a single product subcategory, and each subcategory is included in only a single category. The data warehouse will be a data source for an Analysis Services cube. The data warehouse contains two fact tables:
factSales, used to record daily sales by product
factProductTarget, used to record the monthly sales targets by product category
Reports must be developed against the warehouse that reports product sales by product, category and subcategory, and product sales targets. You need to design the product dimension. The solution should use as few tables as possible while supporting all the requirements. What should you do?
The database administrator is concerned about the rapid growth of the database and users experience poor reporting performance against this database. Reporting requirements have recently changed and the only remaining report that uses this fact table reports sales by product name, sale month, and sale year. No other reports will be created against this table. You need to reduce the report processing time and minimize the growth of the database. What should you do?
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?
You want to export data from the table to a flat file by using the SQL Server Import and Export Wizard. You need to ensure that the following requirements are met:
The first row of the file contains the first row of data.
Each record is of the same length.
The date follows the U.S. Date format.
The file supports international characters.
Which options in the wizard do you need to modify?
Current Wizard Configuration:
Destination: Flat File Destination
File name: C:\Employee.csv
Local: English (United States)
Code page: 1252 (ANSI Latin I)
Format: <blank>
Text qualifier: <none>
Column names in the first row: unchecked
You are designing a SQL Server Integration Services (SSIS) package. The package moves order-related data to a staging table named Order. Every night the staging data is truncated and then all the recent orders from the online store database are inserted into the staging table. Your package must meet the following requirements:
If the truncate operation fails, the package execution must stop and report an error.
If the Data Flow task that moves the data to the staging table fails, the entire refresh operation must be rolled back.
For auditing purposes, a log entry must be entered in a SQL log table after each execution of the Data Flow task.
The TransactionOption property for the package is set to Required. You need to design the package to meet the requirements. How should you design the control flow for the package? Which options filling the designated spaces?
PACKAGE:
Truncate Staging Order Table [ new option here ]
\/
[ constraint setting here ]
\/
Move Data to Staging Order Table [ new option here ]
\/
[ constraint setting here ]
\/
Log Execution [ new option here ]
You are developing a SQL Server Integration Services (SSIS) package to insert new data into a data mart. The package uses a Lookup transformation to find matches between the source and destination. The data flow has the following requirements:
New rows must be inserted.
Lookup failures must be written to a flat file.
In the Lookup transformation, the setting for rows with no matching entries is set to Redirect rows to no match output. You need to configure the package to direct data into the correct destinations. How should you design the data flow outputs? Which options fill in the designated areas?
OLE DB Source
\/
[ item goes here ]
\/
Lookup
\/ \/
[ item goes here ] [ item goes here ]
\/ \/
OLE DB Destination Flat File Destination
\/
Load Products
\/
Set Batch Success
VALUES (Source.ProductID, Source.ProductName, Source.ProductColor, Source.ProductCategory)
You are developing a SQL Server Integration Services (SSIS) package that imports unsorted data into a data warehouse hosted on SQL Azure. You have the following requirements:
A destination table must contain all of the data in two source tables.
Duplicate records must be inserted into the destination table.
You need to develop a data flow that imports the data while meeting the requirements. How should you develop the data flow?
Table Test 1 Table Test 2
\/ \/
[ item goes here ]
\/
Table Test 3
You are developing a SQL Server Integration Services (SSIS) package that imports data into a data warehouse. You are developing the part of the SSIS package that populates the ProjectDates dimension table. The business key of the ProjectDates table is the ProjectName column. The business user has given you the dimensional attribute behavior for each of the four columns in the ProjectDates table:
ExpectedStartDate – New values should be tracked over time.
ActualStartDate – New values should not be accepted.
ExpectedEndDate – New values should replace existing values.
ActualEndDate – New values should be tracked over time.
You use the SSIS Slowly Changing Dimension Transformation. You must configure the Change Type value for each source column. Which settings should you select for the ExpectedEndDate?
You administer a Microsoft SQL Server database. You want to import data from a text file to the database. You need to ensure that the following requirements are met:
Data import is performed by using a stored procedure.
Data is loaded as a unit and is minimally logged.
Which data import command and recovery model should you choose?
You are editing a SQL Server Integration Services (SSIS) package that uses checkpoints.
The package performs the following steps:
- Download a sales transaction file by using FTP.
- Truncate a staging table.
- Load the contents of the file to the staging table.
- Merge the data with another data source for loading to a data warehouse.
FTP Sales Data
Truncate Staging Table
\/
Load Sales to Staging
\/
Merge Sales
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:
Development
QA
Each Environment defines a single Environment Variable named ConnectionString of type string. The value of each variable consists of the connection string to the development or QA data warehouses. You need to be able to execute deployed packages by using either of the defined Environments. Which three actions should you perform in sequence?
You use SQL Server Integration Services (SSIS) for extract, transformation, load (ETL) processing.
Issues concerning addresses are discovered in the data warehouse that you manage. Validation must separate the addresses into three categories:
Valid addresses
Autocorrected addresses
Invalid addresses
You need to enhance the SSIS packages to perform address validation by using an external service. Which transformation should you use?
Package:
OLE DB Source
\/
[ new item here ]
\/
Conditional Split
\/ \/ \/
Valid Addresses | Autocorrected Addresses | Invalid Addresses
You are designing a SQL Server Integration Services (SSIS) package configuration strategy. The package configuration must meet the following requirements:
Include multiple properties in a configuration.
Support several packages with different configuration settings.
You need to select the appropriate configuration. Which configuration type should you use?
You are designing a SQL Server Integration Services (SSIS) package configuration strategy. The package configuration must meet the following requirements:
Include multiple properties in a configuration.
Force packages to load all settings in the configuration.
Support Encrypting File System (EFS) formats.
You need to select the appropriate configuration. Which configuration type should you use?
You are creating a SQL Server Integration Services (SSIS) package to populate a fact table from a source table. The fact table and source table are located in a SQL Azure database. The source table has a price field and a tax field. The OLE DB source uses the data access mode of Table. You have the following requirements:
The fact table must populate a column named TotalCost that computes the sum of the price and tax columns.
Before the sum is calculated, any records that have a price of zero must be discarded.
You need to create the SSIS package in SQL Server Data Tools. In what sequence should you order four of the listed components for the data flow task?
You are designing a SQL Server Integration Services (SSIS) package to execute 12 Transact-SQL (T-SQL) statements on a SQL Azure database. The T-SQL statements may be executed in any order. The T-SQL statements have unpredictable execution times. You have the following requirements:
The package must maximize parallel processing of the T-SQL statements.
After all the T-SQL statements have completed, a Send Mail task must notify administrators.
You need to design the SSIS package. Which three actions should you perform in sequence?
The Insert New Orders Data Flow task must meet the following requirements:
Usage of the tempdb database should not be impacted.
Concurrency should be maximized, while only reading committed transactions.
If the task fails, only that task needs to be rolled back.
You need to configure the Insert New Orders Data Flow task to meet the requirements. How should you configure the transaction properties (IsolationLevel and TransactionOption)?
A SQL Server Integration Services (SSIS) package named DataFeed interacts with an external vendor data feed. The package is executed several times a day, either as part of other packages’ control flow or by itself. The external data feed is unreliable because network failures and slow response times are frequent. The package is currently deployed on the file system. To analyze the reliability of the external data feed, you must collect execution data. Every time the DataFeed package is executed, the following information must be logged:
Start Time
End Time
Execution Result
Execution Duration
You need to design a logging solution that meets the requirements by using the least amount of administrative and development effort. Which three actions should you perform in sequence?
You are designing a SQL Server Integration Services (SSIS) package that uploads a file to a table named Orders in a SQL Azure database. The company’s auditing policies have the following requirements:
An entry must be written to a dedicated SQL Server log table named OrderLog.
The entry must be written as soon as the file upload task completes.
You need to meet the company’s policy requirements. Which event handler should you use?