MCQs on Introduction to SQL Server | SQL Server

SQL Server is a powerful relational database management system (RDBMS) designed for data storage, retrieval, and analytics. These 30 MCQs cover foundational topics like installation, editions, and management tools.


MCQs on SQL Server Topics

Overview of RDBMS

  1. What does RDBMS stand for?
    • A) Relational Database Management System
    • B) Random Database Management System
    • C) Recursive Data Model System
    • D) Redundant Data Mapping System
  2. Which is a core feature of an RDBMS?
    • A) Object storage
    • B) Relationships between tables
    • C) Unstructured data handling
    • D) Blockchain integration
  3. Which of the following best describes a table in SQL Server?
    • A) A collection of documents
    • B) A two-dimensional structure of rows and columns
    • C) A key-value pair storage
    • D) A blob storage system
  4. Primary keys in RDBMS are used to:
    • A) Ensure that each row in a table is unique
    • B) Connect multiple databases
    • C) Perform data backups
    • D) Encrypt data
  5. Which of the following is an example of an RDBMS?
    • A) MongoDB
    • B) SQL Server
    • C) Redis
    • D) Cassandra

Installation and Configuration of SQL Server

  1. During SQL Server installation, which account is used to run SQL Server services?
    • A) System Administrator (sa)
    • B) Service Account
    • C) Guest Account
    • D) Administrator Account
  2. Which component is mandatory to install SQL Server?
    • A) Internet connection
    • B) SQL Server Database Engine
    • C) Analysis Services
    • D) Integration Services
  3. What tool is used to configure SQL Server post-installation?
    • A) SQL Server Management Studio
    • B) SQL Server Configuration Manager
    • C) SQL Profiler
    • D) Visual Studio
  4. Which of these is NOT an installation option for SQL Server?
    • A) Basic
    • B) Custom
    • C) Express
    • D) Standalone Database Deployment
  5. To enable remote connections in SQL Server, what configuration is necessary?
    • A) Allow port 1433 in the firewall
    • B) Modify the Windows hosts file
    • C) Install a third-party connection tool
    • D) Configure database mirroring

SQL Server Editions and Components

  1. Which SQL Server edition is free for development purposes?
    • A) Enterprise
    • B) Developer
    • C) Standard
    • D) Express
  2. The main difference between SQL Server Standard and Enterprise editions is:
    • A) Licensing model
    • B) Scalability and advanced features
    • C) Compatibility with older operating systems
    • D) User interface design
  3. Which component of SQL Server is used for in-depth analytics and reporting?
    • A) Integration Services
    • B) Analysis Services
    • C) Reporting Services
    • D) Database Engine
  4. SQL Server Express is best suited for:
    • A) High-transaction enterprise systems
    • B) Small-scale applications or learning purposes
    • C) Cloud-only deployments
    • D) Distributed database systems
  5. What is the maximum database size supported by SQL Server Express?
    • A) 4 GB
    • B) 10 GB
    • C) 50 GB
    • D) 1 TB

SQL Server Management Studio (SSMS) Overview

  1. What is SQL Server Management Studio (SSMS)?
    • A) A development tool for .NET applications
    • B) A GUI for managing and querying SQL Server databases
    • C) A tool for configuring Windows Server
    • D) A cloud management platform
  2. Which feature in SSMS allows querying databases?
    • A) Object Explorer
    • B) Query Editor
    • C) Activity Monitor
    • D) Job Scheduler
  3. SSMS is primarily used to:
    • A) Monitor network traffic
    • B) Manage, configure, and query SQL Server instances
    • C) Perform code debugging
    • D) Automate report generation
  4. What is the default file extension for a query file in SSMS?
    • A) .txt
    • B) .sql
    • C) .xml
    • D) .dat
  5. To view running processes in SQL Server, which SSMS feature is used?
    • A) Query Editor
    • B) Activity Monitor
    • C) Object Explorer
    • D) SQL Profiler

General Concepts

  1. Which SQL command is used to create a new table?
    • A) CREATE
    • B) INSERT
    • C) SELECT
    • D) ALTER
  2. In SQL Server, which key enforces the uniqueness of values in a column?
    • A) Foreign Key
    • B) Unique Key
    • C) Index Key
    • D) Constraint Key
  3. Which of the following is a feature of SQL Server?
    • A) Data compression
    • B) NoSQL database integration
    • C) Blockchain ledger management
    • D) Manual data recovery
  4. What is the role of a foreign key in a database?
    • A) Ensure data encryption
    • B) Enforce referential integrity between tables
    • C) Enhance data retrieval speed
    • D) Allow bulk data imports
  5. SQL Server Agent is used for:
    • A) Automating administrative tasks and jobs
    • B) Monitoring real-time network traffic
    • C) Debugging stored procedures
    • D) Setting up database mirroring
  6. Which SQL Server tool helps in performance tuning?
    • A) SQL Profiler
    • B) Object Explorer
    • C) Query Editor
    • D) Integration Services
  7. What does the “master” database in SQL Server contain?
    • A) User data
    • B) Metadata about all other databases
    • C) Temporary tables
    • D) Archived data
  8. What is the purpose of the “tempdb” database?
    • A) Backup storage
    • B) Storing temporary data and intermediate results
    • C) Archiving user logs
    • D) Creating permanent tables
  9. Which file extension is used for SQL Server database files?
    • A) .mdf
    • B) .db
    • C) .dat
    • D) .sql
  10. SQL Server supports which language for writing stored procedures?
    • A) T-SQL
    • B) Python
    • C) JavaScript
    • D) C++

Answers Table

QnoAnswer
1A) Relational Database Management System
2B) Relationships between tables
3B) A two-dimensional structure of rows and columns
4A) Ensure that each row in a table is unique
5B) SQL Server
6B) Service Account
7B) SQL Server Database Engine
8B) SQL Server Configuration Manager
9D) Standalone Database Deployment
10A) Allow port 1433 in the firewall
11B) Developer
12B) Scalability and advanced features
13B) Analysis Services
14B) Small-scale applications or learning purposes
15B) 10 GB
16B) A GUI for managing and querying SQL Server databases
17B) Query Editor
18B) Manage, configure, and query SQL Server instances
19B) .sql
20B) Activity Monitor
21A) CREATE
22B) Unique Key
23A) Data compression
24B) Enforce referential integrity between tables
25A) Automating administrative tasks and jobs
26A) SQL Profiler
27B) Metadata about all other databases
28B) Storing temporary data and intermediate results
29A) .mdf
30A) T-SQL

Use a Blank Sheet, Note your Answers and Finally tally with our answer at last. Give Yourself Score.

X
error: Content is protected !!
Scroll to Top