Categories: Interview Question

MSBI Interview Questions

Frequently asked MSBI Interview Questions for Integration Services, Analysis Services and Reporting Services and MSBI.


1. MSBI Characteristics

Ans:

Criteria

Result

Analytics

Dashboards, guided navigation and drill down

Type of Solution

End-to-end Business solution with extended ETL

User-friendly

Ease of installation, use, maintenance

2. Define Query parameter in SSRS?

Ans:

Query parameters is revealed in the query of the datasources that are to be included into the SQL script’s where clause of the SQL that can accept parameters. Query parameters begin with the symbol @.

3. What are the Reporting Service Constituents in SSRS?

Ans:

Report Manager : A Web-based administration tool for managing the Report Server.
Report Server : Provides services for implementation and delivery of reports.
Report Designer : A place where we can create report.

4. What do you understand by matrix in SSRS?

Ans:

A matrix is a data region related to a report set. Matrix permits us to create crosstab reports with the report variables showing on rows and columns. It allows us to drag.

5. What do you mean by sub reports and how we can create them?

Ans:

A sub report is like any other reports which can be termed in main report and can be generate through main report. Parameters can be conceded from main report to sub report and basis of that report can be created.

6. Define report model project?

Ans:

Report model project is used for creating Adhoc reporting. We can create the adhoc reports over report builder. Report model project can be created on bids or report server. This model can have simple view.

7. What do you understand by report server project?

Ans:

Report Server Project comprises of RDL file and it need to be deployed on report server to view the report files to application and user. It is a solution where we can design our reports. We can add it by going into BIDS clicking on new item and then selecting reports server project. Once the solution is formed we can start forming reports.

8. Explain report builder?

Ans:

Report builder is used to create small reports and it is a define interface. We can’t change the report interface in report builder it pre designed. We can just drag columns in the report. It creates reports on database objects available with report model project.

9. In which SQL Server type report builder introduced?

Ans:

Report builder presented in SQL Server 2005. While creating or arranging report model project on report server we can get error or it might not get formed. For this we need to check whether the service pack 22 is installed or not.

10. How to organise the Report?

Ans:

Report can be organized in three ways :
Using visual studio : In visual studio we can directly deploy the report through solution explorer by providing the report server URL in project properties at Target Server URL. This will organize entire project or single report as per our selection.
Using report server : We can directly go to the report server and deploy the report by looking the report from the disk location on server.
Creating the utility : SQL server provides the utility which can be used to create a modify utility for our report deployment in bulk.



11. Define RS.exe utility?

Ans:

Rs.exe utility is used for organizing the report on report server. It comes with the report server and can be modify accordingly.

12. What is the name of reporting services config file and what it is used for?

Ans:

Reporting service config file is used for report configuration details. It contains the report format and also the report import types. Report service config exist in ISS.

13. What are the three different part of RDL file elaborate them?

Ans:

In visual studio RDL files has three parts.
Data : It covers the dataset on which we write the query. Data set is associated with data source.
Design : In design we can design report. We can create tables and matrix reports. We Drag columns values from source.
Preview : It ia used to check the preview after the report run.

14. Which language rdl files made of?

Ans:

RDL files are printed in XML.

15. What do you understand by chart in report?

Ans:

Chart reports are for graphical representation. We can get pie charts columns harts and various other options. 3d charts are also presented in reporting services.

16. Define Data Set in report?

Ans:

Data set are the set of data which we want to show in report. Data creates on data source. Data source is the source of data from where we are receiving this data i.e. database server and database name joining string.

17. Name different types of data sources in SSRS?

Ans:

SSRS use different data source. Some of them are listed below.

  • OLEDB.
  • SQL Server SAP Net weaver BI.
  • Oracle.
  • Report Server Model.
  • SQL Server Analysis Service OLEDB.
  • ODBC.
  • SAP Net weaver BI.
  • Hyperion.
  • Teradata.
  • XML

18. What is the web service used for reporting services?

Ans:

Reporting Service Web Service used in SSRS. By retrieving this web service we can access all report server section and also get the report organized on report server.

19. How to enhance the custom code in Report?

Ans:

To enhance the custom codes in report go to report tab on top then properties and there you will find the selections for custom code.

20. Define cache in SSRS?

Ans:

Report server can lay up a copy of processed report in a memory and return the copy when a user opens the report. This server memory is called as cache and the process is known as caching.




21. Elaborate Web service task in SSIS?

Ans:

First we configure HTTP Connection manager which will point to WSDL of a web service.
Web service task customs this HTTP Connection manager and let us invoke methods in it.
It return values of method value we can store it in some variables and can use as input for some other tasks.

22. Explain transfer SQL Server object task?

Ans:

It allows us to allocate different SQL server objects between different instances of SQL Server.Object incomes from table, stored procedures, user defined functions etc.

23. In SSIS is it conceivable to communicate with MSMQ?

Ans:

Yes, it is possible for that we have Message Queue task. It contract us send messages to MSMQ and receive message from MSMQ.

24. What is the advantage of using MSMQ?

Ans:

MSMQ helps in communicating two applications with each other asynchronously. Specialty is two application may be built using dissimilar technology and it works even offline messaging. Sender will stock messages inside queue and reader reads it wherever required.

25. What are the Different Lookup Cache Modes Available in SSIS?

Ans:

There are basically 4 Cache Modes available in SSIS Lookup Transformation

  1. Full Cache Mode.
  2. Partial Cache Mode.
  3. No Cache Mode.
  4. Full Cache Mode

26. Differentiate between SSRS 2005 and SSRS 2008

Ans:

The major differences between SSRS 2005 and SSRS 2008 are as follows:
SSRS 2005 report server requires IIS, whereas SSRS 2008 comes with a build-in web server and hence does not require IIS.

27. Explain architecture of SSIS?

Ans:

SSIS architecture involves four key parts :

Integration Services service :
It monitors running Integration Services packages and accomplishes the storage of packages.

Integration Services object model :
It contains managed API for reading Integration Services tools, command-line utilities, and custom applications.

Integration Services runtime and run-time executables :
It keeps the layout of packages, runs packages, and provides support for logging, breakpoints, configuration, connections, and transactions.

Data flow engine :
It provides the in-memory buffers that move data from source to destination.

28. How we can do Logging in SSIS?

Ans:

Logging Configuration provides an inbuilt feature which can log the detail of various events like onError, onWarning etc .

29. How we can do Error Handling?

Ans:

SSIS package contain mainly have two types of errors :

Procedure Error : It can be handled in Control flow bythe precedence control and redirecting the execution flow.
Data Error : it is handled in DATA FLOW TASK by redirecting the data flow using Error Output of a component.

30. How we can pass property value at Run time?

Ans:

A property value like connection string for a Connection Manager can be passed to the pkg using package configurations.


31. How can we organize a SSIS Package on production?

Ans:

Through Manifest we can organize it :

  • Create deployment utility by setting its properties as true .

It will be formed in the bin folder of the solution once package is build.
Copy all the files in the utility and use manifest file to display it on the Prod.

  • Using DtsExec.exe utility.
  • Import Package directly in MSDB from SSMS by logging in Integration Services.

32. Define Execution Tree?

Ans:

Execution trees demonstrate how package uses buffers and threads. At run time, the data flow engine breaks down Data Flow task operations into execution trees.

33. Differentiate between Unionall and Merge Join?

Ans:

  • Merge transformation can take only two inputs whereas Union all can take more than two inputs
  • Data has to be sorted before Merge Transformation whereas Union all doesn’t have any boundation like that.

34. How we can restart package from previous failure point? Define Checkpoints and how they are implement in SSIS?

Ans:

When a package is arranged to use checkpoints, material about package execution is written to a checkpoint file. When the failed package is rerun, the checkpoint file is used to restart the package from the point of failure. If the package runs effectively, the checkpoint file is deleted, and then re-created the next time that the package is run.

35. Where do you store SSIS package in the SQL Server?

Ans:

MSDB.sysdtspackages90 stores the original content.

36. What are the three stages of Enterprise Reporting Life Cycle ?

Ans:

  • Management
  • Authoring
  • Access and Delivery

37. What are the apparatuses included in SSRS?

Ans:

A Complete set of Tools that can be used to generate, succeed and view reports.
A Report Server component that hosts and processes reports in many formats. Output formats include HTML, PDF and more.
An API that allows developers to mix or spread data and report processing in custom applications, or create custom tools to build and manage reports.

38. What are the benefits of using embedded code in a report?

Ans:

The benefits are:
Reuseability of Code: function created in embedded code to achieve a logic can be then used in manifold expressions
Centralized code: it helps in better manageability of code.

39. Which programming language can be used to code embedded functions in SSRS?

Ans:

Visual Basic .NET Code is used to code embedded fuctions in SSRS.

40. What important terms can be used in the reporting services?

Ans:

  • Report definition: A report definition contains information about the query and layout for the report.
  • Report snapshot: A report snapshot is actually a report definition that contains a dataset instead of query instructions.
  • Rendered report: A fully processed report that contains both data and layout information, in a format suitable for viewing (such as HTML).
  • Parameterized report: A published report that accepts input values through parameters.
  • Shared data source: A predefined, standalone item that contains data source connection information.
  • Shared schedule: It is a predefined, standalone item that covers schedule information.
  • Report-specific data source: Data source information which is defined within a report definition.
  • Report model: A semantic description of business data, used for ac hoc reports created in Report Builder.
  • Linked report: It is a report that derives its definition through a link to another report.


41. What are the Command Line Utilities available in Reporting Services?

Ans:

  1. Rsconfig Utility (Rsconfig.exe): encrypts and stores connection and account values in the RSReportServer.config file.
  2. RsKeymgmt Utility: it is used to Extracts, restores, creates, and deletes the symmetric key used to protect sensitive report server data against unauthorized access
  3. RS Utility: this utility is mainly used to automate report server deployment.

42. How we can know Report Execution History?

Ans:

We can know Report Execution History as the execution log table in report server database contains all the logs from the last two months so we can see it from there.
Select-from reportserver.dbo.ExecutionLog

43. Differentiate between Tablular and Matrix report?

Ans:

Tablular report: It is the most basic type of report. Each column corresponds to a column selected from the database.
Matrix report: A matrix report is a cross-tabulation of four groups of data:

  1. One group of data is displayed across the page.
  2. One group of data is displayed down the page.
  3. One group of data is the cross-product.
  4. One group of data is displayed as the “filler” of the cells.

44. How we can create Drill-through reports?

Ans:

By Using Navigation property of a cell and scenery child report and its parameters in it we can create Drill-through reports.

45. How to create Drill-Down reports?

Ans:

By grouping data on essential fields
Then toggle reflectivity based on the grouped filed

46. How we can schedule a SSIS packages?

Ans:

Using SQL Server Agent we can schedule a SSIS packages.

47. Define Asynchronous transformation?

Ans:

Asynchronous transformation have various Input and Output buffers and it is up to the component designer. It provide a column structure to the output buffer and hook up the data from the input.

48. How we can achieve parallelism in SSIS?

Ans:

Parallelism is achieved using MaxConcurrentExecutable stuff of the package. Its default is -1 and is calculated as number of computers + 2.

49. How we can do incremental load?

Ans:

Accurate and fastest way to do incremental load is by using Timestamp column in source table and then storing last ETL timestamp.

50. How we can handle Early Arriving Facts.

Ans:

Early Arriving Facts sometime get unavoidable because delay or error in Dimension ETL or may be due to logic of ETL. To handle Early arriving Facts, we can create dummy Dimension with natural/business key and keep rest of the attributes as null or default.




51. Define SQL Server Reporting Services(SSRS)?

Ans:

SQL Server Reporting Services is a server-based reporting platform that we can use to create and manage tabular, matrix, graphical, and free-form reports that contain data from relational and multidimensional data sources.

52. What is MSBI (Microsoft Business Intelligence)?

Ans:

Microsoft Business Intelligence (BI) is a suite of products and tools that you can use to monitor, analyze and plan your business by using scorecards, dashboards, management reporting and analytics.

53. What are the tools in MSBI?

Ans:

It contains the following tools:
1. SQL Server Analysis Services (SSAS)
2. SQL Server Integration Services (SSIS)
3. SQL Server Reporting Services (SSRS)
4. Performance Point Services (PPS) which was added as a free service in Microsoft Office SharePoint 2010
SSIS – SQL Server Integration Services

54. What is SSIS? How it is related with SQL Server.

Ans:

SQL Server Integration Services (SSIS) is a component of SQL Server which can be used to perform a wide range of Data Migration and ETL operations. SSIS is a component in MSBI process of SQL Server.
This is a platform for Integration and Workflow applications. It is known for a fast and flexible OLTP and OLAP extensions used for data extraction, transformation, and loading (ETL). The tool may also be used to automate maintenance of SQL Server databases and multidimensional data sets.

55. What are the tools associated with SSIS?

Ans:

We use Business Intelligence Development Studio (BIDS) and SQL Server Management Studio (SSMS) to work with Development of SSIS Projects.
We use SSMS to manage the SSIS Packages and Projects.

56. What are the differences between DTS and SSIS

Ans:

Data Transformation Services

SQL Server Integration Services

Limited Error Handling

Complex and powerful Error Handling

Message Boxes in ActiveX

Scripts Message Boxes in .NET Scripting

No Deployment Wizard

Interactive Deployment Wizard

Limited Set of Transformation

Good number of Transformations

NO BI functionality

Complete BI Integration

57. What is a workflow in SSIS 2014?

Ans:

Workflow is a set of instructions on to specify the Program Executor on how to execute tasks and containers within SSIS Packages.

58. What is the control flow?

Ans:

A control flow consists of one or more tasks and containers that execute when the package runs. To control order or define the conditions for running the next task or container in the package control flow, we use precedence constraints to connect the tasks and containers in a package. A subset of tasks and containers can also be grouped and run repeatedly as a unit within the package control flow. SQL Server Integration Services (SSIS) provides three different types of control flow elements: Containers that provide structures in packages, Tasks that provide functionality, and Precedence Constraints that connect the executables, containers, and tasks into an ordered control flow.

59. What is the data flow?

Ans:

Data flow consists of the sources and destinations that extract and load data, the transformations that modify and extend data, and the paths that link sources, transformations, and destinations The Data Flow task is the executable within the SSIS package that creates, orders, and runs the data flow. A separate instance of the data flow engine is opened for each Data Flow task in a package. Data Sources, Transformations, and Data Destinations are the three important categories in the Data Flow.

60. How does Error-Handling work in SSIS

Ans:

When a data flow component applies a transformation to column data, extracts data from sources, or loads data into destinations, errors can occur. Errors frequently occur because of unexpected data values.
Type of typical Errors in SSIS:

  • Data Connection Errors, which occur incase the connection manager cannot be initialized with the connection string. This applies to both Data Sources and Data Destinations along with Control Flows that use the Connection Strings.
  • Data Transformation Errors, which occur while data is being transformed over a Data Pipeline from Source to Destination.
  • Expression Evaluation errors, which occur if expressions that are evaluated at run time perform invalid

61. What is environment variable in SSIS?

Ans:

An environment variable configuration sets a package property equal to the value in an environment variable.
Environmental configurations are useful for configuring properties that are dependent on the computer that is executing the package.

62 . What are the Transformations available in SSIS?

Ans:

  • AGGREGATE – It applies aggregate functions to Record Sets to produce new output records from aggregated values.
  • AUDIT – Adds Package and Task level Metadata – such as Machine Name, Execution Instance, Package Name, Package ID, etc..
  • CHARACTERMAP – Performs SQL Server column level string operations such as changing data from lower case to upper case.
  • CONDITIONALSPLIT– Separates available input into separate output pipelines based on Boolean Expressions configured for each output.
  • COPYCOLUMN – Add a copy of column to the output we can later transform the copy keeping the original for auditing.
  • DATACONVERSION – Converts columns data types from one to another type. It stands for Explicit Column Conversion.
  • DATAMININGQUERY– Used to perform data mining query against analysis services and manage Predictions Graphs and Controls.
  • DERIVEDCOLUMN – Create a new (computed) column from given expressions.
  • EXPORTCOLUMN– Used to export a Image specific column from the database to a flat file.
  • FUZZYGROUPING– Used for data cleansing by finding rows that are likely duplicates.
  • FUZZYLOOKUP – Used for Pattern Matching and Ranking based on fuzzy logic.
  • IMPORTCOLUMN – Reads image specific column from database onto a flat file.
  • LOOKUP – Performs the lookup (searching) of a given reference object set against a data source. It is used for exact matches only.
  • MERGE – Merges two sorted data sets into a single data set into a single data flow.
  • MERGEJOIN – Merges two data sets into a single dataset using a join junction.
  • MULTICAST – Sends a copy of supplied Data Source onto multiple Destinations.
  • ROWCOUNT – Stores the resulting row count from the data flow / transformation into a variable.
  • ROWSAMPLING – Captures sample data by using a row count of the total rows in dataflow specified by rows or percentage.
  • UNIONALL – Merge multiple data sets into a single dataset.
  • PIVOT– Used for Normalization of data sources to reduce analomolies by converting rows into columns
  • UNPIVOT– Used for denormalizing the data structure by converts columns into rows incase of building Data Warehouses.

63. How to log SSIS Executions?

Ans:

SSIS includes logging features that write log entries when run-time events occur and can also write custom messages. This is not enabled by default. Integration Services supports a diverse set of log providers, and gives you the ability to create custom log providers. The Integration Services log providers can write log entries to text files, SQL Server Profiler, SQL Server, Windows Event Log, or XML files. Logs are associated with packages and are configured at the package level. Each task or container in a package can log information to any package log. The tasks and containers in a package can be enabled for logging even if the package itself is not.

64. How do you deploy SSIS packages?

Ans:

SSIS Project BUILD provides a Deployment Manifest File. We need to run the manifest file and decide whether to deploy this onto File System or onto SQL Server [ msdb]. SQL Server Deployment is very faster and more secure then File System Deployment. Alternatively, we can also import the package from SSMS from File System or SQL Server.

65. What are variables and what is variable scope?

Ans:

Variables store values that a SSIS package and its containers, tasks, and event handlers can use at run time. The scripts in the Script task and the Script component can also use variables. The precedence constraints that sequence tasks and containers into a workflow can use variables when their constraint definitions include expressions. Integration Services supports two types of variables: user-defined variables and system variables. User-defined variables are defined by package developers, and system variables are defined by Integration Services. You can create as many user-defined variables as a package requires, but you cannot create additional system variables.

66. Can you name five of the Perfmon counters for SSIS and the value they provide?

Ans:

1. SQLServer:SSIS Service
2. SSIS Package Instances
3. SQLServer:SSIS Pipeline
4. BLOB bytes read
5. BLOB bytes written
6. BLOB files in use
7. Buffer memory
8. Buffers in use
9. Buffers spooled
10. Flat buffer memory
11. Flat buffers in use
12. Private buffer memory
13. Private buffers in use
14. Rows read
15. Rows written

67. What is Analysis Services? List out the features?

Ans:

Microsoft SQL Server 2014 Analysis Services (SSAS) delivers online analytical processing (OLAP) and data mining functionality for business intelligence applications. Analysis Services supports OLAP by letting us design, create, and manage multidimensional structures that contain data aggregated from other data sources, such as relational databases. For data mining applications, Analysis Services lets we design, create, and visualize data mining models that are constructed from other data sources by using a wide variety of industry-standard data mining algorithms.
Analysis Services is a middle tier server for analytical processing, OLAP, and Data mining. It manages multidimensional cubes of data and provides access to heaps of information including aggregation of data. One can create data mining models from data sources and use it for Business Intelligence also including reporting features.
Analysis service provides a combined view of the data used in OLAP or Data mining. Services here refer to OLAP, Data mining. Analysis services assists in creating, designing and managing multidimensional structures containing data from varied sources. It provides a wide array of data mining algorithms for specific trends and needs.
Some of the key features are:
1. Ease of use with a lot of wizards and designers.
2. Flexible data model creation and management
3. Scalable architecture to handle OLAP
4. Provides integration of administration tools, data sources, security, caching, and reporting etc.
5. Provides extensive support for custom applications

68. What is UDM? Its significance in SSAS?

Ans:

The role of a Unified Dimensional Model (UDM) is to provide a bridge between the user and the data sources. A UDM is constructed over one or more physical data sources, and then the end user issues queries against the UDM using one of a variety of client tools, such as Microsoft Excel. At a minimum, when the UDM is constructed merely as a thin layer over the data source, the advantages to the end user are a simpler, more readily understood model of the data, isolation from heterogeneous backend data sources, and improved performance for summary type queries. In some scenarios a simple UDM like this is constructed totally automatically. With greater investment in the construction of the UDM, additional benefits accrue from the richness of metadata that the model can provide.
The UDM provides the following benefits:
1. Allows the user model to be greatly enriched.
2. Provides high performance queries supporting interactive analysis, even over huge data volumes.
3. Allows business rules to be captured in the model to support richer analysis.

69. What is the need for SSAS component?

Ans:

1. Analysis Services is the only component in SQL Server using which we can perform Analysis and Forecast operations.
2. SSAS is very easy to use and interactive.
3. Faster Analysis and Troubleshooting.
4. Ability to create and manage Data warehouses.
5. Apply efficient Security Principles.

70. Explain the TWO-Tier Architecture of SSAS?

Ans:

1. SSAS uses both server and client components to supply OLAP and data mining functionality BI Applications.
2. The server component is implemented as a Microsoft Windows service. Each instance of Analysis Services implemented as a separate instance of the Windows service.
3. Clients communicate with Analysis Services using the standard XMLA (XML For Analysis) , protocol for issuing commands and receiving responses, exposed as a web service.



71. What are the components of SSAS?

Ans:

1. An OLAP Engine is used for enabling fast adhoc queries by end users. A user can interactively explore data by drilling, slicing or pivoting.
2. Drilling refers to the process of exploring details of the data.
3. Slicing refers to the process of placing data in rows and columns.
4. Pivoting refers to switching categories of data between rows and columns.
5. In OLAP, we will be using what are called as Dimensional Databases.

72. What is FASMI?

Ans:

A database is called an OLAP Database if the database satisfies the FASMI rules :
1. Fast Analysis–is defined in the OLAP scenario in five seconds or less.
2. Shared –Must support access to data by many users in the factors of Sensitivity and Write Backs.
3. Multidimensional –The data inside the OLAP Database must be multidimensional in structure.
4. Information –The OLAP database Must support large volumes of data..

73. What languages are used in SSAS?

Ans:

1. Structured Query Language (SQL)
2. Multidimensional Expressions (MDX) – an industry standard query language orientated towards analysis
3. Data Mining Extensions (DMX) – an industry standard query language oriented toward data mining.
4. Analysis Services Scripting Language (ASSL) – used to manage Analysis Services database objects.

74. What is the difference between a derived measure and a calculated measure?

Ans:

The difference between a derived measure and a calculated measure is when the calculation is performed. A derived measure is calculated before aggregations are created, and the values of the derived measure are stored in the cube. A calculated measure is calculated after aggregations are created, and the values of a calculated measure aren’t stored in the cube. The primary criterion for choosing between a derived measure and a calculated measure is not efficiency, but accuracy.

75. What is a partition?

Ans:

A partition in Analysis Services is the physical location of stored cube data. Every cube has at least one partition by default. Each time we create a measure group, another partition is created. Queries run faster against a partitioned cube because Analysis Services only needs to read data from the partitions that contain the answers to the queries. Queries run even faster when partition also stores aggregations, the pre calculated totals for additive measures. Partitions are a powerful and flexible means of managing cubes, especially large cubes.

76. While creating a new calculated member in a cube what is the use of property called non-empty behaviour?

Ans:

Nonempty behavior is important property for ratio calculations. If the denominator Is empty, an MDX expression will return an error just as it would if the denominator Were equal to zero. By selecting one or more measures for the Non-Empty Behavior property, we are establishing a requirement that each selected measure first be evaluated before the calculation expression is evaluated. If each selected measure is empty, then The expression is also treated as empty and no error is returned.

77. What is a RAGGED hierarchy?

Ans:

Under normal circumstances, each level in a hierarchy in Microsoft SQL Server Analysis Services (SSAS) has the same number of members above it as any other member at the same level. In a ragged hierarchy, the logical parent member of at least one member is not in the level immediately above the member. When this occurs, the hierarchy descends to different levels for different drilldown paths. Expanding through every level for every drilldown path is then unnecessarily complicated.

78. What are the roles of an Analysis Services Information Worker?

Ans:

The role of an Analysis Services information worker is the traditional “domain expert” role in business intelligence (BI) someone who understands the data employed by a solution and is able to translate the data into business information. The role of an Analysis Services information worker often has one of the following job titles: Business Analyst (Report Consumer), Manager (Report Consumer), Technical Trainer, Help Desk/Operation, or Network Administrator.

79. What are the different ways of creating Aggregations?

Ans:

We can create aggregations for faster MDX statements using Aggregation Wizard or thru UBO – Usage Based Optimizations. Always, prefer UBO method in realtime performance troubleshooting.

80. What is WriteBack? What are the pre-conditions?

Ans:

The Enable/Disable Writeback dialog box enables or disables writeback for a measure group in a cube. Enabling writeback on a measure group defines a writeback partition and creates a writeback table for that measure group. Disabling writeback on a measure group removes the writeback partition but does not delete the writeback table, to avoid unanticipated data loss.




81. What is processing?

Ans:

Processing is a critical and resource intensive operation in the data warehouse lifecycle and needs to be carefully optimized and executed. Analysis Services offers a high performance and scalable processing architecture with a comprehensive set of controls for database administrators.
We can process an OLAP database, individual cube, Dimension or a specific Partition in a cube.

82. Name few Business Analysis Enhancements for SSAS?

Ans:

The following table lists the business intelligence enhancements that are available in Microsoft SQL Server Analysis Services (SSAS). The table also shows the cube or dimension to which each business intelligence enhancement applies, and indicates whether an enhancement can be applied to an object that was created without using a data source and for which no schema has been generated.

Enhancement

Type

Applied to

No data source

Time Intelligence

Cube

Cube

No

Account Intelligence

Dimension

Dimension or cube

No

Dimension Intelligence

Dimension

Dimension or cube

Yes

Custom Aggregation

Dimension

Dimension (unary operator) or cube

No

Semiadditive Behavior

Cube

Cube

Yes

Custom Member Formula

Dimension

Dimension or cube

No

Custom Sorting and Uniqueness Settings

Dimension

Dimension or cube

Yes

Dimension Writeback

Dimension

Dimension or cube

Yes

83. What MDX functions do you most commonly use?

Ans:

This is a great question because you only know this answer by experience. If you ask me this question, the answer practically rushes out of me. “CrossJoin, Descendants, and NonEmpty, in addition to Sum, Count, and Aggregate. My personal favorite is CrossJoin because it allows me identify non-contiguous slices of the cube and aggregate even though those cube cells don’t roll up to a natural ancestor.” Indeed, CrossJoin has easily been my bread and butter.

84. Where do you put calculated members?

Ans:

The reflexive answer is “in the Measures dimension” but this is the obvious answer. So I always follow up with another question. “If you want to create a calculated member that intersects all measures, where do you put it?” A high percentage of candidates can’t answer this question, and the answer is “In a dimension other than Measures.” If they can answer it, I immediately ask them why. The answer is “Because a member in a dimension cannot intersect its own relatives in that dimension.”

85. How do I find the bottom 10 customers with the lowest sales in 2003 that were not null?

Ans:

Simply using bottomcount will return customers with null sales. You will have to combine it with NONEMPTY or FILTER.

SELECT { [Measures].[Internet Sales Amount] } ON COLUMNS ,
BOTTOMCOUNT(
NONEMPTY(DESCENDANTS( [Customer].[Customer Geography].[All Customers]
, [Customer].[Customer Geography].[Customer] )
, ( [Measures].[Internet Sales Amount] ) )
, 10
, ( [Measures].[Internet Sales Amount] )
) ON ROWS
FROM [Adventure Works]
WHERE ( [Date].[Calendar].[Calendar Year].&[2003] ) ;

86. How in MDX query can I get top 3 sales years based on order quantity?

Ans:

By default Analysis Services returns members in an order specified during attribute design. Attribute properties that define ordering are “OrderBy” and “OrderByAttribute”. Lets say we want to see order counts for each year. In Adventure Works MDX query would be:

SELECT {[Measures].[Reseller Order Quantity]} ON 0
, [Date].[Calendar].[Calendar Year].Members ON 1
FROM [Adventure Works];
Same query using TopCount:
SELECT
{[Measures].[Reseller Order Quantity]} ON 0,
TopCount([Date].[Calendar].[Calendar Year].Members,3, [Measures].[Reseller Order Quantity]) ON 1
FROM [Adventure Works];

87. How do you extract first tuple from the set?

Ans:

Use could usefunctionSet.Item(0)
Example:
SELECT {{[Date].[Calendar].[Calendar Year].Members
}.Item(0)}
ON 0
FROM [Adventure Works]

88. How can I setup default dimension member in Calculation script?

Ans:

You can use ALTER CUBE statement. Syntax:
ALTER CUBE CurrentCube | YourCubeName UPDATE DIMENSION , DEFAULT_MEMBER=”;

SSRS – SQL Server Reporting Services

89. What is SSRS?

Ans:

SQL Server Reporting Service is one of the server-based software systems that generate reports developed by Microsoft. It is used for preparing and delivering interactive and variety of printed reports. It is administered through an interface that is web based. Reporting services utilizes a web service interface for supporting and developing of customized reporting applicatons. It can be competed with Crystal Reports and other business intelligence tools.

90. Explain SSRS Architecture?

Ans:

Reporting services architecture comprises of integrated components. It is a multi-tiered, included with application, server and data layers. This architecture is scalable and modular. A single installation can be used across multiple computers.

It includes the following components: – Report Manager, Reporting Designer, Browser Types Supported by Reporting services, Report server, Report server command line utilities, Report Server Database, Reporting Services Extensibility, Data sources that is supported by Reporting Services.


91. Explain Reporting Life Cycle?

Ans:

The Reporting Lifecycle includes – Report designing – The designing is done in Visual Studio Report Designer. It generates a class which embodies the Report Definition. – Report processing – The processing includes binging the report definition with data from the report data source. It performs on all grouping, sorting and filtering calculations. The expressions are evaluated except the page header, footer and section items. Later it fires the Binding event and Bound event. As a result of the processing, it produces Report Instance. Report instance may be persisted and stored which can be rendered at a later point of time. – Report Rendering: Report rendering starts by passing the Report Instance to a specific rendering extension (HTML or PDF formats). The instance of reports is paged if paging supported by output format. The expressions of items are evaluated in the page header and footer sections for every page. As a final step, the report is rendered to the specific output document.

92. How to finetune Reports?

Ans:

To tune-up the Reporting Services, follow the below mentioned ways: – Expand the Server or utilizing the reporting services of another database server. For better embedding of report contents, report application’s logic and characteristics can have a duplicate copy of data. – Replication of data continuously. Using nolock, the issues of locking can well be resolved and the performance of the query can be improved. This can be done by using dirty read at the time of duplicating the data is unavailable.

93. What are Data Driven Subscriptions?

Ans:

Reporting Services provides data-driven subscriptions so that you can customize the distribution of a report based on dynamic subscriber data. Data-driven subscriptions are intended for the following kinds of scenarios: Distributing reports to a large recipient pool whose membership may change from one distribution to the next. For example distribute a monthly report to all current customers. Distributing reports to a specific group of recipients based on predefined criteria. For example send a sales performance report to the top ten sales managers in an organization.

94. Difference between Logical Page an Physical Page in SSRS.

Ans:

Logical page breaks are page breaks that you insert before or after report items or groups. Page breaks help to determine how the content is fitted to a report page for optimal viewing when rendering or exporting the report. The following rules apply when rendering logical page breaks: Logical page breaks are ignored for report items that are constantly hidden and for report items where the visibility is controlled by clicking another report item. Logical page breaks are applied on conditionally visible items if they are currently visible at the time the report is rendered. Space is preserved between the report item with the logical page break and its peer report items. Logical page breaks that are inserted before a report item push the report item down to the next page. The report item is rendered at the top of the next page. Logical page breaks defined on items in table or matrix cells are not kept. This does not apply to items in lists.

95. When to Use Null Data driven Subscription?

Ans:

Create a data-driven subscription that uses the Null Delivery Provider. When you specify the Null Delivery Provider as the method of delivery in the subscription, the report server targets the report server database as the delivery destination and uses a specialized rendering extension called the null rendering extension. In contrast with other delivery extensions, the Null Delivery Provider does not have delivery settings that you can configure through a subscription definition.

96. How does the report manager work in SSRS?

Ans:

Report manager is a web application. In SSRS it is accessed by a URL. The interface of this Report manager depends on the permissions of the user. This means to access any functionality or perform any task, the user must be assigned a role. A user with a role of full permissions can entire all the features and menus of the report. To configure the report manager, a URL needs to be defined.

97. What are the Reporting Services components?

Ans:

Reporting services components assist in development. These processing components include some tools that are used to create, manage and view reports. A report designer is used to create the reports. a report sever is used to execute and distribute reports. a report manager is used to manage the report server.

98. SQL Server Reporting Services vs Crystal Reports.

Ans:

Crystal reports are processed by IIS while SSRS have a report server. Caching in Crystal reports is available through cache server. On the other hand, caching in SSRS is available for Report history snapshots. Crystal reports have standards and user defined field labels. SSRS allows only user defined field labels.

99. What is Report Builder?

Ans:

Report Builder is a business-user, ad-hoc report design client that allows users to design reports based on the business terms (Report Builder model) they are familiar with, but without needing to understand database schemas or how to write SQL or MDX queries. Report Builder works with both SQL Server and Analysis Services data sources.

100. How does Report Builder support Analysis Services cubes?

Ans:

Report Builder supports relational SQL and Analysis Services data sources in SQL Server. To create a model for Analysis Services cube, go to Report Manager or Management Studio, create a data source for your Analysis Services database, and then select the Generate Model option to create the model.



101. How do users use Report Builder with SQL Server data sources?

Ans:

While models that provide access to SQL Server Analysis Services are automatically generated on the report server, the Report Builder Model Designer can be used to generate or modify the models that are built on top of SQL Server relational databases. These model-building projects are a new type of project within a Visual Studio–based development shell.

102. How do I get Report Builder to generate a parameter that can be set by users viewing the report?

Ans:

In the filter dialog box, click the name of the criteria that you would like to prompt the user for when viewing the report. For example, for the criteria Order Year=2000, click Order Year. Select the Prompt option in the drop-down list.

103. What new data source types were added in SSRS 2014?

Ans:

In addition to the data source types available in SSRS (SQL Server, Oracle, ODBC, OLE DB), the following have been added in SSRS 2012: SQL Server Analysis Services SQL Server Integration Services SQL Server Report Builder Models XML (through URL and Web services)

104. How can I add Reporting Services reports to my application?

Ans:

Visual Studio / SSDT / BI Data Tools (Standard and Enterprise editions) contains a set of freely redistributable Report Viewer controls that make it easy to embed Reporting Services functionality into custom applications. Two versions of the Report Viewer exist, one for rich Windows client applications and one for ASP.NET applications.

105. Do I need a report server to run reports in my application?

Ans:

In addition to publishing reports to a report server, you can build reports using the Report Designer that is directly integrated with Visual Studio language projects. You can embed reports directly in any Windows Forms or ASP.NET Web application without access to a report server. The data access in embedded reports is a natural extension of the Visual Studio data facilities. Not only can you use traditional databases as a source of data for your reports, you can use object collections as well.

106. Can you import Microsoft Excel data to SSRS?

Ans:

Reporting Services does not import data. It only queries data in whatever format it is stored in their native storage system. I will assume that you’re asking whether you can create reports and use Excel spreadsheets as data sources. The answer is Yes, Reporting Services supports a wide variety of data sources, including Excel files. You’ll get the best performance with the built-in native .NET providers but you should be able to connect to any ODBC or OLE-DB data source, whether it comes from Microsoft or a third-party company.

107. Can we deploy SSRS reports on our personal website?

Ans:

Your reports can only be deployed on a reporting services site. Your only option for viewing them from other sites is an HTTP link. Some tools, like SharePoint offer controls allowing you to view reports in the context of the other websites, but the report is still deployed to and hosted from reporting services.

108. Can we use datagrids for our report in SSRS?

Ans:

We have an ASP.NET project that populates a datagrid. Using datagrid as my datasource for my report using SQL Server Reporting Services. Is this possible? The simple answer is no. However, nothing’s ever simple. A set of reporting controls was added in Visual Studio 2010 allowing you to report in a dataset, on data that was supplied by you. So, if you retrieved your data into a dataset, bound the datagrid to the dataset so it had data to display, you could then use that dataset as the datasource for the reporting controls. These are then client-side reports, not server reports though.

109. What are the drawbacks of reporting in SSRS?

Ans:

For many years, Microsoft had no direct solution for reporting with the SQL Server besides Crystal Reports. Now, they have SQL Server Reporting Services, but it does have several drawbacks. It is still complex to understand the complete functionality and structure of this new component, and many users are still relying on the reporting application they are more familiar with, which is Crystal Reports. Also, components in SSRS like Report Builder and Report Designer are meant for different users for different aspects of the report process, yet complete understanding and exposure to both is important to utilize both functions fully and extensively. There are also issues when exporting very large reports to Microsoft Excel, as it can lead to a loss of data.

110. Will running SSRS on Windows XP limit the number of users?

Ans:

Yes, but not because of SSRS. The Internet Information Services (IIS) component of Windows XP only allows a small number of users to connect to the website at once. As SSRS runs via IIS, this would prevent more than a few people from using SSRS at once. Also, the only edition of SSRS that will install on Windows XP is the Developer Edition. This edition can not be used for production use. You need Standard or Enterprise Edition for production use, which requires a Server OS to install on (Windows 2003 Standard, Windows 2008 Standard, etc).




111. Are there issues when exporting SSRS reports into Microsoft Excel?

Ans:

When my users are trying to export a SSRS report into Microsoft Excel, one or two columns in the report appear to merge together. Why might this be? Exporting from SSRS is not always perfect, even if you stay within the Microsoft range of products. If you have extra resources, you could splurge for an add-on that offers much better control over exporting to Excel, such as OfficeWriter. From my experience, though, it is usually headers or footers that cause exporting issues. If any of these headers or footers overlap with data columns in your report, you will find that the exported version of the report has merged cells. Also, check columns next to each other to make sure that there is no overlap, as well.

112. How to send a SSRS report from SSIS?

Ans:

Often there is a requirement to be able to send a SSRS report in Excel, PDF or another format to different users from a SSIS package one it has finished performing a data load. In order to do this, first you need to create a subscription to the report. You can create a SSRS report subscription from Report Manager. At the report subscription you can mention the report format and the email address of the recipient. When you create a schedule for the SSRS report, a SQL Server Agent Job will be created. From the SSIS, by using sp_start_job and passing the relevant job name you can execute the SSRS report subscription.

113. MSBI Characteristics

Ans:

Criteria

Result

Analytics

Dashboards, guided navigation and drill down

Type of Solution

End-to-end Business solution with extended ETL

User-friendly

Ease of installation, use, maintenance

114. Define Query parameter in SSRS?

Ans:

Query parameters is revealed in the query of the datasources that are to be included into the SQL script’s where clause of the SQL that can accept parameters. Query parameters begin with the symbol @.

115. What are the Reporting Service Constituents in SSRS?

Ans:

  • Report Manager :A Web-based administration tool for managing the Report Server.
  • Report Server : Provides services for implementation and delivery of reports.
  • Report Designer : A place where we can create report.

116. What do you understand by matrix in SSRS?

Ans:

A matrix is a data region related to a report set. Matrix permits us to create crosstab reports with the report variables showing on rows and columns. It allows us to drag.

117. What do you mean by sub reports and how we can create them?

Ans:

A sub report is like any other reports which can be termed in main report and can be generate through main report. Parameters can be conceded from main report to sub report and basis of that report can be created.

118. Define report model project?

Ans:

Report model project is used for creating Adhoc reporting. We can create the adhoc reports over report builder. Report model project can be created on bids or report server. This model can have simple view.

119. What do you understand by report server project?

Ans:

Report Server Project comprises of RDL file and it need to be deployed on report server to view the report files to application and user. It is a solution where we can design our reports. We can add it by going into BIDS clicking on new item and then selecting reports server project. Once the solution is formed we can start forming reports.

120. Explain report builder?

Ans:

Report builder is used to create small reports and it is a define interface. We can’t change the report interface in report builder it pre designed. We can just drag columns in the report. It creates reports on database objects available with report model project.


121. In which SQL Server type report builder introduced?

Ans:

Report builder presented in SQL Server 2005. While creating or arranging report model project on report server we can get error or it might not get formed. For this we need to check whether the service pack 22 is installed or not.

122. How to organise the Report?

Ans:

Report can be organized in three ways :

  • Using visual studio :In visual studio we can directly deploy the report through solution explorer by providing the report server URL in project properties at Target Server URL. This will organize entire project or single report as per our selection.
  • Using report server :We can directly go to the report server and deploy the report by looking the report from the disk location on server.
  • Creating the utility :SQL server provides the utility which can be used to create a modify utility for our report deployment in bulk.

123. Define RS.exe utility?

Ans:

Rs.exe utility is used for organizing the report on report server. It comes with the report server and can be modify accordingly.

124. What is the name of reporting services config file and what it is used for?

Ans:

Reporting service config file is used for report configuration details. It contains the report format and also the report import types. Report service config exist in ISS.

125. What are the three different part of RDL file elaborate them?

Ans:

In visual studio RDL files has three parts.

Data :It covers the dataset on which we write the query. Data set is associated with data source.
Design :In design we can design report. We can create tables and matrix reports. We Drag columns values from source.
Preview :It ia used to check the preview after the report run.

126. Which language rdl files made of?

Ans:

RDL files are printed in XML.

127. What do you understand by chart in report?

Ans:

Chart reports are for graphical representation. We can get pie charts columns harts and various other options. 3d charts are also presented in reporting services.

128. Define Data Set in report?

Ans:

Data set are the set of data which we want to show in report. Data creates on data source. Data source is the source of data from where we are receiving this data i.e. database server and database name joining string.

129. Name different types of data sources in SSRS?

Ans:

SSRS use different data source. Some of them are listed below.

  1. SQL Server SAP Net weaver BI.
  2. Report Server Model.
  3. SQL Server Analysis Service OLEDB.
  4. SAP Net weaver BI.
  5. XML

130. What is the web service used for reporting services?

Ans:

Reporting Service Web Service used in SSRS. By retrieving this web service we can access all report server section and also get the report organized on report server.



131. How to enhance the custom code in Report?

Ans:

To enhance the custom codes in report go to report tab on top then properties and there you will find the selections for custom code.

132. Define cache in SSRS?

Ans:

Report server can lay up a copy of processed report in a memory and return the copy when a user opens the report. This server memory is called as cache and the process is known as caching.

133. Elaborate Web service task in SSIS?

Ans:

  • First we configure HTTP Connection manager which will point to WSDL of a web service.
  • Web service task customs this HTTP Connection manager and let us invoke methods in it.
  • It return values of method value we can store it in some variables and can use as input for some other tasks.

134. Explain transfer SQL Server object task?

Ans:

It allows us to allocate different SQL server objects between different instances of SQL Server.Object incomes from table, stored procedures, user defined functions etc.

135. In SSIS is it conceivable to communicate with MSMQ?

Ans:

Yes, it is possible for that we have Message Queue task. It contract us send messages to MSMQ and receive message from MSMQ.

136. What is the advantage of using MSMQ?

Ans:

MSMQ helps in communicating two applications with each other asynchronously. Specialty is two application may be built using dissimilar technology and it works even offline messaging. Sender will stock messages inside queue and reader reads it wherever required.

137. What are the Different Lookup Cache Modes Available in SSIS?

Ans:

There are basically 4 Cache Modes available in SSIS Lookup Transformation

  1. Full Cache Mode.
  2. Partial Cache Mode.
  3. No Cache Mode.
  4. Full Cache Mode

138. Differentiate between SSRS 2005 and SSRS 2008

Ans:

The major differences between SSRS 2005 and SSRS 2008 are as follows:
SSRS 2005 report server requires IIS, whereas SSRS 2008 comes with a build-in web server and hence does not require IIS.

139. Explain architecture of SSIS?

Ans:

SSIS architecture involves four key parts :

a) Integration Services service :
It monitors running Integration Services packages and accomplishes the storage of packages.
b) Integration Services object model :
It contains managed API for reading Integration Services tools, command-line utilities, and custom applications.
c) Integration Services runtime and run-time executables :
It keeps the layout of packages, runs packages, and provides support for logging, breakpoints, configuration, connections, and transactions.
d) Data flow engine :
It provides the in-memory buffers that move data from source to destination.

140. How we can do Logging in SSIS?

Ans:

Logging Configuration provides an inbuilt feature which can log the detail of various events like onError, onWarning etc.




141. How we can do Error Handling?

Ans:

SSIS package contain mainly have two types of errors :

  • Procedure Error : It can be handled in Control flow bythe precedence control and redirecting the execution flow.
  • Data Error : it is handled in DATA FLOW TASK by redirecting the data flow using Error Output of a component.

142. How we can pass property value at Run time?

Ans:

A property value like connection string for a Connection Manager can be passed to the pkg using package configurations.

iteanz

143. How can we organize a SSIS Package on production?

Ans:

A)Through Manifest we can organize it :

Create deployment utility by setting its properties as true .
It will be formed in the bin folder of the solution once package is build.
Copy all the files in the utility and use manifest file to display it on the Prod.
B) Using DtsExec.exe utility.

C)Import Package directly in MSDB from SSMS by logging in Integration Services.

144. Define Execution Tree?

Ans:

Execution trees demonstrate how package uses buffers and threads. At run time, the data flow engine breaks down Data Flow task operations into execution trees.

145. Differentiate between Unionall and Merge Join?

Ans:

  • Merge transformation can take only two inputs whereas Union all can take more than two inputs
  • Data has to be sorted before Merge Transformation whereas Union all doesn’t have any boundation like that.

146. How we can restart package from previous failure point? Define Checkpoints and how they are implement in SSIS?

Ans:

When a package is arranged to use checkpoints, material about package execution is written to a checkpoint file. When the failed package is rerun, the checkpoint file is used to restart the package from the point of failure. If the package runs effectively, the checkpoint file is deleted, and then re-created the next time that the package is run.

147. Where do you store SSIS package in the SQL Server?

Ans:

MSDB.sysdtspackages90 stores the original content.

148. What are the three stages of Enterprise Reporting Life Cycle ?

Ans:

  • Authoring Stage: Creating Reports
  • Managing Stage: Managing Reports and Other Items
  • Delivery Stage: Accessing and Delivering Reports

149. What are the apparatuses included in SSRS?

Ans:

A Complete set of Tools that can be used to generate, succeed and view reports.

A Report Server component that hosts and processes reports in many formats. Output formats include HTML, PDF and more.
An API that allows developers to mix or spread data and report processing in custom applications, or create custom tools to build and manage reports.

150. What are the benefits of using embedded code in a report?

Ans:

The benefits are:

  • Reuseability of Code: function created in embedded code to achieve a logic can be then used in manifold expressions
  • Centralized code: it helps in better manageability of code.

151. Which programming language can be used to code embedded functions in SSRS?

Ans:

Visual Basic .NET Code is used to code embedded fuctions in SSRS.

152. What important terms can be used in the reporting services?

Ans:

  1. Report definition: A report definition contains information about the query and layout for the report.
  2. Report snapshot: A report snapshot is actually a report definition that contains a dataset instead of query instructions.
  3. Rendered report: A fully processed report that contains both data and layout information, in a format suitable for viewing (such as HTML).
  4. Parameterized report: A published report that accepts input values through parameters.
  5. Shared data source: A predefined, standalone item that contains data source connection information.
  6. Shared schedule: It is a predefined, standalone item that covers schedule information.
  7. Report-specific data source: Data source information which is defined within a report definition.
  8. Report model: A semantic description of business data, used for ac hoc reports created in Report Builder.
  9. Linked report: It is a report that derives its definition through a link to another report.

153. What are the Command Line Utilities available in Reporting Services?

Ans:

  1. Rsconfig Utility (Rsconfig.exe): encrypts and stores connection and account values in the RSReportServer.config file.
  2. RsKeymgmt Utility: it is used to Extracts, restores, creates, and deletes the symmetric key used to protect sensitive report server data against unauthorized access
  3. RS Utility: this utility is mainly used to automate report server deployment.

154. How we can know Report Execution History?

Ans:

We can know Report Execution History as the execution log table in report server database contains all the logs from the last two months so we can see it from there.
Select-from reportserver.dbo.ExecutionLog

155. Differentiate between Tablular and Matrix report?

Ans:

Tablular report: It is the most basic type of report. Each column corresponds to a column selected from the database.
Matrix report: A matrix report is a cross-tabulation of four groups of data:

  1. One group of data is displayed across the page.
  2. One group of data is displayed down the page.
  3. One group of data is the cross-product.
  4. One group of data is displayed as the “filler” of the cells.

156. How we can create Drill-through reports?

Ans:

By Using Navigation property of a cell and scenery child report and its parameters in it we can create Drill-through reports.

157. How to create Drill-Down reports?

Ans:

By grouping data on essential fields
Then toggle reflectivity based on the grouped filed

158. How we can schedule a SSIS packages?

Ans:

Using SQL Server Agent we can schedule a SSIS packages.

159. Define Asynchronous transformation?

Ans:

Asynchronous transformation have various Input and Output buffers and it is up to the component designer. It provide a column structure to the output buffer and hook up the data from the input.

160. How we can achieve parallelism in SSIS?

Ans:

Parallelism is achieved using MaxConcurrentExecutable stuff of the package. Its default is -1 and is calculated as number of computers + 2.



161. How we can do incremental load?

Ans:

Accurate and fastest way to do incremental load is by using Timestamp column in source table and then storing last ETL timestamp.

162. How we can handle Early Arriving Facts.

Ans:

Early Arriving Facts sometime get unavoidable because delay or error in Dimension ETL or may be due to logic of ETL. To handle Early arriving Facts, we can create dummy Dimension with natural/business key and keep rest of the attributes as null or default.

163. Define SQL Server Reporting Services(SSRS)?

Ans:

SQL Server Reporting Services is a server-based reporting platform that we can use to create and manage tabular, matrix, graphical, and free-form reports that contain data from relational and multidimensional data sources.

164. What is SSIS? How it is related with SQL Server.

Ans:

  • SQL Server Integration Services (SSIS) is a component of SQL Server which can be used to perform a wide range of Data Migration and ETL operations. SSIS is a component in MSBI process of SQL Server.
  • This is a platform for Integration and Workflow applications. It is known for a fast and flexible OLTP and OLAP extensions used for data extraction, transformation, and loading (ETL).
  • The tool may also be used to automate maintenance of SQL Server databases and multidimensional data sets.

165. What are the tools associated with SSIS?

Ans:

  • We use Business Intelligence Development Studio (BIDS) and SQL Server Management Studio (SSMS) to work with Development of SSIS Projects.
  • We use SSMS to manage the SSIS Packages and Projects.

166. What are the differences between DTS and SSIS

Ans:

Data Transformation Services

SQL Server Integration Services

Limited Error Handling

Complex and powerful Error Handling

Message Boxes in ActiveX Scripts

Message Boxes in .NET Scripting

No Deployment Wizard

Interactive Deployment Wizard

Limited Set of Transformation

Good number of Transformations

NO BI functionality

Complete BI Integration

167. What is a workflow in SSIS 2014 ?

Ans:

Workflow is a set of instructions on to specify the Program Executor on how to execute tasks and containers within SSIS Packages.

168. What is the control flow?

Ans:

A control flow consists of one or more tasks and containers that execute when the package runs. To control order or define the conditions for running the next task or container in the package control flow, we use precedence constraints to connect the tasks and containers in a package. A subset of tasks and containers can also be grouped and run repeatedly as a unit within the package control flow. SQL Server Integration Services (SSIS) provides three different types of control flow elements: Containers that provide structures in packages, Tasks that provide functionality, and Precedence Constraints that connect the executables, containers, and tasks into an ordered control flow.

169. What is the data flow?

Ans:

Data flow consists of the sources and destinations that extract and load data, the transformations that modify and extend data, and the paths that link sources, transformations, and destinations The Data Flow task is the executable within the SSIS package that creates, orders, and runs the data flow. A separate instance of the data flow engine is opened for each Data Flow task in a package. Data Sources, Transformations, and Data Destinations are the three important categories in the Data Flow.

170. How does Error-Handling work in SSIS

Ans:

When a data flow component applies a transformation to column data, extracts data from sources, or loads data into destinations, errors can occur. Errors frequently occur because of unexpected data values.
Type of typical Errors in SSIS:

  • Data Connection Errors, which occur incase the connection manager cannot be initialized with the connection string. This applies to both Data Sources and Data Destinations along with Control Flows that use the Connection Strings.
  • Data Transformation Errors, which occur while data is being transformed over a Data Pipeline from Source to Destination.
  • Expression Evaluation errors, which occur if expressions that are evaluated at run time perform invalid



171.What is environment variable in SSIS?

Ans:

An environment variable configuration sets a package property equal to the value in an environment variable.
Environmental configurations are useful for configuring properties that are dependent on the computer that is executing the package.

172.What are the Transformations available in SSIS?

Ans:

  • AGGREGATE – It applies aggregate functions to Record Sets to produce new output records from aggregated values.
  • AUDIT – Adds Package and Task level Metadata – such as Machine Name, Execution Instance, Package Name, Package ID, etc..
  • CHARACTERMAP – Performs SQL Server column level string operations such as changing data from lower case to upper case.
  • CONDITIONALSPLIT– Separates available input into separate output pipelines based on Boolean Expressions configured for each output.
  • COPYCOLUMN – Add a copy of column to the output we can later transform the copy keeping the original for auditing.
  • DATACONVERSION – Converts columns data types from one to another type. It stands for Explicit Column Conversion.
  • DATAMININGQUERY– Used to perform data mining query against analysis services and manage Predictions Graphs and Controls.
  • DERIVEDCOLUMN – Create a new (computed) column from given expressions.
  • EXPORTCOLUMN– Used to export a Image specific column from the database to a flat file.
  • FUZZYGROUPING– Used for data cleansing by finding rows that are likely duplicates.
  • FUZZYLOOKUP – Used for Pattern Matching and Ranking based on fuzzy logic.
  • IMPORTCOLUMN – Reads image specific column from database onto a flat file.
  • LOOKUP – Performs the lookup (searching) of a given reference object set against a data source. It is used for exact matches only.
  • MERGE – Merges two sorted data sets into a single data set into a single data flow.
  • MERGEJOIN – Merges two data sets into a single dataset using a join junction.
  • MULTICAST – Sends a copy of supplied Data Source onto multiple Destinations.
  • ROWCOUNT – Stores the resulting row count from the data flow / transformation into a variable.
  • ROWSAMPLING – Captures sample data by using a row count of the total rows in dataflow specified by rows or percentage.
  • UNIONALL – Merge multiple data sets into a single dataset.
  • PIVOT– Used for Normalization of data sources to reduce analomolies by converting rows into columns
  • UNPIVOT– Used for denormalizing the data structure by converts columns into rows incase of building Data Warehouses.

173. How to log SSIS Executions?

Ans:

SSIS includes logging features that write log entries when run-time events occur and can also write custom messages. This is not enabled by default. Integration Services supports a diverse set of log providers, and gives you the ability to create custom log providers. The Integration Services log providers can write log entries to text files, SQL Server Profiler, SQL Server, Windows Event Log, or XML files. Logs are associated with packages and are configured at the package level. Each task or container in a package can log information to any package log. The tasks and containers in a package can be enabled for logging even if the package itself is not.

174. How do you deploy SSIS packages?

Ans:

SSIS Project BUILD provides a Deployment Manifest File. We need to run the manifest file and decide whether to deploy this onto File System or onto SQL Server [ msdb]. SQL Server Deployment is very faster and more secure then File System Deployment. Alternatively, we can also import the package from SSMS from File System or SQL Server.

175.What are variables and what is variable scope?

Ans:

Variables store values that a SSIS package and its containers, tasks, and event handlers can use at run time. The scripts in the Script task and the Script component can also use variables. The precedence constraints that sequence tasks and containers into a workflow can use variables when their constraint definitions include expressions. Integration Services supports two types of variables: user-defined variables and system variables. User-defined variables are defined by package developers, and system variables are defined by Integration Services. You can create as many user-defined variables as a package requires, but you cannot create additional system variables.

176.Can you name five of the Perfmon counters for SSIS and the value they provide?

Ans:

  • SQLServer:SSIS Service
  • SSIS Package Instances
  • SQLServer:SSIS Pipeline
  • BLOB bytes read
  • BLOB bytes written
  • BLOB files in use
  • Buffer memory
  • Buffers in use
  • Buffers spooled
  • Flat buffer memory
  • Flat buffers in use
  • Private buffer memory
  • Private buffers in use
  • Rows read
  • Rows written

177. What is Analysis Services? List out the features?

Ans:

Microsoft SQL Server 2014 Analysis Services (SSAS) delivers online analytical processing (OLAP) and data mining functionality for business intelligence applications. Analysis Services supports OLAP by letting us design, create, and manage multidimensional structures that contain data aggregated from other data sources, such as relational databases. For data mining applications, Analysis Services lets we design, create, and visualize data mining models that are constructed from other data sources by using a wide variety of industry-standard data mining algorithms.
Analysis Services is a middle tier server for analytical processing, OLAP, and Data mining. It manages multidimensional cubes of data and provides access to heaps of information including aggregation of data. One can create data mining models from data sources and use it for Business Intelligence also including reporting features.
Analysis service provides a combined view of the data used in OLAP or Data mining. Services here refer to OLAP, Data mining. Analysis services assists in creating, designing and managing multidimensional structures containing data from varied sources. It provides a wide array of data mining algorithms for specific trends and needs.
Some of the key features are:

  1. Ease of use with a lot of wizards and designers.
  2. Flexible data model creation and management
  3. Scalable architecture to handle OLAP
  4. Provides integration of administration tools, data sources, security, caching, and reporting etc.
  5. Provides extensive support for custom applications

178.What is UDM? Its significance in SSAS?

Ans:

The role of a Unified Dimensional Model (UDM) is to provide a bridge between the user and the data sources. A UDM is constructed over one or more physical data sources, and then the end user issues queries against the UDM using one of a variety of client tools, such as Microsoft Excel. At a minimum, when the UDM is constructed merely as a thin layer over the data source, the advantages to the end user are a simpler, more readily understood model of the data, isolation from heterogeneous backend data sources, and improved performance for summary type queries. In some scenarios a simple UDM like this is constructed totally automatically. With greater investment in the construction of the UDM, additional benefits accrue from the richness of metadata that the model can provide.

The UDM provides the following benefits:
• Allows the user model to be greatly enriched.
• Provides high performance queries supporting interactive analysis, even over huge data volumes.
• Allows business rules to be captured in the model to support richer analysis.

179.What is the need for SSAS component?

Ans:

Analysis Services is the only component in SQL Server using which we can perform Analysis and Forecast operations.
SSAS is very easy to use and interactive.
Faster Analysis and Troubleshooting.
Ability to create and manage Data warehouses.
Apply efficient Security Principles.

180. Explain the TWO-Tier Architecture of SSAS?

Ans:

SSAS uses both server and client components to supply OLAP and data mining functionality BI Applications.
The server component is implemented as a Microsoft Windows service. Each instance of Analysis Services implemented as a separate instance of the Windows service.
Clients communicate with Analysis Services using the standard XMLA (XML For Analysis) , protocol for issuing commands and receiving responses, exposed as a web service.


181. What are the components of SSAS?

Ans:

An OLAP Engine is used for enabling fast adhoc queries by end users. A user can interactively explore data by drilling, slicing or pivoting.
Drilling refers to the process of exploring details of the data.
Slicing refers to the process of placing data in rows and columns.
Pivoting refers to switching categories of data between rows and columns.
In OLAP, we will be using what are called as Dimensional Databases.

182. What is FASMI ?

Ans:

A database is called an OLAP Database if the database satisfies the FASMI rules :

  • Fast Analysis– is defined in the OLAP scenario in five seconds or less.
  • Shared – Must support access to data by many users in the factors of Sensitivity and Write Backs.
  • Multidimensional – The data inside the OLAP Database must be multidimensional in structure.
  • Information – The OLAP database Must support large volumes of data..

183. What languages are used in SSAS ?

Ans:

Structured Query Language (SQL)
Multidimensional Expressions (MDX) – an industry standard query language orientated towards analysis
Data Mining Extensions (DMX) – an industry standard query language oriented toward data mining.
Analysis Services Scripting Language (ASSL) – used to manage Analysis Services database objects.

184. How Cubes are implemented in SSAS ?

Ans:

Cubes are multidimensional models that store data from one or more sources.
Cubes can also store aggregations
SSAS Cubes are created using the Cube Wizard.
We also build Dimensions when creating Cubes.
Cubes can see only the DSV( logical View).

185. What is the difference between a derived measure and a calculated measure?

Ans:

The difference between a derived measure and a calculated measure is when the calculation is performed. A derived measure is calculated before aggregations are created, and the values of the derived measure are stored in the cube. A calculated measure is calculated after aggregations are created, and the values of a calculated measure aren’t stored in the cube. The primary criterion for choosing between a derived measure and a calculated measure is not efficiency, but accuracy.

186. What is a partition?

Ans:

A partition in Analysis Services is the physical location of stored cube data. Every cube has at least one partition by default. Each time we create a measure group, another partition is created. Queries run faster against a partitioned cube because Analysis Services only needs to read data from the partitions that contain the answers to the queries. Queries run even faster when partition also stores aggregations, the pre calculated totals for additive measures. Partitions are a powerful and flexible means of managing cubes, especially large cubes.

187.  While creating a new calculated member in a cube what is the use of property  called non-empty behavior?

Ans:

Nonempty behavior is important property for ratio calculations. If the denominator Is empty, an MDX expression will return an error just as it would if the denominator Were equal to zero. By selecting one or more measures for the Non-Empty Behavior property, we are establishing a requirement that each selected measure first be evaluated before the calculation expression is evaluated. If each selected measure is empty, then The expression is also treated as empty and no error is returned.

188. What is a RAGGED hierarchy?

Ans:

Under normal circumstances, each level in a hierarchy in Microsoft SQL Server Analysis Services (SSAS) has the same number of members above it as any other member at the same level. In a ragged hierarchy, the logical parent member of at least one member is not in the level immediately above the member. When this occurs, the hierarchy descends to different levels for different drilldown paths. Expanding through every level for every drilldown path is then unnecessarily complicated.

189. What are the roles of an Analysis Services Information Worker?

Ans:

The role of an Analysis Services information worker is the traditional “domain expert” role in business intelligence (BI) someone who understands the data employed by a solution and is able to translate the data into business information. The role of an Analysis Services information worker often has one of the following job titles: Business Analyst (Report Consumer), Manager (Report Consumer), Technical Trainer, Help Desk/Operation, or Network Administrator.

190. What are the different ways of creating Aggregations?

Ans:

We can create aggregations for faster MDX statements using Aggregation Wizard or thru UBO – Usage Based Optimizations. Always, prefer UBO method in realtime performance troubleshooting.



191. What is WriteBack? What are the pre-conditions?

Ans:

The Enable/Disable Writeback dialog box enables or disables writeback for a measure group in a cube. Enabling wri
teback on a measure group defines a writeback partition and creates a writeback table for that measure group. Disabling writeback on a measure group removes the writeback partition but does not delete the writeback table, to avoid unanticipated data loss.

192. What is processing?

Ans:

Processing is a critical and resource intensive operation in the data warehouse lifecycle and needs to be carefully optimized and executed. Analysis Services offers a high performance and scalable processing architecture with a comprehensive set of controls for database administrators.
We can process an OLAP database, individual cube, Dimension or a specific Partition in a cube.

193. Name few Business Analysis Enhancements for SSAS?

Ans:

The following table lists the business intelligence enhancements that are available in Microsoft SQL Server Analysis Services (SSAS). The table also shows the cube or dimension to which each business intelligence enhancement applies, and indicates whether an enhancement can be applied to an object that was created without using a data source and for which no schema has been generated.

Enhancement

Type

Applied to

No data source

Time Intelligence

Cube

Cube

No

Account Intelligence

Dimension

Dimension or cube

No

Dimension Intelligence

Dimension

Dimension or cube

Yes

Custom Aggregation

Dimension

Dimension (unary operator) or cube

No

Semiadditive Behavior

Cube

Cube

Yes

Custom Member Formula

Dimension

Dimension or cube

No

Custom Sorting and Uniqueness Settings

Dimension

Dimension or cube

Yes

Dimension Writeback

Dimension

Dimension or cube

Yes

194. What MDX functions do you most commonly use?

Ans:

This is a great question because you only know this answer by experience. If you ask me this question, the answer practically rushes out of me. “CrossJoin, Descendants, and NonEmpty, in addition to Sum, Count, and Aggregate. My personal favorite is CrossJoin because it allows me identify non-contiguous slices of the cube and aggregate even though those cube cells don’t roll up to a natural ancestor.” Indeed, CrossJoin has easily been my bread and butter.

195. Where do you put calculated members?

Ans:

The reflexive answer is “in the Measures dimension” but this is the obvious answer. So I always follow up with another question. “If you want to create a calculated member that intersects all measures, where do you put it?” A high percentage of candidates can’t answer this question, and the answer is “In a dimension other than Measures.” If they can answer it, I immediately ask them why. The answer is “Because a member in a dimension cannot intersect its own relatives in that dimension.”

196. What is SSIS? How it is related with SQL Server.

Ans:

SQL Server Integration Services (SSIS) is a component of SQL Server which can be used to perform a wide range of Data Migration and ETL operations. SSIS is a component in MSBI process of SQL Server.
This is a platform for Integration and Workflow applications. It is known for a fast and flexible OLTP and OLAP extensions used for data extraction, transformation, and loading (ETL). The tool may also be used to automate maintenance of SQL Server databases and multidimensional data sets.

197. What are the tools associated with SSIS?

Ans:

We use Business Intelligence Development Studio (BIDS) and SQL Server Management Studio (SSMS) to work with Development of SSIS Projects. We use SSMS to manage the SSIS Packages and Projects.

198. What are the tools associated with SSIS?

Ans:

Data Transformation Services

SQL Server Integration Services

Limited Error Handling

Complex and powerful Error Handling

Message Boxes in ActiveX Scripts

Message Boxes in .NET Scripting

No Deployment Wizard

Interactive Deployment Wizard

Limited Set of Transformation

Good number of Transformations

NO BI functionality

Complete BI Integration

199. What is a workflow in SSIS 2014 ?

Ans:

Workflow is a set of instructions on to specify the Program Executor on how to execute tasks and containers within SSIS Packages.

200. What is the control flow?

Ans:

A control flow consists of one or more tasks and containers that execute when the package runs. To control order or define the conditions for running the next task or container in the package control flow, we use precedence constraints to connect the tasks and containers in a package. A subset of tasks and containers can also be grouped and run repeatedly as a unit within the package control flow. SQL Server Integration Services (SSIS) provides three different types of control flow elements: Containers that provide structures in packages, Tasks that provide functionality, and Precedence Constraints that connect the executables, containers, and tasks into an ordered control flow.




201. What is the data flow?

Ans:

Data flow consists of the sources and destinations that extract and load data, the transformations that modify and extend data, and the paths that link sources, transformations, and destinations The Data Flow task is the executable within the SSIS package that creates, orders, and runs the data flow. A separate instance of the data flow engine is opened for each Data Flow task in a package. Data Sources, Transformations, and Data Destinations are the three important categories in the Data Flow.

202. How does Error-Handling work in SSIS

Ans:

When a data flow component applies a transformation to column data, extracts data from sources, or loads data into destinations, errors can occur. Errors frequently occur because of unexpected data values.
Type of typical Errors in SSIS:

  • Data Connection Errors, which occur incase the connection manager cannot be initialized with the connection string. This applies to both Data Sources and Data Destinations along with Control Flows that use the Connection Strings.
  • Data Transformation Errors, which occur while data is being transformed over a Data Pipeline from Source to Destination.
  • Expression Evaluation errors, which occur if expressions that are evaluated at run time perform invalid

203. What is environment variable in SSIS?

Ans:

An environment variable configuration sets a package property equal to the value in an environment variable. Environmental configurations are useful for configuring properties that are dependent on the computer that is executing the package.

204. What are the Transformations available in SSIS?

Ans:

  1. AGGREGATE – It applies aggregate functions to Record Sets to produce new output records from aggregated values.
  2. AUDIT – Adds Package and Task level Metadata – such as Machine Name, Execution Instance, Package Name, Package ID, etc..
  3. CHARACTERMAP – Performs SQL Server column level string operations such as changing data from lower case to upper case.
  4. CONDITIONALSPLIT – Separates available input into separate output pipelines based on Boolean Expressions configured for each output.
  5. COPYCOLUMN – Add a copy of column to the output we can later transform the copy keeping the original for auditing.
  6. DATACONVERSION – Converts columns data types from one to another type. It stands for Explicit Column Conversion.
  7. DATAMININGQUERY – Used to perform data mining query against analysis services and manage Predictions Graphs and Controls.
  8. DERIVEDCOLUMN – Create a new (computed) column from given expressions.
  9. EXPORTCOLUMN – Used to export a Image specific column from the database to a flat file.
  10. FUZZYGROUPING – Used for data cleansing by finding rows that are likely duplicates.
  11. FUZZYLOOKUP – Used for Pattern Matching and Ranking based on fuzzy logic.
  12. IMPORTCOLUMN – Reads image specific column from database onto a flat file.
  13. LOOKUP – Performs the lookup (searching) of a given reference object set against a data source. It is used for exact matches only.
  14. MERGE – Merges two sorted data sets into a single data set into a single data flow.
  15. MERGEJOIN – Merges two data sets into a single dataset using a join junction.
  16. MULTICAST – Sends a copy of supplied Data Source onto multiple Destinations.
  17. ROWCOUNT – Stores the resulting row count from the data flow / transformation into a variable.
  18. ROWSAMPLING – Captures sample data by using a row count of the total rows in dataflow specified by rows or percentage.
  19. UNIONALL – Merge multiple data sets into a single dataset.
  20. PIVOT – Used for Normalization of data sources to reduce analomolies by converting rows into columns
  21. UNPIVOT – Used for denormalizing the data structure by converts columns into rows incase of building Data Warehouses.

205. How to log SSIS Executions?

Ans:

SSIS includes logging features that write log entries when run-time events occur and can also write custom messages. This is not enabled by default. Integration Services supports a diverse set of log providers, and gives you the ability to create custom log providers. The Integration Services log providers can write log entries to text files, SQL Server Profiler, SQL Server, Windows Event Log, or XML files. Logs are associated with packages and are configured at the package level. Each task or container in a package can log information to any package log. The tasks and containers in a package can be enabled for logging even if the package itself is not.

206. How do you deploy SSIS packages?

Ans:

SSIS Project BUILD provides a Deployment Manifest File. We need to run the manifest file and decide whether to deploy this onto File System or onto SQL Server [ msdb]. SQL Server Deployment is very faster and more secure then File System Deployment. Alternatively, we can also import the package from SSMS from File System or SQL Server.

207. What are variables and what is variable scope?

Ans:

Variables store values that a SSIS package and its containers, tasks, and event handlers can use at run time. The scripts in the Script task and the Script component can also use variables. The precedence constraints that sequence tasks and containers into a workflow can use variables when their constraint definitions include expressions. Integration Services supports two types of variables: user-defined variables and system variables. User-defined variables are defined by package developers, and system variables are defined by Integration Services. You can create as many user-defined variables as a package requires, but you cannot create additional system variables.

208. Can you name five of the Perfmon counters for SSIS and the value they provide?

Ans:

  • SQLServer:SSIS Service
  • SSIS Package Instances
  • SQLServer:SSIS Pipeline
  • BLOB bytes read
  • BLOB bytes written
  • BLOB files in use
  • Buffer memory
  • Buffers in use
  • Buffers spooled
  • Flat buffer memory
  • Flat buffers in use
  • Private buffer memory
  • Private buffers in use
  • Rows read
  • Rows written

209. What is Analysis Services? List out the features?

Ans:

Microsoft SQL Server 2014 Analysis Services (SSAS) delivers online analytical processing (OLAP) and data mining functionality for business intelligence applications. Analysis Services supports OLAP by letting us design, create, and manage multidimensional structures that contain data aggregated from other data sources, such as relational databases. For data mining applications, Analysis Services lets we design, create, and visualize data mining models that are constructed from other data sources by using a wide variety of industry-standard data mining algorithms.
Analysis Services is a middle tier server for analytical processing, OLAP, and Data mining. It manages multidimensional cubes of data and provides access to heaps of information including aggregation of data. One can create data mining models from data sources and use it for Business Intelligence also including reporting features.
Analysis service provides a combined view of the data used in OLAP or Data mining. Services here refer to OLAP, Data mining. Analysis services assists in creating, designing and managing multidimensional structures containing data from varied sources. It provides a wide array of data mining algorithms for specific trends and needs.
Some of the key features are:

  • Ease of use with a lot of wizards and designers.
  • Flexible data model creation and management
  • Scalable architecture to handle OLAP
  • Provides integration of administration tools, data sources, security, caching, and reporting etc.
  • Provides extensive support for custom applications

210. What is UDM? Its significance in SSAS?

Ans:

The role of a Unified Dimensional Model (UDM) is to provide a bridge between the user and the data sources. A UDM is constructed over one or more physical data sources, and then the end user issues queries against the UDM using one of a variety of client tools, such as Microsoft Excel. At a minimum, when the UDM is constructed merely as a thin layer over the data source, the advantages to the end user are a simpler, more readily understood model of the data, isolation from heterogeneous backend data sources, and improved performance for summary type queries. In some scenarios a simple UDM like this is constructed totally automatically. With greater investment in the construction of the UDM, additional benefits accrue from the richness of metadata that the model can provide.
The UDM provides the following benefits:

  • Allows the user model to be greatly enriched.
  • Provides high performance queries supporting interactive analysis, even over huge data volumes.
  • Allows business rules to be captured in the model to support richer analysis.

211. What is the need for SSAS component?

Ans:

Analysis Services is the only component in SQL Server using which we can perform Analysis and Forecast operations.
SSAS is very easy to use and interactive.
Faster Analysis and Troubleshooting.
Ability to create and manage Data warehouses.
Apply efficient Security Principles.

212. Explain the TWO-Tier Architecture of SSAS?

Ans:

SSAS uses both server and client components to supply OLAP and data mining functionality BI Applications.
The server component is implemented as a Microsoft Windows service. Each instance of Analysis Services implemented as a separate instance of the Windows service.
Clients communicate with Analysis Services using the standard XMLA (XML For Analysis) , protocol for issuing commands and receiving responses, exposed as a web service.

213. What are the components of SSAS?

Ans:

An OLAP Engine is used for enabling fast adhoc queries by end users. A user can interactively explore data by drilling, slicing or pivoting.
Drilling refers to the process of exploring details of the data.
Slicing refers to the process of placing data in rows and columns.
Pivoting refers to switching categories of data between rows and columns.
In OLAP, we will be using what are called as Dimensional Databases.

214. What is FASMI ?

Ans:

A database is called an OLAP Database if the database satisfies the FASMI rules :
Fast Analysis– is defined in the OLAP scenario in five seconds or less.
Shared – Must support access to data by many users in the factors of Sensitivity and Write Backs.
Multidimensional – The data inside the OLAP Database must be multidimensional in structure.
Information – The OLAP database Must support large volumes of data.

215. What languages are used in SSAS ?

Ans:

Structured Query Language (SQL)
Multidimensional Expressions (MDX) – an industry standard query language orientated towards analysis
Data Mining Extensions (DMX) – an industry standard query language oriented toward data mining.
Analysis Services Scripting Language (ASSL) – used to manage Analysis Services database objects.

216. How Cubes are implemented in SSAS ?

Ans:

Cubes are multidimensional models that store data from one or more sources.
Cubes can also store aggregations
SSAS Cubes are created using the Cube Wizard.
We also build Dimensions when creating Cubes.
Cubes can see only the DSV( logical View).

217. What is the difference between a derived measure and a calculated measure?

Ans:

The difference between a derived measure and a calculated measure is when the calculation is performed. A derived measure is calculated before aggregations are created, and the values of the derived measure are stored in the cube. A calculated measure is calculated after aggregations are created, and the values of a calculated measure aren’t stored in the cube. The primary criterion for choosing between a derived measure and a calculated measure is not efficiency, but accuracy.

218. What is a partition?

Ans:

A partition in Analysis Services is the physical location of stored cube data. Every cube has at least one partition by default. Each time we create a measure group, another partition is created. Queries run faster against a partitioned cube because Analysis Services only needs to read data from the partitions that contain the answers to the queries. Queries run even faster when partition also stores aggregations, the pre calculated totals for additive measures. Partitions are a powerful and flexible means of managing cubes, especially large cubes.

219. While creating a new calculated member in a cube what is the use of property called non-empty behavior?

Ans:

Nonempty behavior is important property for ratio calculations. If the denominator Is empty, an MDX expression will return an error just as it would if the denominator Were equal to zero. By selecting one or more measures for the Non-Empty Behavior property, we are establishing a requirement that each selected measure first be evaluated before the calculation expression is evaluated. If each selected measure is empty, then The expression is also treated as empty and no error is returned.

220. What is a RAGGED hierarchy?

Ans:

Under normal circumstances, each level in a hierarchy in Microsoft SQL Server Analysis Services (SSAS) has the same number of members above it as any other member at the same level. In a ragged hierarchy, the logical parent member of at least one member is not in the level immediately above the member. When this occurs, the hierarchy descends to different levels for different drilldown paths. Expanding through every level for every drilldown path is then unnecessarily complicated.



221. What are the roles of an Analysis Services Information Worker?

Ans:

The role of an Analysis Services information worker is the traditional “domain expert” role in business intelligence (BI) someone who understands the data employed by a solution and is able to translate the data into business information. The role of an Analysis Services information worker often has one of the following job titles: Business Analyst (Report Consumer), Manager (Report Consumer), Technical Trainer, Help Desk/Operation, or Network Administrator.

222. How Cubes are implemented in SSAS?

Ans:

1. Cubes are multidimensional models that store data from one or more sources.
2. Cubes can also store aggregations
3. SSAS Cubes are created using the Cube Wizard.
4. We also build Dimensions when creating Cubes.
5. Cubes can see only the DSV( logical View).

223. What are the different ways of creating Aggregations?

Ans:

We can create aggregations for faster MDX statements using Aggregation Wizard or thru UBO – Usage Based Optimizations. Always, prefer UBO method in realtime performance troubleshooting.

224. What is WriteBack? What are the pre-conditions?

Ans:

The Enable/Disable Writeback dialog box enables or disables writeback for a measure group in a cube. Enabling writeback on a measure group defines a writeback partition and creates a writeback table for that measure group. Disabling writeback on a measure group removes the writeback partition but does not delete the writeback table, to avoid unanticipated data loss.

225. What is processing?

Ans:

Processing is a critical and resource intensive operation in the data warehouse lifecycle and needs to be carefully optimized and executed. Analysis Services offers a high performance and scalable processing architecture with a comprehensive set of controls for database administrators.We can process an OLAP database, individual cube, Dimension or a specific Partition in a cube.

226. Name few Business Analysis Enhancements for SSAS?

Ans:

The following table lists the business intelligence enhancements that are available in Microsoft SQL Server Analysis Services (SSAS). The table also shows the cube or dimension to which each business intelligence enhancement applies, and indicates whether an enhancement can be applied to an object that was created without using a data source and for which no schema has been generated.

Enhancement

Type

Applied to

No data Source

Time Intelligence

Cube

Cube

No

Account Intelligence

Dimension

Dimension or cube

No

Dimension Intelligence

Dimension

Dimension or cube

Yes

Custom Aggregation

Dimension

Dimension (unary operator) or cube

No

Semiadditive Behavior

Cube

Cube

Yes

Custom Member Formula

Dimension

Dimension or cube

No

Custom Sorting and Uniqueness Settings

Dimension

Dimension or cube

Yes

Dimension Writeback

Dimension

Dimension or cube

Yes

227. What MDX functions do you most commonly use?

Ans:

This is a great question because you only know this answer by experience. If you ask me this question, the answer practically rushes out of me. “CrossJoin, Descendants, and NonEmpty, in addition to Sum, Count, and Aggregate. My personal favorite is CrossJoin because it allows me identify non-contiguous slices of the cube and aggregate even though those cube cells don’t roll up to a natural ancestor.” Indeed, CrossJoin has easily been my bread and butter.

228. Where do you put calculated members?

Ans:

The reflexive answer is “in the Measures dimension” but this is the obvious answer. So I always follow up with another question. “If you want to create a calculated member that intersects all measures, where do you put it?” A high percentage of candidates can’t answer this question, and the answer is “In a dimension other than Measures.” If they can answer it, I immediately ask them why. The answer is “Because a member in a dimension cannot intersect its own relatives in that dimension.”

229. How do I find the bottom 10 customers with the lowest sales in 2003 that were not null?

Ans:

Simply using bottomcount will return customers with null sales. You will have to combine it with NONEMPTY or FILTER.
SELECT { [Measures].[Internet Sales Amount] } ON COLUMNS ,
BOTTOMCOUNT(
NONEMPTY(DESCENDANTS( [Customer].[Customer Geography].[All Customers]
, [Customer].[Customer Geography].[Customer] )
, ( [Measures].[Internet Sales Amount] ) )
, 10
, ( [Measures].[Internet Sales Amount] )
) ON ROWS
FROM [Adventure Works]
WHERE ( [Date].[Calendar].[Calendar Year].&[2003] ) ;

230. How in MDX query can I get top 3 sales years based on order quantity?

Ans:

By default Analysis Services returns members in an order specified during attribute design. Attribute properties that define ordering are “OrderBy” and “OrderByAttribute”. Lets say we want to see order counts for each year. In Adventure Works MDX query would be:
SELECT {[Measures].[Reseller Order Quantity]} ON 0
, [Date].[Calendar].[Calendar Year].Members ON 1
FROM [Adventure Works];
Same query using TopCount:
SELECT
{[Measures].[Reseller Order Quantity]} ON 0,
TopCount([Date].[Calendar].[Calendar Year].Members,3, [Measures].[Reseller Order Quantity]) ON 1
FROM [Adventure Works];




231. How do you extract first tuple from the set?

Ans:

Use could usefunctionSet.Item(0)
Example:
SELECT {{ [Date].[Calendar].[Calendar Year].Members }}.Item(0)
ON 0
FROM [Adventure Works]}

232. How can I setup default dimension member in Calculation script?

Ans:

You can use ALTER CUBE statement. Syntax:
ALTER CUBE CurrentCube | YourCubeName UPDATE DIMENSION , DEFAULT_MEMBER=”;

233. What is SSRS?

Ans:

SQL Server Reporting Service is one of the server-based software systems that generate reports developed by Microsoft. It is used for preparing and delivering interactive and variety of printed reports. It is administered through an interface that is web based. Reporting services utilizes a web service interface for supporting and developing of customized reporting applicatons. It can be competed with Crystal Reports and other business intelligence tools.

234. Explain SSRS Architecture?

Ans:

Reporting services architecture comprises of integrated components. It is a multi-tiered, included with application, server and data layers. This architecture is scalable and modular. A single installation can be used across multiple computers. It includes the following components: –

Report Manager, Reporting Designer, Browser Types Supported by Reporting services, Report server, Report server command line utilities, Report Server Database, Reporting Services Extensibility, Data sources that is supported by Reporting Services.

235. Explain Reporting Life Cycle?

Ans:

The Reporting Lifecycle includes –

Report designing:

The designing is done in Visual Studio Report Designer. It generates a class which embodies the Report Definition. –

Report processing:

The processing includes binging the report definition with data from the report data source. It performs on all grouping, sorting and filtering calculations. The expressions are evaluated except the page header, footer and section items. Later it fires the Binding event and Bound event. As a result of the processing, it produces Report Instance. Report instance may be persisted and stored which can be rendered at a later point of time.

Report Rendering:

Report rendering starts by passing the Report Instance to a specific rendering extension (HTML or PDF formats). The instance of reports is paged if paging supported by output format. The expressions of items are evaluated in the page header and footer sections for every page. As a final step, the report is rendered to the specific output document.

236. How to finetune Reports?

Ans:

To tune-up the Reporting Services, follow the below mentioned ways: – Expand the Server or utilizing the reporting services of another database server. For better embedding of report contents, report application’s logic and characteristics can have a duplicate copy of data. – Replication of data continuously. Using nolock, the issues of locking can well be resolved and the performance of the query can be improved. This can be done by using dirty read at the time of duplicating the data is unavailable.

237. What are Data Driven Subscriptions?

Ans:

Reporting Services provides data-driven subscriptions so that you can customize the distribution of a report based on dynamic subscriber data. Data-driven subscriptions are intended for the following kinds of scenarios: Distributing reports to a large recipient pool whose membership may change from one distribution to the next. For example distribute a monthly report to all current customers. Distributing reports to a specific group of recipients based on predefined criteria. For example send a sales performance report to the top ten sales managers in an organization.

238. What is Linked Report?

Ans:

Logical page breaks are page breaks that you insert before or after report items or groups. Page breaks help to determine how the content is fitted to a report page for optimal viewing when rendering or exporting the report. The following rules apply when rendering logical page breaks: Logical page breaks are ignored for report items that are constantly hidden and for report items where the visibility is controlled by clicking another report item. Logical page breaks are applied on conditionally visible items if they are currently visible at the time the report is rendered. Space is preserved between the report item with the logical page break and its peer report items. Logical page breaks that are inserted before a report item push the report item down to the next page. The report item is rendered at the top of the next page. Logical page breaks defined on items in table or matrix cells are not kept. This does not apply to items in lists.

239. User want only to display only pdf as export option in report Manager. How to acheive this?

Ans:

Create a data-driven subscription that uses the Null Delivery Provider. When you specify the Null Delivery Provider as the method of delivery in the subscription, the report server targets the report server database as the delivery destination and uses a specialized rendering extension called the null rendering extension. In contrast with other delivery extensions, the Null Delivery Provider does not have delivery settings that you can configure through a subscription definition.

240. How can you monitor the report Usage?

Ans:

Report manager is a web application. In SSRS it is accessed by a URL. The interface of this Report manager depends on the permissions of the user. This means to access any functionality or perform any task, the user must be assigned a role. A user with a role of full permissions can entire all the features and menus of the report. To configure the report manager, a URL needs to be defined.
Report manager is a web application. In SSRS it is accessed by a URL. The interface of this Report manager depends on the permissions of the user. This means to access any functionality or perform any task, the user must be assigned a role. A user with a role of full permissions can entire all the features and menus of the report. To configure the report manager, a URL needs to be defined.
Reporting services components assist in development. These processing components include some tools that are used to create, manage and view reports. A report designer is used to create the reports. a report sever is used to execute and distribute reports. a report manager is used to manage the report server.


241. SQL Server Reporting Services vs Crystal Reports.

Ans:

Crystal reports are processed by IIS while SSRS have a report server. Caching in Crystal reports is available through cache server. On the other hand, caching in SSRS is available for Report history snapshots. Crystal reports have standards and user defined field labels. SSRS allows only user defined field labels.

242. What is Report Builder?

Ans:

Report Builder is a business-user, ad-hoc report design client that allows users to design reports based on the business terms (Report Builder model) they are familiar with, but without needing to understand database schemas or how to write SQL or MDX queries. Report Builder works with both SQL Server and Analysis Services data sources.

243. How does Report Builder support Analysis Services cubes?

Ans:

Report Builder supports relational SQL and Analysis Services data sources in SQL Server. To create a model for Analysis Services cube, go to Report Manager or Management Studio, create a data source for your Analysis Services database, and then select the Generate Model option to create the model.

244. How do users use Report Builder with SQL Server data sources?

Ans:

While models that provide access to SQL Server Analysis Services are automatically generated on the report server, the Report Builder Model Designer can be used to generate or modify the models that are built on top of SQL Server relational databases. These model-building projects are a new type of project within a Visual Studio–based development shell.

245. How do I get Report Builder to generate a parameter that can be set by users viewing the report?

Ans:

In the filter dialog box, click the name of the criteria that you would like to prompt the user for when viewing the report. For example, for the criteria Order Year=2000, click Order Year. Select the Prompt option in the drop-down list.

246. What new data source types were added in SSRS 2014?

Ans:

In addition to the data source types available in SSRS (SQL Server, Oracle, ODBC, OLE DB), the following have been added in SSRS 2012: SQL Server Analysis Services SQL Server Integration Services SQL Server Report Builder Models XML (through URL and Web services)

247. How can I add Reporting Services reports to my application?

Ans:

Visual Studio / SSDT / BI Data Tools (Standard and Enterprise editions) contains a set of freely redistributable Report Viewer controls that make it easy to embed Reporting Services functionality into custom applications. Two versions of the Report Viewer exist, one for rich Windows client applications and one for ASP.NET applications.

248. Do I need a report server to run reports in my application?

Ans:

In addition to publishing reports to a report server, you can build reports using the Report Designer that is directly integrated with Visual Studio language projects. You can embed reports directly in any Windows Forms or ASP.NET Web application without access to a report server. The data access in embedded reports is a natural extension of the Visual Studio data facilities. Not only can you use traditional databases as a source of data for your reports, you can use object collections as well.

249. Can you import Microsoft Excel data to SSRS?

Ans:

Reporting Services does not import data. It only queries data in whatever format it is stored in their native storage system. I will assume that you’re asking whether you can create reports and use Excel spreadsheets as data sources. The answer is Yes, Reporting Services supports a wide variety of data sources, including Excel files. You’ll get the best performance with the built-in native .NET providers but you should be able to connect to any ODBC or OLE-DB data source, whether it comes from Microsoft or a third-party company.

250. Can we deploy SSRS reports on our personal website?

Ans:

Your reports can only be deployed on a reporting services site. Your only option for viewing them from other sites is an HTTP link. Some tools, like SharePoint offer controls allowing you to view reports in the context of the other websites, but the report is still deployed to and hosted from reporting services.



251. Can we use datagrids for our report in SSRS?

Ans:

We have an ASP.NET project that populates a datagrid. Using datagrid as my datasource for my report using SQL Server Reporting Services. Is this possible? The simple answer is no. However, nothing’s ever simple. A set of reporting controls was added in Visual Studio 2010 allowing you to report in a dataset, on data that was supplied by you. So, if you retrieved your data into a dataset, bound the datagrid to the dataset so it had data to display, you could then use that dataset as the datasource for the reporting controls. These are then client-side reports, not server reports though.

252. What are the drawbacks of reporting in SSRS?

Ans:

For many years, Microsoft had no direct solution for reporting with the SQL Server besides Crystal Reports. Now, they have SQL Server Reporting Services, but it does have several drawbacks. It is still complex to understand the complete functionality and structure of this new component, and many users are still relying on the reporting application they are more familiar with, which is Crystal Reports. Also, components in SSRS like Report Builder and Report Designer are meant for different users for different aspects of the report process, yet complete understanding and exposure to both is important to utilize both functions fully and extensively. There are also issues when exporting very large reports to Microsoft Excel, as it can lead to a loss of data.

253. Will running SSRS on Windows XP limit the number of users?

Ans:

Yes, but not because of SSRS. The Internet Information Services (IIS) component of Windows XP only allows a small number of users to connect to the website at once. As SSRS runs via IIS, this would prevent more than a few people from using SSRS at once. Also, the only edition of SSRS that will install on Windows XP is the Developer Edition. This edition can not be used for production use. You need Standard or Enterprise Edition for production use, which requires a Server OS to install on (Windows 2003 Standard, Windows 2008 Standard, etc).

254. Are there issues when exporting SSRS reports into Microsoft Excel?

Ans:

When my users are trying to export a SSRS report into Microsoft Excel, one or two columns in the report appear to merge together. Why might this be? Exporting from SSRS is not always perfect, even if you stay within the Microsoft range of products. If you have extra resources, you could splurge for an add-on that offers much better control over exporting to Excel, such as OfficeWriter. From my experience, though, it is usually headers or footers that cause exporting issues. If any of these headers or footers overlap with data columns in your report, you will find that the exported version of the report has merged cells. Also, check columns next to each other to make sure that there is no overlap, as well.

255. How to send a SSRS report from SSIS?

Ans:

Often there is a requirement to be able to send a SSRS report in Excel, PDF or another format to different users from a SSIS package one it has finished performing a data load. In order to do this, first you need to create a subscription to the report. You can create a SSRS report subscription from Report Manager. At the report subscription you can mention the report format and the email address of the recipient. When you create a schedule for the SSRS report, a SQL Server Agent Job will be created. From the SSIS, by using sp_start_job and passing the relevant job name you can execute the SSRS report subscription.

Dinesh Gopal Chand

Share
Published by
Dinesh Gopal Chand
Tags: interview questionMSBIMSBI Interview Question

Recent Posts

  • Interview Question

AngularJS Interview Questions

In this software era doesn't matter you are working on php,java or .net, everywhere there is demand frontend software (such…

6 years ago
  • Interview Question

IT Fresher Interview Questions

Here we have mentioned most frequently asked IT Fresher Interview Questions and Answers specially for freshers and experienced. 1. What…

6 years ago
  • Interview Question

Github Interview Questions

Here we have mentioned most frequently asked Github Interview Questions and Answers specially for freshers and experienced. 1. What is…

6 years ago
  • Interview Question

HTML5 Interview Questions

Here we have mentioned most frequently asked HTML5 Interview Questions and Answers specially for freshers and experienced. 1. What is…

6 years ago
  • Interview Question

Geography Interview Questions

Here we have mentioned most frequently asked Geography Interview Questions and Answers specially for freshers and experienced. 1. What is…

6 years ago
  • Interview Question

JSP Interview Questions

Here we have mentioned most frequently asked JSP Interview Questions and Answers specially for freshers and experienced. 1. Explain JSP…

6 years ago

This website uses cookies.