1Z0-052 · Question #105
You have two database servers SEMP and SACCT. The database in the SEMP server maintains the employee information and the database in the SACCT server maintains the accounts payable information. The…
The correct answer is B. Database link. A database link is a schema object that allows a local user to access objects in a remote Oracle database as if they were local.
Question
You have two database servers SEMP and SACCT. The database in the SEMP server maintains the employee information and the database in the SACCT server maintains the accounts payable information. The employees submit the expense reports to the accounts payable department. A user of the accounts payable database wants to extract the employee information from the database in the SEMP server for crossverification. Which schema object enables the user to access the information from the remote database?
Options
- ACluster
- BDatabase link
- CMapping table
- DMaterialized view
How the community answered
(35 responses)- A3% (1)
- B89% (31)
- C3% (1)
- D6% (2)
Why each option
A database link is a schema object that allows a local user to access objects in a remote Oracle database as if they were local.
A cluster is a local storage optimization that physically collocates rows from related tables sharing common columns in the same data blocks, and provides no mechanism for accessing a remote database.
A database link is a schema object stored in the local database that enables users to connect to and query objects on a remote Oracle database instance. When a user references an object through a database link, Oracle transparently authenticates to the remote database (SEMP) and retrieves the data. This allows the accounts payable user to cross-reference employee data from SEMP without any data duplication or migration.
A mapping table is not a standard Oracle schema object for remote data access - it is used internally by certain replication and materialized view log features and does not enable cross-database connectivity.
A materialized view can store a local snapshot of remote data but actually requires an underlying database link to function, and it provides a point-in-time copy rather than live access to the remote database.
Concept tested: Oracle database link for remote database access
Source: https://docs.oracle.com/cd/E11882_01/server.112/e41084/statements_5005.htm
Topics
Community Discussion
No community discussion yet for this question.