Loading data into Autonomous Database from object storage (e.g., OCI Object Storage) relies on a specific PL/SQL package. The correct answer is:
DBMS_CLOUD (D):The DBMS_CLOUD package is Oracle’s cloud-native tool for interacting with external data sources, including object storage, in Autonomous Database. It provides procedures like DBMS_CLOUD.COPY_DATA to load data from files (e.g., CSV, JSON, Parquet) stored in OCI Object Storage buckets into ADB tables. For example, to load a CSV file sales.csv from a bucket, you’d:
BEGIN
DBMS_CLOUD.CREATE_CREDENTIAL(credential_name => 'OBJ_STORE_CRED', username => 'oci_user', password => 'auth_token');
DBMS_CLOUD.COPY_DATA(table_name => 'SALES', credential_name => 'OBJ_STORE_CRED', file_uri_list => 'https://objectstorage.region.oraclecloud.com/n/namespace/b/bucket/o/sales.csv', format = > json_object('type' value 'csv'));
END;
This package handles authentication (via OCI credentials), file parsing, and data insertion, supporting formats like text, Avro, and ORC. It’s integral to ADB’s cloud integration, abstracting low-level operations and ensuring security (e.g., via IAM auth).
The incorrect options are:
DBMS_RPC (A):This package doesn’t exist in Oracle Database. It might be a typo or confusion with remote procedure calls, unrelated to data loading.
DBMS_LOAD (B):No such package exists. It might confuse with SQL*Loader, but that’s a separate utility, not a PL/SQL package, and isn’t used directly in ADB for object storage.
DBMS_MIGRATE (C):This doesn’t exist either. It might be a misnomer for DBMS_DATAPUMP (for Data Pump), but that’s for database migration, not object storage loading.
DBMS_CLOUD is purpose-built for ADB’s cloud-first architecture, making data ingestion seamless and efficient.