Disclaimer:
Educational Use Only:
The website links provided are to be used strictly for educational and knowledge-gaining purposes only.
No Misuse:
Do not misuse the links or the information contained therein for any commercial, illegal, or unethical activities.
Respect for Websites and Businesses:
Respect the intellectual property and business interests of the websites and their owners. Do not attempt to alter, copy, or redistribute content without proper authorization.
Acknowledge Value of Knowledge:
Recognize and value the knowledge and resources shared by these websites. Use the information responsibly and ethically.
No Endorsement:
The provision of these links does not imply endorsement of the linked sites, their content, or their products and services. Users are responsible for evaluating the suitability and accuracy of the information.
User Responsibility:
By accessing these links, you agree to use the information at your own risk and to comply with all applicable laws and website terms of use.
Overall MCQs for Reference
- Which Linux shell is typically used by default when entering Single User Mode?
a. bash
b. Csh
c. ksh
d. sh
Answer: d. shsanfoundry+1 - Single User Mode shell commonly runs as which user?
a. Admin user
b. Root user
c. Normal user
d. Log user
Answer: b. Root userexamveda+1 - In Single User Mode, which partition is usually mounted?
a. boot
b. usr
c. root
d. tmp
Answer: c. rootsanfoundry - When is Single User Mode mainly used?
a. Normal operations
b. Routine software upgrades
c. Troubleshooting and maintenance
d. System backups
Answer: c. Troubleshooting and maintenancelinuxtechi+1 - Which SQL Server startup parameter is used for Single User Mode?
a. -s
b. -m
c. -single
d. -one
Answer: b. -maticleworld+1 - Before switching SQL Server to Single User Mode, what must be stopped?
a. SQL Server Browser
b. SQL Server Agent
c. SQL Server Profiler
d. SQL Management Studio
Answer: b. SQL Server Agentlearn.microsoft+1 - What is characteristic of Single User Mode in SQL Server?
a. Allows up to 10 users
b. Allows only one user connection
c. Allows three admin connections
d. Open to all system accounts
Answer: b. Allows only one user connectionaticleworld+1 - What happens if SQL Server Agent is left running during Single User Mode?
a. Agent does nothing
b. Agent uses the only available connection
c. Increases performance
d. Closes SQL Management Studio
Answer: b. Agent uses the only available connectionlearn.microsoft+1 - Why would an administrator start SQL Server in Single User Mode?
a. For daily reporting
b. For routine backups
c. To restore the master database
d. For user management
Answer: c. To restore the master databaseaticleworld+1 - Which application can reliably connect to SQL Server in Single User Mode?
a. Object Explorer
b. Query Editor
c. Windows Explorer
d. SQL Agent
Answer: b. Query Editorlearn.microsoft+1 - What command starts SQL Server in Single User Mode via the command line?
a. net start MSSQLSERVER
b. net start MSSQLSERVER /m
c. sqlcmd -start
d. sqlstart -single
Answer: b. net start MSSQLSERVER /maticleworld - The process id of the init process, which starts the Single User Mode in Linux, is:
a. -1
b. 0
c. 1
d. 2
Answer: c. 1sanfoundry - In Linux, which file determines the default runlevel, including Single User Mode?
a. /etc/profile
b. /etc/init
c. /etc/boot
d. /etc/inittab
Answer: d. /etc/inittabsanfoundry - Which utility is recommended for querying SQL Server in Single User Mode?
a. Notepad
b. sqlcmd
c. SSRS
d. Event Viewer
Answer: b. sqlcmdlearn.microsoft+1 - What process does not run automatically during Single User Mode startup in SQL Server?
a. BACKUP
b. CHECKPOINT
c. SHRINK
d. RECOVER
Answer: b. CHECKPOINTaticleworld - Why is Object Explorer not recommended for Single User Mode connections?
a. It requires multiple connections
b. It is deprecated
c. It is slow
d. It lacks permissions
Answer: a. It requires multiple connectionsaticleworld - Which startup parameter restricts SQL Server connections to a specific application in Single User Mode?
a. -m
b. -q
c. -app
d. -a
Answer: a. -m (with app name)aticleworld - In a clustered SQL Server installation, which resource may occupy the Single User Mode slot?
a. Cluster service
b. Cluster resource DLL
c. DNS server
d. DHCP resource
Answer: b. Cluster resource DLLaticleworld - A user needs to run which process to start Linux in Single User Mode for maintenance?
a. Boot normally
b. Pass kernel boot parameter ‘single’
c. Press F5
d. Enter GUI
Answer: b. Pass kernel boot parameter ‘single’linuxtechi+1 - What is the default shell used in most UNIX-like Single User Modes?
a. tcsh
b. zsh
c. sh
d. fish
Answer: c. shsanfoundry - What runlevel number is commonly associated with Single User Mode in Linux?
a. 0
b. 1
c. 2
d. 6
Answer: b. 1sanfoundry+1 - What happens if more than one process tries to connect to a SQL Server in Single User Mode?
a. Both succeed
b. Both get blocked
c. Only the first connects
d. The server crashes
Answer: c. Only the first connectsaticleworld - Which is the only writable partition when a UNIX system is in Single User Mode?
a. /boot
b. /home
c. /usr
d. /
Answer: d. /sanfoundry - How do you restore SQL Server to Multi-User Mode after finishing maintenance in Single User Mode?
a. No action needed
b. Remove the -m parameter and restart
c. Add -multi parameter and restart
d. Use single command: restart-multi
Answer: b. Remove the -m parameter and restartaticleworld - What does the -m parameter in SQL Server startup command specify?
a. Maintenance Mode
b. Multi-User Mode
c. Single User Mode
d. Minimal install
Answer: c. Single User Modeaticleworld - Primary reason to use Single User Mode during boot in Linux is to:
a. Perform normal operations
b. Change user passwords or fix filesystems
c. Install new software
d. Browse internet
Answer: b. Change user passwords or fix filesystemslinuxtechi+1 - In which situation is Single User Mode not appropriate?
a. Restoring system configurations
b. Updating kernel parameters on the fly
c. Repairing root filesystem
d. Recovering from lost passwords
Answer: b. Updating kernel parameters on the flysanfoundry - On RHEL7 and CentOS7, how do you boot into Single User Mode?
a. Use systemctl single
b. Add ‘single’ or ‘rescue’ to the kernel command line in GRUB
c. Enter init 4
d. Use Gnome tools
Answer: b. Add ‘single’ or ‘rescue’ to the kernel command line in GRUBlinuxtechi - By default, users with which group membership can connect as sysadmin in SQL Server’s Single User Mode?
a. dbcreator
b. public
c. sysadmin
d. Local Administrators
Answer: d. Local Administratorsaticleworld - When connecting to SQL Server in Single User Mode, which error may occur if multiple connections are attempted?
a. Login failed
b. Timeout
c. Permission denied
d. Connection refused
Answer: a. Login failedaticleworld - Which system service must be stopped to avoid losing the only connection in Single User Mode on a clustered SQL Server?
a. SQL Browser
b. SQL Agent
c. DNS
d. DHCP
Answer: b. SQL Agentaticleworld - Which file is often edited to set default runlevels in Linux, including Single User Mode?
a. /etc/shadow
b. /etc/inittab
c. /etc/hostname
d. /etc/passwd
Answer: b. /etc/inittabsanfoundry - In Single User Mode, what is typically required before critical repairs can be made on Linux?
a. Shut down network services
b. Remount root as read/write
c. Set up SSH
d. Increase memory
Answer: b. Remount root as read/writelinuxtechi - If the ‘master’ database in SQL Server is damaged, what mode should the server be started in for repairs?
a. Multi user
b. Admin
c. Single User
d. Read-only
Answer: c. Single Userlearn.microsoft+1 - Which kernel boot argument starts Single User Mode in most Linux distributions?
a. single
b. singleton
c. uniuser
d. rescueonly
Answer: a. singlelinuxtechi - What is a major risk of leaving Single User Mode enabled after maintenance?
a. Improved performance
b. Unauthorized user may connect exclusively
c. Disk optimization
d. Frequent backups
Answer: b. Unauthorized user may connect exclusivelyaticleworld - In SQL Server, what is one limitation of running in Single User Mode?
a. No stored procedures
b. Only sysadmin role can connect
c. No backups possible
d. Only restores are possible
Answer: b. Only sysadmin role can connectaticleworld - What must you do in SQL clustering before troubleshooting a database in Single User Mode?
a. Increase cluster size
b. Remove the database from the availability group
c. Change failover preference
d. Use active/active setup
Answer: b. Remove the database from the availability groupaticleworld - Which process starts immediately after kernel bootstrap on UNIX?
a. swap
b. kernel
c. init
d. sh
Answer: c. initsanfoundry - What happens to SQL Server Always On AGs in Single User Mode?
a. Remain online
b. AG startup is skipped
c. Syncs as usual
d. Backups initiated
Answer: b. AG startup is skippedaticleworld - The single-user shell in UNIX is used mainly for:
a. User multitasking
b. Scheduling jobs
c. Emergency system repairs
d. GUI operations
Answer: c. Emergency system repairssanfoundry - Which application cannot connect reliably to SQL Server in Single User Mode due to multiple required connections?
a. Query Editor
b. sqlcmd
c. Object Explorer
d. SSMS (with App Name parameter)
Answer: c. Object Exploreraticleworld - What database access restriction command in SQL Server puts a database into Single User Mode?
a. ALTER DATABASE db SET SINGLE_USER
b. SET DATABASE single
c. RESTRICT DATABASE TO 1
d. SET dbconn SINGLE
Answer: a. ALTER DATABASE db SET SINGLE_USERsqlshack - If a Windows system is stuck in Single User Mode, what is often missed?
a. Removing -m parameter and restarting
b. Resetting BIOS
c. Removing registry hive
d. Adding extra admin users
Answer: a. Removing -m parameter and restartingaticleworld - Which is not a viable purpose for Single User Mode?
a. Upgrading the system
b. Fixing corrupted filesystems
c. Resetting root password
d. Recovering from boot failure
Answer: a. Upgrading the systemlinuxtechi+1 - What happens to all other users when Single User Mode is active on a system?
a. They are prompted for a password
b. They are logged off
c. They can request access in a queue
d. All are allowed in as read-only
Answer: b. They are logged offsanfoundry - Which one is not a default runlevel on a Linux system?
a. S
b. 0
c. 8
d. 1
Answer: c. 8sanfoundry - How does Single User Mode contribute to system security during repairs?
a. Opens extra network ports
b. Limits access to one authorized user
c. Increases network bandwidth
d. Runs all services
Answer: b. Limits access to one authorized usersanfoundry+1 - What type of commands are usually run in Single User Mode for recovery?
a. User management and disk repair
b. Gaming
c. Video editing
d. Server hosting
Answer: a. User management and disk repairlinuxtechi+1 - What operating system concept describes Single User Mode best?
a. Multi-user system
b. Maintenance/emergency mode
c. Networked service
d. Filesystem driver
Answer: b. Maintenance/emergency modelinuxtechi+1
- https://www.sanfoundry.com/1000-sql-server-questions-answers/
- https://www.sanfoundry.com/linux-administration-questions-startup-shutdown/
- https://www.examveda.com/single-user-mode-shell-runs-as-260649/
- https://www.linuxtechi.com/boot-rhel-7-centos-7-server-single-user-mode/
- https://aticleworld.com/windows-server-mcq/
- https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/start-sql-server-in-single-user-mode?view=sql-server-ver17
- https://www.sqlshack.com/alter-database-set-single_user-statement-in-sql-server/
- https://testbook.com/objective-questions/mcq-on-client-server-model–5eea6a1439140f30f369f2c0
- https://www.gdcramban.in/MCQ/OSMCQ.pdf
- https://learn.microsoft.com/en-us/answers/questions/3872882/sql-server-single-user-mode-problem
- https://help.sap.com/saphelp_gbt10/helpdata/en/4d/0abb6f6dc25c4be10000000a42189e/content.htm
- https://www.yeahhub.com/multiple-choice-questions-answers-windows-explanation/
- https://www.sqlshack.com/different-ways-to-start-a-sql-server-single-user-mode/
- https://mcqss.com/windows-server-mcq
- https://stackoverflow.com/questions/18965980/exit-single-user-mode
- https://community.denodo.com/docs/html/document/8.0/en/vdp/administration/appendix/single_user_mode/single_user_mode
- https://learn.microsoft.com/en-us/answers/questions/668856/single-user-mode-taking-over-36-hours
- https://gkaim.com/computer/operating-systems-mcqs-part-1/
- https://community.hpe.com/t5/operating-system-hp-ux/boot-single-user-mode/td-p/4157248
- https://www.cliffsnotes.com/study-notes/17037948