We provide real 1Z0-144 exam questions and answers braindumps in two formats. Download PDF & Practice Tests. Pass Oracle 1Z0-144 Exam quickly & easily. The 1Z0-144 PDF type is available for reading and printing. You can print more and practice many times. With the help of our Oracle 1Z0-144 dumps pdf and vce product and material, you can easily pass the 1Z0-144 exam.

Q1. Examine the following package specification. 

SQL>CREATE OR REPLACE PACKAGE emp_pkf IS 

PROCEDURE search_emp (empdet NUMBER); 

PROCEDURE search_emp (empdet DATE); 

PROCEDURE search_emp (empdet NUMBER); RETURN VERCHAR2 

PROCEDURE search_emp (empdet NUMBER); RETURN DATE 

END emp_pkg 

The package is compiled successfully 

Why would it generate an error at run tune? 

A. Because function cannot be overload 

B. Because function cannot differ only in return type. 

C. Because all the functions and procedures In the package cannot have the same number of parameters with the same parameter name 

D. Because the search EMP (EMPDET NUMBER) procedure and the SEARCH_DEPT (EMPDET NUMBER) cannot have identical parameter names and data types 

Answer:


Q2. Which two statements are true about anonymous blocks and named subprograms? 

(Choose two) 

A. Subprograms are by default executed with definer's rights. 

B. The declare section is optional for both anonymous blocks and subprograms. 

C. Both anonymous blocks and subprograms execute by default with invoker's rights. 

D. The declare section is mandatory for anonymous blocks and optional for subprograms. 

Answer: A,B 


Q3. View the Exhibit and examine the structure of the departments table in SCOTT’s schema. 

Examine the following block of code: 

CREATE OR REPLACE PROCEDURE add_dept( 

p_id NUMBER, p_name VARCHAR2) IS 

BEGIN 

INSERT INTO departments VALUES <p_id, p_name, NULL, NULL); 

END; 

The above procedure is created by user SCOTT. Another user JONES needs to use the 

procedure. 

Which two statements are true in the above scenario? (Choose two.) 

A. JONES executes the procedure with definer's rights. 

B. JONES executes the procedure with invoker's rights. 

C. SCOTT should grant only the execute privilege for the procedure to JONES. 

D. SCOTT should grant both the BXKCOTE privilege for the procedure and insert privilege for the table to 

Answer: A,C 


Q4. Examine the following code: 

Which statement is true about the execution of the above code? 

A. It executes and displays null. 

B. It executes and the condition returns true. 

C. It executes and control goes to the else statement. 

D. It fails because no value is assigned to the v_myage variable. 

Answer:


Q5. Examine the following block of code: 

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

A. The function goes through only the parse and executes phases. 

B. The function goes through the parse, bind, and execute phases. 

C. The function goes through the parse, bind, execute, and fetch phases. 

D. All the processing phases for the function are performed only at run time. 

E. Only the EXECUTE IMMEDIATE statement inside the function is parsed at run time. 

Answer: D,E 


Q6. View the Exhibit to examine the PL/SQL block. 

Which statement is true about the execution of the PL/SQL block? 

A. It executes successfully and gives the desired output. 

B. It does not execute because the definition of type population is indexed by VARCHAR2. 

C. It executes, and the string keys of an associative array are not stored in creation order, but in sorted order. 

D. It does not execute because the value that is once assigned to the element of the associative array cannot be changed. 

Answer:


Q7. Consider the following scenario: 

Local procedure a calls remote procedure B 

Procedure A was compiled at 8 AM. 

Procedure A was modified and recompiled at 9 AM. 

Remote procedure B was later modified and recompiled at 11 AM. 

The dependency mode is set to timestamp. 

Which statement correctly describes what happens when procedure A is invoked at 1 PM? 

A. Procedure A is invalidated and recompiled immediately. 

B. There is no effect on procedure A and it runs successfully. 

C. Procedure B is invalidated and recompiled again when invoked. 

D. Procedure A is invalidated and recompiles when invoked the next time. 

Answer:


Q8. Which two tasks should be created as functions instead of as procedures? (Choose two.) 

A. Reference host or bind variables in a PL7SQL block of code 

B. Tasks that compute and return multiple values to the calling environment 

C. Tasks that compute a value that must be returned to the calling environment 

D. Tasks performed in SQL that increase data independence by processing complex data analysis within the Oracle server, rather than by retrieving the data into an application 

Answer: A,C 

Explanation: Explanation/Reference: 

Functions are used to return a value. Functions must return only a single value. 

Procedure are used to perform an action. 

Both functions and procedures are using to do a special task or action. In functions it is 

must to return a single value, where as in procedures it’s not compulsory 


Q9. Which tasks must be performed during the installation of the UTL_MAIL package? (Choose all that apply.) 

A. setting the UTL_FILE_DIR initialization parameter 

B. running the UTLMAIL.SQL and prvtmail.plb scripts 

C. setting the SMTP_OUT_SERVER initialization parameter 

D. using the CREATE DIRECTORY statement to associate an alias with an operating system directory 

E. granting read and WRITE privileges to control the type of access to files in the operating system 

Answer: B,C 


Q10. Identify two features of obfuscation. (Choose two.) 

A. The Import and Export utilities accept wrapped files. 

B. SQL' Plus cannot process the obfuscated source files. 

C. Only the wrap utility can obfuscate multiple programs at a time. 

D. Both the DBMS_DDL package and the Wrap utility can obfuscate multiple programs at a time. 

E. The source code is visible only through the DBA_SOURCE view and not through the USER_SOURCE or ALL_SOURCE View 

Answer: A,C