exam questions

Exam 1z0-082 All Questions

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

Exam 1z0-082 topic 1 question 125 discussion

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

Which two statements are true about views? (Choose two.)

  • A. The WITH CHECK clause prevents certain rows from being updated or inserted in the underlying table through the view.
  • B. The WITH CHECK clause prevents certain rows from being displayed when querying the view.
  • C. Views can be updated without the need to re-grant privileges on the view.
  • D. A view must only refer to tables in its defining query.
  • E. Views can be indexed.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

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
auwia
7 months ago
Selected Answer: AC
Provided answer are corrects.
upvoted 1 times
...
nautil2
9 months ago
Selected Answer: AC
A) TRUE; see https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/CREATE-VIEW.html#GUID-61D2D2B4-DACC-4C7C-89EB-7E50D9594D30 "Notes on Updatable Views". WITH CHECK OPTION prevents INSERT, UPDATE and DELETE in join views B) FALSE; same URL as in A), "subquery_restriction_clause, WITH CHECK OPTION" ... Oracle Database prohibits any changes to the table or view . This statements talks only about changes, not about reading the rows of a view. C) TRUE; https://www.oracletutorial.com/oracle-view/oracle-updatable-view/ no extra grants are mentioned D) FALSE; a view can be based on another view, see this example: SQL> CREATE TABLE a ( b int ); SQL> INSERT INTO a VALUES ( 0 ); SQL> CREATE VIEW v_a AS SELECT * FROM a; SQL> CREATE VIEW vv_a AS SELECT * FROM v_a; SQL> SELECT * FROM vv_a; B - 0 E) FALSE; https://asktom.oracle.com/pls/apex/asktom.search?tag=indexes-on-view
upvoted 2 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