Msbi Questioins From Book1

17
1) You are designing a SQL Server Integration Services (SSIS) package. You have two Execute SQL tasks contained in a sequence container. TransactionOption for the sequence container is set to Supported. When the package runs, one Execute SQL task fails and the other Execute SQL task succeeds. What is the outcome of the package? A) The package fails Explanation: The TransactionOption setting of Supported indicates that the container does not start a transaction but inherits a transaction if there is a transaction in a parent container. If the TransactionOption setting is set to Required, both tasks need to succeed for the sequence container to succeed and not roll back. Because one of the tasks failed, the entire package fails. 2) You want to create subscriptions for a set of reports, and need to determine which subscriptions should be data-driven subscriptions. Choose the scenarios that are better suited for a data-driven subscription. Explanation: A data-driven subscription is preferred when the list of subscribers is dynamic because the subscriber data is retrieved from a query at run time. Filtering report data at run time is supported by only a data-driven subscription. Standard subscriptions require static data. The output format is stored as part of the subscriber data retrieved from a query at run time. Individual users cannot subscribe to a data-driven subscription, which is normally managed by a report administrator. 3) You are troubleshooting a report that contains embedded custom code and you need to review the code and check for errors. Which tools can be used to debug the custom code? Ans) Visual Studio 2008 Explanation: A custom assembly must be debugged in Visual Studio 2008. BIDS Report Designer, Report Builder, and SQL Server Management Studio do not provide the capability to debug custom code. 4) You are managing some SQL Server Integration Services (SSIS) packages. You currently have 15 packages in a project using a shared data source that points to the development database server. You do not have package configurations set up. You have updated the shared data source to point to the production database server. You want to run one of the packages by using the execute package utility, dtexecui. What must you do to set the connection string in the package to the production server? Exp: Because you wish to change the connections to point to the new server and you do not have configurations set up, you must update the packages. Connection Manager stores the connection information at the package level. Changes to connections that are based on shared data sources will occur only when the package is opened in BIDS. You would not need to delete each connection because each package prompts you to make the change when the package is opened. 5) You are managing several SQL Server Integration Services (SSIS) packages. You have deployed several of the packages to a SQL Server package store. Which database on the SQL Server instance does SQL Server use to store the SSIS packages? Exp:When packages are stored in a SQL Server database, they are physically stored in the msdb database in a table called dbo.sysssispackages. Packages deployed to msdb can be managed through SQL Server 2008 Management Studio (SSMS). When the msdb database is backed up, all the packages deployed to msdb are also backed up. The SSIS database is not a Microsoft created database. The master and tempdb are SQL Server system databases and are not used to store SSIS packages. 6) Which configuration property must be added to the Report Manager Web.config file to configure it for an Internet-facing site when the Report Manager and report server are installed on the same server? A) <defaultProxy enabled="false" />

Transcript of Msbi Questioins From Book1

Page 1: Msbi Questioins From Book1

1) You are designing a SQL Server Integration Services (SSIS) package. You have two Execute SQL tasks contained in a sequence container. TransactionOption for the sequence container is set to Supported. When the package runs, one Execute SQL task fails and the other Execute SQL task succeeds. What is the outcome of the package?

A) The package failsExplanation: The TransactionOption setting of Supported indicates that the container does not start a transaction but inherits a transaction if there is a transaction in a parent container. If the TransactionOption setting is set to Required, both tasks need to succeed for the sequence container to succeed and not roll back. Because one of the tasks failed, the entire package fails.

2) You want to create subscriptions for a set of reports, and need to determine which subscriptions should be data-driven subscriptions.Choose the scenarios that are better suited for a data-driven subscription.

Explanation: A data-driven subscription is preferred when the list of subscribers is dynamic because the subscriber data is retrieved from a query at run time. Filtering report data at run time is supported by only a data-driven subscription. Standard subscriptions require static data. The output format is stored as part of the subscriber data retrieved from a query at run time.Individual users cannot subscribe to a data-driven subscription, which is normally managed by a report administrator.

3) You are troubleshooting a report that contains embedded custom code and you need to review the code and check for errors.Which tools can be used to debug the custom code?

Ans) Visual Studio 2008Explanation: A custom assembly must be debugged in Visual Studio 2008. BIDS Report Designer, Report Builder, and SQL Server Management Studio do not provide the capability to debug custom code.

4) You are managing some SQL Server Integration Services (SSIS) packages. You currently have 15 packages in a project using a shared data source that points to the development database server. You do not have package configurations set up. You have updated the shared data source to point to the production database server. You want to run one of the packages by using the execute package utility, dtexecui.What must you do to set the connection string in the package to the production server?

Exp: Because you wish to change the connections to point to the new server and you do not have configurations set up, you must update the packages. Connection Manager stores the connection information at the package level. Changes to connections that are based on shared data sources will occur only when the package is opened in BIDS. You would not need to delete each connection because each package prompts you to make the change when the package is opened.

5) You are managing several SQL Server Integration Services (SSIS) packages. You have deployed several of the packages to a SQL Server package store. Which database on the SQL Server instance does SQL Server use to store the SSIS packages?

Exp:When packages are stored in a SQL Server database, they are physically stored in the msdb database in a table called dbo.sysssispackages. Packages deployed to msdb can be managed through SQL Server 2008 Management Studio (SSMS). When the msdb database is backed up, all the packages deployed to msdb are also backed up.The SSIS database is not a Microsoft created database. The master and tempdb are SQL Server system databases and are not used to store SSIS packages.

6) Which configuration property must be added to the Report Manager Web.config file to configure it for an Internet-facing site when the Report Manager and report server are installed on the same server? A) <defaultProxy enabled="false" />

Exp: If you are using Report Manager as a front-end application for Internet deployment and the report server is also installed on the same computer, you must specify a Web.config setting that allows Report Manager to bypass the proxy server when sending requests to a local report server that is installed on the same computer.

The Web.config setting is the System.NET defaultProxy network setting. By default, defaultProxy is disabled in the Web.config file for Report Manager. This is the recommended configuration when Report Manager and the report server are deployed together on the same computer.

If you upgraded from an earlier version of Reporting Services, the Report Manager Web.config file does not include the defaultProxy configuration setting. You can add and set the defaultProxy setting to bypass the proxy server for installations in which Report Manager and the report server are running on the same computer.

7) You are managing several SQL Server Integration Services (SSIS) packages. You have deployed five SSIS packages to a SQL Server database. Which SQL Server tool would you use to view the list of five packages that are now stored in the SQL Server database?

Exp: After packages are stored to a SQL Server database, they are managed by using SQL Server Management Studio (SSMS). In SSMS, you can connect directly to the instance of SSIS to view the packages saved to the package store.

SQL Server Configuration Manager helps to manage the services and features related to a SQL Server 2008 installation but does not manage down to the package level for SSIS.

Page 2: Msbi Questioins From Book1

BIDS cannot connect to SSIS to see packages that are deployed. DTUtil is a command-line utility only; it can handle deployment but cannot show deployed packages.

8) You are creating a report that requires users to be able to create a subscription.What type of data source credentials must be used to enable users to subscribe to the report?

Exp :Report subscriptions require stored credentials or no credentials if the database does not require authentication. The subscription will run as a background process. The Report Server agent must retrieve the credentials from the report database. Prompted credentials cannot be used because the report execution is not an interactive process. Windows Authentication is not applicable because there is no user context at the time of report execution.

8) you are deploying a SQL Server Integration Services (SSIS) package. The package contains a direct XML configuration that sets the connection string of the SQL connection. The XML file resides on C:\SSIS. You have deployed the package and XML file to the D:\SSIS folder of the production server.When you execute the package, you receive an error stating Cannot Acquire Connection from Connection Manager. Which steps should you take to resolve this error?

Exp: A direct XML configuration will look at a specific location for the XML file. Therefore, when the package runs and the file is not there, the XML file cannot be loaded. This will either cause a connection failure or the wrong connection to be used. To resolve this, the XML file needs to be in the same location as on the development server. Simply moving the package to the same location will not resolve the problem.

Opening the package in BIDS after it has been deployed requires first that a project is created; changing the connection will defeat the purpose of using an XML file configuration. If the folder path changes on each server, an indirect configuration should be used.

9) ou have created an application that uses the WinForms ReportViewer control in local processing mode.Which export formats are supported in local processing mode?

Exp: Local processing mode supports only a subset of the export formats available in Reporting Services. The supported formats are Excel and PDF. Word and XML formats are not supported in local processing mode. Remote processing mode would have to be used to enable these formats.

10) you need to customize the rendering properties for rendering reports to Excel. Which Reporting Services configuration file controls the Excel rendering extension at run time?

Exp: All the rendering extension run time properties are stored in RSReportServer.config.Previous versions of SQL Server Integration Services used RSWebApplication.config. This file is no longer used in SSRS 2008.ReportingServicesService.exe.config stores tracing and logging options for the Report Server service.RSReportDesigner.config stores the configuration for the Report Designer. Design time properties of the rendering extensions are stored in this file.

11) You are designing a SQL Server Integration Services (SSIS) package, which you plan to deploy to multiple server environments. Each server might have a different file directory structure. You wish to configure the SQL Server connection in the package.

How would you configure the package with the least amount of effort? A) Create an environment variable on each server. Set the environment variable to point to the location of an XML configuration. Open the package in BIDS. Create an XML configuration and point the configuration to the environment variable.

Exp: The XML configuration can use an indirect configuration to locate the XML file. This allows an XML configuration file to exist in different locations on different servers.

If a SQL Server configuration is used to point to an environment variable, the connection string of the SQL Server connection, not the name of the SQL Server connection, must be stored.

The SQL Server configuration is not the best option because each server has a different SQL Server instance. The package must be edited to point to the correct instance.

Changing the connection during deployment does not resolve the goal of updating the XML file configuration's location.

12) You are managing several SQL Server Integration Services (SSIS) packages.

You have deployed several packages to a SQL Server instance. You open SQL Server Management Studio (SSMS), and you want to execute one of the packages stored in the package store. Which utility will SSMS use to execute the package?

Exp: SSMS will use DTExecUI to execute packages stored in a package store. To perform this operation, the SSIS service must be started. When you right-click on a package and choose Run Package in SSMS, DTExecUI opens and is configured with the package you choose.

Page 3: Msbi Questioins From Book1

DTExec is the command-line tool to execute SSIS packages but is not directly used by the SSMS to run packages.

BIDS is used to develop SSIS packages before they are deployed to SQL Server or the file system but is not used to execute packages after they are deployed.

SQL Server Agent can be used to execute an SSIS package on a scheduled basis but, when connected to SSIS through SSMS, SQL Server Agent is not used to execute a package.

13) you are evaluating the reporting requirement for a new Business Intelligence project. Which scenarios would allow you to use a cached snapshot to meet the requirement?

Exp: Reports with static or infrequently changing data are good candidates for snapshot use. Historical versions of reports can be created by creating a snapshot every time the report runs.

Reports using row-level security cannot be used as snapshots because the report data will be different for each user requesting the report.

One of the limitations of snapshots is that they cannot be used with reports connecting to a data source through Windows authentication.

14) You are designing an SSIS package. The control flow of the package contains two sequence containers. Inside sequence container A is an Execute SQL task and a Data Flow task. Inside sequence container B are two File System tasks.You need to create a variable that can be seen by the Execute SQL task and the Data Flow task but not by the File System tasks.Which kind of variable do you create?

Exp: he scope of a variable defines when the variable can be seen. If Scope is set to Sequence Container A, any object outside of Sequence Container A cannot see the variable.

There is no reason to create two variables in this scenario.

The Namespace property is set to either System or User. Setting this to another value would not change its permissions.

Setting an expression of the variable would not change whether the variable can be seen.

15) You are managing several SQL Server Integration Services (SSIS) packages. You would like to schedule a package to run in SQL Server Agent. Which of the following is NOT a scheduling option in SQL Server Agent?

Exp: A SQL Server Agent job can be scheduled to run on the following scheduling options: On a recurring schedule, one time, when SQL Server Agent starts, and whenever the CPU usage becomes idle.

16) You are deploying the packages in a SQL Server Integration Services (SSIS) project by using a deployment utility.

You have specified a SQL Server deployment. The deployment utility has deployed the XML configuration file with the packages.

Where is the configuration file saved? A) In the location specified on the Installation Folder page of the Package Installation Wizard

Exp: You have specified a SQL Server deployment, so the packages will be stored in the msdb database. The configuration file is installed on the location specified on the Installation Folder page of the Package Installation Wizard when the wizard asks for the file system location of dependent files.

After you specify the location, the package installation wizard will also update any packages in the project that reference the XML configuration file so that when the packages are executed, they will have the correct path to the configuration files.

17) You are deploying a set of SQL Server Integration Services (SSIS) packages to multiple servers.

The packages will be executed on the different servers, but you would like to centralize the configuration so that you can share package properties such as connection strings and variable values. You do not want to manage multiple copies of the configuration.Which type of SSIS configuration should you use? A) The SQL Server configuration

Exp: The SQL Server configuration would be effective because it would allow a central database table where configuration entries could be stored and shared across servers and packages.

The XML File configuration and Environment Variable configuration options are machine dependent, so you would have multiple copies of the configuration, one for each machine, and this configuration would not be centralized.

The Parent Package Variable Configuration option is used when a package executes another package by using the Execute Package task and would not apply to centralizing configuration properties.

18) Within a Reporting Services report, a dataset contains information related to the data used in the report.

Page 4: Msbi Questioins From Book1

Which of the following items are stored in the dataset definition?

Exp: A report dataset contains the query, a reference to the data source used, and a list of the fields used in the report. Additional options such as character sensitivity and collation information are also stored in the definition.

The report name and Report Server name are not included in the dataset definition.

19) Which Configuration Manager property settings deploy reports in a BIDS project?

Exp: The Deploy property in the Configuration Manager must be selected to deploy reports to the server. If Build is selected and Deploy is selected, the project will build and deploy the reports to the server. If Build is not selected and Deploy is selected, the project will not build but will still deploy the reports to the server.If Build is selected and Deploy is not selected, the project will build, but the reports will not be deployed to the server.If Build is not selected and Deploy is not selected, the project will not build, and the reports will not be deployed to the server.

20) you have added a Lookup Transformation. Some rows might not be found during the lookup. You would like these rows to be sent to a text file.

How would you configure this? A} Connect the green data path from the Lookup transformation to Flat File Destination. When prompted to choose an output, select the Lookup No Match Output option.

Exp: in SQL Server 2008 Integration Services, the Lookup transformation can send unmatched rows through the data path output, using Lookup No Match Output.

Setting Error Output to Redirect Row sends other errors out the red output path; this option does not send the unmatched rows to a text file. This feature is changed in SQL Server 2008 Integration Services from how it functioned in SQL Server 2005 Integration Services.21) You are designing several SQL Server Integration Services (SSIS) packages.You need to create a deployment utility to move the packages to the production server.Which step must you perform to create the deployment utility? A) Open the SSIS project properties and set CreateDeploymentUtility to True. Build the SSIS project.

Exp: If the SSIS project property CreateDeploymentUtility is set to True, when the project is built a deployment utility will be built under the project path \bin\Deployment directory. The deployment utility includes the project packages, dependent files (XML Configuration Files), and an SSIS Manifest file. After the deployment utility is deployed, the manifest file can be executed, and the package installation wizard will execute.

The UpdateObjects property for the package does not relate to deployment and is used to determine whether a new version of a component should be used. The SSIS Import and Export Wizard will generate a new package, but that does not relate to package deployment.

22) You want to present report information filtered by category. What is the difference between using parameters in the report query and filtering the information in the dataset? Ans) Filtering the dataset enables you to use a cached report that reuses the same data., Filtering the dataset might be slower than using parameters when you're not using cached reports.

Exp: Filtering the dataset enables SQL Server Reporting Services to query all the data and later filter and cache the information. The advantage of filtering the dataset is that other reports can use the same data when using cached reports.Filtering a dataset for a cached report can increase the performance over using parameters, but this is not always true.If the report is not configured as cached, filtering the dataset will likely be slower than using parameters.

23) You’ve created a new report and need to turn on report caching so that the report will be cached at a certain time every day. When reviewing the shared schedules already on the report server, there currently is not a schedule that meets the need. You need to determine whether the report should use a shared schedule or you should create a private schedule for the report. What are the benefits of using a shared schedule?

Ans) It can be managed separately from the items that use the schedule.,

Exp: Shared subscriptions are similar to shared data sources in that they can be used by multiple reports. After you change a shared schedule, all dependent items pick up the new properties. The shared schedule is not permanent. It can be configured to expire like any other schedule.Because the schedule is shared, it is not associated with a report definition.

24) You are designing a SQL Server Integration Services (SSIS) package. You have created two variables to set the value of a file connection dynamically. The variable values are set as follows: FilePath = C:\Temp FileName = Test.txt How would you update the file connection, using these variables?

Ans) Set the ConnectionString expression to @[User::FilePath] + "\\" + @[User::FileName]Exp: The ConnectionString expression needs to be set to update the file path. When writing an expression, the "\" is an escape character and must be written as "\\". The ServerName property for a connection sets the name of the server for a database connection.

Page 5: Msbi Questioins From Book1

25) You are managing several SQL Server Integration Services (SSIS) packages. You try to open one of the packages in Business Intelligence Development Studio (BIDS), but it requires you to enter a package password.You do not know the package password, so you click the Cancel button. The package still opens, and you can still view all the tasks on the Control Flow. To which current protection level is the package set? A) Encrypt Sensitive With Password

Exp: The Encrypt Sensitive With Password protection level encrypts all sensitive data in the package. If the password is not provided, the package will still open but without the sensitive data.

If no password is provided to a package saved with Encrypt All With Password, nothing in the package will be loaded.

When a package is saved with Do Not Save Sensitive, no package password is required, but any connection passwords will not be saved.

Rely On Server Storage For Encryption saves the package to the msdb database and relies on SQL Server security to protect the packages.

26) You are creating a report that uses a data region. The data region uses a dataset with groups of related records.How do you force a page break, keeping the related records together within the grouping?

Ans) Create a row group. Set the Between Each Instance Of A Group property in the Page Breaks pane of the Group Properties dialog boxExp: The related rows in the dataset should be grouped by a common field so they are seen as a common set of data. The Between Each Instance Of A Group property creates a page break after each group defined in the row groups is printed This property can be set in the Page Breaks pane of the Group Properties dialog box.

The Fit Contents To One Page If Possible property attempts to keep all the rows of a table on the same page.The Add A Page Break After property moves the entire table to a new page.The Add A Page Break Before property sets a page break before the table.

27) You are designing a SQL Server Integration Services (SSIS) package. You add a Lookup task to the package. The SQL query the Lookup task is running might return no rows. You do not want the package to fail if the lookup returns 0 records. If 0 records are returned, you would like the data flow to continue as designed, with NULL for the columns returned by the lookup. How would you configure this?

Ans) in the Configure Error Output dialog box, set the Error drop-down list value to Ignore Failure.Exp: If the task is left as is, it will fail. Selecting Ignore Failure for Error Output ensures that SSIS will ignore any error in the task.You would like to ignore the failure of the task; you do not want to ignore the Truncation event.Adding an OLE DB Destination task causes all the rows to be redirected to the OLE DB destination. The data flow would not continue.

28) You have a SQL Server Integration Services (SSIS) package stored on a 64-bit server.Which of the following tools does NOT have a 64-bit version of the tool?

Ans) DTExecUI utilityExp: The DTExecUI utility is available only as a 32-bit application. Therefore, if you are working on a 64-bit server and run a package through the DTExecUI (Execute Package Utility), the package will run in 32-bit emulation mode. Furthermore, the package might fail if the connection managers used are not 32-bit compliant.

Dtexec, dtutil, and the SQL Server Import and Export Wizard have both a 64-bit and a 32-bit application. Be sure to note that if you develop a package in a 32-bit environment and want to run the package in a 64-bit environment, the connection managers need to be 64-bit compliant. Some connection managers such as Excel work in a 32-bit environment only.

29) Which tasks CANNOT be performed using the Reporting Services Configuration Manager tool? Ans) Upload reports to the report server database.Options(NOTE): Back up, restore, or replace the encryption key, Configure Report Server service account, Create and configure URLs., Configure a scale-out deployment., Configure report server e-mail settings., Configure the unattended execution account

Exp: The Reporting Services Configuration Manager tool is used to configure a Reporting Services installation. This tool must be used to configure the server if you used a files-only install option. The configuration can be modified if you used the default installation.The Report Server service account can be configured in the Service Account pane. A scale-out deployment can be configured in the Scale-Out Deployment pane.Encryption key management can be performed in the Encryption Keys pane.The unattended execution account can be configured in the Execution Account pane.The Report Server e-mail settings can be configured in the E-mail Settings pane.

30) You are designing a SQL Server Integration Services (SSIS) package. You currently have a Foreach Loop container with a Script task inside. Foreach Loop is looping through a set of text files. The Script task creates a new variable for the name of the text file plus the current time.You would like to verify that you have set up the variable properly.

Page 6: Msbi Questioins From Book1

How can you view the value of the variable in the Script task?

Ans) Add a breakpoint to the Script taskExp: Breakpoints can be defined on a line of code inside a Control Flow Script task. Data viewers are used only for data flow development and troubleshooting. A breakpoint in the Foreach Loop container does not stop each time the variable changes; it just breaks at the Foreach Loop container.

31) You are managing several SQL Server Integration Services (SSIS) packages.Using a command-line utility, you want to encrypt the entire MyPackage.dtsx package with the password abc123.What would the command-line syntax be to encrypt MyPackage.dtsx with a package password?

Ans) DTutil /file MyPackage.dtsx /encrypt file;MyPackage.dtsx;3; abc123

Exp: he DTUtil command-line utility generally allows you to copy, move, and delete packages, but you can encrypt and decrypt packages as well.

The syntax for the DTUtil utility to encrypt a package is as follows:

DTutil /file {package Name} /encrypt file; {package Name};{EncryptionLevel}; {Password}

The encryption level is a numeric indicator related to the EncryptionLevel property:0 = Don'tSaveSensitive1 = EncryptSensitiveWithUserKey2 = EncryptSensitiveWithPassword3 = EncryptAllWithPassword4 = EncryptAllWithUserKey5 = SQLServerStorage

The DTexec utility can execute an encrypted package but does not have the functionality to encrypt a package.

32) ou need to add default values to the report parameters so the report runs without user input. How are default values added to a report parameter?

Ans) Select the Default Values pane in the Report Parameter Properties dialog box, select Specify Values, and enter the default value. And Select the Default Values pane in the Report Parameter Properties dialog box, select Get Values From A Query, and then select the dataset and field from the Value drop-down list.Exp: There are two methods of assigning a default value to a report parameter. A static value can be assigned by entering a value after selecting Specify Values in the Default Values pane of the Report Parameters Properties dialog box.

A default value can also be assigned from a query. Select Get Values From A Query. Select the dataset and field from the Default Values pane of the Report Parameters Properties dialog box.A default value is not automatically created when a report parameter is created.You cannot enter a default value when the Get Values From A Query option is selected.

33) You have just set up a new development server for Reporting Services. A set of developers are developing reports on their local computers and now need access to deploy their reports to the new server. Which role enables a developer to deploy reports to a report server? Ans) Publisher

Exp: The Publisher role is a built-in role definition that includes tasks that enable users to add content to a report server. It is not used until you create role assignments that include it. This role is intended for users who author reports or models in Report Designer or Model Designer and then publish those items to a report server. The Publisher role is required for users to add content to a report server.

The Content Manager role enables users to authorize object access.The Browser role enables users to view reports.The System User role enables users to view basic information about the report server such as the schedule information in a shared schedule.

34) You are managing several SQL Server Integration Services (SSIS) packages.You have deployed several packages to a SQL Server instance. You open SQL Server Management Studio (SSMS), and you want to execute one of the packages stored in the package store. Which utility will SSMS use to execute the package?

Ans) use DTExecUIExp: SSMS will use DTExecUI to execute packages stored in a package store. To perform this operation, the SSIS service must be started. When you right-click on a package and choose Run Package in SSMS, DTExecUI opens and is configured with the package you choose.

DTExec is the command-line tool to execute SSIS packages but is not directly used by the SSMS to run packages.

Page 7: Msbi Questioins From Book1

BIDS is used to develop SSIS packages before they are deployed to SQL Server or the file system but is not used to execute packages after they are deployed.

SQL Server Agent can be used to execute an SSIS package on a scheduled basis but, when connected to SSIS through SSMS, SQL Server Agent is not used to execute a package.

35) You are developing a SQL Server Integration Services (SSIS) package. You are currently pulling 100 rows of data from an OLE DB source, 20 rows from a Flat File source, and 50 rows of data from an Excel source. You want to merge these rows together to get 170 rows of data.Which Data Flow task would you use?

Ans) union allExp: A Union All task combines the data from multiple inputs into one output, thus merging the 100 rows from the OLE DB source with the 20 rows from the Flat File source and the 50 rows from Excel.

The Merge Join task joins two sorted datasets, using the FULL, LEFT, or OUTER JOIN clause.The Lookup task pulls all the rows from one source and matches them to another data source, resulting in a row-per-row display in the original source.The Multicast task splits the data out rather than merging them.

36) You are deploying several SQL Server Integration Services (SSIS) packages.You are using the deployment utility to deploy the packages to the production SQL server in the msdb database.What do you need to do to ensure that the package developers can see the packages?

Ans) Add the package developers' msdb role, db_ssisltduser, in the msdb database.Exp: When SSIS packages are deployed to SQL Server and stored in the msdb database, the security access for the packages is managed through SQL Server logins and roles. For users to have view rights on the package, they must be added to the db_ssisltduser role in msdb.

When running the SSIS deployment utility, the Rely On Server Storage For Encryption check box will ensure that the security features of the database engine are used to secure the packages, but this property is unrelated to package accessibility in msdb.The SSIS roles are not defined in Windows, but the SSIS roles are defined in the msdb database when connected to SQL Server 2008.

37) You have a Reporting Services environment. Report Manager has been installed and configured in native mode (as opposed to SharePoint integrated mode). A report you are developing needs to reference a subreport.Select the INCORRECT way of specifying a subreport in the Use This Report As A Subreport property.

Ans) Use a fully qualified URL to the report without the extension.Exp: In native mode, you do not have to use a fully qualified URL to specify a subreport if it is in the same project.

For a subreport in this project, select the name of the report from the drop-down list.

For a report published to a report server configured for native mode, use a full or relative path to the report without the file name extension. If the report is in the same folder as the current report, use the name of the report only. If the report is in a different folder, use a relative path to the report (for example, /Reports/DetailReport).

For a report published to a report server configured in SharePoint integrated mode, use a fully qualified URL including the file name extension (for example, http://TestServer/TestSite/Reports/Doc/DetailReport.rdl). Relative paths are not supported.

38) You are evaluating the reporting requirement for a new Business Intelligence project. The requirements list several reports to be created.Which of the following reports would be a candidate for report caching? Ans) A summary report for which the data changes infrequently

Exp: A report that is derived from infrequently changing data is a good candidate for report caching.

Caching does not support Windows authentication as an authentication method.

Data that would change based on the user requesting the report and a report that prompts for credentials would not be the same for different users; they are not candidates for report caching.

39) You have added a Lookup Transformation. Some rows might not be found during the lookup. You would like these rows to be sent to a text file. How would you configure this?

Ans) Connect the green data path from the Lookup transformation to Flat File Destination. When prompted to choose an output, select the Lookup No Match Output option.Exp: In SQL Server 2008 Integration Services, the Lookup transformation can send unmatched rows through the data path output, using Lookup No Match Output.

Page 8: Msbi Questioins From Book1

Setting Error Output to Redirect Row sends other errors out the red output path; this option does not send the unmatched rows to a text file. This feature is changed in SQL Server 2008 Integration Services from how it functioned in SQL Server 2005 Integration Services.

40) You need to add an image to a report that displays the company logo. The graphics department has given you an image and you would like to include the image in the report directly without having to specify the file system location or storing the image in a database table.Which source type of the image report item ensures that the specified image is always available to the report

Ans) Background,embededExp: An embedded image ensures that the image is always displayed in the report. When an image is embedded in a report, the Report Designer MIME encodes the image and stores it in the report definition.

A background image stores a URL for accessing an image, an image from a database, or an embedded image. If you configure a background image as embedded, the Report Designer stores the image as part of the report itself. However, if you configure the report to retrieve the background image from either a URL to an image or a location in a database, it's possible that Reporting Services won't be able to retrieve the image if the Web server that corresponds to the URL is unavailable or the database becomes corrupt.

An external image stores the URL for the image. When the report is run on the report server, the unattended execution account is used to retrieve the image. The account having insufficient rights to access the image or the location having been changed are situations that would prevent the image from being displayed on the report.

A data-bound image refers to an image that is stored in a database. When the report is rendered, Reporting Services must retrieve the image in order to display it in the report. Reporting Services cannot display a data-bound image if the database that stores the associated image becomes corrupt or is deleted.

41) You are developing a SQL Server Integration Services (SSIS) package. In one of your packages, you are performing a Fuzzy Lookup transformation to help clean up the StudentName column. You have noticed that not enough student names are being detected by the transformation. What adjustment should you make to the transformation?

Ans) Decrease the Similarity Threshold value.Exp: The Similarity Threshold value sets the resemblance factor of the StudentName column to the lookup value. The closer the value is to 1, the more similar the values must be.

You want to decrease the Similarity Threshold value to increase the number of fuzzy matches.

If you change Maximum Number Of Matches, more rows might be added to the output.

42) You are designing a set of SQL Server Integration Services (SSIS) packages. Several other developers will be working on the same packages you are currently developing. All the SQL Server connections in the package require a user name and a password.

While working on the package, you do not want to have to reenter the user name and password for each of the SQL Server connections after you have entered them once. When a new developer opens the package, you would like the developer to enter the password for each SQL Server connection.Which protection level would you set for the package?

Ans) Encrypt Sensitive With User KeyExp: The Encrypt Sensitive With User Key protection level encrypts the sensitive information in the package by using keys based on the current user. When a new user opens the package, he or she must reenter sensitive data, such as a SQL Server password, and then save the package.

The Encrypt Sensitive With Password protection level relies on a package password to encrypt the connection passwords and prompts developers to enter the package password. However, after they enter the package password, they do not need to enter the connection passwords.

Do Not Save Sensitive does not allow the package to execute unless it is used in conjunction with an SSIS configuration that stores the package.

Rely On Server Storage For Encryption will save the package to the msdb database and rely on SQL Server security to protect the packages.

43) You are developing a SQL Server Integration Services (SSIS) package. You are working with a package that was developed to pull data from the Customer table, using an OLE DB data source. The Customer table no longer exists in the source database.You want to continue editing the package without receiving a package error. What should you do?

Ans) Set the ValidateExternalMetadata property to = False for the Customer OLE DB data source. And Choose Work Offline from the SSIS menu.Exp: The ValidateExternalMetadata property specifies whether the task should be validated at design time. If set to False, the task is validated only at run time. The Work Offline property tells the entire package not to validate.

Page 9: Msbi Questioins From Book1

The DisableEventHandlers property prevents event handlers from firing during execution and is not related to disabling validation during package development.

44) While working on a report, a user asks if the report can be automatically run once a week and delivered to the users. You are evaluating the use of a subscription to meet this requirement. What delivery method is NOT supported by subscriptions?

Exp: SMS is not a supported delivery method.SSRS supports e-mail, shared folder, and SharePoint document library delivery methods by default.

45) You are designing a SQL Server Integration Services (SSIS) package and want to perform a Send Mail task if the Execute SQL task fails and the user package variable SendErrorMailFlag is set to True. How would you achieve this?

Ans) Add a Send Mail task after the Execute SQL task. Configure the precedence constraint and set the Evaluation Operation option to Expression And Constraint. Set the Value option to Failure. Set the Expression option to @[User::SendErrorMailFlag] == "True".

Exp: The Precedence Constraint Editor dialog box enables you to configure the constraint for a task to follow (Success, Failure, or Completion). An expression can be used in place of or in conjunction with the constraint.

Setting the Evaluation Operation option to Expression And Constraint allows the package to use both an expression (SendErrorMailFlag) and a constraint (Failure).

The proper syntax for checking a variable value in an expression is @[User::SendErrorMailFlag] == "True".

46) ou are designing a SQL Server Integration Services (SSIS) package. You have a created a master package to call several child packages. All the packages are saved in the same folder location. You have developed the package on your local computer, pointing to the package path for your computer. You would like to make the child package paths dynamic so that they can be configured using variables.How would you configure File Connections for the package with the minimal amount of effort?

Ans) Create a variable named PackagePath. Set the value of PackagePath to the package folder path on your computer.And Add an expression to each file connection. Set the ConnectionString property to the @[User::PackagePath] + [Package Name] expression.

Exp: An expression can be used to update the ConnectionString property of a file connection. A variable can be used to set the folder path for each of the packages. You must use both the PackagePath variable and the Package Name attribute to move the given file connection dynamically to a given path. The ServerName property is not relevant for a file connection.

47) You have deployed a set of SQL Server Integration Services (SSIS) packages to SQL Server. As part of your disaster recovery plan, you want to back up the packages. How should you back up the deployed packages?

Ans) Back up the SQL Server msdb system database.Exp: When packages are deployed to SQL Server, they are saved in the msdb database under the sysssispackages table. Therefore, if you back up the msdb system database on a recurring basis, you are able to recover the packages in the event of a failure when msdb needs to be restored.

The SQL Server tempdb and master databases do not include SSIS package information.

SSIS Packages can also be deployed to the file system but, in this case, the packages are deployed to SQL Server.

48) You have configured the following settings in the project properties:

* TargetDataSourceFolder: DataSources* TargetReportFolder: RSReports* TargetServerURL: http://reports.contoso.com/ReportServer

What will be the outcome of deploying this project?

Ans) The project will be deployed to http://reports.contoso.com/ReportServer.The reports will be copied to the RSReports folder.The shared data sources will be copied to the DataSources folder.Exp: The project will be deployed to http://reports.contoso.com/ReportServer. The reports will be copied to the RSReports folder, and shared data sources will be copied to the DataSources folder.

The project will not be deployed to http://localhost/ReportServer because the TargetServerURL property is http://reports.contoso.com/ReportServer. The reports and shared data sources will not be copied to the same folder because the TargetReportfolder and TargetDataSourceFolder properties are not equal.

Page 10: Msbi Questioins From Book1

The project will be deployed to http://reports.contoso.com/ReportServer, but the reports and shared data sources will not be copied to the same folder because the TargetReportfolder and TargetDataSourceFolder properties are not equal.

The project will not be deployed to http://reports.contoso.com because the TargetServerURL property is http://reports.contoso.com/ReportServer. The reports will be copied to the RSReports folder, and shared data sources will be copied to the DataSources folder.

49) note: Breakpoints cannot be applied within the data flow on any component such as the Lookup transformation or in the code within a Script component.

A breakpoint can be set on any control flow object and within the script of a Script task in the control flow.

To debug data flow tasks, you can use data viewers.

50) You have a SQL Server Integration Services (SSIS) package stored in a SQL Server msdb database.You notice that the SSIS Service is disabled on the server. How can you execute the package?

Exp: Even though the SSIS service is stopped, you can still execute a package that is deployed to the msdb database in SQL Server 2008 with the following methods: SQL Server Agent, the Execute Package Utility (DTExecUI), and the dtexec command prompt utility.

When a package is deployed to the package store, the service needs to be running to execute a package. Packages deployed to the package store are not stored in the msdb database but to a system folder in the SSIS installation files. The package store is managed by the SSIS Service, so to execute a package deployed to the package store, SSIS needs to be running.

51) You would like users of a report to select the value of a parameter from a list of predefined values. The values are stored in the database.Which of the following steps will help you configure the report?

Ans) Assign the dataset and field on the Available Values tab of the Report Parameter Properties dialog box for the parameter. And Create a new dataset to query the list of predefined values.

Exp: You must create a new dataset to query the list of predefined values and assign this dataset to the parameter, using the Available Values tab of the Report Parameter Properties dialog box.

Creating a dataset parameter enables the user to filter the data displayed in the report, but it does not provide the ability to select from a list of available values.

A table report item displays data related to the rendered report, not the parameters used to query the data source.

52) You are developing a SQL Server Integration Services (SSIS) package. You configured a package to write logs to a log file, Package.log. You would like to configure the log file so that it can be written in a different location, depending on which server it is located on. In your package, you have created a variable named LogFilePath that stores the folder path for the log file.How would you configure the path of the log file?

Ans) In the Connection Manager dialog box, add an expression to the ConnectionString property of Package.log.Exp: The Configure SSIS Logs dialog box enables you to set logging to go to an OLE DB connection manager or File connection manager. These are stored in the package connection manager. The ConnectionString property of File Connection Manager sets the path to the file that contains the file connection properties.

The Name property is only the visual name given to the connection and does not contain the path and file name of the log file.

53) You are managing several SQL Server Integration Services (SSIS) packages.You want to deploy your project, named SalesETL, by using the package deployment utility. You have configured the project for the DeploymentOutputPath to be bin\Deployment and set the CreateDeploymentUtilty property to True.After you build the project, which file under the bin\Deployment folder will you use to deploy your packages?

Ans) SalesETL.SSISDeploymentManifestExp: The package deployment utility will create an SSISDeploymentManifest file under the DeploymentOutputPath folder. This file is the Installer Kit used to deploy your packages. After you move the installer kit to a server with SQL Server SSIS installed, you can run the .SSISDeploymentManifest file, and it will launch the package installation wizard.

The SSIS packages are also included in the Installer kit with the .dtsx extension, and any XML configuration files with the .dtsConfig extension (the default extension) are also included, but these files are not used to launch the deployment of your SSIS project.

54) You have a sales summary report that needs to be emailed out regularly to the business development team for each member of the team. Therefore you want to set up the data-driven subscription to make that an automated process.Which of the following conditions have to be met to create the data-driven subscription for the sales summary report?

Page 11: Msbi Questioins From Book1

Ans) You have to collect data for subscription properties with a single query.You have to store the credentials for accessing source data on the report server.SQL Server Agent must be running.

Exp: The report must use stored credentials or no credentials to retrieve data at run time. You cannot subscribe to a report that is configured to use the impersonated or delegated credentials of the current user to connect to an external data source. The SQL Server Agent must be running because the query to retrieve the subscribers must be validated. If the query cannot be validated, the subscription task cannot be completed. A data-driven subscription must specify a query or command that retrieves subscriber data. The query should produce one row for each subscriber.

Although running an antivirus program is always a good practice, it is not necessary for data-driven subscriptions.

Usage of the My Report folder is not necessary for data-driven subscriptions.

55) You are designing an SSIS package. The control flow of the package contains two sequence containers. Inside sequence container A is an Execute SQL task and a Data Flow task. Inside sequence container B are two File System tasks.You need to create a variable that can be seen by the Execute SQL task and the Data Flow task but not by the File System tasks.Which kind of variable do you create?

Ans) Create a variable and set the scope of the variable to Sequence Container A.Exp: The scope of a variable defines when the variable can be seen. If Scope is set to Sequence Container A, any object outside of Sequence Container A cannot see the variable.

There is no reason to create two variables in this scenario.

The Namespace property is set to either System or User. Setting this to another value would not change its permissions.

Setting an expression of the variable would not change whether the variable can be seen.

56) ou are working with a report that has a table displaying multiple groups of data. You want to hide some of the rows to and toggle the visibility.Which step is NOT required to hide a row in a table?

Ans) Right-click the table and then select Row Visibility.Exp: Row Visibility is defined for each row in the table and not at the table level.To hide a row in a table, you must first select the item. Next, you must right-click the row and choose Row Visibility. When the Visibility dialog appears, choose Hide in the When The Report Is Initially Run property.

57) You are designing a SQL Server Integration Services (SSIS) package and currently have a Control Flow task that has two SQL Server tasks. If one of the SQL Server tasks fails, you want to roll back the transaction for both of the SQL Server tasks.How would you set this up?

Ans) Add one Sequence Container to the package and place both SQL Server tasks in the sequence container. Set TransactionOption to Required.Exp: The Required option indicates that SSIS uses a single transaction for the sequence container. All items in the container are held in a transaction.

A single container allows all values in the transaction to be rolled back together. If these values were in two sequence containers, the first container would not roll back if the second failed.

The Supported option indicates that a transaction will not begin but only participate in the transaction of a parent container or the package as a whole. Adding two sequence containers causes the transaction to roll back only a single task.

58) ou are deploying a SQL Server Integration Services (SSIS) package.

You currently have a package in an SSIS BIDS project. You built the project with CreateDeploymentUtility set to true.

By default, where will you find the packages created by the deployment utility?

Ans) In the bin\Deployment folder of the project

Exp: If you set the CreateDeploymentUtility property of the project to true, then when you build the SSIS project, the packages and manifest file are placed (by default) in the bin\Deployment folder of the project along with the SSIS packages in the project. You can also change the DeploymentOutputPath property to any file system path and, when the project is built, the files would be placed in that alternate location.

The msdb database stores packages when they have been deployed to SQL Server and is not related to building an SSIS project.

Page 12: Msbi Questioins From Book1

59) You are designing a SQL Server Integration Services (SSIS) package. You are using an Execute SQL task to call a stored procedure that returns the single column named EmployeeName. Only one row is returned with the stored procedure. You need to store the employee name in a package variable named EmployeeName.On the Execute SQL task, how do you set the value of the EmployeeName variable?

Ans) On the Result Set tab, set the variable EmployeeName to the EmployeeName value.On the General tab, set the ResultSet value to Single Row.Exp: The ResultSet values should be set to Single Row to capture the single record from the stored procedure. The Result Set tab captures the values returned in the Execute SQL task.

You use Full Result Set only if you want to capture multiple rows and store them in an object.

Use the Parameter Mapping tab to set variables that are passed to a SQL statement.

There is no Variable Mapping tab under an Execute SQL task.

60) You are designing a SQL Server Integration Services (SSIS) package.

Your current package has an Execute SQL Task that is critical for the package. Occasionally, this Execute SQL Task fails. If the task fails, you want the rest of the package to stop running. What property can you change on the task to prevent the rest of the package from executing if the Execute SQL Task fails?

Ans) FailPackageOnFailure = TrueExp: If you set the FailPackageOnFailure property of the Execute SQL Task to True, and if the Execute SQL Task fails, any remaining tasks or containers within the package will not execute, and the package will fail.The MaximumErrorCount property identifies the maximum number of errors that can occur in a task before a package stops running. However, even if this property is set to 1 or 0, the rest of the package will continue to execute even if the task fails, assuming that the precedence constraints are configured to allow additional tasks to execute.FailParentOnError specifies whether the parent container should fail if the there is an error in the child. Even though the package is considered the parent to the task, the package will continue to run even if this property is set to True.

61) You want to make your reports more interactive and usable by implementing drillthrough in your reports.

Which options of the Enable As Hyperlink property in the Action pane of the Text Box Properties dialog box enable you to implement the drillthrough capability? (Each correct answer presents part of the solution. Choose two.)

Ans) Go To Report, Go To URL

Exp: A drillthrough action link can be created by using Go To Report if the drillthrough report exists on the same server as the main report.

Go To URL creates a drillthrough report if the drillthrough report exists on a different server or if the report server is configured for SharePoint integrated mode.

The None option will not create any type of action.

The Go To Bookmark option creates internal navigation in the report.

62) You are configuring a parameter to filter departmental information. You want users to select the department name, but you want the parameter to use the department ID to filter the information. Which columns should you use to bind the parameter?

Ans) Bind DepartmentID to the Value field. And Bind Department Name to the Label field.Exp: The column bound to the Label field is what users use to select the parameter, and the associated value in the Value field is used internally to filter the information. Thus, you must assign Department Name to the Label field and DepartmentID to the Value field. Binding Department Name to the Value field and DepartmentID to the Label field will not provide adequate information to the user or the query. The user would not be able to identify a department by its ID.

63) You've developed a report, but users are complaining that when the report is saved as a PDF file, an extra blank page is included for every page in the report.

Which properties need to be reviewed to resolve odd blank pages when a report is rendered to PDF?

Ans) Margins Right , Margins Left, PageSize WidthExp: This is caused when the report content is wider than the usable page area. The usable page area is the physical page that remains after space is allocated for margins, column spacing, and so on. Decreasing the MarginLeft or MarginRight properties will increase the usable page area. You could also change the PageSize Width property to be sure that the width of the page is sufficient for the report rendering.