How Does Actualtests Oracle 1Z0-146 sample question Work?

Want to know Exambible 1Z0-146 Exam practice test features? Want to lear more about Oracle Oracle 11g: Advanced PL/SQL certification experience? Study Virtual Oracle 1Z0-146 answers to Renewal 1Z0-146 questions at Exambible. Gat a success with an absolute guarantee to pass Oracle 1Z0-146 (Oracle 11g: Advanced PL/SQL) test on your first attempt.


♥♥ 2021 NEW RECOMMEND ♥♥

Free VCE & PDF File for Oracle 1Z0-146 Real Exam (Full Version!)

★ Pass on Your First TRY ★ 100% Money Back Guarantee ★ Realistic Practice Exam Questions

Free Instant Download NEW 1Z0-146 Exam Dumps (PDF & VCE):
Available on: http://www.surepassexam.com/1Z0-146-exam-dumps.html

Q31. 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:


Q32. Which two statements are true about the migration of BasicFile to the SecureFile format by using the DBMS_REDEFINITION package? (Choose two.) 

A. It can be performed only on tables with a single LOB column. 

B. It automatically creates an interim table during the migration process. 

C. It allows the table that is migrated to be accessed throughout the migration process. 

D. It requires free space that is at least equal to the space used by the table that is migrated. 

E. It requires all constraints defined on the original table to be re-created manually after the migration. 

Answer: C,D 


Q33. Which two statements correctly describe the features of SecureFiles? (Choose two.) 

A. Compression is performed only on the server side and enables random reads and writes to LOB data. 

B. Deduplication stores identical data, which occurs in a LOB column in each row, as a single copy within the LOB. 

C. Compression can be performed on the client side and it enables random and sequential reads and writes to LOB data. 

D. Deduplication stores identical data occurring two or more times in the same LOB column as a single copy for the table. 

Answer: A,D 


Q34. Examine the structure of the PRINT_MEDIA table: Name Null? Type 

ADVT_ID NUMBER ADVT_SOURCE CLOB Examine the following PL/SQL block: 

DECLARE 

lobloc CLOB; 

buffer VARCHAR2(100); 

amount NUMBER; 

offset NUMBER :=1; 

BEGIN 

buffer :='This is the second line of a new document' 

amount := LENGTH(buffer); 

SELECT advt_source INTO lobloc FROM print_media WHERE advt_id=2 FOR UPDATE; 

DBMS_LOB.WRITE(lobloc,amount,offset,buffer); 

COMMIT; 

END; 

What must be the value in the ADVT_SOURCE column for the above code to execute 

successfully? 

A. null 

B. an empty locator 

C. a non-NULL value 

D. either null or any non-NULL values 

Answer:


Q35. Which two reports can be retrieved by using the various procedures in the DBMS_METADATA PL/SQL package? (Choose two.) 

A. DDL report for all objects dependent on a table 

B. DDL report for all the objects stored in a tablespace 

C. DDL report for all the invalidated objects in a schema 

D. data definition language (DDL) report for all the tables in a schema 

Answer: A,D 


Q36. View the Exhibit and examine the code in the PL/SQL block. 

The PL/SQL block generates an error on execution. What is the reason? 

A. The DELETE(n) method cannot be used with varrays. 

B. The DELETE(n) method cannot be used with nested tables. 

C. The NEXT method cannot be used with an associative array with VARCHAR2 key values. 

D. The NEXT method cannot be used with a nested table from which an element has been deleted. 

Answer:


Q37. View the Exhibit and examine the PL/SQL code. 

The code takes a long time to execute. What would you recommend to improve performance? 

A. using NOT NULL constraint when declaring the variables 

B. using the BULK COLLECT option for query instead of cursor 

C. using WHILE.. END LOOP instead of FOR .. END LOOP 

D. using the SIMPLE_INTEGER data type instead of the NUMBER data type 

Answer:


Q38. Examine the code in the following PL/SQL block: 

DECLARE 

TYPE NumList IS TABLE OF INTEGER; 

List1 NumList := NumList(11,22,33,44); 

BEGIN 

List1.DELETE(2); 

DBMS_OUTPUT.PUT_LINE 

( 'The last element# in List1 is ' || List1.LAST || 

' and total of elements is '||List1.COUNT); 

List1.EXTEND(4,3); 

END; 

Which two statements are true about the above code? (Choose two.) 

A. LAST and COUNT give different values. 

B. LAST and COUNT give the same values. 

C. The four new elements that are added contain the value 33. 

D. The four new elements that are added contain the value 44. 

Answer: A,C 


Q39. View Exhibit1 and examine the structure of the EMPLOYEES table. 

itexamworld.com 

View Exhibit2 and examine the code in the PL/SQL block. 

The PL/SQL block fails to execute. What could be the reason? 

A. Nested tables cannot be returned by a function. 

B. The NEWNAMES nested table has not been initialized. 

C. The assignment operator cannot be used to transfer all the element values from GROUP1 to GROUP2. 

D. The third element of OLDNAMES cannot be assigned to the third element of GROUP1 because they are of inconsistent data types. 

E. LAST_NAME values cannot be assigned to the V_LAST_NAMES nested table because local collection types are not allowed in SQL statements. 

Answer:


Q40. 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: