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.
Questions
If a table is dropped, then triggers created on it will also be dropped.
- True
- False
Select belongs to which type of language?
- DDL
- DML
- DCL
- None of the Above
DESC belongs to
- DDL
- DCL
- DML
- None the above
Dropped table can be got back without recreating it.
- True
- False
How can we calculate average of a column?
- using AVG () function
- Using AVERAGE() function
- using SUM() and Count() functions
- using Total() function
what are the functions used for calculating sub totals ?
- Using Rollup() function
- Using SUBTOT() function
- Using SUBSUM() function
- All the above
Which process registers the logfile in a standby database ?
- RFS
- MRP
- ARCH
- LGWR
Which process reads data from the data file into the database buffer cache ?
- Server process
- DBWR
- CKPT
- PMON
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?
- It will give an error
- PMON
- Default listener is started but the instance wont be registered.
- CJQn
what happens if the listener currently running for prod database is terminated due to some reason?
- The currently connected users will be disconnected.
- There will be no effect on users.
- remote users will not be allowed to spawn sessions.
- None of the above
Is it possible to resize the size of redo logs while the database is running?
- True
- False
Code Name of SQL Server 2005?
- Aegan
- Yukon
- Kilimanjaro
- MSSQL
Which recovery model doesn't allow Log backups?
- Full
- Simple
- Bulk-Logged
- None of the above
This database will be flushed when SQL Server restarts
- model
- msdb
- tempdb
- MSSQLSystemResource
Which table has all the users of a server?
- sysusers
- syslogins
- sysserverusers
- None of the above
Which of the following option helps to execute a stored procedure when the server instance starts?
- sp_procoption
- sp_serverstartup
- sp_autoexecute
- None of the above
Which database holds the information of all the jobs in a server?
- master
- model
- sysjobs
- msdb
If a sysadmin is granted with "db_denydatareader" role for a database he will not be able to access the data from that database.
- True
- False