Tag: databases

Questions Related to databases

Which of the following views provides all the grants on all the objects in the database?

  1. DBA_SYS_PRIVS

  2. DBA_COL_PRIVS

  3. DBA_OBJ_PRIVS

  4. DBA_TAB_PRIVS


Correct Option: A
  1. character streams

  2. byte streams

  3. Both (A) and (B)

  4. None of the Above


Correct Option: C
  1. service() method

  2. init() method

  3. constructor for HttpServlet()

  4. None of the Above


Correct Option: B
  1. out is a PrintStream object

  2. Java support pointers

  3. AWT components are heavy-weight

  4. An abstract class has to be sub-classed


Correct Option: B

Which of the following are valid table-partitioning methods

  1. Key based

  2. Freelist

  3. Hash

  4. Index


Correct Option: C
  1. DB_CREATE_FILE_DEST

  2. DB_CREATE_ONLINE_LOG_n

  3. USER_DUMP_DEST

  4. LOG_ARCHIVE_DEST


Correct Option: A
  1. SystemException

  2. ApplicationException

  3. Both (A) and (B)

  4. None of the Above


Correct Option: B
  1. You need to have the same hardware.

  2. The database you mirror to will be in an unused standby state.

  3. You cannot have automatic failover.

  4. You need to have at minimum three servers.


Correct Option: B