exam questions

Exam 1z0-083 All Questions

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

Exam 1z0-083 topic 1 question 57 discussion

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

Your SALES_ROOT application container has two application PDBs.
The SALES_APP application has a common table, FIN.REVENUE, in the two PDBs.
Examine this query and its output:

Which two are true? (Choose two.)

  • A. The CONTAINERS clause cannot be used in queries on the REVENUE table.
  • B. The REVENUE table must be a list-partitioned table.
  • C. The MAPTABLE tables defines a logical partition key on a commonly used column for the REVENUE table.
  • D. The MAPTABLE table is a metadata-linked table.
  • E. A container map exists for the REVENUE table, but is not enabled.
  • F. The REVENUE table partitions are not pruned across the PDBs automatically.
Show Suggested Answer Hide Answer
Suggested Answer: CF 🗳️

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
michael_live
Highly Voted 4 years, 4 months ago
C and F are correct. Tested in lab with exact same setting like in the output shown. A. -> incorrect - The CONTAINERS clause can be used. B. -> incorrect - It can be also a range based. C. -> CORRECT - https://docs.oracle.com/en/database/oracle/oracle-database/19/multi/administering-application-containers-with-sql-plus.html#GUID-AAF93A02-7C70-4024-8758-E351C213543E D. -> incorrect - Regular table E. -> incorrect - shown in the output CONTAINER_MAP = YES F. -> CORRECT - because CONTAINERS_DEFAULT is not enabled for the revenue table.
upvoted 13 times
auwia
7 months, 2 weeks ago
Because of what I can read from your link: "A container map can define a logical partition key on a column for a common object. " It seems to me that C is false! And the full statement is true if you invert the 2 object names! :-) MAPTABLE has CONTAINER_MAP=NO REVENUE has CONTAINER_MAP=YES
upvoted 1 times
...
...
auwia
Most Recent 7 months, 2 weeks ago
Selected Answer: DF
For C. see my comment in reply to "michael_live" For D. See decoben415... comment below. For F. see comment from michael_live
upvoted 1 times
...
_gio_
1 year, 8 months ago
Selected Answer: CF
CF but michael_live reason for F is incorrect.
upvoted 2 times
...
Bio12345
2 years, 11 months ago
Selected Answer: CF
C F, thanks michael_live
upvoted 2 times
...
erial
4 years, 4 months ago
based on this: container_map (yes) and containers_default (yes), when used together, allow, container_map to prune the partitions and therefore the application pdbs, based on the key that is passed to the query correct answers are: c,f
upvoted 1 times
...
Chansi
4 years, 4 months ago
sorry E is wrong.. The object is enabled
upvoted 1 times
...
Chansi
4 years, 5 months ago
C and E as the Map_table is not enabled . The container_map column shows "NO"
upvoted 1 times
...
dacoben415lywenw
4 years, 7 months ago
Seems D is also correct SQL> select containers_default, container_map, container_map_object, table_name from DBA_TABLES where table_name='CONTAINERMAP'; CON CON CON --- --- --- TABLE_NAME -------------------------------------------------------------------------------- NO NO YES CONTAINERMAP SQL> select SHARING from dba_objects where OBJECT_NAME='CONTAINERMAP' and OBJECT_TYPE='TABLE'; SHARING ------------------ METADATA LINK
upvoted 2 times
...
veginha
4 years, 7 months ago
C and E -Use a container map to partition the data in metadata-linked objects. Container maps partition data in application PDBs based on a commonly-used column. -The map object is the partitioned table. The names of the partitions in the map table match the names of the application PDBs in the application container. The metadata-linked object is not physically partitioned at the table level, but it can be queried using the partitioning strategy used by the container map. -In addition, you can enable the CONTAINERS_DEFAULT attribute for a table or view in an application root. When this attribute is enabled, the CONTAINERS clause is used for queries and DML statements on the database object by default, and the CONTAINERS clause does not need to be specified in the SQL statements. To enable the CONTAINERS_DEFAULT attribute for a table or view in an application root, run the an ALTER TABLE or ALTER VIEW statement with the ENABLE CONTAINERS_DEFAULT clause. https://docs.oracle.com/en/database/oracle/oracle-database/19/multi/administering-application-containers-with-sql-plus.html#GUID-AAF93A02-7C70-4024-8758-E351C213543E
upvoted 2 times
veginha
4 years, 7 months ago
i mean C and F
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