Oracle 1z0-149 Exam Practice Questions (P. 3)
- Full Access (65 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #11
Which two are true about collections and RECORD types? (Choose two.)
- AA variable of RECORD type can contain fields of another RECORD type or any collection type.Most Voted
- BOnly associative arrays and nested tables can have elements of RECORD type.
- CAll collections and RECORD types can be defined in PL/SQL blocks, packages, or at the schema level.
- DCollections and RECORD types are always dense.
- EAll collections and RECORD types can be stored in table columns.
- FVARRAYS, nested tables and each field in %ROWTYPE type variables have a default value of null.Most Voted
Correct Answer:
BF
BF
send
light_mode
delete
Question #12
Examine this table in the SH schema:

User SH executes this code:

The program must terminate with a user-defined message and no rows displayed if more than one product's price is 1000.
With which option must “---placeholder” be replaced?

User SH executes this code:

The program must terminate with a user-defined message and no rows displayed if more than one product's price is 1000.
With which option must “---placeholder” be replaced?
send
light_mode
delete
Question #13
Examine this row of data from the EMPLOYEES table:

Now, examine this block of code which executes successfully:

What is the value of v_commission?

Now, examine this block of code which executes successfully:

What is the value of v_commission?
send
light_mode
delete
Question #14
Examine this table in the SH schema:

Now, examine this code:

Which two changes are required to ensure that PDT_REPORT executes successfully? (Choose two.)

Now, examine this code:

Which two changes are required to ensure that PDT_REPORT executes successfully? (Choose two.)
- AIn line 1, change IN OUT mode to IN mode.Most Voted
- BIn line 2, change IN OUT mode to IN mode.Most Voted
- CIn line 3, replace CUR_PRICE with P_PDT_PRICE in the query condition.
- DIn line 1, add the default parameter DEFAULT 2000.
- EIn line 6, replace P_PDT_PRICE parameter name with CUR_PRICE.
- FIn line 2, add the default parameter DEFAULT 2000.
Correct Answer:
BD
BD
send
light_mode
delete
Question #15
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.)

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.)
- AThe salary will be changed for employee 100 in the EMPLOYEES table owned by ORA41.
- BNo update happens even though the procedure executes successfully.
- CThe salary will be changed for employee 100 in the EMPLOYEES table owned by ORA61.Most Voted
- DThe UPDATE privilege on ORA41.EMPLOYEES is not inherited by ORA61 through the procedure.Most Voted
- EORA61 will have been granted the UPDATE privilege explicitly on ORA41.EMPLOYEES before executing the statement.
Correct Answer:
CD
CD
send
light_mode
delete
All Pages