SQL Server Architecture Interview Preparation Guide
Download PDF
Add New Question

SQL Server Architecture frequently Asked Questions by expert members with experience in MS SQL Server architecture. These interview questions and answers on SQL Server Architecture will help you strengthen your technical skills, prepare for the interviews and quickly revise the concepts. So get preparation for the SQL Server Architecture job interview

20 MS SQL Server Architecture Questions and Answers:

1 :: MS SQL Server architecture Job Interview Questions!

What are database files and file groups?
What are page splits?
Where does SQL server store data?
What are Collation?
Post Your Answer

2 :: Explain What are Page Splits?

When there is not enough room on a page for a new row, a Server splits the page, allocates a new page, and moves some rows to the new page
Post Your Answer

3 :: Do you know what is RAID and what are different types of RAID configurations?

RAID stands for Redundant Array of Independent Disks. RAID defines data storage schemes to divide and replicate data among various disks so that data reliability and I/O performance can be increased.

The basic configurations of RAID are:

LEVEL 0 : Striped set without parity/Non-Redundant Array
LEVEL 1 : Mirrored set without parity
LEVEL 2 : Redundancy through Hamming code
LEVEL 3 : Striped set with dedicated parity/Bit interleaved parity
LEVEL 4 : Block level parity
LEVEL 5 : Striped set with distributed parity
LEVEL 6 : Striped set with dual distributed Parity
Post Your Answer

4 :: What is database architecture?

Database architecture describes the design of the database. It explains how the data is stored. The data of the server is stored in databases. This database is further split into one or more discs. The database can be considered to have two layers. Physical layer, which is a transparent layer for the database administrators to work on. Other users typically work on the user view layer. Tables, views, procedures forms this view
Post Your Answer

5 :: Explain what are the database objects?

Database objects such as tables, primary key, and foreign key describe the structure of the content of a database. These objects also represent the properties of a server. Server side objects are objects that reside on the server but not in the database. Typical examples of server side objects include, logins, user defined error messages etc. The database objects are contained in the database project while the server objects are contained in the server project. These objects are defined in a .sql file. Most of these objects are defined in a separate file depending on the scenario. E.g it is necessary to specify columns in the same file where the table is defined
Post Your Answer

6 :: What are logical database components?

The logical components are usually used to connect to the database. Any object that a user can use to access or connect to the database is a logical component. Triggers, tables, procedures, views, keys etc are typical examples
Post Your Answer

7 :: Do you know what are pages and Extents?

A page is a unit of data storage in SQL. The size of a page is 8Kb. A page has a header and a body. Different types of pages are: Date, text, index , page free space etc. The data rows are put on the page serially after the header.

Extents are units in which space is allocated to tables and indexes. An extent is 8 continuous pages. SQL Server has two types of extents: uniform and mixed extent. For efficient allocation, the SQL server does not allocate whole extents to tables with small amounts of data
Post Your Answer

8 :: Please illustrate physical database architecture?

The physical database architecture describes how the database and files are organized in a SQL server.

Pages and extents: these describe how the data is stored

Physical Database Files and File groups :- describes the operating system files used to store data and logs.

Space Allocation and Reuse :- Describes the algorithms used for space allocation.

Table and Index Architecture :- Describes the way pages for tables can be indexed
Post Your Answer

9 :: What is the difference between CUBE operator and ROLLUP operator?

CUBE generates a result set that represents aggregates for all combinations of values in the selected columns.

ROLLUP generates a result set that represents aggregates for a hierarchy of values in the selected columns.
Post Your Answer

10 :: Do you know what are the restrictions applicable while creating views?

Views can be created referencing tables and views only in the current database.
A view name must not be the same as any table owned by that user.
You can build views on other views and on procedures that reference views.
Rules or DEFAULT definitions can't be associated with views.
Only INSTEAD OF triggers can be associated with views.
The query that defines the view cannot include the ORDER BY, COMPUTE, or COMPUTE BY clauses or the INTO keyword.
You cannot define full-text index definitions for views.
You cannot create temporary views
You cannot create views on temporary tables.
Post Your Answer
Add New Question