exam questions

Exam 1z0-071 All Questions

View all questions & answers for the 1z0-071 exam

Exam 1z0-071 topic 1 question 88 discussion

Actual exam question from Oracle's 1z0-071
Question #: 88
Topic #: 1
[All 1z0-071 Questions]

Which two are true about global temporary tables? (Choose two.)

  • A. Indexes can be created on them.
  • B. Backup and recovery operations are available for these tables.
  • C. Their data is always stored in the default temporary tablespace of the user who created them.
  • D. If the ON COMMIT clause is transaction-specific, all rows in the table are deleted after each COMMIT OR ROLLBACK.
  • E. They can be created only by a user with the DBA role, but can be accessed by all users who can create a session.
  • F. If the ON COMMIT clause is session-specific, the table is dropped when the session is terminated.
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
lucemqy
1 month, 3 weeks ago
Selected Answer: AD
AD is correct
upvoted 2 times
...
DobrySomsiad
3 months, 2 weeks ago
Selected Answer: AD
AD is correct
upvoted 2 times
...
Hari1233535
3 months, 3 weeks ago
AD is correct
upvoted 2 times
...
zouve
6 months, 3 weeks ago
Option A is correct. Indexes can be created on global temporary tables, allowing for efficient data retrieval and manipulation. Option D is correct. If the ON COMMIT clause is specified as transaction-specific (ON COMMIT DELETE ROWS), all rows in the global temporary table are automatically deleted after each COMMIT or ROLLBACK statement. This ensures that the table is cleared for the next transaction.
upvoted 1 times
...
CMjer
8 months, 1 week ago
Selected Answer: AD
A D are correct: D. If the ON COMMIT clause is transaction-specific, all rows in the table are deleted after each COMMIT OR ROLLBACK. ''all rows in the table are deleted'' = TRUNCATE
upvoted 2 times
...
Kamiyl
9 months, 3 weeks ago
C isn't correct: By default, Oracle stores the data of the global temporary table in the default temporary tablespace of the table’s owner. But you can explicitly assign another tablespace to a global temporary table during table creation using the TABLESPACE clause https://www.oracletutorial.com/oracle-basics/oracle-global-temporary-table/
upvoted 2 times
...
Sidoogle
11 months ago
AC is correct D is wrong, because : The ON COMMIT clause specifies whether data in the table is transaction-specific or session-specific: The ON COMMIT DELETE ROWS clause specifies that the global temporary table is transaction-specific. It means that ORACLE TRUNCATE THE TABLE after each commit. The ON COMMIT PRESERVE ROWS clause specifies that the global temporary table is session-specific, meaning that ORACLE TRUNCATE THE TABLE when you terminate the session, not when you commit a transaction. Delete is DML, truncate is DDL
upvoted 1 times
...
Averagenoob
11 months, 1 week ago
I think A,C
upvoted 1 times
...
SantiBZ_07032022_1744
11 months, 3 weeks ago
I Think A, D. D -> If the ON COMMIT is transaction specific -> COMMIT, ROLLBACK delete rows. NOT C-> Allocation of temporal segments are done on USER TEMP TABLESPACE, at time of use table, no always in the TEMP TABLESPACE of the OWNER.
upvoted 3 times
...
Viviana3184
1 year ago
I think are A and C
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago