Exam Questions

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 4

5. How can we fine-tune reports in SSRS?

Following are the steps to fine-tune the reports in SSRS:


Create a big server or you can utilize the reporting services of other
database servers.
Store the duplicate copy of the data for the advanced installation of the
logic, report contents, and characteristics of the report's application.
You can solve the locking issues by adopting no lock. It can also improvise
the query of the performance.
6. What are the different ways to deploy an SSRS report?
SSRS reports can be deployed through:
Visual Studio
Report servers
By creating the utility
4. Can you mention the advantages of Stored Procedures over Dynamic SQL?
A stored procedure is cached in server memory, so it is faster than dynamic SQL
Stored procedures keep ‘business logic’ separate from ‘database logic’. So, if
any error occurs in the business logic, you have to change the application codes
only. Similarly, if there is an issue with the database logic, you have to change
the stored procedures only.
The stored procedure creates low network traffic, whereas dynamic SQL creates
high network traffic.
Stored procedures with static SQL can detect errors before they run, whereas
stored procedures with dynamic SQL cannot detect errors before they run.
5. What is the Columnstore Index, and why should you use it?
A Columnstore index is a method of storing, retrieving, and managing data using
a columnar data format.
Columnstore helps achieve query performance up to 10 times greater than the
traditional row-oriented storage.

------------------------------------------------------------------------------
1.Which version did you worked on? and any idea about older versions like DTS?
2.How would you deploy an SSIS package on production?
To deploy the SSIS package, we must run the manifest files and determine if they
should be deployed in File System or SQL Server.
This is an important answer to these kinds of SSIS interview questions.
3.How to handle Early Arriving Facts or Late Arriving Dimension?
Late arrival dimensions are inevitable; to manage them,
we can create a fictitious dimension with a natural/business key and retain the
remaining attributes as null or default.
Thus, when the real dimension arrives, the fictional dimension is updated with
the change of type 1.
It is also called Inferred Dimensions. This is a Key response to these types of
SSIS interview questions.
4.How to handle Early Arriving Facts or Late Arriving Dimension?
Late arrival dimensions are inevitable; to manage them.
we can create a fictitious dimension with a natural/business key and retain the
remaining attributes as null or default.
Thus, when the real dimension arrives, the fictional dimension is updated with
the change of type 1.
It is also called Inferred Dimensions. This is a Key response to these types of
SSIS interview questions.
5.What is the use of CDC control tasks?
By using CDC, we can maintain and interact with the SQL Server change capture
function.
` is an important answer to these kinds of SSIS interview questions.
6.Explain How Can You Do An Incremental Load?
7.How do you store SQL passwords? Does the SSIS connection manager of the package
store SQL password?
8.What is CDC Splitter?
Once the data is read into a table with CDC enabled, this transformation sends the
data that should be deleted, inserted,
and updated in a different path. This is a Key response to these types of SSIS
interview questions.
-----------------------
-----------------------
SSRS
--------
1. What are the essential architecture components of SSRS?
Following are the important architecture components of SSRS:
Report Designer
Report Manager
Report Server
Report Server Database
Browser types supported by reporting services
Report Server and Command line utilities
Data Sources
2. Explain the various stages of Report Processing
The various stages of Report Processing include:
Compile: It analyses the expressions in the report definitions and saves the
compiled intermediate format on the server internally.
Process: It executes dataset queries and combines intermediate format with
layout and data.
Render: It sends a processed report to a rendering extension to display how
much information can fit on each page and then creates the page report.
Export: It exports reports to a different file format.
3. What is Tablix in SSRS?
The Tablix is a sum of the tables with matrices in SSRS.
Each report that we create using the SSRS technology is based on the Tablix data
region.
In other words, a Tablix can be managed with the collective capabilities of a
matrix and a table.
4. What is the role of a report manager in SSRS?
In SSRS, a report manager is a web application in SSRS that can be accessed by a
URL.
The report manager interface depends on the user permissions.
This means that the user must be allocated a role to access any functionality or
execute any task.
A user assigned the role of full permission can manage all the menus and
features of the report.
A URL must be defined to configure the report manager.
5. How can we fine-tune reports in SSRS?
Following are the steps to fine-tune the reports in SSRS:
Create a big server or you can utilize the reporting services of other
database servers.
Store the duplicate copy of the data for the advanced installation of the
logic, report contents, and characteristics of the report's application.
You can solve the locking issues by adopting no lock. It can also improvise
the query of the performance.
6. What are the different ways to deploy an SSRS report?
SSRS reports can be deployed through:
Visual Studio
Report servers
By creating the utility
7. Explain what is the difference between Tabular and Matrix report?
A tabular report is a simple, organized report that displays data in a tabular
format, similar to a spreadsheet.
It is useful for displaying data in a simple, organized manner.
A matrix report, also known as a crosstab report, displays data in a grid
format.
It is useful for comparing data across multiple dimensions and categories.
8. What is an Ad Hoc Report?
It is designed to meet the user's specific needs and can be customized as
needed.
Ad Hoc reports are created using a drag-and-drop interface, allowing users to
quickly create reports without needing technical expertise.
---------------------
SQL Server
----------
1. How can you compare the Local and Global Temporary tables?
Local temporary tables are visible only to the table creators when connected
with an SQL instance.
The tables will be deleted once the user disconnects the SQL instance.On the
other hand, global temporary tables are visible to any user.
These tables are deleted only when any user referencing these tables gets
disconnected from the SQL instance.
2. How can you distinguish between SUBSTR and CHARINDEX?
Given the starting position and length details, SUBSTR helps extract a substring
from the specified string.
The syntax for this function is given by: SUBSTRING (expression,
starting_position, length)
On the contrary, the CHARINDEX function helps identify a substring's position
from the specified string.
The syntax for this function is given by:CHARINDEX (substring, input_string)
3. the difference between Clustered Index and the Non-clustered Index?

6. How to improve query performance in SQL server?


Defining the transaction requirements precisely
Choosing the right query execution plan
Reducing table sizes and simplifying joins
Using ‘SELECT fields FROM’ instead of ‘SELECT*FROM’
Using EXIST() instead of COUNT()
Creating SQL query indexes
Avoiding running queries in loops
7. Differentiate EXCEPT and INTERSECT commands?
These commands are used to return distinct rows by comparing the results of two
separate queries.
EXCEPT: operator allows returning distinct rows from the left input query only.
INTERCEPT: operator allows returning distinct rows from both left and right
input queries.
8. What is the difference between ORDER BY expression and clustered index?
ORDER BY expression sorts the result set of a query as per the condition given
in the statement. It can sort the result set either in ascending order or
descending order. And, it can sort the result set based on attributes given in the
statement such as country, company, etc. At the same time, clustered index sorts
data physically only in a specific way in the table. So, every table will have one
clustered index only.
9. How can you improve the performance of stored procedures in the SQL server?
Using SET NOCOUNT ON messages, information messages can be prevented from the
result set. It will reduce network traffic and increase operational performance.
When fully qualified procedure name, the SQL server finds the compiled plan
quickly, which in turn increases the performance
Specifying stored procedures as sp_procedurename must be avoided because the SQL
server will search the master database first if it finds ‘sp’ in the procedure
name. It would decrease the performance and yield error results at times.
Transactions need to be shorter so that deadlocks and blocking can be prevented.

You might also like