exam questions

Exam 1z0-062 All Questions

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

Exam 1z0-062 topic 1 question 147 discussion

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

On your Oracle 12c database, you Issue the following commands to create indexes
SQL > CREATE INDEX oe.ord_customer_ix1 ON oe.orders (customers_id, sales_rep_id) INVISIBLE;
SQL> CREATE BITMAP INDEX oe.ord_customer_ix2 ON oe.orders (customers_id, sales_rep_id);
Which two statements are correct? (Choose two.)

  • A. Both the indexes are created; however, only the ORD_COSTOMER index is visible.
  • B. The optimizer evaluates index access from both the Indexes before deciding on which index to use for query execution plan.
  • C. Only the ORD_CUSTOMER_IX1 index is created.
  • D. Only the ORD_CUSTOMER_IX2 index is created.
  • E. Both the indexes are updated when a new row is inserted, updated, or deleted In the orders table.
Show Suggested Answer Hide Answer
Suggested Answer: AE 🗳️
11G has a new feature called Invisible Indexes. An invisible index is invisible to the optimizer as default. Using this feature we can test a new index without effecting the execution plans of the existing sql statements or we can test the effect of dropping an index without dropping it.

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
khan
Highly Voted 5 years, 8 months ago
The answer is right: A E. However, the wording of option A should be: “Both the indexes are created; however, only the ORD_COSTOMER_IX2 index is visible.”
upvoted 9 times
jackymak
2 years, 9 months ago
Invisible index will be considered for optimizer
upvoted 1 times
jackymak
2 years, 9 months ago
I mean will NOT be
upvoted 1 times
...
...
...
5kong
Most Recent 4 years, 9 months ago
Question #118
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