Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-497 Topic 1 Question 111 Discussion

Actual exam question for Oracle's 1Z0-497 exam
Question #: 111
Topic #: 1
[All 1Z0-497 Questions]

View the current parameter settings shown in the output below.

NAMETYPEVALUE

db_file_multiblock_read_count integer 107

ddl_lock_timeout integer 60

Distributed_lock_timeout integer 60

dml_locks integer 748

lock_sga boolean FALSE

enab1e_dd1_1ogging boolean FALSE

resumable_timeout integer 0

A user logs in to the hrschema and issues the following commands:

SQL > CREATE TABLE emp

(empno NUMBER(3),

enamo VARCHAR2(20),

sal NUMBER (8, 2));

SQL > INSERT INTO emp (empno, ename) VALUES(1, 'JAMES');

At this moment, a second user also logs in to the hrschema and issues the following command:

SQL > ALTER TABLE emp MODIFY salNUMBER(10, 2);

What happens in this scenario?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Letha
1 days ago
Ah, the good old 'resource busy' error. Classic Oracle scenario. The answer has to be C, no doubt about it. I can already picture the second user tapping their foot impatiently, waiting for that error to pop up.
upvoted 0 times
...
Emmanuel
9 days ago
Hmm, I'm not sure about this one. Seems like a tricky question. Let's see, the second user is trying to modify the table while the first user is still making changes. That's gotta be a recipe for trouble, right? I'm gonna go with C, just to be safe.
upvoted 0 times
...
Lashandra
20 days ago
The answer is C. The second user's session will wait for a time before producing a 'resource busy' error. The CREATE TABLE and INSERT INTO commands have acquired locks on the table, which will block the ALTER TABLE command until the locks are released.
upvoted 0 times
Romana
2 days ago
B) The second user's command executes successfully.
upvoted 0 times
...
Lashandra
4 days ago
A) The second user's session immediately produces a 'resource busy' error.
upvoted 0 times
...
...
Kate
25 days ago
I believe the correct answer is C) The second user's session waits for a time before producing a 'resource busy' error.
upvoted 0 times
...
Marget
27 days ago
I agree with Candida. The second user's command might execute successfully after a short wait.
upvoted 0 times
...
Candida
1 months ago
I think the second user's session will wait before producing a 'resource busy' error.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77