位置:首页 > 题库频道 > 其它分类 > 计算机其它 > Oracle认证Oracle认证Oracle认证ORACLE选择题

In your multitenant container database (CDB) containing pluggable database (PDBs), the HR user executes the following commands to create and grant privileges on a procedure:CREATE OR REPLACE PROCEDURE create_test_v (v_emp_id NUMBER, v_ename VARCHAR2, v_SALARY NUMBER, v_dept_id NUMBER)BEGININSERT INTO hr.test VALUES (V_emp_id, V_ename, V_salary, V_dept_id);END;GRANT EXECUTE ON CREATE_TEST TO john, jim, smith, king;How can you prevent users having the EXECUTE privilege on the CREATE_TESTprocedure from inserting values into tables on which they do not have any privileges、

发布时间:2024-07-09

A.Create the CREATE_TEST procedure with definer’s rights.

B.Grant the EXECUTE privilege to users with GRANT OPTION on the CREATE_TESTprocedure.

C.Create the CREATE_TEST procedure with invoker’s rights.

D.Create the CREATE_TEST procedure as part of a package and grant users the EXECUTE privilege the packag

试卷相关题目

  • 1You executed a DROP USER CASCADE on an Oracle 11g release 1 database andimmediately realized that you forgot to copy the OC

    A.EXAM_RESULTS table to the OCP schema.The RECYCLE_BIN enabled before the DROP USER was executed and the OCP user has been granted the FLASHBACK ANY TABLE system privilege.What is the quickest way to recover the contents of the OCA.EXAM_RESULTS table to the OCP schema、A.Execute FLASHBACK TABLE OCA.EXAM_RESULTS TO BEFORE DROP RENAME TO OCP.EXAM_RESULTS; connected as SYSTEM.

    B.Recover the table using traditional Tablespace Point In Time Recovery.

    C.Recover the table using Automated Tablespace Point In Time Recovery.

    D.Recovery the table using Database Point In Time Recovery.

    E.Execute FLASHBACK TABLE OCA.EXAM_RESULTS TO BEFORE DROP RENAME TO EXAM_RESULTS; connected as the OCP user.

    开始考试点击查看答案
  • 2Which two statements are true about variable extent size support for large ASM files、

    A.The metadata used to track extents in SGA is reduced.

    B.Rebalance operations are completed faster than with a fixed extent size

    C.An ASM Instance automatically allocates an appropriate extent size.

    D.B.Rebalance operations are completed faster than with a fixed extent sizeC.An ASM Instance automatically allocates an appropriate extent siz

    E.D.Resync operations are completed faster when a disk comes online after being taken offline.E.Performance improves in a stretch cluster configuration by reading from a local copy of an extent.

    开始考试点击查看答案
  • 3You create a new pluggable database, HR_PDB, from the seed database. Which threetablespaces are created by default in HR_PDB、

    A.SYSTEM

    B.SYSAUX

    C.EXAMPLE

    D.UNDO

    E.TEMP

    F.USERS

    开始考试点击查看答案
  • 4Which three statements are true about adaptive SQL plan management、

    A.It automatically performs verification or evolves non-accepted plans, inCOMPREHENSIVE mode when they perform better than existing accepted plans.

    B.The optimizer always uses the fixed plan, if the fixed plan exists in the plan baseline.

    C.It adds new, bettor plans automatically as fixed plans to the baseline.

    D.The non-accepted plans are automatically accepted and become usable by the optimizer if they perform better than the existing accepted plans.

    E.The non-accepted plans in a SQL plan baseline are automatically evolved, inCOMPREHENSIVE mode, during the nightly maintenance window and a persistent verification report is generated.

    开始考试点击查看答案
  • 5You notice a performance change in your production Oracle database and you want to know which change has made this performance difference.You generate the Compare Period Automatic Database Diagnostic Monitor (ADDM) reportto further investigation.Which three findings would you get from the report、

    A.It detects any configuration change that caused a performance difference in both time periods.

    B.It identifies any workload change that caused a performance difference in both time periods.

    C.It detects the top wait events causing performance degradation.

    D.It shows the resource usage for CPU, memory, and I/O in both time periods.

    E.It shows the difference in the size of memory pools in both time periods.

    F.It gives information about statistics collection in both time periods.

    开始考试点击查看答案
  • 6You created a new database using the "create database" statement without specifying the "ENABLE PLUGGABLE" clause.What are two effects of not using the "ENABLE PLUGGABLE database" clause、

    A.The database is created as a non-CDB and can never contain a PD

    B.B.The database is treated as a PDB and must be plugged into an existing multitenant container database (CDB).

    C.The database is created as a non-CDB and can never be plugged into a CDB.

    D.The database is created as a non-CDB but can be plugged into an existing CDB.

    E.The database is created as a non-CDB but will become a CDB whenever the first PDB is plugged in.

    开始考试点击查看答案
  • 7What is the effect of specifying the "ENABLE PLUGGABLE DATABASE" clause in a "CREATE DATABASE” statement、

    A.It will create a multitenant container database (CDB) with only the root opened.

    B.It will create a CDB with root opened and seed read only.

    C.It will create a CDB with root and seed opened and one PDB mounte

    D.B.It will create a CDB with root opened and seed read only.C.It will create a CDB with root and seed opened and one PDB mounted.D.It will create a CDB that must be plugged into an existing CDB.

    E.It will create a CDB with root opened and seed mounted.

    开始考试点击查看答案
  • 8You have installed two 64G flash devices to support the Database Smart Flash Cache feature on your database server that is running on Oracle Linux.You have set the DB_SMART_FLASH_FILE parameter:DB_FLASH_CACHE_FILE= ‘/dev/flash_device_1 ‘,’ /dev/flash_device_2’How should the DB_FLASH_CACHE_SIZE be configured to use both devices、

    A.Set DB_FLASH_CACHE_ZISE = 64G.

    B.Set DB_FLASH_CACHE_ZISE = 64G, 64G

    C.Set DB_FLASH_CACHE_ZISE = 128G.

    D.DB_FLASH_CACHE_SIZE is automatically configured by the instance at startup.

    开始考试点击查看答案
  • 9Examine the following parameters for a database instance:MEMORY_MAX_TARGET=0MEMORY_TARGET=0SGA_TARGET=0PGA_AGGREGATE_TARGET=500mWhich three initialization parameters are not controlled by Automatic Shared Memory Management (ASMM)、

    A.LOG_BUFFER

    B.SORT_AREA_SIZE

    C.JAVA_POOL_SIZE

    D.STREAMS_POOL_SIZE

    E.DB_16K_CACHE_SZIE

    F.DB_KEEP_CACHE_SIZE

    开始考试点击查看答案
  • 10In your multitenant container database (CDB) containing pluggable database (PDBs), you granted the CREATE TABLE privilege to the common user C # # A_ADMIN in root and all PDBs. You execute the following command from the root container:SQL > REVOKE create table FROM C # # A_ADMIN;What is the result、

    A.It executes successfully and the CREATE TABLE privilege is revoked from C # # A_ADMIN in root only.

    B.It fails and reports an error because the CONTAINER=ALL clause is not used.

    C.It excludes successfully and the CREATE TABLE privilege is revoked from C # # A_ADMIN in root and all PDBs.

    D.C.It excludes successfully and the CREATE TABLE privilege is revoked from C # # A_ADMIN in root and all PDBs.D.It fails and reports an error because the CONTAINER=CURRENT clause is not used.

    E.It executes successfully and the CREATE TABLE privilege is revoked from C # #A_ADMIN in all PDBs.

    开始考试点击查看答案
返回顶部