Oracle 1Z0-149 Real Exam Questions and Answers FREE [Q36-Q54]

Share

Oracle 1Z0-149 Real Exam Questions and Answers FREE

Exam Dumps 1Z0-149 Practice Free Latest Oracle Practice Tests


To prepare for the Oracle 1z1-149 certification exam, candidates can take advantage of various training resources offered by Oracle, such as online courses, instructor-led training, and practice exams. Candidates can also gain hands-on experience by developing and implementing PL/SQL applications in Oracle Database 19c. Additionally, candidates can join study groups and forums to connect with other professionals and gain insights into the exam and certification process.


Oracle 1z1-149 exam is designed for professionals who work with Oracle Database 19c and have a good understanding of PL/SQL programming. Oracle Database 19c: Program with PL/SQL certification exam tests the candidates on their programming skills, knowledge of SQL statements, and their ability to write efficient and secure PL/SQL code. 1Z0-149 exam consists of 70 multiple-choice questions and has a time limit of 105 minutes. Professionals who pass 1Z0-149 exam earn the Oracle Database 19c: Program with PL/SQL certification, which validates their skills and expertise in the field of database programming.

 

NEW QUESTION # 36
Which two blocks of code display a numerical zero? (Choose two.)

  • A.
  • B.
  • C.
  • D.

Answer: B,C


NEW QUESTION # 37
Which three statements can process a dynamic multi-row query? (Choose three.)

  • A. DECLARE
  • B. INTO
  • C. FETCH
  • D. CLOSE
  • E. OPEN-FOR
  • F. OPEN
  • G. WHEN

Answer: C,D,E


NEW QUESTION # 38
Which three are true about the procedure overloading feature? (Choose three.)

  • A. Each procedure must use named notation to specify the corresponding actual parameters.
  • B. Each procedure can be a nested subprogram.
  • C. Each procedure's formal parameters can differ in data type or name.
  • D. Each procedure can be a standalone subprogram.
  • E. Each procedure can be a packaged subprogram.
  • F. Each procedure must use positional notation to specify the corresponding actual parameters.
  • G. Each procedure's formal parameters must differ in name.

Answer: C,E,F


NEW QUESTION # 39
The SH schema contains the PRODUCTS table with column PDT_NAME defined as VARCHAR2(10).
Which two blocks of code execute successfully when invoked by user SH? (Choose two.)

  • A.
  • B.
  • C.
  • D.
  • E.

Answer: A,E


NEW QUESTION # 40
Which two are true about Conditional Compilation in PL/SQL using $IF, $ELSE, $END, and $ERROR? (Choose two.)

  • A. It is newer syntax that works the same way as 'IF , ELSEIF , ELSE, and END IF'.
  • B. The PL/SQL compiler can conditionally include selected parts of a program.
  • C. PL/SQL code can be compiled and executed based on different versions of the operating system.
  • D. PL/SQL code can be compiled and executed based on different versions of Oracle.
  • E. Conditional compilation is disabled by default.

Answer: B,D


NEW QUESTION # 41
User ORA41 executes these statements successfully:
Now, examine this statement which is executed successfully by user ORA61 after a successful login:
EXECUTE ora41.update_emp_proc(100,25000);
Which two are true? (Choose two.)

  • A. The salary will be changed for employee 100 in the EMPLOYEES table owned by ORA41.
  • B. The UPDATE privilege on ORA41.EMPLOYEES is not inherited by ORA61 through the procedure.
  • C. The salary will be changed for employee 100 in the EMPLOYEES table owned by ORA61.
  • D. ORA61 will have been granted the UPDATE privilege explicitly on ORA41.EMPLOYEES before executing the statement.
  • E. No update happens even though the procedure executes successfully.

Answer: B,C


NEW QUESTION # 42
Which is true about counter variables in a FOR loop?

  • A. It can be modified in the body of the loop.
  • B. It is accessible outside the body of the loop.
  • C. It must explicitly be declared.
  • D. It cannot be NULL.

Answer: D


NEW QUESTION # 43
Sequence S and table PRODUCTS exist in your schema.
Examine the table description:

Now, examine this block of code:

Which two lines each result in a compilation error? (Choose two.)

  • A. line 1
  • B. line 8
  • C. line 3
  • D. line 6
  • E. line 2
  • F. line 7

Answer: A,D


NEW QUESTION # 44
SERVEROUTPUT is enabled.
Which code block will display the values from 1 to 10 in descending order?

  • A.
  • B.
  • C.
  • D.

Answer: A


NEW QUESTION # 45
Which two are true about the PLSQL_CODE_TYPE parameter? (Choose two.)

  • A. If set to NATIVE, programs are stored in a PL/SQL bytecode format.
  • B. If set to NATIVE, programs are stored in platform dependent machine code.
  • C. Changing the parameter setting automatically changes the setting for existing PL/SQL library units.
  • D. It can use the REUSE SETTINGS clause to recompile a program unit without changing to the current session settings.
  • E. The default value is NATIVE.

Answer: B,D


NEW QUESTION # 46
Which three are true about DDL triggers? (Choose three.)

  • A. They can be fired when a table is truncated.
  • B. They can be fired when a privilege is granted to a user.
  • C. They cannot include the WHEN clause.
  • D. They can be fired either before or after a DDL statement executes.
  • E. They must be created in an enabled state.
  • F. They must be created in a disabled state.
  • G. They fire only when a DDL statement is executed by the owner of the trigger.

Answer: A,D,G


NEW QUESTION # 47
Which statement is true about user-defined records?

  • A. They can be returned from a function.
  • B. The number of fields must match the number of columns in a table.
  • C. Field types must match column types.
  • D. Field names must match selected column names.

Answer: B


NEW QUESTION # 48
Which two are true about packages? (Choose two.)

  • A. Variables and cursors defined in a package specification are visible to all subprograms in the same schema that has the package.
  • B. A package definition must have a specification and body.
  • C. Modifications to a packaged procedure's body automatically cause recompilation of subprograms that invoke the procedure.
  • D. Package specifications can be compiled without their bodies.
  • E. Standalone subprograms that reference a package can be compiled only after both the package specification and body are compiled.

Answer: A,D


NEW QUESTION # 49
Examine these facts:
Table EMP exists in schema USERA with columns SALARY and EMP_ID.
EMP_ID is the primary key with values ranging from 1 to 100.
USERA now executes these statements successfully:

USERA then grants execute privilege on procedure MYPROC to USERB.
USERB exists in the database identified by pdb1 but does not have select privilege on USERA.EMP.
USERB now executes these statements:
conn userB/userB@pdb1
execute userA.myproc;
Which is true?

  • A. It results in an error because Authid Definer is missing from MYPROC.
  • B. It results in an error because USERB doesn't have select privilege on USERA.EMP.
  • C. It executes successfully.
  • D. It results in an error because Authid Current_User is missing from MYPROC.

Answer: C


NEW QUESTION # 50
For which three SYSTEM EVENTS can triggers be created? (Choose three.)

  • A. STARTUP
  • B. BEFORE GRANT
  • C. DDL
  • D. BEFORE ANALYZE
  • E. SERVERERROR
  • F. SHUTDOWN
  • G. AFTER AUDIT

Answer: A,E,F


NEW QUESTION # 51
Which two are true about collections and RECORD types? (Choose two.)

  • A. All collections and RECORD types can be defined in PL/SQL blocks, packages, or at the schema level.
  • B. All collections and RECORD types can be stored in table columns.
  • C. Only associative arrays and nested tables can have elements of RECORD type.
  • D. VARRAYS, nested tables and each field in %ROWTYPE type variables have a default value of null.
  • E. A variable of RECORD type can contain fields of another RECORD type or any collection type.
  • F. Collections and RECORD types are always dense.

Answer: C,D


NEW QUESTION # 52
Examine the structure of the ora1.depts table:

Now, examine these statements issued by user ora1 which execute successfully:
Create or replace view dep_vu as select * from depts;
Alter table depts add dep_email varchar2(20);
Finally, examine this block of code executed by user ora1:

Which is true?

  • A. It will result in an error because table depts has been altered.
  • B. It will run successfully producing a result of 5.
  • C. It will run successfully producing a result of 4.
  • D. DEP_VU must be manually recompiled to successfully run this code.

Answer: C


NEW QUESTION # 53
Which three SQL statements, embedded in PL/SQL, typically benefit from using variables declared with %ROWTYPE? (Choose three.)

  • A. INSERT
  • B. CREATE
  • C. DROP
  • D. SELECT
  • E. ALTER
  • F. UPDATE
  • G. DELETE

Answer: A,D,F


NEW QUESTION # 54
......

Verified 1Z0-149 Exam Dumps Q&As - Provide 1Z0-149 with Correct Answers: https://www.pass4guide.com/1Z0-149-exam-guide-torrent.html

1Z0-149 Exam Questions | Real 1Z0-149 Practice Dumps: https://drive.google.com/open?id=14HLX-Nyni1I80IsOWC97T63CYkt570LY