|
|
Authorized user can see question and answers. Please log in or sign up. 
|
#1. Examine the code. CREATE ROLE readonly IDENTIFIED USING app.chk_readwrite ; CREATE ROLE readwrite IDENTIFIED USING app.chk_readwrite ; CREATE OR REPLACE PROCEDURE app.chk_readwrite AUTHID CURRENT_USER IS ipchk STRING(30); BEGIN IF says CONTEXT (‘USERENV’, ‘ISDBA’=’TRUE’ THEN DBMS SESSION.SET_ROLE (‘READWRITE’) ; ELSE DMBS_SESSION_SET_ROLE )’READONLY’) ; END IF ; END;
Which three statements correctly describe the Secure Application role definition? (Choose three.) (The SYS_CONTEXT calls returns whether or not the session is a true DBA session.)
Show comments for this question (1)
Add comments
Link to this question
|
|
#3. Examine this startup script called startmydb.sql: CONNECT myid/mypwd AS SYSDBA STARTUP EXIT In Oracle8i, you could have executed this script by invoking Server Manager with the command: svrmgrl @startmydb.sql Which alternative command could you use to run the startmydb.sql script with SQL*Plus to start your Oracle9i database?
Show comments for this question (1)
Add comments
Link to this question
|
|
#7. The list below displays four steps that you need to execute in order to switch from the primary database role to the standby database role. Choose the correct order of execution for the steps. 1. Shut down and start up the former primary instance without mounting the instance. 2. Issue the ALTER DATABASE COMMIT TO SWITCHOVER TO PHYSICAL STANDBY command. 3. Issue the ALTER DATABASE MOUNT STANDBY DATABASE command. 4. End read or update activity on the former primary and standby databases.
Show comments for this question (1)
Add comments
Link to this question
|
|
|
|
gen. 0.096
|
Server date 08:02 08-01-2009
|
Developed by Zip © 2006
|
|
 |
|
|