Questions
How many join conditions should be there to avoid a cartesian join for joining three tables?
- 1
- 2
- 3
- None of the above
What output will the given statement produce?
Select NVL2(NULL,'NOT NULL', NULL) from dual;
- NULL
- NOT NULL
- Function NVL2 is not defined.
- None of the above
A developer wants to change an existing application which requires to change the source table of the block from Order items to Products table to provide information related to the various products sold by the company during the year 2004-2005. How can this change be implemented?
- Select the Frame consisting of the items of the Order Items block. Click on the Tools menu button and click the Layout Wizard.
- Multi Select the Items of the Orders Items table, then right-click and click on the Data Block wizard.
- The table which is being associated with a Database Data block cannot be changed once it has been created.
What Oracle backup and recover file contains user and system data?
- Control file
- Data file
- OnLine ReDo file
- Offline ReDo file
A form was being developed that serves as a front end to access the Order Entry application. Within the form, the usernames of those users should be stored who have permissions to run the application. This information is accessed when the form starts up to determine if the user is authorized. The list of usernames is not stored in the database and should not be visible to users. How should this information be stored?
- In a list item
- In a list of values
- In a set of parameters
- In a record group
What is a default role?
- A role that requires a password
- A role that requires no password
- A role automatically enabled when the user logs on
- A role automatically assigned when the user is created
What is the new Oracle Shared Server?
- An improved version of multithreaded server configuration
- A connection pooling configuration where several clients are connected to the same server process
- Two more database servers, which share data by means of database links; the client software is unaware to which server it is connected
- A configuration of Real Application Cluster where the client connection is routed to the least busy instance
The PMON background process performs all system monitoring functions on the oracle database.
- True
- False
What does unloading of data refer to? How can the ownership of all of a user's objects change during a data pump import?
- The reading of data from external datafiles into external tables
REMAP_SCHEMA=source_schema:targer_schema - The writing of data from Oracle tables to external datafiles
REMAP_TABLESPACE=source_tablespace:target_tablespace - The writing of data from external datafiles into external tables
FROMUSER TOUSER - The reading of data from Oracle tables into external
datafilesREMAP_TABLESPACE=source_tablespace:source_tablespace
Which table type should be used to provide fast key-based access to table data for queries involving exact matches and range searches?
- Regular table
- Clustered table
- Partitioned table
- Index-organized table
____________ directs the complier to add the user defined error message to the oracle error number.
- Pragma Init Exception
- Pragma Exception
- ORA_EXCEPTION
- ORA_USER_EXCEPTION
What is the equivalent of the old DROP TABLE command in Oracle Database 10g?
- DROP TABLE NO PURGE
- DROP TABLE works exactly the way it did in previous versions.
- DROP TABLE … PURGE
- DROP TABLE … TO BEFORE DROP
Which Oracle Net Services feature supports authentication methods such as token cards through the use of authentication adapters?
- Heterogeneous Services
- Firewalls
- Oracle Advanced Security
- Oracle Connection Manager
DANNY is coding a When-New-Form-Instance trigger to populate a hierarchical tree item called Emp_Tree that should initially appear as shown in the exhibit. Mr. King, the president of the company, is the only employee who does not have a manager.
In the trigger, DANNY declares a variable called rg_emps that is of the RECORD GROUP data type. He will use this record group to populate the tree. He uses the following code to create the record group:
rg_emps := Create_Group_Form_Query('rg_emps', 'Select 1, level, last_name, NULL, to_char(employee_id) from employees connect by prior employee_id = manager_id; start with manager_id is null');
He then programmatically populates the record group, and then populates the tree with the record group. He runs the form to test it. Will the tree initially appear as shown? If not, why?
- Yes, the tree will appear as shown.
- No, the first element selected in the select statement should be 4 because he wanted four levels of the tree to be displayed.
- No, he should eliminate the last element selected in the select statement, because he does not want to display the employees ID.
- No, the 'connect by' statement should be 'connect by prior manager_id = employee_id'.
A client-server application has become very popular and hundreds of users are accessing the Oracle Server daily. Which networking solution should be implemented to ensure that all users can access the Oracle Server?
- Dedicated Server
- Directory Naming
- Oracle Connection Manager
- Heterogeneous Services
Which of the following statements about an Oracle instance is true?
- The redo log buffer is NOT a part of the shared memory area of an Oracle instance.
- Multiple instances can be executed on the same computer, each accessing its own physical database.
- An Oracle instance is a combination of memory structures, background processes, and user processes.
- In a shared server environment, the memory structure component of an instance consists of a single SGA and a single PGA.
The STUDENT_GRADES table has the following columns:STUDENT_ID NUMBER (12)SEMESTER_END DATEGPA NUMBER (4, 3)
Which of the following statements finds the highest Grade Point Average (GPA) per semester?
- SELECT MAX(gpa) FROM student_grades WHERE gpa IS NOT NULL;
- SELECT (gpa) FROM student_grades GROUP BY semester_end WHERE gpa IS NOT NULL;
- SELECT MAX(gpa) FROM student_grades WHERE gpa IS NOT NULL GROUP BY semester_end;
- SELECT MAX(gpa) GROUP BY semester_end WHERE gpa IS NOT NULL FROM student_grades;
- SELECT MAX(gpa) FROM student_grades GROUP BY semester_end WHERE gpa IS NOT NULL;
Which of the following can be a valid column name?
- Column
- 1966_Invoices
- Catch_#22
- #Invoices
- None of the above
Which operator will be evaluated first in the given statement?
select (2+3*4/2-8) from dual:
- +
- -
- /
- *
Evaluate the following SELECT statement:
SELECT emp_id, name
FROM emp
WHERE emp_id NOT IN (SELECT emp_id
FROM emp
WHERE dept_id = 30
AND job = 'SALESMAN');
What would happen if the inner query returned a NULL value?
- No rows would be selected from the EMPLOYEE table.
- A syntax error would be returned.
- All the EMPLOYEE_ID and NAME values in the EMPLOYEE table would be displayed.
- Only the rows with EMPLOYEE_ID values equal to NULL would be included in the results.
The storage parmeters for a given table are: INITIAL=100, NEXT=100, MINEXTENTS=2, MAXEXTENTS=10, PCTINCREASE=20. If the first 3 extents are filled, what will be the size of the FOURTH extent?
- 120
- 140
- 144
- 240
- 400