出自:Oracle认证

Which type of database file is spread across all disks in a disk group?()
A: All types of files are spread across all disks in the disk group.
B: Datafiles
C: Redo log files
D: Archived redo log files
E: Control files
Your database operates in ARCHIVELOG mode. The redo log files are not multiplexed and one of the online redo logs is missing. The missing redo log sequence, 230, is not archived, and it contained information from 10:35 a.m. onwards.  The current time is 11:00 a.m. Because of a disk crash, you executed the following command to perform an incomplete recovery:  RMAN> RUN {  2> SET UNTIL SEQUENCE 230 THREAD 1;  3> ALTER DATABASE MOUNT;  4> RESTORE DATABASE;  5> RECOVER DATABASE;  6> ALTER DATABASE OPEN RESETLOGS; 7> };  With reference to this scenario, which statement is true?()
A:RMAN recovers up to log sequence 230, but not including 230.
B:RMAN returns an error because the log sequence number mentioned in the command should be 229.
C:RMAN returns an error because the log sequence number mentioned in the command may never be missing.
D:RMAN recovers up to and including log sequence 229 but then returns an error because log sequence 230 is missing.
Which statement adds a constraint that ensures the CUSTOMER_NAME column of the CUSTOMERS table holds a value?()
A:ALTER TABLE customers ADD CONSTRAINT cust_name_nn CHECK customer_name IS NOT NULL;
B:ALTER TABLE customers MODIFY CONSTRAINT cust_name_nn CHECK customer_name IS NOT NULL;
C:ALTER TABLE customers MODIFY customer_name CONSTRAINT cust_name_nn NOT NULL;
D:ALTER TABLE customers MODIFY customer_name CONSTRAINT cust_name_nn IS NOT NULL;
E:ALTER TABLE customers MODIFY name CONSTRAINT cust_name_nn NOT NULL;
F:ALTER TABLE customers ADD CONSTRAINT cust_name_nn CHECK customer_name NOT NULL;
You want to set the following initialization parameters for your database instance: Identify the statement that correctly describes this setting.()
A:The MANDATORY location must be a flash recovery area.
B:The optional destinations may not use the flash recovery area.
C:This setting is not allowed because the first destination is not set as MANDATORY.
D:The online redo log file is not allowed to be overwritten if the archived log cannot be created in the fourth destination.
如何设置SQL*PLUS操作界面的行宽可以容纳1000个字符()
A:set long 1000
B:set line 1000
C:set numformat 1000
D:set page 1000
E:set size 1000
Exhibit: View the Exhibit and examine the properties of the USERS tablespace. You execute the following statement to shrink the TRANS table existing on the USERS tablespace: SQL> ALTER TABLE trans SHRINK SPACE CASCADE;  Which objects would be affected by this command?()
A: the materialized views based on the TRANS table
B: the materialized views log of the TRANS table
C: the TRANS table
D: the B*Tree indexes on the TRANS table
E: the large object (LOB) segments of the TRANS table
Which SQL statement returns a numeric value?()
A:SELECT ADD_MONTHS(MAX(hire_Date), 6) FROM EMP;
B:SELECT ROUND(hire_date) FROM EMP;
C:SELECT sysdate-hire_date FROM EMP;
D:SELECT TO_NUMBER(hire_date + 7) FROM EMP;
You need to calculate the total of all salaries in the accounting department. Which group function should you use?()
A:MAX
B:MIN
C:SUM
D:COUNT
E:TOTAL
F:LARGEST
采用Select语句返回的结果是一个结果集。用户只能浏览该结果集中的数据,无法对数据进行操作。如果需要逐行对数据进行访问和操作,可以使用()。
A:视图
B:过程
C:函数
D:游标
What are two methods of taking a binary backup of a Mysql Server using InnoDB storage engine?()
A:File system snapshots
B:Mysqldumpslow
C:Mysqlhotcopy
D:Mysqldump with – binary-data option
E:Mysql Enterprise Backup
Which three statements describe how the strict SQL mode provides added security?()
A:It rejects statements that try to insert out-of-range values
B:It rejects invalid dates
C:It limits the operations that the server can perform
D:It rejects queries that produce out-of-range values
E:It rejects dates with zero day or month values
当在侦听器命令行环境中,如果需要查看侦听器当前的运行状态,可以输入()命令。
A:state
B:start
C:status
D:current
Oracle 11g是基于()的。
A:关系型
B:文件系统
C:层次型
D:网络型
A company that makes Computer Assisted Design (CAD) software has, within its application, some utility classes that are used to perform 3D rendering tasks. The company's chief scientist has just improved the performance of one of the utility classes' key rendering algorithms, and has assigned a programmer to replace the old algorithm with the new algorithm. When the programmer begins researching the utility classes, she is happy to discover that the algorithm to be replaced exists in only one class. The programmer reviews that class's API, and replaces the old algorithm with the new algorithm, being careful that her changes adhere strictly to the class's API. Once testing has begun, the programmer discovers that other classes that use the class she changed are no longer working properly. What design flaw is most likely the cause of these new bugs?()
A:Inheritance
B:Tight coupling
C:Low cohesion
D:High cohesion
E:Loose coupling
F:Object immutability
You executed the following commands in a database session: What could have caused the recycle bin to clean up?()
A:There is demand for space from the new table从
B:The undo tablespace does not have sufficient free space
C:The new table name is the same as the table name in the recycle bin
D:The temporary tablespace that is assigned to you does not have sufficient free space
若想要修改一个表的结构,应该用以下哪个命令()
A:ALTER TABLE
B:DEFINE TABLE
C:MODIFY TABLE
D:REBUILD TABLE
E:REVISE TABLE
View this parameter setting in your database:   DB_CREATE_FILE_DEST=’D:// /oracle/product/10.2.0/oradata/oracle’  You created a tablespace by using this command:   CREATE TABLESPACE USERS;  Which two statements are true about the USERS tablespace?()
A:The tablespace has two data files.
B:An error is reported and tablespace creation fails.
C:Data files are created with names generated by the instance.
D:The tablespace can be extended without specifying the data file.
E:Data files belonging to the USERS tablespace cannot be renamed.
You are maintaining the PROD database for NetFx Corporation. You have configured controlfile autobackup in your database. At 6:00 P.M. on Monday, you issue the following command:       RMAN>BACKUP DATABASE;  At 8:00 A.M. on Tuesday, you are unable to start the database because all the control files are missing. You decide to restore the control files from the backup by using the RMAN> RESTORE CONTROLFILE FROM AUTOBACKUP; command. Which operation should you perform before using the RMAN> RESTORE CONTROLFILE FROM AUTOBACKUP; command?()
A: Start the database in the MOUNT stage.
B: Back up the control file to trace.
C: Set the DBID
D: Issue the RECOVER DATABASE command.
()是Oracle数据库对象的别名,可以强化对象的安全性。
A:触发器
B:视图
C:表
D:同义词
对于雇员表(EMP)中的员工薪水(SAL)进行分级,3000元以上的为A级,2000元以上到3000元为B级,2000元及以下为C级,以下哪此操作能实现以上要求()
A:select sal,decode(sal>3000,'A',sal>2000,'B','C') grade from emp;
B:select sal,decode(sal,3000,'A',2000,'B','C') grade from emp;
C:select sal,(case when sal>3000 then 'A' when sal>2000 then 'B' else 'C' end) grade from emp;
D:select sal,(if sal>3000 then 'A' elsif sal>2000 then 'B' else 'C' end if) grade from emp;
A SELECT statement can be used to perform these three functions: 1. Choose rows from a table. 2. Choose columns from a table 3. Bring together data that is stored in different tables by creating a link between them. Which set of keywords describes these capabilities? ()
A:difference, projection, join
B:selection, projection, join
C:selection, intersection, join
D:intersection, projection, join
E:difference, projection, product
Which three functions are performed by the SQL Tuning Advisor?() (Choose three.)
A:Building the SQL profile
B:Recommending optimization of materialized views
C:Checking query objects for missing and stale statistics
D:Recommending bitmap, function-based, and B-tree indexes
E:Recommending restructuring SQL queries that are using bad plans
In what view are you likely to see the following output?()   SID SERIAL# EVENT SECONDS_IN_WAIT  121 269 RMAN backup & recovery I/O 2  129 415 SQL*Net message from client 63 130 270 SQL*Net message from client  
A: V$SESSION_EVENT
B: V$SESSION
C: V$WAITS
D: V$WAITSTAT
E: V$SYSSTAT
You would like to display the system date in the format "Monday, 01 June, 2001".Which SELECT statement should you use?()
A:SELECT TO_DATE(SYSDATE, 'FMDAY, DD Month, YYYY')   FROM dual;
B:SELECT TO_CHAR(SYSDATE, 'FMDD, DY Month, 'YYY')   FROM dual;
C:SELECT TO_CHAR(SYSDATE, 'FMDay, DD Month, YYYY')   FROM dual;
D:SELECT TO_CHAR(SYSDATE, 'FMDY, DDD Month, YYYY')   FROM dual;
E:SELECT TO_DATE(SYSDATE, 'FMDY, DDD Month, YYYY')   FROM dual;
Which two code fragments correctly create and initialize a static array of int elements?()
A:A
B:B
C:C
D:D
Examine this statement: SELECT student_id, gpa FROM student_grades WHERE gpa > &&value; You run the statement once, and when prompted you enter a value of 2.0. A report is produced. What happens when you run the statement a second time?()
A:An error is returned.
B:You are prompted to enter a new value.
C:A report is produced that matches the first report produced.
D:You are asked whether you want a new value or if you want to run the report based on the previous value.
You want to check the details of few errors that users have reported. You search for the alert log file andexecute few commands to find the location of the alert log file. View the Exhibit and check the commandsexecuted.  What is the location of the alert_orcl.log file()
A:ORACLE_HOME/dbs
B:ORACLE_HOME/rdbms
C:/u01/app/oracle/admin/orcl/adump
D:/u01/app/oracle/flash_recovery_area
E:ORACLE_BASE/diag/rdbms/orcl/orcl/alert
F:ORACLE_BASE/diag/rdbms/orcl/orcl/trace
EMPDET is an external table containing the columns EMPNO and ENAME.   Which command would work in relation to the EMPDET table?()
A:A
B:B
C:C
D:D
For which two constraints does the Oracle Server implicitly create a unique index? ()
A:NOT NULL
B:PRIMARY KEY
C:FOREIGN KEY
D:CHECK
E:UNIQUE
You work as a database administrator for Supportcenter.cn. You determine that archiving was not successful in one of thedestinators. You want to check the alert log file for more information on this.Which initialization parameter gives you the location of the alert log file?()
A:USER_DUMP_DEST
B:CORE_DUMP_DEST
C:ALERT_LOG_DEST
D:ALERT_DUMP_DEST
E:TRACE_DUMP_DEST
F:BACKGROUND_DUMP_DEST