Which two are major approaches that can be used to reduce the SQL injection by limiting user input? (Choose two.)
Show answer and explanation
Correct answers: A, D
1Z0-148 Real Exam Questions
243 questions available · Page 1 of 25
Updated Exam DumpsVerified AnswersPass Guarantee
Which two are major approaches that can be used to reduce the SQL injection by limiting user input? (Choose two.)
Correct answers: A, D
Which two statements correctly describe the features of SecureFiles? (Choose two.)
Correct answers: A, D
Examine the structure of the EMPLOYEES table that exists in your schema.
Name Null? Type
-------------------------- --------------- ---------------------
EMPLOYEE_ID NOT NULL NUMBER(6)
FIRST_NAME VARCHAR2(20)
LAST_NAME NOT NULL VARCHAR2(25)
JOB_ID NOT NULL VARCHAR2(10)
SALARY NUMBER(8,2)
COMMISSION_PCT NUMBER(2,2)
DEPARTMENT_ID NUMBER(4)
You successfully create a GET_MAX procedure to find the maximum salary in the department of a
specified employee.
You then code a PL/SQL block to display the maximum salary in the departments of the first five employees in the EMPLOYEES table.
View the Exhibit. Examine the procedure and the block of PL/SQL code.
What is the outcome of executing the block of PL/SQL code?

Correct answer: A
Which two are correct when migrating BasicFile LOBs to SecureFile LOBs by DBMS_REDEFINITION? (Choose two.)
Correct answers: B, E
Which two statements are true about associative arrays and varrays? (Choose two.)
Correct answers: A, B
You are connected as SCOTT who has an EMP table with this structure:

Examine this code:

Assuming the default edition is ORA$BASE, which is correct?
Correct answer: A
Which statement is true in regard to minimizing attack surface during application design?
Correct answer: A
References:
https://download.oracle.com/oll/tutorials/SQLInjection/html/lesson1/les01_tm_avoid1.htm
The EMPLOYEES table exists in your schema and has columns LAST_NAME of data type VARCHAR2
and DEPARTMENT_ID of data type NUMBER.
There are six employees in DEPARTMENT_ID, 20.
Examine this code:

What will be the outcome on execution?
Correct answer: D
Consider a function totalEmp () which takes a number as an input parameter and returns the total number of employees who have a salary higher than that parameter.Examine this PL/SQL package ASWhich two definitions of totalEmp () result in an implicit conversion by Oracle Database on executing this PL/SQL block?
Correct answers: B, C
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?

Correct answer: C