Download Oracle.1z0-148.CertDumps.2018-02-02.41q.vcex

Download Exam

File Info

Exam Oracle Database 12c: Advanced PL/SQL
Number 1z0-148
File Name Oracle.1z0-148.CertDumps.2018-02-02.41q.vcex
Size 1 MB
Posted Feb 02, 2018
Download Oracle.1z0-148.CertDumps.2018-02-02.41q.vcex

How to open VCEX & EXAM Files?

Files with VCEX & EXAM extensions can be opened by ProfExam Simulator.

Purchase

Coupon: MASTEREXAM
With discount: 20%






Demo Questions

Question 1

Select the correct statement regarding BEQUEATH CURRENT_USER.


  1. If a view references a PL/SQL function then BEQUEATH CURRENT_USER allows the function to execute with DBA privileges, regardless of the invoking user’s privileges.
  2. The BEQUEATH CURRENT_USER clause allows invoker’s rights functions referenced in a view to execute with the privileges of the invoking user.
  3. Any view calling a PL/SQL function with BEQUEATH CURRENT_USER in effect will execute with the privileges of the function owner.
  4. With the BEQUEATH CURRENT_USER clause, a definer’s rights function referenced in a view executes with the privileges of the view owner, not the function owner.
Correct answer: B
Explanation:
Reference: https://docs.oracle.com/database/121/DBSEG/dr_ir.htm#DBSEG558
Reference: https://docs.oracle.com/database/121/DBSEG/dr_ir.htm#DBSEG558



Question 2

Which tablespace is used to store the data collected by PL/Scope?


  1. UNDOTBS1
  2. SYSAUX
  3. SYSTEM
  4. TEMP
  5. USERS
Correct answer: B
Explanation:
Reference: https://docs.oracle.com/cd/B28359_01/appdev.111/b28424/adfns_plscope.htm#BABDGJAF
Reference: https://docs.oracle.com/cd/B28359_01/appdev.111/b28424/adfns_plscope.htm#BABDGJAF



Question 3

Which must be true in order to add RESULT_CACHE to a function header and have it compile successfully?


  1. The IN parameters must not include BLOB, CLOB, collection or record data types.
  2. The function must be created with invoker’s rights or in an anonymous block.
  3. The function must be declared as a pipelined table function.
  4. The function must have an OUT or an IN OUT parameter.
Correct answer: C
Explanation:
Reference: https://docs.oracle.com/cd/E18283_01/appdev.112/e17126/subprograms.htm#insertedID11
Reference: https://docs.oracle.com/cd/E18283_01/appdev.112/e17126/subprograms.htm#insertedID11



Question 4

Which two statements are true with respect to fine-grained access control?


  1. It is implemented by end users.
  2. It can be used to implement column masking.
  3. It implements security rules through functions and associates these security rules with tables, views or synonyms.
  4. Separate policies are required for queries versus INSERT/UPDATE/DELETE statements.
  5. The DBMS_FGA package is used to set up fine-grained access control.
Correct answer: CD
Explanation:
Reference: https://docs.oracle.com/cd/B19306_01/server.102/b14220/security.htm
Reference: https://docs.oracle.com/cd/B19306_01/server.102/b14220/security.htm



Question 5

   
Which two statements are correct about the collections before v3. DELETE is executed?


  1. The values of v3(31) (2) and v3 (33) (2) are identical.
  2. The value of v3 (31) (3) is 6.
  3. The value of v3 (31) (1) and v3 (33) (3) are identical,
  4. The value of v3 (31) (1) is “hello”.
  5. The values of v3 (32) (2) and v1 (2) are identical.
Correct answer: AD



Question 6

Which two statements are true about the DBMS_ LOB package?


  1. DBMS_LOB.COMPARE can compare parts of two LOBs.
  2. DBMS_LOB.COMPARE returns the size difference of the compared LOBs.
  3. DBMS_LOB.COMPARE is overloaded and can compare CLOBs with BLOBs.
  4. If the destination LOB is a temporary LOB, the row must be locked before calling DBMS_LOB.CONVERTTOBLOB.
  5. Before calling DBMS_LOB.CONVERTTOBLOB, both the source and destination LOB instances must exist.
Correct answer: DE
Explanation:
Reference: https://docs.oracle.com/cd/E18283_01/appdev.112/e16760/d_lob.htm#insertedID2
Reference: https://docs.oracle.com/cd/E18283_01/appdev.112/e16760/d_lob.htm#insertedID2



Question 7

The STUDENTS table with column LAST_NAME of data type VARCHAR2 exists in your database schema. 
Examine this PL/SQL block:
   
Which two actions must you perform for this PL/SQL block to execute successfully?


  1. Replace the FOR loop with FOR name_rec IN names_varray.FIRST .. names_varray.LAST LOOP.
  2. Replace the L_NAME_TYPE declaration with TYPE 1_name_type IS VARRAY (25) OF SYS_REFCURSOR;
  3. Add name_rec name_cur%ROWTYPE; at the end of the DECLARE section.
  4. Replace the NAMES_VARRAY declaration with names_varray 1_name_type := 1_name_type ();
  5. Replace the NAMES_VARRAY declaration with names_varray 1_name_type := null;
  6. Add names_varray.EXTEND after the FOR …LOOP statement.
Correct answer: EF



Question 8

Which two blocks of code execute successfully?


  1. DECLARE 
    TYPE tab_type IS TABLE OF NUMBER; 
    my_tab tab_type; 
    BEGIN 
    my_tab (1) :=1;
    END;
  2. DECLARE 
    TYPE tab_type IS TABLE OF NUMBER; 
    my_tab tab_type := tab_type(2);
    BEGIN 
    my_tab(1) :=55;
    END;
  3. DECLARE 
    TYPE tab_type IS TABLE OF NUMBER; 
    my_tab tab_type; 
    BEGIN 
    my_tab. EXTEND (2); 
    my_tab (1) := 55;
    END;
  4. DECLARE 
    TYPE tab_type IS TABLE OF NUMBER; 
    my_tab tab_type; 
    BEGIN 
    my_tab := tab_type ();
    my_tab (1) := 55;
    END;
  5. DECLARE 
    TYPE tab_type IS TABLE OF NUMBER 
    my_tab tab_type := tab_type (2, NULL, 50);
    BEGIN 
    my_tab.EXTEND (3, 2); 
    END;
Correct answer: BD



Question 9

Examine this code:
   
Users of this function may set different date formats in their sessions. 
Which two modifications must be made to allow the use of your session’s date format when outputting the cached result of this function?


  1. Change the RETURN type to DATE.
  2. Change AUTHID to CURRENT_USER.
  3. Use the TO_CHAR function around SYSDATE, that is, 1_date := TO_CHAR (SYSDATE).
  4. Change the data type of 1_date to DATE.
  5. Set NLS_DATE_FORMAT to ‘DD-MM-YY’ at the instance level.
  6. Set the RESULT_CACHE_MODE parameter to FORCE.
Correct answer: DF



Question 10

Which statement is true about internal and external LOBs?


  1. An external LOB can be loaded into an internal LOB variable using the DBMS_LOB package.
  2. A NOEXIST_DIRECTORY exception can be raised when using internal and external LOBs.
  3. Internal and external LOBs can be written using DBMS_LOB.
  4. After an exception transfers program control outside a PL/SQL block, all references to open external LOBs are lost.
  5. When using DBMS_LOB.INSTR for internal and external LOBs, DBMS_LOB.OPEN should be called for each LOB.
Correct answer: DE
Explanation:
Reference: https://docs.oracle.com/cd/E18283_01/appdev.112/e16760/d_lob.htm
Reference: https://docs.oracle.com/cd/E18283_01/appdev.112/e16760/d_lob.htm









CONNECT US

Facebook

Twitter

PROFEXAM WITH A 20% DISCOUNT

You can buy ProfExam with a 20% discount!



HOW TO OPEN VCEX FILES

Use ProfExam Simulator to open VCEX files