Tag: databases

Questions Related to databases

Identify the list of some commonly used generators in hibernate

  1. increment, identity, sequence, hilo, uuid

  2. decrement, identify, sequence, hilote, uuid

  3. generator, factory, series

  4. incrementObject, sequence, hilote, uuids


Correct Option: A
  1. org.hibernate.cfg.configuration

  2. org.hibernate.cfg.configuration.Session

  3. org.hibernate.Configuration

  4. org.hibernate.cfg.Configuration


Correct Option: D
  1. Perform Object Java Oriented

  2. Plain Object Java Old

  3. Platform Oriented Java Object

  4. Plain Old Java Object


Correct Option: D
  1. All extents are released.

  2. All rows of the table are deleted.

  3. Any associated indexes are truncated.

  4. No undo data is generated for the table's rows.


Correct Option: B,C,D

You are logged on to a client. You do not have a secure connection from your client to the host where your Oracle database is running. Which authentication mechanism allows you to connect to the database using the SYSDBA privilege?

  1. Control file authentication

  2. Password file authentication

  3. Data dictionary authentication

  4. Operating system authentication


Correct Option: B
  1. The resulting index may contain deleted entries.

  2. A new index is built using an existing index as the data source.

  3. Queries cannot use the existing index while the new index is being built.

  4. During a rebuild, sufficient space is needed to accommodate both the old and the new


Correct Option: B,D
  1. STARTUP

  2. STARTUP OPEN

  3. STARTUP MOUNT

  4. STARTUP NOMOUNT


Correct Option: D

Which data dictionary view shows the available free space in a certain tablespace?

  1. DBA_EXTENTS

  2. V$FREESPACE

  3. DBA_FREE_SPACE

  4. DBA_FREE_EXTENTS


Correct Option: C

what are the three main components in Hibernate architecture?

  1. Connection Management

  2. Bean Management

  3. Transaction Management

  4. Object relational mapping

  5. Relational Management


Correct Option: A,C,D

Can a query defining the 'view' include the ORDER BY clause?

  1. True

  2. False


Correct Option: A