Oracle 1z0-144 Exam Practice Questions (P. 2)
- Full Access (112 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 #6
What is the correct definition of the persistent state of a packaged variable?
- AIt is a private variable defined in a procedure or function within a package body whose value is consistent within a user session.
- BIt is a public variable in a package specification whose value is consistent within a user session.
- CIt is a private variable in a package body whose value is consistent across all current active sessions.
- DIt is a public variable in a package specification whose value is always consistent across all current active sessions.
Correct Answer:
B
B
send
light_mode
delete
Question #7
Examine the following block of code:

Which line in the above code would result in errors upon execution?

Which line in the above code would result in errors upon execution?
send
light_mode
delete
Question #8
View the Exhibit and examine the structure of the customer table.

Examine the following trigger code:

What is the outcome when the above trigger is compiled?

Examine the following trigger code:

What is the outcome when the above trigger is compiled?
- AIt compiles successfully.
- BIt gives an error because the when condition is not valid.
- CIt gives an error because when cannot be used for row-level triggers.
- DIt gives an error because the statements under updating are not valid.
- EIt gives an error because the new qualifier in the when clause requires a colon prefix.
Correct Answer:
A
A
send
light_mode
delete
Question #9
Which statements are true about PL/SQL procedures? (Choose all that apply.)
- AUsers with definer's rights who are granted access to a procedure that updates a table must be granted access to the table itself.
- BReuse of parsed PL/SQL code that becomes available in the shared SQL area of the server avoids the parsing overhead of SQL statements at run time.
- CDepending on the number of calls, multiple copies of the procedure are loaded into memory for execution by multiple users to speed up performance.
- DA PL/SQL procedure executing on the Oracle database can call an external procedure or function that is written in a different programming language, such as
Correct Answer:
BD
BD
send
light_mode
delete
Question #10
The STRING_TAB table has the following structure:

View the Exhibit and examine the code.

What is the outcome on execution?

View the Exhibit and examine the code.

What is the outcome on execution?
- AIt displays Output buffer not long enough. This is my test string.-.
- BIt displays only Output buffer not long enough, and exits the anonymous block.
- CIt displays only This is my test string. - Because EXCEPTION should have been defined in the anonymous block to get the error message.
- DIt does not display any of the MEMS_PUTPUT messages and gives an error because a transaction control statement cannot be used in the exception section
Correct Answer:
A
A
send
light_mode
delete
All Pages