Create the CREATE_TEST procedure with definer’s rights.
Grant the EXECUTE privilege to users with GRANT OPTION on the CREATE_TEST procedure.
Create the CREATE_TEST procedure with invoker’s rights.
Create the CREATE_TEST procedure as part of a package and grant users the EXECUTE privilege the package.
第1题:
The HR user creates a stand-alone procedure as follows and grants the EXECUTE privilege on the procedureto many database users: CREATE OR REPLACE PROCEDURE create_dept ( v_deptno NUMBER, v_dname VARCHAR2, v_mgrNUMBER, v_loc NUMBER)BEGIN INSERT INTO hr.departments VALUES (v_deptno, v_dname, v_mgr, v_loc); END; The users having permission to execute the procedure are able to insert records into the DEPARTMENTS tableeven though they do not have the INSERT privilege on the table. You want only those users who haveprivileges on the DEPARTMENTS table to be able to execute the procedure successfully. What would yousuggest to the PL/SQL developers to achieve this()
第2题:
The HR user creates a stand-alone procedure as follows and grants the EXECUTE privilege on theprocedure to many database users: CREATE OR REPLACE PROCEDURE create_dept ( v_deptno NUMBER, v_dname VARCHAR2, v_mgr NUMBER, v_loc NUMBER) BEGIN INSERT INTO hr.departments VALUES (v_deptno, v_dname, v_mgr, v_loc); END; The users having permission to execute the procedure are able to insert records into the DEPARTMENTStable even though they do not have the INSERT privilege on the table. You want only those users whohave privileges on the DEPARTMENTS table to be able to execute the procedure successfully. What would you suggest to the PL/SQL developers to achieve this()
第3题:
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) BEGIN INSERT 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_TEST procedure from inserting values into tables on which they do not have any privileges?()
第4题:
In your multitenant container database (CDB) containing pluggable database (PDBs), you granted theCREATE TABLE privilege to the common user C # # A_ADMIN in root and all PDBs. You execute thefollowing command from the root container:SQL > REVOKE create table FROM C # # A_ADMIN;What is the result?()
第5题:
Flashback is enabled for your multitenant container database (CDB), which contains two pluggable database (PDBs). A local user was accidently dropped from one of the PDBs. You want to flash back the PDB to the time before the local user was dropped. You connect to the CDB and execute the following commands: SQL > SHUTDOWN IMMEDIATE SQL > STARTUP MOUNT SQL > FLASHBACK DATABASE to TIME “TO_DATE (‘08/20/12’ , ‘MM/DD/YY’)”; Examine following commands: 1. ALTER PLUGGABLE DATABASE ALL OPEN; 2. ALTER DATABASE OPEN; 3. ALTER DATABASE OPEN RESETLOGS; Which command or commands should you execute next to allow updates to the flashback back schema?()
第6题:
In your multitenant container database (CDB) with two pluggable database (PDBs). You want to create a new PDB by using SQL Developer. Which statement is true?()
第7题:
It executes successfully and the CREATE TABLE privilege is revoked from C # # A_ADMIN in root only.
It fails and reports an error because the CONTAINER=ALL clause is not used.
It excludes successfully and the CREATE TABLE privilege is revoked from C # # A_ADMIN in root and all PDBs.
It fails and reports an error because the CONTAINER=CURRENT clause is not used.
It executes successfully and the CREATE TABLE privilege is revoked from C # # A_ADMIN in all PDBs.
第8题:
Schema objects owned by the C# # A_ADMIN common user can be shared across all PDBs.
The C # # A_ADMIN user will be able to use the TEMP_TS temporary tablespace only in root.
The command will, create a common user whose description is contained in the root and each pdb.
The schema for the common user C # # A_ADMIN can be different in each container.
The command will create a user in the root container only because the container clause is not used
第9题:
Only 1
Only 2
Only 3
3 and 1
1 and 2
第10题:
Create the procedure with definer’s right.
Create the procedure with invoker’s right.
Grant the EXECUTE privilege with GRANT OPTION on the procedure to selected users.
Create the procedure as part of a PL/SQL package and grant the EXECUTE privilege on the package toselected users
第11题:
Data files that belong to only the root container
Data files that belong to the root container and all the pluggable databases (PDBs)
Data files that belong to only the root container and PDB$SEED
Data files that belong to the root container and all the PDBs excluding PDB$SEED
第12题:
Create the procedure with definer’s right.
Create the procedure with invoker’s right.
Grant the EXECUTE privilege with GRANT OPTION on the procedure to selected users.
Create the procedure as part of a PL/SQL package and grant the EXECUTE privilege on the package to selected users
第13题:
What is the effect of specifying the "ENABLE PLUGGABLE DATABASE" clause in a "CREATEDATABASE” statement?()
第14题:
Your multitenant container database (CDB) is running in ARCHIVELOG mode. You connect to the CDB RMAN. Examine the following command and its output: You execute the following command: RMAN > BACKUP DATABASE PLUS ARCHIVELOG; Which data files will be backed up?()
第15题:
Which three statements are true about the working of system privileges in a multitenant control database(CDB) that has pluggable databases (PDBs)?()
第16题:
You upgraded your database from pre-12c to a multitenant container database (CDB) containing pluggable databases (PDBs). Examine the query and its output: Which two tasks must you perform to add users with SYSBACKUP, SYSDG, and SYSKM privilege to the password file?()
第17题:
Your multitenant container database (CDB) contains pluggable databases (PDBs), you are connected to the HR_PDB. You execute the following command: SQL > CREATE UNDO TABLESPACE undotb01 DATAFILE ‘u01/oracle/rddb1/undotbs01.dbf’ SIZE 60M AUTOEXTEND ON; What is the result?()
第18题:
It executes successfully and creates an UNDO tablespace in hr_pdb.
It falls and reports an error because there can be only one undo tablespace in a cdb.
It fails and reports an error because the CONTAINER=ALL clause is not specified in the command.
It fails and reports an error because the CONTAINER=CURRENT clause is not specified in the command.
It executes successfully but neither tablespace nor the data file is created.
第19题:
It will create a multitenant container database (CDB) with only the root opened.
It will create a CDB with root opened and seed read only.
It will create a CDB with root and seed opened and one PDB mounted.
It will create a CDB that must be plugged into an existing cdb.
It will create a CDB with root opened and seed mounted.
第20题:
Assign the appropriate operating system groups to SYSBACKUP, SYSDG, SYSKM.
Grant SYSBACKUP, SYSDG, and SYSKM privileges to the intended users.
Re-create the password file with SYSBACKUP, SYSDG, and SYSKM privilege and the FORCE argument set to No.
Re-create the password file with SYSBACKUP, SYSDG, and SYSKM privilege, and FORCE arguments set to Yes.
Re-create the password file in the Oracle Database 12c format.
第21题:
Place the root container in ARHCHIVELOG mode.
Take the user data tablespace offline.
Place the root container in the nomount stage.
Ensure that HR_PDB is open.
第22题:
Create the CREATE_TEST procedure with definer’s rights.
Grant the EXECUTE privilege to users with GRANT OPTION on the CREATE_TEST procedure.
Create the CREATE_TEST procedure with invoker’s rights.
Create the CREATE_TEST procedure as part of a package and grant users the EXECUTE privilege the package.
第23题:
The CDB must be open.
The CDB must be in the mount stage.
The CDB must be in the nomount stage.
Alt existing PDBs must be closed.
第24题:
The C # # ROLE1 role is created in the root database and all the PDBs.
The C # # ROLE1 role is created only in the root database because the container clause is not used.
Privileges are granted to the C##A_ADMIN user only in the root database.
Privileges are granted to the C##A_ADMIN user in the root database and all PDBs.
The statement for granting a role to a user fails because the CONTAINER clause is not used.