This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Explain The Truncate Command? |
Answer»
|
|
| 2. |
Explain The Microsoft Sql Server Delete Command? |
| Answer» | |
| 3. |
Explain What Are The Restrictions That Views Have To Follow? |
|
Answer» Since a view is a VIRTUAL table – Columns of the view cannot be renamed. To change anything in the view, the view must be DROPPED and create again.
Since a view is a virtual table – Columns of the view cannot be renamed. To change anything in the view, the view must be dropped and create again. |
|
| 4. |
What Is Master Database? |
|
Answer» MASTER database is SYSTEM database. It CONTAINS information about server’s configuration. It is a very IMPORTANT database and important to backup Master database. Without Master database, server can't be started. Master database is system database. It contains information about server’s configuration. It is a very important database and important to backup Master database. Without Master database, server can't be started. |
|
| 5. |
Do You Know What The Restrictions Applicable While Creating Views Are? |
Answer»
|
|
| 6. |
What Is Msdb Database? |
|
Answer» It stores INFORMATION RELATED to DATABASE backups, DTS PACKAGES, Replication, SQL Agent information, SQL SERVER jobs. It stores information related to database backups, DTS packages, Replication, SQL Agent information, SQL Server jobs. |
|
| 7. |
What Is The Difference Between Cube Operator And Roll Up Operator? |
Answer»
|
|
| 8. |
What Is Temp Db Database? |
|
Answer» It STORES TEMPORARY OBJECTS like temporary tables and temporary STORED PROCEDURE. It stores temporary objects like temporary tables and temporary stored procedure. |
|
| 9. |
Explain Logical Database Components? |
|
Answer» 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. 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. |
|
| 10. |
What Is Model Database? |
|
Answer» It is a TEMPLATE DATABASE USED in the CREATION of NEW database. It is a template database used in the creation of new database. |
|
| 11. |
Illustrate Physical Database Architecture In Brief? |
|
Answer» 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. 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. |
|
| 12. |
Explain What Are The Database Objects? |
|
Answer» 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. 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. |
|
| 13. |
What Are Page Splits? |
|
Answer» 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. 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. |
|
| 14. |
What Do You Know About System Database? |
|
Answer» The system database contains information/metadata for all database present on an SQL Server instance. The system database stores information regarding logins, configuration settings, connected servers etc. It also holds various extended stored procedures to ACCESS external processes and applications. Major system databases:
The system database contains information/metadata for all database present on an SQL Server instance. The system database stores information regarding logins, configuration settings, connected servers etc. It also holds various extended stored procedures to access external processes and applications. Major system databases: |
|
| 15. |
What Are Pages And Extents? |
|
Answer» 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. 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. |
|
| 16. |
What Is Database Architecture? |
|
Answer» 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. 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. |
|
| 17. |
What Is Raid And What Are Different Types Of Raid Configurations? |
|
Answer» 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:
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: |
|