1Z0-146 Exam Questions
129 real 1Z0-146 exam questions with expert-verified answers and explanations. Page 2 of 3.
- Question #60
Which two statements are true about the working of fine-grained access? (Choose two.)
- Question #61
View the Exhibit. How do you reduce the chances of SQL injection for the procedure?
- Question #62
The database instance was started up using the automatic memory management feature. No value was set for the RESULT_CACHE_MAX_SIZE parameter. Examine the following initialization p...
- Question #63
Examine the structure of the LOB_STORE table. Name Null? Type ----------- ------ ------------ LOB_ID NUMBER VIDEO_CLIP BLOB You create a 'DATA_FILES' directory object that contains...
- Question #64
Identify two strategies against SQL injection. (Choose two.)
- Question #65
There is a Java class file in your system and you publish it using the following command: CREATE OR REPLACE PROCEDURE ccformat (x IN OUT VARCHAR2) AS LANGUAGE JAVA NAME 'FormatCred...
- Question #66
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?
- Question #67
Which two statements are true about the extproc process? (Choose two.)
- Question #68
Which two statements are true about the SQL Query Result Cache? (Choose two.)
- Question #69
You have an OE_ACCESS_ORDERS_POLICY security policy implemented on the ORDERS table in the OE schem a. The user sessions are able to access only the desired rows. The database admi...
- Question #70
Identify two methods for immunizing PL/SQL code against SQL injection attacks. (Choose two.)
- Question #72
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.)
- Question #73
View the Exhibit and examine the output. Which statement is an inference from the output?
- Question #75
You created a procedure as follows: CREATE OR REPLACE PROCEDURE query_prod(twhr VARCHAR2) IS stmt VARCHAR2(100); pname VARCHAR2(20); BEGIN stmt:='SELECT product_name FROM products...
- Question #76
View Exhibit1 and examine the structure of the EMPLOYEES table. View Exhibit2 and examine the code in the PL/SQL block. The PL/SQL block fails to execute. What could be the reason?
- Question #77
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 re...
- Question #79
You issue this command to create a table called LOB_STORE: CREATE TABLE lob_store (lob_id NUMBER(3), photo BLOB DEFAULT EMPTY_BLOB(), cv CLOB DEFAULT NULL, ext_file BFILE DEFAULT N...
- Question #80
Which operator is NOT appropriate in the join condition of a non-equi join SELECT statement?
- Question #81
In which situation should you use an outer join query?
- Question #82
You need to store currency data and you know that the data will always have two digits to the right of the decimal point. However, the number of digits to the left of the decimal p...
- Question #83
You have decided to permanently remove all the data from the STUDENT table, and you need the table structure in the future. Which single command performs this?
- Question #84
Which table name is valid?
- Question #85
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 s...
- Question #86
Which two statements are true about the inlining of PL/SQL subprograms? (Choose two.)
- Question #87
View Exhibit1 and examine the structure of the EMPLOYEES table. View Exhibit2 and examine the code in the PL/SQL block. The PL/SQL block fails to execute. What could be the reason?
- Question #90
You executed the following command to alter the session parameter: SQL> ALTER SESSION SET PLSCOPE_SETTINGS = 'IDENTIFIERS:ALL'; Which two statements are true in this scenario? (Cho...
- Question #91
Examine the following structure: SQL> DESCRIBE user_identifiers Name Null? Type -------------------- ---------- ---------- NAME VARCHAR2(30) SIGNATURE VARCHAR2(32) TYPE VARCHAR2(18...
- Question #92
Examine the following settings for a session: PLSQL_CODE_TYPE = NATIVE View the Exhibit and examine the PL/SQL code. You compile the program with the following attributes: SQL> ALT...
- Question #94
Examine the structure of the PRINT_MEDIA table: Name Null? Type --------------- -------- --------- ADVT_ID NUMBER ADVT_SOURCE CLOB Examine the following PL/SQL block: DECLARE loblo...
- Question #95
View the Exhibit and examine the PL/SQL code. The code takes a long time to execute. What would you recommend to improve performance?
- Question #96
Which statements are true about internal LOBs? (Choose all that apply.)
- Question #97
View Exhibit1 and examine the structure of the EMPLOYEES and DEPARTMENTS tables existing in your schem a. View Exhibit2 and examine the PL/SQL block that you execute to display the...
- Question #98
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 I...
- Question #99
Which two statements are true about SecureFile LOB options? (Choose two.)
- Question #100
View the Exhibit and examine the procedure to create a trigger name based on the table name supplied to the procedure. Which three statements are appropriate for protecting the cod...
- Question #101
You created the SALES_ORDERS_CTX context to use the OE.SALES_ORDERS_PKG package. View Exhibit1 and examine the package that is used with the context. View Exhibit2 to examine the p...
- Question #102
Examine the following command to create the table EMPLOYEES_TEMP and the PL/SQL block. CREATE TABLE employees_temp (empid NUMBER(6) NOT NULL, deptid NUMBER(6) CONSTRAINT c_emp_dept...
- Question #103
Identify two factors that you consider for compiling a PL/SQL program unit for interpreted mode. (Choose two.)
- Question #105
The result cache is enabled for the database instance. Examine the following code for a PL/SQL function: CREATE OR REPLACE FUNCTION get_hire_date (emp_id NUMBER) RETURN VARCHAR RES...
- Question #106
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 thr...
- Question #107
A procedure is created in the SYS schema to allow users to change the password as follows: CREATE OR REPLACE PROCEDURE change_password(p_username VARCHAR2 DEFAULT NULL, p_new_passw...
- Question #109
The following command is executed to start tracing in a user session: SQL> EXECUTE DBMS_TRACE.SET_PLSQL_TRACE(DBMS_TRACE.TRACE_ENABLED_EXCEPTIONS); Which statement is true about th...
- Question #110
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...
- Question #111
View the Exhibit and examine the PL/SQL code. Identify the sections of the code that need to be modified for better performance gains. (Choose all that apply.)
- Question #112
The user OE is working on an application that needs to call an external C program multiple times in a single session. However, the extproc.exe file on the server gets accidentally...
- Question #113
Which two statements are true about BFILES? (Choose two.)
- Question #114
View the Exhibit and examine the structure of the EMPLOYEES table. Examine the following PL/SQL block for storing the salary of all sales representatives from the EMPLOYEES table i...
- Question #115
Which two statements are true about the DBMS_LOB.CREATETEMPORARY procedure that is used to create a temporary LOB? (Choose two.)
- Question #116
Which two queries' results cannot be cached? (Choose two.)
- Question #117
View the Exhibit and examine the structures of the EMPLOYEES and DEPARTMENTS tables. Examine the PL/SQL block that you execute to find the average salary for employees in the 'Sale...