Oracle

1z0-144 practice test

Practice with 15 free Testara sample questions, or choose paid access to the full 65-question bank.

Provider
Oracle
Question bank
65
Free sample
15 questions
Publisher
Testara

About this practice material

This page covers Testara's practice question bank for 1z0-144, a certification listed under Oracle. Questions use original, exam-style scenarios and are not questions from the official certification exam.

Testara is an independent practice platform and is not affiliated with, endorsed by, or authorized by Oracle. The certification credential is issued by Oracle, not Testara. Certification and provider names belong to their respective owners.

Start practicing

The guest demo does not save an attempt. Sign in before buying access.

Try 15 questions free

Available without signing in

Free sample questions

These 15 questions and their explanations are server-rendered so you can inspect the material before opening the interactive demo.

  1. Question 1 · 1

    View the Exhibit and examine the blocks of code that you plan to execute. Which statement is true about the blocks of code?

    Choose one answer.

    Question illustration 1
    • All the blocks execute successfully and the anonymous block displays cnt: 45 cnt: 45
    • All the blocks execute successfully and the anonymous block displays cnt: 0 cnt: 1
    • The anonymous block gives an error because the function invocation in line 2 is not valid.
    • The procedure creation gives an error because the function invocation in line 1 is not valid.
  2. Question 2 · 1

    View the Exhibit and examine the structure of the AUDIR_CUST table. CUST_ID and CUST_LIMIT are existing columns in the CUSTOMER table. Examine the following trigger code: Which statement is true about the above trigger?

    Choose one answer.

    Question illustration 1
    Question illustration 2
    • It gives an error on compilation because it should be a statement-level trigger.
    • It compiles and fires successfully when the credit limit is updated in the customer table.
    • It gives an error on compilation because of the commit command in the trigger code.
    • It compiles successfully, but gives an error when the credit limit is updated in the CUSTOMER table because the PRAGMA AUTONOMOUS_TRANSACTION
  3. Question 3 · 1

    Identify two situations where the DBMS_SQL package should be used. (Choose two.)

    Choose all answers that apply.

    • The SELECT list is not known until run time.
    • The dynamic SQL statement retrieves rows into records.
    • You do not know how many columns a select statement will return, or what their data types will.
    • You must use the % found SQL cursor attribute after issuing a dynamic SQL statement that is an insert or update statement.
  4. Question 4 · 1

    View the Exhibit to examine the PL/SQL code. is on for the session. SERVEROUTPUT - Which statement is true about the execution of the code?

    Choose one answer.

    Question illustration 1
    • The execution fails because of the misplaced else clause.
    • The execution is successful even if there is no employee with EMPLOYEE_ID 115.
    • The execution fails and throws exceptions if no employee with EMPLOYEE_ID 115 is found.
    • The execution is successful, but it displays an incorrect output if no employee with EMPLOYEE_ID 115 is found.
  5. Question 5 · 1

    View the Exhibit and examine the structure of the departments table in SCOTTs schema. Examine the following block of code: 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.)

    Choose all answers that apply.

    Question illustration 1
    Question illustration 2
    • JONES executes the procedure with definer's rights.
    • JONES executes the procedure with invoker's rights.
    • SCOTT should grant only the execute privilege for the procedure to JONES.
    • SCOTT should grant both the execute privilege for the procedure and insert privilege for the table to JONES.
  6. Question 6 · 1

    View the Exhibit and examine the code. Why does the code give an error on execution?

    Choose one answer.

    Question illustration 1
    • because the WORD_LIST variable is not visible in procedure wording
    • because the lexicon variable is not visible in procedure ADD_ENTRY
    • because the lexicon variable is not initialized in procedure wording
    • because the WORD_LIST parameter in out mode cannot be of a record data type
  7. Question 7 · 1

    View the Exhibit and examine the structure of the EMP table. Which stages are performed when the above block is executed? (Choose all that apply)

    Choose all answers that apply.

    Question illustration 1
    • Bind
    • Parse
    • Fetch
    • Execute
  8. Question 8 · 1

    View the Exhibit and examine the structure of the EMP table. You want to create two procedures using the overloading feature to search for employee details based on either the employee name or employee number. Which two rules should you apply to ensure that the overloading feature is used successfully? (Choose two.)

    Choose all answers that apply.

    Question illustration 1
    • The procedures can be either stand-alone or packaged.
    • The procedures should be created only as packaged subprograms.
    • The procedures should be created only as stand-alone subprograms.
    • Each subprogram's formal parameters should differ in both name and data type.
    • The formal parameters of each subprogram should differ in data type but can use the same names.
  9. Question 9 · 1

    Which two statements are true about the instead of triggers? (Choose two.)

    Choose all answers that apply.

    • Delete operations cannot be performed using the instead of triggers.
    • The instead or triggers must be created to add or modify data through any view.
    • The instead of triggers can be written only for views, and the before and after timing options are not valid.
    • The check option for views is not enforced when Insertions or updates to the view are performed by using the instead of triggers.
    Read explanation

    References:

  10. Question 10 · 1

    Which two statements are correct about the usage of parameters in functions? (Choose two.)

    Choose all answers that apply.

    • Functions can have only in mode parameters.
    • Functions called in SQL statements cannot have out or in out mode parameters.
    • Functions having in, out, or in out parameters can be called only in named PL/SQL subprograms
    • Functions having in, out, or in out parameters can be called in PL/SQL procedures and anonymous blocks.
  11. Question 11 · 1

    View the Exhibit and examine the structure of the employees table. Examine the following block of code: What is the outcome when the above code is executed?

    Choose one answer.

    Question illustration 1
    Question illustration 2
    • It executes successfully.
    • It gives an error because decode cannot be used in a PL/SQL block.
    • It gives an error because the AVG function cannot be used in a PL/SQL block
    • It gives an error because the MONTHS_BETWEEN function cannot be used in a PL/SQL block.
    • It gives an error because both the AVG and decode functions cannot be used in a PL/SQL block.
  12. Question 12 · 1

    Examine the following code: Which two statements are true about the above function? (Choose two.)

    Choose all answers that apply.

    Question illustration 1
    • It can be used only in a parallelized query.
    • It can be used in both a parallelized query and a parallelized DML statement.
    • It can be used only in a parallelized data manipulation language (DML) statement.
    • It can have a separate copy run in each of the multiple processes when called from a SQL statement that is run in parallel.
    • It requires a PRAGMA RESTRICT_REFERENCES declaration with RNDS, WNDS, RNPS, and WNPS specified in order to use parallel optimization.
    Read explanation

    References:

  13. Question 13 · 1

    /temp/my_files is an existing folder in the server, facultylist.txt is an existing text file in this folder. Examine the following commands that are executed by the DBA: SQL>CREATE DIRECTION my_dir AS /temp/my_files: SQL>GRANT READ ON DIRECTORY my_dir To public: View the Exhibit and examine the procedure created by user SCOTT to read the list of faculty names from the text file. SCOTT executes the procedure as follows: SQL>SET SERVEROUTPUT ON - SQL>EXEC read_file (MY_DIR, FACULTYLIST.TXT) What is the outcome?

    Choose one answer.

    Question illustration 1
    • It goes into an infinite loop.
    • It executes successfully and displays only the list of faculty names.
    • It does not execute and displays an error message because the end-of-file condition is not taken care of.
    • It executes successfully and displays the list of faculty names followed by a "no data found" error message.
    Read explanation

    References:

  14. Question 14 · 1

    Examine the following command: SQL>ALTER SESSION - SET plsql_warnings * 'enable: severe', 'enable: performance', 'ERROR: 05003'; What is the implication of the above command?

    Choose one answer.

    • It issues a warning whenever ERROR: 05003 occur during compilation.
    • It causes the compilation to fail whenever the warning ERROR.05003 occurs.
    • It issues warnings whenever the code causes an unexpected action or wrong results performance problems.
    • It causes the compilation to fail whenever the code gives wrong results or contains statements that are never executed.
    Read explanation

    References:

  15. Question 15 · 1

    View the Exhibit to examine the PL/SQL block. Which statement is true about the execution of the PL/SQL block?

    Choose one answer.

    Question illustration 1
    • It executes successfully and gives the desired output.
    • It does not execute because the definition of type population is indexed by VARCHAR2.
    • It executes, and the string keys of an associative array are not stored in creation order, but in sorted order.
    • It does not execute because the value that is once assigned to the element of the associative array cannot be changed.
    Read explanation

    References:

Each purchase applies to this certification. Prices are one-time payments, not monthly subscriptions.

Starter

$29 USD one time

Full access to one certification's question bank in standard practice mode for 60 days.

  • Full question bank for one certification
  • 60 days of access
  • Standard practice mode
  • Question notes and community discussions
  • Attempt scores and answer review

Professional

$49 USD one time

Full access to one certification's question bank, custom test controls and advanced analytics for 60 days.

  • Custom test builder
  • Timers and question selection
  • Randomized question and answer order
  • Advanced performance and weak-question analytics
  • Priority customer support
Try 15 questions free