0

databases Online Quiz - 184

Description: databases Online Quiz - 184
Number of Questions: 20
Created by:
Tags: databases
Attempted 0/20 Correct 0 Score 0
  1. INIT.ORA

  2. SQLNET.ORA

  3. LISTENER.ORA

  4. TNSNAMES.ORA


Correct Option: C

Ping when compared to TNS ping is FAST

  1. True

  2. False


Correct Option: B
  1. The Connections also get closed along with listener.

  2. The Connections close as and when the open transaction completes

  3. The Existing connections are left untouched as the listener only initiates the connections

  4. None of the Above


Correct Option: C

I must access a remote database using the SQLPLUS client executable

  1. I can connect only if there is a TNS entry in the server where the client executable resides

  2. I can connect only if there is a TNS entry in the server where the database resides

  3. No need for a TNS entry at all

  4. The Listener.ora will take care of the connection


Correct Option: A

enterprise users can be given access to multiple schemas and databases without having to create an account or schema in each database.

  1. True

  2. False


Correct Option: B

In Oracle World User is authentication, Schema is authorization

  1. True

  2. False


Correct Option: B

The Oracle supplied Utility that is used for modifying a password file

  1. LSNRCTL

  2. PWDMOD

  3. SVRMGRL

  4. ORAPWD


Correct Option: D

REMOTE_LOGIN_PASSWORDFILE parameter can have

  1. SHARED

  2. EXCLUSIVE

  3. NONE

  4. All the Above


Correct Option: D

Password File Authentication, takes precedence over OS Authentication

  1. True

  2. False


Correct Option: B

What is the Data Dictionary view that will show the details of Initialization Parameters

  1. V$database

  2. V$parameter

  3. V$parameter2

  4. v$instance


Correct Option: B

A user U01 is logging in with his ID What data dictionary view will give details on available system privileges for him

  1. ALL_SYS_PRIVS

  2. USER_SYS_PRIVS

  3. ALL_ROLE_PRIVS

  4. USER_ROLE_PRIVS


Correct Option: B

what is the use of hibernate.cfg.xml in Hibernate?

  1. To create the connection pool and setup required environment

  2. To configure bean management setup environment

  3. To talk to the database directly with out this configuration file

  4. To create an object and map the data with corresponding object


Correct Option: A
  1. SessionFactory sessionFactory = new Configuration().configure();

  2. SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory();

  3. SessionFactory sessionFactory = new Configuration().configure().sessionFactory();

  4. SessionFactory sessionFactory = new Configuration().buildSession();


Correct Option: B
  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
- Hide questions