[Free] 2018(Jan) EnsurePass Passguide Oracle 1z0-146 Dumps with VCE and PDF 61-70

Ensurepass.com : Ensure you pass the IT Exams
2018 Jan Oracle Official New Released 1z0-146
100% Free Download! 100% Pass Guaranteed!
http://www.EnsurePass.com/1z0-146.html

Oracle 11g: Advanced PL/SQL

Question No: 61 – (Topic 0)

In which two situations is the body of a result-cached function executed? (Choose two.)

  1. if the memory allocated for the result cache is increased

  2. if a session on this database instance invokes the function with the same parameter values

  3. if the first time a session on this database instance invokes the function with a parameter value

  4. if a session executes a data manipulation language (DML) statement on a table or view that was specified in the RELIES_ON clause of a result-cached function

Answer: C,D

Question No: 62 – (Topic 0)

Identify the component of the PL/SQL hierarchical profiler that uploads the result of profiling into database tables.

  1. the trace file component

  2. the analyzer component

  3. the shared library component

  4. the data collection component

Answer: B

Question No: 63 – (Topic 0)

Examine the code snippet from the declarative section of a PL/SQL block:

DECLARE

TYPE va1 IS VARRAY(10) OF VARCHAR2(20); SUBTYPE scale IS NUMBER(1,0);

TYPE tb1 IS TABLE OF departments.department_name%TYPE INDEX BY departments.department_id%TYPE;

TYPE tb2 IS TABLE OF va1 INDEX BY PLS_INTEGER; TYPE tb3 IS TABLE OF scale INDEX BY VARCHAR2(10); TYPE tb4 IS TABLE OF DATE INDEX BY DATE;

TYPE tb5 IS TABLE OF NUMBER INDEX BY CHAR(2);

….

Which of the above are valid definitions for associative arrays? (Choose all that apply.)

  1. tb1

  2. tb2

  3. tb3

  4. tb4

  5. tb5

Answer: B,C

Question No: 64 – (Topic 0)

Examine the structure of the TEST_DETAILS table: Name Null? Type

———- —- ——- TEST_ID NUMBER

DESCRIPTION CLOB

DESCRIPTION data was entered earlier and saved for TEST_ID 12.

You execute this PL/SQL block to add data to the end of the existing data in the DESCRIPTION column for TEST_ID 12:

DECLARE

clob_loc CLOB; buf CHAR(12); BEGIN

SELECT description INTO clob_loc FROM test_details WHERE test_id = 12 ; buf := #39;0123456789#39;; DBMS_LOB.WRITEAPPEND(clob_loc,DBMS_LOB.GETLENGTH(buf), buf); COMMIT;

END;

/

It generates an error on execution.

What correction should you do to achieve the required result?

  1. WRITEAPPEND must be replaced with APPEND.

  2. The BUF variable data type must be changed to CLOB.

  3. FOR UPDATE must be added to the SELECT statement.

  4. The GETLENGTH routine must be replaced with the LENGTH built-in function in WRITEAPPEND.

Answer: C

Question No: 65 – (Topic 0)

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

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

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

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

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

Answer: A,D

Question No: 66 – (Topic 0)

You issue the following command to create the PRINT_MEDIA table.

CREATE TABLE print_media (product_id NUMBER(3), ad_sourcetext CLOB, ad_photo BLOB);

Evaluate the following INSERT statements:

INSERT INTO print_media VALUES (1, empty_clob(),empty_blob()); INSERT INTO print_media VALUES (2,#39;This is a One Line Story#39;,null);

INSERT INTO print_media VALUES (3,#39;This is another One Line Story#39;,empty_blob()); INSERT INTO print_media VALUES (4,empty_clob(),to_blob(#39;This is new Story#39;));

Which of the above INSERT statements are valid?

  1. Only the first statement is valid.

  2. All the statements are valid.

  3. Only the first and fourth statements are valid.

  4. Only the first and second statements are valid.

  5. Only the first, second and third statements are valid.

Answer: E

Question No: 67 – (Topic 0)

Which two statements are true about the inlining of PL/SQL subprograms? (Choose two.)

  1. Only local subroutines can be inlined.

  2. Inlining always reduces the execution time for a PL/SQL program unit.

  3. PLSQL_OPTIMIZE_LEVEL must be set to a value greater than or equal to 2.

  4. The PL/SQL programs that make use of relatively large helper subroutines are good candidates for inlining.

Answer: A,C

Question No: 68 – (Topic 0)

View Exhibit1 and examine the structure of the EMPLOYEES table. View Exhibit2 and examine the code in the PL/SQL block.

Ensurepass 2018 PDF and VCE

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

Ensurepass 2018 PDF and VCE

  1. Nested tables cannot be returned by a function.

  2. The NEWNAMES nested table has not been initialized.

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

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

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

Answer: E

Topic 1, B

B

Question No: 69 – (Topic 1)

Which two statements are true about the usage of the DBMS_DESCRIBE.DESCRIBE_PROCEDURE procedure? (Choose two.)

  1. You can describe remote objects.

  2. You can describe anonymous PL/SQL blocks.

  3. You can describe a stored procedure, stored function, packaged procedure, or packaged function.

  4. You can obtain information about the position, name, and data type of the arguments of a procedure.

Answer: C,D

Question No: 70 – (Topic 1)

You executed the following command to alter the session parameter:

SQLgt; ALTER SESSION SET PLSCOPE_SETTINGS = #39;IDENTIFIERS:ALL#39;;

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

  1. If the SYSAUX tablespace is unavailable, and you compile a program unit, PL/Scope does not collect data for the compiled object.

  2. All the identifiers declared in compiled program units before altering the parameter settings appear in the *_IDENTIFIER static data dictionary views.

  3. All the identifiers declared in compiled program units before altering the parameter settings do not appear in the *_IDENTIFIER static data dictionary views.

  4. If the SYSAUX tablespace is unavailable, and you compile a program unit, PL/Scope collects data for the compiled object and stores it in the SYSTEM tablespace.

Answer: A,C

100% Ensurepass Free Download!
Download Free Demo:1z0-146 Demo PDF
100% Ensurepass Free Guaranteed!
1z0-146 Dumps

EnsurePass ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.