Which two statements are true with respect to fine-grained access control?
A. It is implemented by end users.Examine these statements regarding the DBMS_RESULT_CACHE package:
1.
DBMS_RESULT_CACHE provides subprograms to administer the part of the shared pool used by the PL/SQL function result cache only.
2.
DBMS_RESULT_CACHE provides subprograms to administer the part of the shared pool used by both the PL/SQL function result cache and the SQL result cache.
3.
DBMS_RESULT_CACHE package is owned by the SYS user.
4.
RESULT_CACHE_MODE can be set using a subprogram defined in the DBMS_RESULT_CACHE package. Which set of statements is correct?
A. 2, 3 and 4Examine 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 := '0123456789';
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?
A. WRITEAPPEND must be replaced with APPEND.Which two types of query results cannot be stored in the query result cache? (Choose two.)
A. subquery resultsYou created a PL/SQL function with the RESULT_CACHE clause, which calculates a percentage of total marks for each student by querying the MARKS table. Under which two circumstances will the cache for this function not be used and the function body be executed instead?
A. When a user fixes incorrect marks for a student, with an update to the MARKS table, and then executes the function in the same sessionExamine the settings for a user session given below:
RESULT_CACHE_MODE= FORCE
What would be the implications of this setting on query execution? (Choose all that apply.)
A. All query results are stored in the result cache if possible.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.Which two statements are true about the working of fine-grained access? (Choose two.)
A. Security policies can be associated only with tables, but not with views.You created a PL/SQL function with the RESULT_CACHE and RELIES_ON clauses. In which scenarios is the cached result bypassed? (Choose all that apply.)
A. when the size for the memory allocated for the result cache is increasedWhich 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 tableNowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Oracle exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 1Z0-148 exam preparations and Oracle certification application, do not hesitate to visit our Vcedump.com to find your solutions here.