Select the correct statement regarding BEQUEATH CURRENT_USER.
Reveal answer details Close answer details
Correct answerB
References:
https://docs.oracle.com/database/121/DBSEG/dr_ir.htm#DBSEG558
Oracle · 1Z0-148
Preview real exam questions, verified answers and available explanations before choosing a study plan.
|
Single choice
Select the correct statement regarding BEQUEATH CURRENT_USER. Reveal answer details Close answer detailsCorrect answerB Explanation References:
Single choice
You execute the following command in the user session: SQL> ALTER SESSION SET PLSQL_DEBUG=true; Which statement is true about the effect of the command? Reveal answer details Close answer detailsCorrect answerB
Multiple choice
You executed this command to gather information about the memory allocation for storing query results: SQL> execute dbms_result_cache.memory_report View the Exhibit and examine the output for the execution of the DBMS_RESULT_CACHE.MEMORY_REPORT procedure. Which two statements are true about the output in the Exhibit? (Choose two.) ![]() Reveal answer details Close answer detailsCorrect answersC, D
Single choice
You have an external C procedure stored in a dynamic-link library (DLL). The C procedure takes an integer as argument and returns an integer. You want to invoke the C procedure through a PL/SQL program. View the Exhibit. Which statement is true about the C_OUTPUT PL/SQL program? ![]() Reveal answer details Close answer detailsCorrect answerC
Single choice
Which must be true in order to add RESULT_CACHE to a function header and have it compile successfully? Reveal answer details Close answer detailsCorrect answerA Explanation References:
Single choice
Which data dictionary view contains the list of procedures and functions defined within package specification that you can execute? Reveal answer details Close answer detailsCorrect answerD
Single choice
View the Exhibit and examine the output. Which statement is an inference from the output? ![]() Reveal answer details Close answer detailsCorrect answerD
Multiple choice
Which two statements are true with respect to fine-grained access control? Reveal answer details Close answer detailsCorrect answersC, D Explanation References:
Single choice
View Exhibit1 and examine the structure of the EMPLOYEES table. View the Exhibit2 and examine the PL/SQL block that you execute for displaying the last name and hire date of the employees in department ID 60. Which statement is true about the outcome? ![]() ![]() Reveal answer details Close answer detailsCorrect answerC
Single choice
View the Exhibit and examine the code in the PL/SQL block. The PL/SQL block generates an error on execution. What is the reason? ![]() Reveal answer details Close answer detailsCorrect answerA
Single choice
Examine these two columns: ![]() Which set of paired items is valid with respect to the DBMS_PARALLEL_EXECUTE package? Reveal answer details Close answer detailsCorrect answerD Explanation References:
Multiple choice
Examine the following parameter values for a session: PLSQL_CODE_TYPE = NATIVE PLSQL_OPTIMIZE_LEVEL = 2 Which two statements are true in this scenario? (Choose two.) Reveal answer details Close answer detailsCorrect answersB, C
Multiple choice
Which two statements are true about PL/SQL APIs for SecureFiles? (Choose two.) Reveal answer details Close answer detailsCorrect answersB, C
Single choice
Which statement is true in regard to minimizing attack surface during application design? Reveal answer details Close answer detailsCorrect answerA Explanation References:
Multiple choice
Which two types of query results cannot be stored in the query result cache? (Choose two.) Reveal answer details Close answer detailsCorrect answersA, B
Single choice
The user MY_USER has been assigned the roles CONNECT, RESOURCE, and DBA. Which statement generates the DDL for these privileges? Reveal answer details Close answer detailsCorrect answerD Explanation References:
Multiple choice
Which two statements are true about cursor variables? (Choose two.) Reveal answer details Close answer detailsCorrect answersD, E
Multiple choice
In which two situations will a result-cached function execute even though no change was made on a dependent table or view? (Choose two.) Reveal answer details Close answer detailsCorrect answersB, C
Multiple choice
Examine the structure of the DEPT table which exists in both BRANCH1 and BRANCH2 schemas: ![]() Examine this code: ![]() Which three modifications must be done to endure the anonymous block displays the output form the BRANCH2. Reveal answer details Close answer detailsCorrect answersB, D, E
Multiple choice
Examine this function body: BEGIN Which two headers will allow this function to compile successfully and take advantage of both invoker's rights and function result caching? Reveal answer details Close answer detailsCorrect answersB, D
Single choice
The database instance was started up using the automatic memory management feature. No value was Examine the following initialization parameter settings for your database: MEMORY_TARGET = 500M RESULT_CACHE_MODE = MANUAL You execute a query by using the result_cache hint. Which statement is true in this scenario? Reveal answer details Close answer detailsCorrect answerC
Multiple choice
Which two statements are true about inlining PL/SQL subprograms? (Choose two.) Reveal answer details Close answer detailsCorrect answersB, E
Single choice
You have an OE_ACCESS_ORDERS_POLICY security policy implemented on the ORDERS table in the OE schema. The user sessions are able to access only the desired rows. The database administrator (DBA) uses the following command: SQL> EXECUTE
DBMS_RLS.ENABLE_POLICY('OE','ORDERS','OE_ORDERS_ACCESS_POLICY',FALSE );Which statement is true about user sessions that are connected currently? Reveal answer details Close answer detailsCorrect answerC
Single choice
The EMPLOYEES table exists in your schema and has columns LAST_NAME of data type VARCHAR2 There are six employees in DEPARTMENT_ID, 20. Examine this code: ![]() What will be the outcome on execution? Reveal answer details Close answer detailsCorrect answerD
Single choice
Match the following external C procedure components with their descriptions: 1. External procedure a. a process that starts the extproc process 2. Shared library b. a session-specific process that executes the external procedure 3. Alias library c. schema object that represents the operating system (OS) shared library 4. The extproc process d. operating system file that stores the external procedure 5. Listener process e. a unit of code written in C Reveal answer details Close answer detailsCorrect answerA
Multiple choice
Examine the code: ![]() Which two blocks can be used to complete the executable section such that LIST2 is dense? (Choose two.) Reveal answer details Close answer detailsCorrect answersC, D Explanation Reference
Single choice
Examine the structure of the EMP table: Name Examine this code: ![]() Which code should be inserted to display the collection contents? Reveal answer details Close answer detailsCorrect answerC
Single choice
Identify the component of the PL/SQL hierarchical profiler that uploads the result of profiling into database tables. Reveal answer details Close answer detailsCorrect answerB
Single choice
Examine the following error: SQL> DECLARE v_runid NUMBER; BEGIN v_runid := DBMS_HPROF.ANALYZE (LOCATION => 'PROFILE_DATA', FILENAME => 'pd_cc_pkg.txt'); DBMS_OUTPUT.PUT_LINE('Run ID: ' || v_runid); END; DECLARE * ERROR at line 1: ORA-00942: table or view does not exist ORA-06512: at "SYS.DBMS_HPROF", line 299 ORA-06512: at line 4 What would you do to execute the above block successfully? Reveal answer details Close answer detailsCorrect answerC
Single choice
Your company decided to update its employees' contact information as a one-time event. With thousands of employees' records to be updated, the project manager hoped to achieve substantial performance gains using the DBMS_PARALLEL_EXECUTE package and identified these four actions to be executed. 1. dbms_parallel_execute.create_task 2. GRANT system privilege CREATE JOB to the user executing this task 3. dbms_parallel_execute.run_task 4. dbms_parallel_execute.create_chunks_by_rowid Select the correct order of actions to implement the parallel execution of PL/SQL blocks. Reveal answer details Close answer detailsCorrect answerE
Single choice
Examine this code executed as SYS: ![]() Examine this code executed as SPIDER and the error message received upon execution: ![]() What is the reason for this error? Reveal answer details Close answer detailsCorrect answerC
Single choice
To examine the dependencies between all PL/SQL objects and the tables and views they reference, you executed the following query as the user OE: SQL> SELECT owner || '.' || NAME refs_table , referenced_owner || '.' || referenced_name AS table_referenced FROM all_dependencies WHERE owner = USER AND TYPE IN ('PACKAGE', 'PACKAGE BODY','PROCEDURE', 'FUNCTION') AND referenced_type IN ('TABLE', 'VIEW') AND referenced_owner NOT IN ('SYS', 'SYSTEM') ORDER BY owner, NAME, referenced_owner, referenced_name; Which statement is true about the output of the query? Reveal answer details Close answer detailsCorrect answerA
Single choice
Examine this code: ![]() Execute this PL/SQL block: ![]() Which is the correct category of SQL injection attack? Reveal answer details Close answer detailsCorrect answerB
Single choice
Examine these statements: 1. A function with invoker's rights can be result cached by using both AUTHID CURRENT_USER and RESULT_CACHE in its declaration. Identify the set of correct statements with respect to invoker's rights and function result caching. Reveal answer details Close answer detailsCorrect answerD
Multiple choice
Which two statements are true about the migration of BasicFile to the SecureFile format by using the DBMS_REDEFINITION package? (Choose two.) Reveal answer details Close answer detailsCorrect answersC, D
Multiple choice
Identify three guidelines for the DBMS_ASSERT package. (Choose three.) Reveal answer details Close answer detailsCorrect answersA, C, D
Single choice
Examine the DBMS_LOB.LOADCLOBFROMFILE procedure: ![]() Which statement is true about DBMS_LOB.LOADCLOBFROMFILE? Reveal answer details Close answer detailsCorrect answerB Explanation References: |