SQL Server and Oracle Database Administration

Quiz covering SQL Server and Oracle database administration topics including system databases, processes, recovery models, listener configuration, and SQL language classification.

18 Questions Published

Questions

Question 1 True/False

If a table is dropped, then triggers created on it will also be dropped.

  1. True
  2. False
Question 2 Multiple Choice (Single Answer)

Select belongs to which type of language?

  1. DDL
  2. DML
  3. DCL
  4. None of the Above
Question 3 Multiple Choice (Single Answer)

DESC belongs to

  1. DDL
  2. DCL
  3. DML
  4. None the above
Question 4 True/False

Dropped table can be got back without recreating it.

  1. True
  2. False
Question 5 Multiple Choice (Multiple Answers)

How can we calculate average of a column?

  1. using AVG () function
  2. Using AVERAGE() function
  3. using SUM() and Count() functions
  4. using Total() function
Question 6 Multiple Choice (Multiple Answers)

what are the functions used for calculating sub totals ?

  1. Using Rollup() function
  2. Using SUBTOT() function
  3. Using SUBSUM() function
  4. All the above
Question 7 Multiple Choice (Single Answer)

Which process registers the logfile in a standby database ?

  1. RFS
  2. MRP
  3. ARCH
  4. LGWR
Question 8 Multiple Choice (Single Answer)

Which process reads data from the data file into the database buffer cache ?

  1. Server process
  2. DBWR
  3. CKPT
  4. PMON
Question 9 Multiple Choice (Single Answer)

There is no entry in the file listener.ora. You issue the command "lsnrctl start". Which process will register the running instance with the listener?

  1. It will give an error
  2. PMON
  3. Default listener is started but the instance wont be registered.
  4. CJQn
Question 10 Multiple Choice (Single Answer)

what happens if the listener currently running for prod database is terminated due to some reason?

  1. The currently connected users will be disconnected.
  2. There will be no effect on users.
  3. remote users will not be allowed to spawn sessions.
  4. None of the above
Question 11 True/False

Is it possible to resize the size of redo logs while the database is running?

  1. True
  2. False
Question 12 Multiple Choice (Single Answer)

Code Name of SQL Server 2005?

  1. Aegan
  2. Yukon
  3. Kilimanjaro
  4. MSSQL
Question 13 Multiple Choice (Single Answer)

Which recovery model doesn't allow Log backups?

  1. Full
  2. Simple
  3. Bulk-Logged
  4. None of the above
Question 14 Multiple Choice (Single Answer)

This database will be flushed when SQL Server restarts

  1. model
  2. msdb
  3. tempdb
  4. MSSQLSystemResource
Question 15 Multiple Choice (Single Answer)

Which table has all the users of a server?

  1. sysusers
  2. syslogins
  3. sysserverusers
  4. None of the above
Question 16 Multiple Choice (Single Answer)

Which of the following option helps to execute a stored procedure when the server instance starts?

  1. sp_procoption
  2. sp_serverstartup
  3. sp_autoexecute
  4. None of the above
Question 17 Multiple Choice (Single Answer)

Which database holds the information of all the jobs in a server?

  1. master
  2. model
  3. sysjobs
  4. msdb
Question 18 True/False

If a sysadmin is granted with "db_denydatareader" role for a database he will not be able to access the data from that database.

  1. True
  2. False