Oracle 1z0-144

Descripción

Test sobre Oracle 1z0-144, creado por Mahbubul Alam el 16/02/2019.
Mahbubul Alam
Test por Mahbubul Alam, actualizado hace más de 1 año
Mahbubul Alam
Creado por Mahbubul Alam hace casi 6 años
52
0

Resumen del Recurso

Pregunta 1

Pregunta
View the exhibit and examine the structure of the products table.
Respuesta
  • It executes successfully but no error messages get recorded in the DEBUG_OUTPUT table
  • It executes successfully and any error messages get recorded in the DEBUG_OUTPUT table.
  • It gives an error because PRAGMA AUTONOMOUS_TRANSACTION can be used only in packaged procedures.
  • It gives an error because procedures containing PRAGMA AUTONOMOUS_TRANSACTION cannot be called from the exception section.

Pregunta 2

Pregunta
View Exhibit 1 and examine the structure of the employees table.
Respuesta
  • It executes successfully.
  • It gives an error because the SAL variable isnot visible in the increase function.
  • It gives an error because the increase function cannot be called from the RAISE_SALARY procedure.
  • It gives an error because the increase function and the RAISE_SALARY procedure should be declared at the beginningof the declare section before all the other declarations.

Pregunta 3

Pregunta
Examine the following block of code:
Respuesta
  • line 5
  • line 8
  • line 2
  • line 7

Pregunta 4

Pregunta
Which two statements are true about the instead of triggers? (Choose two.)
Respuesta
  • Delete operations cannot be performed using the instead of triggers.
  • The instead or triggers must be created to add or modify datathrough any view.
  • The instead of triggers can be written only for views, and the before and after timing options are not valid.
  • The check option for views is not enforced when Insertions or updates to the view are performed by using the instead of triggers.

Pregunta 5

Pregunta
View the Exhibit and examine the structure of the departments table in SCOTT’s schema.
Respuesta
  • JONES executes the procedure with definer's rights.
  • JONES executes the procedure with invoker's rights.
  • SCOTT should grant only the execute privilege for the procedure to JONES.
  • SCOTT should grant both the BXKCOTE privilege for the procedure and insert privilege for the table to

Pregunta 6

Pregunta
Identify two features of obfuscation.
Respuesta
  • The Import and Export utilitiesaccept wrapped files.
  • SQL' Plus cannot process the obfuscated source files.
  • Only the wrap utility can obfuscate multiple programs at a time.
  • Both the DBMS_DDL package and the Wrap utility can obfuscate multiple programs at a time.
  • The sourcecode is visible only through the DBA_SOURCE view and not through the USER_SOURCE or ALL_SOURCE View

Pregunta 7

Pregunta
You want to create a trigger that fires whenever rows are deleted from the customer table and that displays the number of rows remaining in the table.
Respuesta
  • It should be an after trigger.
  • It should be a before trigger.
  • It should be a row-level trigger.
  • It should be astatement-level trigger.
  • It can be a before or an after trigger.

Pregunta 8

Pregunta
ORDER_TOTAL is a column in the orders table with the data type and size as number (8, 2) Examine the following code:
Respuesta
  • It givesan error in line 3.
  • It gives an error in line 4.
  • It gives an error in line 6.
  • It executes successfully and displays the output.

Pregunta 9

Pregunta
View the Exhibit and examine the blocks of code that you plan to execute.
Respuesta
  • All the blocks execute successfully and the anonymous block displays123cant: 4545cnt: 45.
  • All the blocks execute successfully and the anonymous block displays123cut: 045cart: 1.
  • The anonymous block gives an error because the function invocation in line 2 is not valid.
  • The procedure creation gives an error because the function invocation in line 1 is not valid.

Pregunta 10

Pregunta
Which two statements correctly differentiate functions and procedures?
Respuesta
  • A function can be called only as part of a SQL statement, whereas a procedure can be called only as a PL/SQL statement.
  • A function must return a value to the calling environment, whereas a procedure can return zero or more values to its calling environment.
  • A function can be called as part of a SQL statement or PL/SQL expression, whereas a procedure can be called only as a PL/SQL statement.
  • A function may return one or more valuesto the calling environment, whereas a procedure must return a single value to its calling environment.
Mostrar resumen completo Ocultar resumen completo

Similar

Inglés - Conjugación Verbos Irregulares
maya velasquez
Statistics Equations
maya velasquez
Guerra Civil Española: Fechas Clave
maya velasquez
Tratados y Planes de México
razbusiness20
SISTEMA ENDOCRINO
fran alarcon
Campos o áreas de la psicología
Melina Contreras
LAS CLAVES DE LA ARGUMENTACION DE ANTHONY WESTON
revisorsur
Formación Cívica y Ética
Karina Tobias
LEY 1/2000 ENJUICIAMIENTO CIVIL: "De los procesos sobre filiación, paternidad y maternidad"
Miguel Angel del Rio
Test de Ecuaciones Bicuadradas
MANUEL LUIS PÉREZ SALAZAR
KRISTAUTASUNA_plantilla
Txemi López