1Z0-146 Exam
Oracle 11g: Advanced PL/SQL
- Exam Number/Code : 1Z0-146
- Exam Name : Oracle 11g: Advanced PL/SQL
- Questions and Answers : 115 Q&As
- Update Time: 2013-04-05
-
Price:
$ 139.00$ 89.00 -
1Z0-146 Hard Copy (PDF)
-
1Z0-146 Test Engine
Free 1Z0-146 Demo Download
Test4pass offers free demo for Oracle 11g 1Z0-146 exam (Oracle 11g: Advanced PL/SQL). You can check out the interface, question quality and usability of our practice exams before you decide to buy it. We are the only one site can offer demo for almost all products.
Exam Description
It is well known that 1Z0-146 exam test is the hot exam of Oracle certification. Test4pass offer you all the Q&A of the 1Z0-146 real test . It is the examination of the perfect combination and it will help you pass 1Z0-146 exam at the first time!
Why choose Test4pass 1Z0-146 braindumps
Quality and Value for the 1Z0-146 Exam
100% Guarantee to Pass Your 1Z0-146 Exam
Downloadable, Interactive 1Z0-146 Testing engines
Verified Answers Researched by Industry Experts
Drag and Drop questions as experienced in the Actual Exams
Practice Test Questions accompanied by exhibits
Our Practice Test Questions are backed by our 100% MONEY BACK GUARANTEE.
Test4pass 1Z0-146 Exam Features
Quality and Value for the 1Z0-146 Exam
Test4pass Practice Exams for Oracle 1Z0-146 are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development.
100% Guarantee to Pass Your 1Z0-146 Exam
If you prepare for the exam using our Test4pass testing engine, we guarantee your success in the first attempt. If you do not pass the Oracle 11g 1Z0-146 exam (ProCurve Secure WAN) on your first attempt we will give you a FULL REFUND of your purchasing fee AND send you another same value product for free.
Oracle 1Z0-146 Downloadable, Printable Exams (in PDF format)
Our Exam 1Z0-146 Preparation Material provides you everything you will need to take your 1Z0-146 Exam. The 1Z0-146 Exam details are researched and produced by Professional Certification Experts who are constantly using industry experience to produce precise, and logical. You may get questions from different web sites or books, but logic is the key. Our Product will help you not only pass in the first try, but also save your valuable time.
1Z0-146 Downloadable, Interactive Testing engines
We are all well aware that a major problem in the IT industry is that there is a lack of quality study materials. Our Exam Preparation Material provides you everything you will need to take a certification examination. Like actual certification exams, our Practice Tests are in multiple-choice (MCQs) Our Oracle 1Z0-146 Exam will provide you with free 1Z0-146 dumps questions with verified answers that reflect the actual exam. These questions and answers provide you with the experience of taking the actual test. High quality and Value for the 1Z0-146 Exam:100% Guarantee to Pass Your Oracle 11g exam and get your Oracle 11g Certification.
Hot KeyWords On 1Z0-146 test
We collect some hot keywords about this exam:
Test4pass , Pass 4 Sure , Test in Side ,Pass Guide ,Test King 1Z0-146 exam | 1Z0-146 pdf exam | 1Z0-146 braindumps | 1Z0-146 study guides | 1Z0-146 trainning materials | 1Z0-146 simulations | 1Z0-146 testing engine | 1Z0-146 vce | 1Z0-146 torrent | 1Z0-146 dumps | free download 1Z0-146 | 1Z0-146 practice exam | 1Z0-146 preparation files | 1Z0-146 questions | 1Z0-146 answers.
How to pass your 1Z0-146 exam
You can search on Search Engine and Find Best IT Certification site: Test4pass.com - Find the Method to succeed 1Z0-146 test,The safer.easier way to get .
��
Exam : Oracle 1Z0-146
Title : Oracle 11g: Advanced PL/SQL
1. View the Exhibit and examine the structure of the EMPLOYEES table.
Examine the following PL/SQL block:
DECLARE
TYPE EmpList
IS VARRAY(2) OF employees.employee_id%TYPE NOT NULL;
v_employees EmpList := EmpList();
BEGIN
DBMS_OUTPUT.PUT_LINE(v_employees.COUNT);
v_employees.EXTEND;
v_employees(1) := 30;
END;
/
Which statement is true about the outcome on executing the above PL/SQL block?
A. It executes successfully and displays the value 2.
B. It executes successfully and displays the value 0.
C. It generates an error because EXTEND cannot be used for varrays.
D. It generates an error because the declaration of the varray is not valid.
Answer: B
2. Which two types of metadata can be retrieved by using the various procedures in the DBMS_METADATA PL/SQL package? (Choose two.)
A. report of invalidated objects in a schema
B. report of statistics of an object in the database
C. DDL for all object grants on a table in the database
D. data definition language (DDL) for all objects in a schema
Answer: CD
3. The database instance was recently started up. Examine the following parameter settings for the database instance:
NAME TYPE VALUE
------------------------------------ ----------- ----------------------------
.........
result_cache_max_result integer 5
result_cache_max_size big integer 0
result_cache_mode string MANUAL
result_cache_remote_expiration integer 0
.........
You reset the value for the result_cache_max_size parameter by issuing the following command:
SQL> ALTER SYSTEM SET result_cache_max_size = 1056k SCOPE = BOTH;
System altered.
Which statement is true in this scenario?
A. 1056 KB is allocated for the result cache and the result cache is enabled.
B. 1056 KB is allocated for the result cache, but the result cache is disabled.
C. The results for only the queries that have the RESULT_CACHE hint are cached.
D. The results for all the queries except those having the NO_RESULT_CACHE hint are cached.
Answer: B
4. Examine the commands:
CREATE TYPE typ_course_tab IS VARRAY(5) OF VARCHAR2(20)
/
CREATE TYPE typ_course_nst
AS TABLE OF typ_course_tab
/
CREATE TABLE faculty
(faculty_id NUMBER(5),
faculty_name VARCHAR2(30),
courses typ_course_nst)
NESTED TABLE courses STORE AS course_stor_tab
/
INSERT INTO faculty
VALUES (101, 'Jones', NULL);
UPDATE (SELECT courses FROM faculty WHERE faculty_id=101) SET courses = typ_course_nst(11,'Oracle'); Which statement is true about the execution of these commands?
A. All the commands execute successfully.
B. Only the first two commands execute successfully.
C. Only the first four commands execute successfully.
D. Only the first three commands execute successfully.
Answer: C
5. View the Exhibit to examine the PL/SQL code for the GET_METADATA function. Which statement is true about the metadata gathered by the function?
A. The end result is the creation of DDL for the TIMECARDS table with all instances of the HR schema changed to SCOTT.
B. The end result is the creation of an XML document for all tables with all physical, storage, logging, and other segment attributes.
C. The end result is the creation of DDL for all tables with all instances of the HR schema changed to SCOTT along with all physical, storage, logging, and other segment attributes.
D. The end result is the creation of DDL for all tables and associated indexes with all instances of the HR schema changed to SCOTT along with all physical, storage, logging, and other segment
attributes.
Answer: A
6. Which two statements are true about SecureFile LOB options? (Choose two.)
A. The COMPRESSION HIGH option can be enabled only for CLOBs.
B. The COMPRESSION HIGH option can be enabled for all internal LOBs.
C. The DECRYPT option can be used to remove encryption only if the LOB column is empty.
D. The DECRYPT option can be used to remove encryption from LOB columns that are empty or contain data.
Answer: BD
7. Which two statements correctly describe the features of SecureFiles? (Choose two.)
A. Compression does not entail table or index compression and vice-versa.
B. Encryption stores the encryption keys for the LOB columns inside the database.
C. Encryption stores the encryption keys for the LOB columns outside the database.
D. Compression stores identical data occurring two or more times in the same LOB column as a single copy for the table.
Answer: AC
8. Examine the structure of the EMPLOYEES table in the SCOTT schema.
Name Null? Type
----------------------- --------------- ---------------
EMPLOYEE_ID NOT NULL NUMBER(6)
FIRST_NAME VARCHAR2(20)
LAST_NAME NOT NULL VARCHAR2(25)
SALARY NOT NULL NUMBER(8,2)
COMMISSION_PCT NUMBER(2,2)
DEPARTMENT_ID NUMBER(4)
View the Exhibit and examine the code for the EMP_TOTSAL procedure created by user SCOTT.
Which statement is true regarding the EMP_TOTSAL procedure?
A. It is created successfully, but displays the correct output message only for existent employee IDs.
B. It is created successfully and displays the correct output message for both existent and nonexistent employee IDs.
C. It generates an error because the %NOTFOUND attribute cannot be used in combination with a SELECT INTO statement.
D. It generates an error because a user-defined exception has to be included whenever the %NOTFOUND attribute is used in combination with a
SELECT INTO statement.
Answer: A
9. Which two statements are true about associative arrays and varrays? (Choose two.)
A. Only varrays must start with the subscript 1.
B. Only varrays can be used as column types in database tables.
C. Both associative arrays and varrays must start with the subscript 1.
D. Both associative arrays and varrays can be used as column types in database tables.
Answer: AB
10. View the Exhibit and examine the procedure to create a trigger name based on the table name supplied to the procedure.
Which three statements are appropriate for protecting the code in the procedure from SQL injection? (Choose three.)
A. Explicitly validate the identifier length limit.
B. Add AUTHID DEFINER to the definition of the procedure.
C. Use PRAGMA RESTRICT_REFERENCES in the procedure.
D. Filter out control characters in user-supplied identifier names.
E. Use the object ID of the table from the data dictionary to build the trigger name.
Answer: ADE
11. In a user session, tracing is enabled as follows:
SQL> EXECUTE DBMS_TRACE.SET_PLSQL_TRACE(DBMS_TRACE.TRACE_ENABLED_LINES);
PL/SQL procedure successfully completed.
You executed the procedure as follows:
SQL> EXECUTE PROC10
PL/SQL procedure successfully completed.
When you examine the PLSQL_TRACE_EVENTS table, you find that no trace information was written into it.
View the Exhibit.
What is the reason for this?
A. The PROC10 procedure is created with the invoker's right.
B. The PROC10 procedure is not compiled with the DEBUG option.
C. Tracing is not enabled with the TRACE_ENABLED_CALLS option.
D. The TRACE_ENABLED parameter is set to FALSE for the session.
Answer: B
12. DATA_FILES is a directory object that contains the DETAILS.TXT text file.
You have the required permissions to access the directory object.
You create a table using the following command:
CREATE TABLE clob_tab(col2 CLOB);
View the Exhibit and examine the PL/SQL block that you execute for loading the external text file into the table that currently has no rows. The PL/SQL block results in an error.
What correction must be done to ensure the PL/SQL block executes successfully?
A. The L_OUT variable must be initialized to an empty locator.
B. The L_OUT variable has to be declared as a temporary LOB.
C. The A_CLOB variable has to be declared as a temporary LOB.
D. The clause RETURNING col2 INTO a_clob should be added to the INSERT statement to correctly initialize the locator.
Answer: D
13. Examine the structure of the DEPARTMENTS table.
Name Null? Type
----------------------------- ------------ ----------
DEPARTMENT_ID NOT NULL NUMBER(4)
DEPARTMENT_NAME NOT NULL VARCHAR2(30)
LOCATION_ID NUMBER(4)
View the Exhibit and examine the code that you plan to use for creating a package to obtain the details of an employee using a host variable on the client side.
In SQL*Plus, you plan to use the following commands:
SQL> VARIABLE x REFCURSOR
SQL> EXECUTE emp_data.get_emp(195,:x)
SQL> PRINT x
Which statement is true about the above scenario?
A. The package executes successfully and passes the required data to the host variable.
B. The package specification gives an error on compilation because cursor variable types cannot be defined in the specification.
C. The package specification gives an error on compilation because the cursor variable parameter was specified before you defined it.
D. The package executes successfully, but does not pass the required data to the host variable because the cursor is closed before the PRINT statement runs.
Answer: D
14. Which statement describes the purpose of the plshprof command?
A. It produces HTML output from raw profiler output.
B. It produces HTML output from profiler tables in the database.
C. It populates profiler tables in the database from raw profiler output.
D. It produces raw profiler output on the most recently run applications.
Answer: A