databases Online Quiz - 71

databases Online Quiz - 71

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

The exception INVALID_FILEHANDLE can occur when the following procedures are called?

  1. FCLOSE
  2. GET_LINE
  3. IS_OPEN
  4. 1,2
  5. All of the above
Question 2 Multiple Choice (Single Answer)

Which of the following exceptions are valid regarding util_file package

  1. INVALID_OFFSET
  2. VALUE_ERROR
  3. ACCESS_DENIED
  4. INVALID_MAXLINE_SIZE
  5. INVALID_FILENAME
Question 3 True/False

The package util_file can be used to read the files from Windows environment true or false

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

Which of the following procedure inserts terminating character when writing to a text file?

  1. NEW_LINE
  2. PUT
  3. PUT_LINE
  4. PUTF
  5. None of the above
Question 5 Multiple Choice (Single Answer)

What is the name of the variable that is used to set the directories in the database initialization file

  1. UTL_FILE_DIR
  2. UTL_FILE_DIRECTORY
  3. UTL_DIR
  4. UTL_DIRECTORY
  5. None of the above
Question 6 Multiple Choice (Single Answer)

What is the default value of the variable max_linesize in the function FOPEN?

  1. 32767
  2. 0
  3. 1024
  4. 1
  5. None of the above
Question 7 Multiple Choice (Single Answer)

Logging for any SQL on a RAC env what information must pass to log module for proper identification of the source of the log ?

  1. instance
  2. sid
  3. serial# the session connects to
  4. ALL
Question 8 Multiple Choice (Single Answer)

Pick which all comments should all code adequately document ?

  1. revision and date of Change
  2. reason for any change
  3. authour name and reference to CR
  4. ALL
Question 9 Multiple Choice (Single Answer)

Which are appropriate scheduling tools for use in EIP database?

  1. CONTROL M
  2. DBMS_JOB
  3. DBMS_SCHEDULER
  4. ALL
Question 10 Multiple Choice (Single Answer)

What can be used to optimize the performance of simple SQL?

  1. DYNAMIC PARALLELISM
  2. HINTS
  3. STORED OUTLINES
  4. ALL
Question 11 Multiple Choice (Single Answer)

COMPLETE REFRESH by default will _________________all rows in an mview before inserting new rows

  1. Create
  2. Delete
  3. Append
  4. None
Question 12 Multiple Choice (Single Answer)

On a partitioned table which index is used mostly

  1. Local
  2. Global
  3. Both
  4. None
Question 13 Multiple Choice (Single Answer)

Indexes and statistics are built ________________ the exchange of the exchange table ?

  1. After
  2. Before
  3. In either way
  4. Not Relevant
Question 14 Multiple Choice (Single Answer)

If the value in a column is not unique then which index is used ?

  1. bitmap indexes
  2. b*-tree indexes
  3. composite unique index
  4. cluster index
Question 15 Multiple Choice (Single Answer)

Which object in PL/SQL provides encapsulation features ?

  1. Procedure
  2. Package
  3. Functions
  4. All
Question 16 Multiple Choice (Single Answer)

When we should truncate the working table ?

  1. At the end of the run
  2. Beginning of next run
  3. At any point of Time
  4. Can't be done
Question 17 Multiple Choice (Single Answer)

If you need remove code from a script, including PL/SQL, what you will do?

  1. remove
  2. comment the code
  3. Either of them should be fine
  4. Don't do anything
Question 18 Multiple Choice (Single Answer)

while making query in a partitioned table which one we should use .

  1. explicit reference to partitions
  2. use the partition key in filter condition
  3. query will automatically decide the partition
  4. All of the above
Question 19 True/False

I/O operations on the data warehouse is expensive ?

  1. True
  2. False
Question 20 True/False

SYS_CONTEXT can be used to know details about a session running the code?

  1. True
  2. False