JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
SQL Server interview questions part 29
SQL Server interview questions part 29
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. If xp_cmdshell has been disabled with sp_dropextendedproc, we can simply inject the following code:
A. sp_addextendedproc ‘xp_cmdshell’,’xp_log70.dll’
B. sp_addproc ‘xp_cmdshell’,’xp_log70.dll’
C. sp_addextendedproc ‘xp_cmdshell’,’log70.dll’
D. None of the mentioned
Show Correct Answer
Correct Answer is :
sp_addextendedproc ‘xp_cmdshell’,’xp_log70.dll’
2. Which of the following script is an example of Quick detection in SQL injection attack?
A. SELECT loginame FROM master..sysprocesses WHERE spid = @@SPID
B. For integer inputs : convert(int,@@version)
C. IF condition true-part ELSE false-part (S)
D. SELECT header, txt FROM news UNION ALL SELECT name, pass FROM members
Show Correct Answer
Correct Answer is :
For integer inputs : convert(int,@@version)
3. _______________ is time based SQL injection attack.
A. Quick detection
B. Initial Exploitation
C. Blind SQL Injection
D. Inline Comments
Show Correct Answer
Correct Answer is :
Blind SQL Injection
4. __________ is a Microsoft Windows service that executes scheduled administrative tasks, which are called jobs in SQL Server 2014.
A. Log shipping
B. Task
C. Agent
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Agent
5. Point out the correct statement :
A. SQL Server Agent uses SQL Server to store job information
B. SQL Server Agent can run a job on a schedule
C. By default, the SQL Server Agent service is disabled when SQL Server 2014 is installed
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
6. SQL Server Agent consist of _____ component.
A. 2
B. 3
C. 4
D. 5
Show Correct Answer
Correct Answer is :
3
7. SQL Agent Job definitions are specified in which database ?
A. msdb
B. master
C. tempdb
D. all of the mentioned
Show Correct Answer
Correct Answer is :
msdb
8. Point out the wrong statement :
A. SQL Server Log shipping allows you to automate a variety of administrative task
B. SQL Server task manager allows you to automate a variety of administrative task
C. SQL Server Agent allows you to automate a variety of administrative task
D. All of the mentioned
Show Correct Answer
Correct Answer is :
SQL Server Agent allows you to automate a variety of administrative task
9. _________start and stop the SQL Server Agent Service .
A. SSMS
B. Windows Services console
C. QL Server Service Manager
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
10. Which of the following condition is considered for schedule ?
A. Whenever SQL Server Agent starts
B. On a recurring schedule
C. SQL Server performance conditions
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
11. An alert can respond to one of the following conditions :
A. Whenever SQL Server Agent starts
B. On a recurring schedule
C. SQL Server performance conditions
D. All of the mentioned
Show Correct Answer
Correct Answer is :
SQL Server performance conditions
12. SQL Server can notify operators of alerts through :
A. E-mail
B. Net send
C. Pager
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
13. Which of the following members has access to SQL Server Agent ?
A. members of the systemadmin
B. members of the sysadmin
C. members of the sysadministraion
D. None of the mentioned
Show Correct Answer
Correct Answer is :
members of the sysadmin
14. How many ways of returning data is present in SQL Server 2000 ?
A. 3
B. 4
C. 5
D. 6
Show Correct Answer
Correct Answer is :
4
15. Point out the correct statement :
A. Stored procedures assist in achieving a consistent implementation of logic across applications
B. A stored procedure is a group of Transact-SQL statements compiled into a single execution plan
C. Stored procedures can also improve performance
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
16. Data return using output parameter is :
A. Return codes, which are always an integer value
B. A global cursor that can be referenced outside the stored procedure
C. A single cursor that can be referenced inside the stored procedure
D. None of the mentioned
Show Correct Answer
Correct Answer is :
None of the mentioned
17. Which of the following is a system procedure ?
A. sp_changeowner
B. sp_owner
C. sp_change
D. All of the mentioned
Show Correct Answer
Correct Answer is :
sp_changeowner
18. Point out the wrong statement :
A. sp_depends provide the details of all database objects that depends on the specific database object
B. sp_helpdb provides the text of a stored procedure reside in Sql Server
C. Extended procedures provide an interface to external programs for various maintenance activities
D. All of the mentioned
Show Correct Answer
Correct Answer is :
sp_helpdb provides the text of a stored procedure reside in Sql Server
19. __________ provides details on any database object.
A. sp_changeowner
B. sp_owner
C. sp_change
D. None of the mentioned
Show Correct Answer
Correct Answer is :
None of the mentioned
20. Which of the following is extended procedure ?
A. xp_change
B. sp_owner
C. sp_change
D. xp_logininfo
Show Correct Answer
Correct Answer is :
xp_logininfo
Similar Interview Questions
Search for latest jobs
Find Jobs