One audit record is created for every successful execution of a SELECT, INSERT OR DELETE command on a table, and contains the SQL text for the SQL Statements.
One audit record is created for every successful execution of a SELECT, INSERT OR DELETE command, and contains the execution plan for the SQL statements.
One audit record is created for the whole session if john successfully executes a SELECT, INSERT, or DELETE command, and contains the execution plan for the SQL statements.
One audit record is created for the whole session if JOHN successfully executes a select command, and contains the SQL text and bind variables used.
One audit record is created for the whole session if john successfully executes a SELECT, INSERT,or DELETE command on a table, and contains the execution plan, SQL text, and bind variables used.
第1题:
Evaluate the SQL statement:TRUNCATE TABLE DEPT;Which three are true about the SQL statement? ()
第2题:
You execute the following command to audit the database activities: SQL> AUDIT DROP ANY TABLE BY scott BY SESSION WHENEVER SUCCESSFUL; What is the effect of this command?()
第3题:
You execute the following PL/SQL:Which two statements are true?()
第4题:
You execute the following commands to audit database activities: SQL > ALTER SYSTEM SET AUDIT_TRIAL=DB, EXTENDED SCOPE=SPFILE; SQL > AUDIT SELECT TABLE, INSERT TABLE, DELETE TABLE BY JOHN By SESSION WHENEVER SUCCESSFUL; Which statement is true about the audit record that generated when auditing after instance restarts?()
第5题:
You created the ORDERS table in your database by using the following code: SQL> CREATE TABLE ORDERS (ORDER_DATE TIMESTAMP(0) WITH TIME ZONE); Then, you inserted data in the ORDERS table and saved it by issuing the following statements:SQL> INSERT INTO ORDERS VALUES(’18-AUG-00 10:26:44 PM America/New_York’); SQL> INSERT INTO ORDERS VALUES(’23-AUG-02 12:46:34 PM America/New_York’); SQL> COMMIT; Next, you issued the following statement to change the time zone for the database: SQL> ALTER DATABASE SET TIME_ZONE=’Europe/London’; What will be the result of executing the above statement?()
第6题:
You execute the following command toauditdatabase activities: SQL>AUDITDROP ANY TABLE BY scott BY SESSION WHENEVER SUCCESSFUL; What is the effect of this command()
第7题:
One audit record is created for every successful execution of a SELECT, INSERT OR DELETE command on a table, and contains the SQL text for the SQL Statements.
One audit record is created for every successful execution of a SELECT, INSERT OR DELETE command, and contains the execution plan for the SQL statements.
One audit record is created for the whole session if john successfully executes a SELECT, INSERT, or DELETE command, and contains the execution plan for the SQL statements.
One audit record is created for the whole session if JOHN successfully executes a select command, and contains the SQL text and bind variables used.
One audit record is created for the whole session if john successfully executes a SELECT, INSERT,or DELETE command on a table, and contains the execution plan, SQL text, and bind variables used.
第8题:
Oneauditrecord is created for every successful DROP TABLE command executed in the session ofSCOTT.
Oneauditrecord is generated for the session when SCOTT grants the DROP ANY TABLE privilege toother users.
One audit record is created for the whole session if user SCOTT successfully drops one or more tablesin his session.
One audit record is created for every session of any other user in which a table owned by SCOTT isdropped successfully.
One audit record is created for every successful DROP TABLE command executed by any user to droptables owned by SCOTT.
第9题:
The STATISTICS_LEVEL parameter is set to all whenever this PDB is re-opened.
The STATISTICS_LEVEL parameter is set to ALL whenever any PDB is reopened.
The STATISTICS_LEVEL parameter is set to all whenever the multitenant container database (CDB) is restarted.
Nothing happens; because there is no SPFILE for each PDB, the statement is ignored.
第10题:
SYS, SYSTEM
SCOTT
Only for successful executions
Only for failed executions
Both successful and failed executions
第11题:
The statement will fail.
The statement will be executed successfully, and the new time zone will be set for the database.
The statement will be executed successfully, but the new time zone will be set for the current session.
The statement will be executed successfully, but the new time zone will neither be set for the database nor for a specific session.
第12题:
It contains only the plan for the SQL statement executed by the user.
It contains the SQL text executed by the user and the bind variables used with it.
It contains the plan and statistics associated with the SQL statement executed by the user.
It contains the plan for the SQL statement executed by the user and the bind variables used with it
第13题:
Examine the following commands executed in your database: SQL> ALTER SESSION RECYCLEBIN=ON; Session altered SQL> CREATE TABLE emp TABLESPACE tbsfd AS SELECT * FROM hr.employees; Table created. Further, you executed the following command to drop the table: SQL> DROP TABLE emp; Table dropped. What happens in this scenario? ()
第14题:
Which three statements are true regarding the fine/x7fgrained auditing (FGA)?()
第15题:
You executed the following commands: SQL> ALTER SESSION SET OPTIMIZER_USE_PENDING_STATISTICS = false; SQL> EXECUTE DBMS_STATS.SET_TABLE_PREFS(’SH’, ’CUSTOMERS’, ’PUBLISH’,’false’); SQL> EXECUTE DBMS_STATS.GATHER_TABLE_STATS(’SH’, ’CUSTOMERS’); Which statement is correct regarding the above statistics collection on the SH.CUSTOMERS table in the above session?()
第16题:
Examine the commands executed in the following sequence: 1:SQL> CREATE ROLE mgrrole; 2:SQL> GRANT create user,select any table,connect,resource TO mgrrole; 3:SQL> GRANT select,update ON sh.sales TO mgrrole; 4:SQL> CREATE ROLE ceo IDENTIFIED BY boss; 5:SQL> GRANT mgrrole,drop any table,create any directory TO ceo; 6:SQL> GRANT ceo TO mgrrole; Which statement is true about the above commands()
第17题:
Examine the following statement that is used to modify the constraint on the SALES table: SQL> ALTER TABLE SALES MODIFY CONSTRAINT pk DISABLE VALIDATE; Which three statements are true regarding the above command()
第18题:
You work in a company which uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance. There is a database named DB1 in the instance. In the Services schema, There is a table named Service.Table. The Services.Table has to be moved from the Sales schema to a new schema named Costs. In the options below, which Transact-SQL statement should you execute?()
第19题:
One audit record is created for every successful DROP TABLE command executed in the session of SCOTT.
One audit record is generated for the session when SCOTT grants the DROP ANY TABLE privilege to otherusers.
One audit record is created for the whole session if user SCOTT successfully drops one or more tables inhis session.
One audit record is created for every session of any other user in which a table owned by SCOTT isdropped successfully.
One audit record is created for every successful DROP TABLE command executed by any user to drop Tables owned by SCOTT
第20题:
The table is moved to the SYSAUX tablespace.
The table is moved to the SYSTEM tablespace.
The table is removed from the database permanently.
The table is renamed and remains in the TBSFD tablespace.
第21题:
The commands execute successfully.
Command 6 produces an error because of circular role grant.
Command 5 produces an error because a role cannot be granted to another role.
Command 3 produces an error because the MGRROLE role already contains system privileges.
The table created by HR remains and HR still has the CREATE TABLE system privilege.
The table created by HR remains and HR can grant the CREATE TABLE system privilege to other users.
第22题:
One audit record is created for the whole session if user SCOTT successfully drops one or more tables in his session.
One audit record is created for every session when any user successfully drops a table owned by SCOTT.
One audit record is created for each successful DROP TABLE command executed by any user to drop tables owned by SCOTT.
One audit record is generated for the session when SCOTT grants the DROP ANY TABLE privilege to other users in his session.
One audit record is created for each successful DROP TABLE command executed in the session of SCOTT.
第23题:
The statistics are stored in the pending statistics table in the data dictionary.
The statistics are treated as the current statistics by the optimizer for all sessions.
The statistics are treated as the current statistics by the optimizer for the current sessions only.
The statistics are temporary and used by the optimizer for all sessions until this session terminates.
第24题:
It contains only the plan for the SQL statement executed by the user.
It contains the SQL text executed by the user and the bind variables used with it.
It contains the plan and statistics associated with the SQL statement executed by the user.
It contains the plan for the SQL statement executed by the user and the bind variables used with it.