Exam 1Z0-931-26 Topic 1 Question 3 Discussion
Actual exam question for Oracle's 1Z0-931-26 exam
Question #: 3
Topic #: 1
Question #: 3
Topic #: 1
For someone that is not a service administrator to use SQL Developer Web, what package would you need to use to give them access?
Suggested Answer: B Vote an answer
SQL Developer Web in Autonomous Database relies on Oracle REST Data Services (ORDS) for access. The correct package is:
ORDS_ADMIN.ENABLE_SCHEMA (B): To allow a non-admin user (e.g., ANALYST1) to use SQL Developer Web, the ADMIN user executes ORDS_ADMIN.ENABLE_SCHEMA to enable the schema for ORDS access. This procedure activates the schema for RESTful services, granting privileges like CONNECT and SELECT implicitly for web-based SQL execution. Example:
BEGIN
ORDS_ADMIN.ENABLE_SCHEMA(p_schema => 'ANALYST1');
END;
After this, the user accesses SQL Developer Web via a URL (e.g., https://<adb-host>/ords/analyst1/_sdw), logging in with their database credentials. This is necessary because SQL Developer Web runs on ORDS, and only enabled schemas can interact with it. For instance, an analyst might query SELECT * FROM sales in the web interface post-enablement, without needing full admin rights.
The incorrect options are:
ORDS_ADMIN.GRANT_SCHEMA (A): No such procedure exists in ORDS_ADMIN. Granting is handled via database roles/privileges (e.g., GRANT CONNECT), not a specific ORDS grant function.
ORDS_PRIV.ENABLE_SCHEMA (C): There’s no ORDS_PRIV package; this might confuse with ORDS_ADMIN. The correct package is ORDS_ADMIN for schema enablement.
SQLDEV_ADMIN.GRANT_SCHEMA (D): No SQLDEV_ADMIN package exists. SQL Developer Web access is managed through ORDS, not a separate SQL Developer-specific package.
ORDS_ADMIN.ENABLE_SCHEMA is the standard, secure way to enable non-admin access to this tool in ADB.
ORDS_ADMIN.ENABLE_SCHEMA (B): To allow a non-admin user (e.g., ANALYST1) to use SQL Developer Web, the ADMIN user executes ORDS_ADMIN.ENABLE_SCHEMA to enable the schema for ORDS access. This procedure activates the schema for RESTful services, granting privileges like CONNECT and SELECT implicitly for web-based SQL execution. Example:
BEGIN
ORDS_ADMIN.ENABLE_SCHEMA(p_schema => 'ANALYST1');
END;
After this, the user accesses SQL Developer Web via a URL (e.g., https://<adb-host>/ords/analyst1/_sdw), logging in with their database credentials. This is necessary because SQL Developer Web runs on ORDS, and only enabled schemas can interact with it. For instance, an analyst might query SELECT * FROM sales in the web interface post-enablement, without needing full admin rights.
The incorrect options are:
ORDS_ADMIN.GRANT_SCHEMA (A): No such procedure exists in ORDS_ADMIN. Granting is handled via database roles/privileges (e.g., GRANT CONNECT), not a specific ORDS grant function.
ORDS_PRIV.ENABLE_SCHEMA (C): There’s no ORDS_PRIV package; this might confuse with ORDS_ADMIN. The correct package is ORDS_ADMIN for schema enablement.
SQLDEV_ADMIN.GRANT_SCHEMA (D): No SQLDEV_ADMIN package exists. SQL Developer Web access is managed through ORDS, not a separate SQL Developer-specific package.
ORDS_ADMIN.ENABLE_SCHEMA is the standard, secure way to enable non-admin access to this tool in ADB.
by Porter at Sep 23, 2026, 02:37 AM
0
0
0
10
Comments
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.
Report Comment
Commenting
You can sign-up / login (it's free).