Oracle Practice Test - 14

Oracle Practice Test - 14

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

When is the SGA created in an Oracle database environment?

  1. When the database is created
  2. When the instance is started
  3. When the database is mounted
  4. When a user process is started
Question 2 Multiple Choice (Single Answer)

Which of the following are different types of record group?

  1. Query record group
  2. Non-query record group
  3. Static record group
  4. All of above
Question 3 Multiple Choice (Single Answer)

Can one listener process listen for more than one protocol?

  1. Yes
  2. No
Question 4 Multiple Choice (Single Answer)

One of the tasks of a DBA is to periodically monitor the alert log file and the background trace files. In doing so, the DBA notices repeated messages indicating that Log Writer (LGWR) frequently has to wait for a redo log group because a checkpoint has not completed or a redo log group has not been archived. What should he do to eliminate the wait LGWR frequently encounters?

  1. Increase the number of redo log groups to guarantee that the groups are always available to LGWR
  2. Increase the size of the log buffer to guarantee that LGWR always has information to write
  3. Decrease the size of the redo buffer cache to guarantee that LGWR always has information to write
  4. Decrease the number of redo log groups to guarantee that checkpoints are completed prior to LGWR writing
Question 5 Multiple Choice (Single Answer)

Which script should be executed to create user JOY and give him the ability to connect to the database and the ability to create tables, sequences, and procedures in his schema?

  1. CREATE Joy
    IDENTIFIED BY Joy18;
    GRANT CREATE CONNECT, TABLE, SEQUENCE, PROCEDURE
    TO Joy
  2. CREATE USER Joy
    IDENTIFIED BY Joy18;
    GRANT CREATE TABLE, CREATE SEQUENCE, CREATE PROCEDURE
    TO Joy
  3. CREATE OR REPLACE USER Joy
    IDENTIFIED BY Joy18
    GRANT CREATE SESSION, CREATE TABLE, CREATE SEQUENCE, CREATE PROCEDURE
  4. CREATE USER Joy
    IDENTIFIED BY Joy18;
    GRANT CREATE SESSION, CREATE TABLE, CREATE SEQUENCE, CREATE PROCEDURE
    TO Joy
Question 6 Multiple Choice (Single Answer)

In a client-server application connection with no middle-tier, what are the five server stack components?

  1. Oracle database, TTC, Oracle Net, OPS, and Protocol
  2. Oracle database, Oracle Net, OSI, TTC, and Protocol
  3. Forms/SQL*Plus, OPS, TTC, Oracle Net, and Protocol
  4. Oracle Net, TTC, OPS, OCI, and Protocol
Question 7 Multiple Choice (Single Answer)

The Product Line data block is defined in the Order Management .fmb module. Product Line items are displayed in the default window at run time. In a second window called Buttons a set of icon buttons is displayed. At run time, the user must be able to freely navigate between the two windows. Which of the following statements identifies the types of windows to be defined?

  1. Both windows must be defined as dialog and modal.
  2. Both windows must be defined as document and modeless.
  3. Both windows must be defined as document and modal.
  4. The default window must be defined as modeless and the Buttonswindow must be modal.
Question 8 Multiple Choice (Single Answer)

Which of the following parameters enables users to perform a data-only unloading of data?

  1. EXCLUDE
  2. INCLUDE
  3. CONTENT
  4. DATA_ONLY
Question 9 Multiple Choice (Single Answer)

Examine the structure of the EMPLOYEES table:

EMPLOYEE_ID NUMBER Primary Key

FIRST_NAME VARCHAR2 (25)

LAST_NAME VARCHAR2 (25)

HIRE_DATE DATE

Which UPDATE statement is valid?

  1. UPDATE employees SET first_name = 'John' SET last_name='Smith' WHERE employee_id = 180;
  2. UPDATE employees SET first_name = 'John', SET last_name ='Smith' WHERE employee_id = 180;
  3. UPDATE employees SET first_name = 'John' AND last_name ='Smith' WHERE employee_id = 180;
  4. UPDATE employees SET first_name = 'John', last_name ='Smith' WHERE employee_id = 180;
Question 10 Multiple Choice (Single Answer)

The following statement was issued:
ALTER TABLESPACE users_data READ ONLY;
Which of the following statements is not true?

  1. A checkpoint occurs for each data file associated with the USERS_DATA tablespace.
  2. The data files for the USERS_DATA tablespace will need to be recovered if they become corrupt or a media failure occurs.
  3. The control file is updated to identify the data files for the USERS_DATA tablespace as read-only during recovery.
  4. The checkpoint numbers in the data files for the USERS_DATA tablespace are frozen and do not need to be synchronized with the checkpoint number in the control file.
Question 11 Multiple Choice (Single Answer)

When using MTS, which of the following will be shared among user processes?

  1. Server processes
  2. Client processes
  3. Server sessions
  4. Client sessions
  5. Nothing
Question 12 Multiple Choice (Single Answer)

What should be the first step in the tuning process?

  1. Tune the OS
  2. Tune database I/O
  3. First monitor performance
  4. Tune the design
Question 13 Multiple Choice (Single Answer)

Which of the following sequences is correct?

  1. Extent -> data block -> segment
  2. Data block -> extent -> segment
  3. Segment -> data block -> extent
  4. Segment -> extent -> data block
Question 14 Multiple Choice (Single Answer)

Which of the following will reduce the number of disk sorts?

  1. Increasing SORT_AREA_SIZE
  2. Decreasing SORT_AREA_RETAINED_SIZE
  3. Increasing the SORT_MEMORY_ALLOCATED parameter
  4. Altering SORT_AREA_SIZE dynamically based on available memory within SGA_MAX_SIZE
Question 15 Multiple Choice (Single Answer)

The Department form is a part of a multiform application that also includes the Customer and Orders forms. The Department form must include a query-based PRODUCT Record Group. All three forms must be able to access the PRODUCT Record Group. Which built-in should be used to create the PRODUCT Record Group?

  1. CREATE_GROUP('PRODUCT')
  2. CREATE_GROUP('PRODUCT', FORM_SCOPE)
  3. CREATE_GROUP('PRODUCT', GLOBAL_SCOPE)
  4. CREATE_GROUP_FROM_QUERY('PRODUCT', 'Select id, desc from products', GLOBAL_SCOPE)
Question 16 Multiple Choice (Single Answer)

SQL is pronounced as SEQEL, what does 'E' stands for ?

  1. Enquiry
  2. Element
  3. English
  4. Exclusive
Question 17 Multiple Choice (Single Answer)

Which of the following is not true of SQL views?

  1. Oracle views cannot use the ORDER BY clause in view definitions.
  2. Oracle views are created using the standard SQL-92 CREATE VIEW command.
  3. Oracle views can be queried.
  4. The SQL-92 standard does not allow the use of the ORDER BY clause in view definitions.
Question 18 Multiple Choice (Single Answer)

Which of the following options lists the correct hierarchy of storage structures, from largest to the smallest?

  1. Segment, extent, tablespace, data block
  2. Data block, extent, segment, tablespace
  3. Tablespace, extent, data block, segment
  4. Tablespace, segment, extent, data block
Question 19 Multiple Choice (Single Answer)

A team is designing the backup and recovery strategy for a company. Management's priority is to minimize downtime. Which business requirement should they focus on?

  1. MTBF
  2. RMAN
  3. MTTR
  4. Evolutionary Process