Question
a.
master..sp_configure 'show advanced options',1
reconfigure
master..sp_configure 'xp_cmdshell',1
reconfigure
b.
master..sp_configure 'show advanced options',1
configure
master..sp_configure 'xp_cmdshell',1
configure
c.
master..sp_reconfigure 'show advanced options',1
reconfigure
master..sp_reconfigure 'xp_cmdshell',1
reconfigure
d.
All of the mentioned
Posted under SQL Server
reconfigure
master..sp_configure 'xp_cmdshell',1
reconfigure
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of the following code can enable xp_cmdshell?
Similar Questions
Discover Related MCQs
Q. If xp_cmdshell has been disabled with sp_dropextendedproc, we can simply inject the following code?
View solution
Q. Which of the stored procedure is used to test the SQL injection attack?
View solution
Q. Point out the wrong statement.
View solution
Q. Any user-controlled parameter that gets processed by the application includes vulnerabilities like ___________
View solution
Q. Which of the following script is example of SQL injection attack?
View solution
Q. Point out the correct statement.
View solution
Q. SQL injection is an attack in which _________ code is inserted into strings that are later passed to an instance of SQL Server.
View solution
Q. Which of the stored procedure used for dynamic SQL is prone to attacks?
View solution
Q. Which of the following is a disadvantage of dynamic SQL?
View solution
Q. The basic syntax for using EXECUTE command is ___________
View solution
Q. The Dynamic SQL Queries in a variable are __________ until they are executed.
View solution
Q. Point out the wrong statement.
View solution
Q. Which of the following is a calling syntax for sp_executesql?
View solution
Q. Dynamic SQL Statements in SQL Server can be easily built using ________________
View solution
Q. Point out the correct statement.
View solution
Q. Which of the following is a way to build dynamic sql statements?
View solution
Q. Scope of DDL triggers in SQL Server can be _____________
View solution
Q. ____________ triggers do not create the special inserted and deleted tables.
View solution
Q. How many types of DDL Trigger is present in SQL Server?
View solution
Q. DDL triggers can only fire after the ______ statement has occurred.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond SQL Server? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!