Database Links & Replication MCQs

7 MCQs  — Oracle: Modifying Data & Multiple Databases MCQs

Practice Database Links & Replication MCQs with correct answers and explanations. These questions are from the Oracle: Modifying Data & Multiple Databases MCQs section.

Which query shows the global name of the current database?
SELECT * FROM global_name;
SELECT * FROM db_name;
SHOW GLOBAL NAME;
SELECT name FROM link_info;
Which statement removes a database link?
DELETE LINK remote_db;
ALTER DATABASE REMOVE LINK remote_db;
DROP LINK remote_db;
DROP DATABASE LINK remote_db;
Is DML such as UPDATE allowed on a remote table through a database link?
Yes, e.g. UPDATE emp@remote_db SET salary = 5000 WHERE id = 5;
No, links are read-only
Only INSERT is allowed
Only if the table is local
A database link created without a CONNECT TO clause is called a:
Connected-user link
Fixed-user link
Public-only link
Shared-server link
Which Oracle product allows querying non-Oracle databases (such as SQL Server) through database links?
Oracle Data Pump
Oracle Flashback
Oracle Database Gateways (Heterogeneous Services)
Oracle Scheduler
In a materialized view, what does a FAST refresh use?
Materialized view logs to apply only changes
A full re-run of the defining query
The recycle bin
Flashback logs