出自:Oracle认证

View the Exhibit and examine the Data Pump architecture. Identify the numbered components.()
A:1 - Oracle Loader, 2 - Oracle Data Pump, 3 - Direct Path API
B:1 - Oracle Data Pump, 2 - Direct Path API, 3 - Oracle Loader
C:1 - Direct Path API, 2 - Oracle Loader, 3 - Oracle Data Pump
D:1 - Oracle Loader, 2 - Direct Path API, 3 - Oracle Data Pump
Which two data types can be converted to LOBs using an ALTER TABLE… MODIFY command?()
A:RAW
B:LONG
C:VARCHAR
D:LONG RAW
Given: class ClassA {} class ClassB extends ClassA {} class ClassC extends ClassA {} and: ClassA p0 = new ClassA(); ClassB p1 = new ClassB(); ClassC p2 = new ClassC(); ClassA p3 = new ClassB(); ClassA p4 = new ClassC(); Which three are valid?()
A:p0 = p1;
B:p1 = p2;
C:p2 = p4;
D:p2 = (ClassC)p1;
E:p1 = (ClassB)p3;
F:p2 = (ClassC)p4;
What is the proper procedure to recover a lost tempfile?()  
A: Restore the backup copy of the tempfile from the backup media.
B: Re-create the tempfile with the create tempfile command.
C: Copy an existing tempfile from another database.
D: Re-create the tempfile with the create tablespace command.
E: Re-create the tempfile with the alter tablespace command.
Which three statements inserts a row into the table?()
A:INSERT INTO employees   VALUES ( NULL, ‘John’,‘Smith’);
B:INSERT INTO employees( first_name, last_name)   VALUES(‘John’,‘Smith’);
C:INSERT INTO employees   VALUES (‘1000’,‘John’,NULL);
D:INSERT INTO employees(first_name,last_name, employee_id)   VALUES ( 1000, ‘John’,‘Smith’);
E:INSERT INTO employees (employee_id)   VALUES (1000);
F:INSERT INTO employees (employee_id, first_name, last_name)   VALUES ( 1000, ‘John’,‘’);
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. Shot 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 MOUNTS STANDBY DATABASE command.  4. End read or update activity on the former primary and standby database.
A:1,2,3,4
B:3,2,4,1
C:4,2,1,3
D:4,3,2,1
In user-managed backup and recover procedures, how are data files backed up? ()
A:Using SQL commands.
B:Using SQL*Plus commands.
C:Using operating system commands.
D:Using Recover Manager commands.
You received complaints about the degradation of SQL query performance. You identified top SQL queries that consume time. What would be your next step to find out recommendations about statistics collection and restructuring of the SQL statement to improve query performance?()
A:run Segment Advisor
B:run SQL Tuning Advisor on top SQL statements
C:run the Automatic Workload Repository (AWR) report
D:run the Automatic Database Diagnostic Monitor (ADDM)on top SQL statements
Given: Which two classes use the Shape class correctly?()
A:public class Circle implements Shape {private int radius;}
B:public abstract class Circle extends Shape {private int radius;}
C:public class Circle extends Shape {private int radius;public void draw();}
D:public abstract class Circle implements Shape { private int radius;public void draw();}
E:public class Circle extends Shape {private int radius;public void draw() {}}
SORT_AREA SIZE and HASH_AREA_SIZE parameters are ignored in some of the user sessions. What could be the reason?()
A:The User Global Area (UGA) is not configured.
B:The sessions were started using the login name SYS.
C:The sessions are running in the Automatic Shared Memory Management mode.
D:The sessions are running in the automatic Program Global Area (PGA) memory management mode.
You want to perform the following operations for the DATA ASM disk group: Which command accomplishes these tasks?()
A:ALTER DISKGROUP data CHECK;
B:ALTER DISKGROUP data CHECK DISK;
C:ALTER DISKGROUP data CHECK FILE;
D:ALTER DISKGROUP data CHECK DISK IN FAILURE GROUP 1;
带有()字句的SELECT语句可以在表的一行或多行放置排他锁。
A:FOR INSERT
B:FOR UPDATE
C:FOR DELETE
D:FOR REFRESH
You are using an Automatic Storage Management (ASM) instance to manage the files of your production database. While studying the parameter file of the ASM instance, you find the following entry:  ASM_DISKSTRING = /devices/*  What could be the reason for this setting?()
A:to enable the ASM instance to identify the alert log file
B:to enable the ASM instance to identify the server parameter file
C:to enable the ASM instance to define the locations for Oracle Managed Files (OMF)
D:to enable the ASM instance to identify all disks that can be accessed by it in the /devices directory
You lost a temporary file that belongs to the default temporary tablespace in your database. From the options provided, which approach would you take to solve the problem? ()
A:flash back the database
B:import the temporary tablespace from the last export
C:restore all the data files and temporary files from the last full database backup and perform a recovery
D:not perform a recovery, but create a new temporary tablespace, make it the default temporary tablespace and then drop the old tablespace
When running the tablespace point-in-time command   recover tablespace users until time ,,10/06/2008:22:42:00 auxiliary destination ,,c:/oracle/auxiliary; you receive the following error:  RMAN-00571: ===========================================================  RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS  =============== RMAN-00571:  ===========================================================  RMAN-03002: failure of recover command at 10/08/2008 16:00:30  RMAN-20202: Tablespace not found in the recovery catalog  RMAN-06019: could not translate tablespace name "USERS"   What is the likely cause of the error?()
A: The database is in ARCHIVELOG mode.
B: There is not a current backup of the database available.
C: The USERS tablespace has dependent objects in other tablespaces and can not be a part of a TSPITR alone.
D: The USERS tablespace is not eligible for TSPITR because it has invalid objects.
E: The recover tablespace command is incorrect and generates the error.
What does the FORCE option for creating a view do?()
A:creates a view with constraints
B:creates a view even if the underlying parent table has constraints
C:creates a view in another schema even if you don't have privileges
D:creates a view regardless of whether or not the base tables exist
In your database, all the tablespaces are locally managed. You started Recovery Manager (RMAN) using recovery catalog and restored the control file by using the following command:  RMAN> RESTORE CONTROLFILE;  Which two operations do you need to perform after restoring the control file from backup?()
A: shut down and restart the instance
B: add new tempfiles to the temporary tablespaces after recovery
C: perform a media recovery and open the database with the RESETLOGS option
D: perform a media recovery and bring the database to NOARCHIVELOG mode
Which three statements are true about windows? ()(Choose three.)
A:Only one window can be open at any given time
B:Consumer groups are associated with windows
C:Windows work with job classes to control resource allocation
D:The database service name must be provided during windows creation
E:Windows can automatically start job or change resource allocation among jobs for various time periods.
You want to back up your 100-GB database on a remote tape device. You are required to ensure that minimum network bandwidth is consumed while transferring the backups to the tape device. The current consumption of your CPU is approximately 40 percent.Which type of backup should you perform?()
A:standard backup set
B:image copy
C:compressed backup
D:user-managed backup
The STUDENT_GRADES table has these columns: STUDENT_ID NUMBER(12) SEMESTER_END DATE GPA NUMBER(4,3) The registrar has asked for a report on the average grade point average (GPA) for students enrolled during semesters that end in the year 2000. Which statement accomplish this?()
A:SELECT AVERAGE(gpa) FROM student_grades WHERE semester _ end > '01-JAN-2000' and semester end <31-DEC-2000';
B:SELECT COUNT(gpa) FROM student grades WHERE semester _ end > '01-JAN-2000' and semester end <31-DEC-2000';
C:SELECT MIN(gpa) FROM student grades WHERE semester _ end > '01-JAN-2000' and semester end <31-DEC-2000';
D:SELECT AVG(gpa) FROM student_grades WHERE semester _ end BETWEEN '01-JAN-2000' and '31-DEC-2000';
E:SELECT SUM(gpa) FROM student grades WHERE semester _ end > '01-JAN-2000' and semester end <31-DEC-2000';
F:SELECT MEDIAN(gpa) FROM student_grades WHERE semester _ end > '01-JAN-2000' and semester end <31-DEC-2000';
Case-insensitive sorts are always accent insensitive by default.()
A: True
B: False
Which interface provides the ability to see changes in real-time as they occur ? ()
A: ConcurrentMap
B: java.util.AbstractMap
C: ObservableMap
D: InvocableMap
Examine these statements: CREATE ROLE registrar GRANT UPDATE ON dtudent_grades TO registrar; GRANT registrar to user1, user2, user3; What does this set of SQL statements do? ()
A:The set of statements contains an error and does not work.
B:It creates a role called REGISTRAR, adds the MODIFY privilege on the STUDENT_GRADES object to the role, and gives the REGISTRAR role to three users.
C:It creates a role called REGISTRAR, adds the UPDATE privilege on the STUDENT_GRADES object to the role, and gives the REGISTRAR role to three users.
D:It creates a role called REGISTRAR, adds the UPDATE privilege on the STUDENT_GRADES object to the role, and creates three users with the role.
E:It creates a role called REGISTRAR, adds the UPDATE privilege on three users, and gives the REGISTRAR role to the STUDENT_GRADES object.
F:It creates a role called STUDENT_GRADES, adds the UPDATE privilege on three users, and gives the UPDATE role to the registrar.
You want to migrate your existing non-ASM files to ASM files for the database PROD. Which method  or command would you use to accomplish this task?()
A:the CONVERT command of RMAN
B:Data Pump Export and Import into the same database
C:conventional export and import into the same database
D:the BACKUP DATABASE and RESTORE DATABASE commands of RMAN
E:the BACKUP AS COPY DATABASE and SWITCH DATABASE TO COPY command of RMAN
You discover that a disk failure occurred on DISK3 where the data file belonging to the USER_DATA table space is stored. The database is currently open and you need to recover the data file. You will restore the data file to DISK2.  What is the correct sequence RMAN commands to restore and recover the data file?()
A:A
B:B
C:C
D:D
You need to give the MANAGER role the ability to select from, insert into, and modify existing rows in the STUDENT_GRADES table. Anyone given this MANAGER role should be able to pass those privileges on to others. Which statement accomplishes this?()
A:GRANT select, insert, update   ON student_grades   TO manager;
B:GRANT select, insert, update   ON student_grades   TO ROLE manager;
C:GRANT select, insert, modify   ON student_grades   TO manager   WITH GRANT OPTION;
D:GRANT select, insert, update   ON student_grades   TO manager   WITH GRANT OPTION;
E:GRANT select, insert, update   ON student_grades   TO ROLE manager   WITH GRANT OPTION;
F:GRANT select, insert, modify   ON student_grades   TO ROLE manager   WITH GRANT OPTION;
View the Exhibit and examine the properties of the TT tablespace.  Using Database Control, you have scheduled a job to shrink the TRANS table residing on the TT tablespace. The job would run at 5:00 p.m. every Friday.When you examine the space usage of the table after the completion of the job, you find that the table has not been shrunk.  What could have been the reason for this?()
A:The tablespace that contains the TRANS table is online.
B:The tablespace that contains the TRANS table is permanent.
C:The tablespace that contains the TRANS table is locally managed.
D:The segment space management of the tablespace that contains the TRANS table is manual in nature.
Given: What is the result?()
A:7
B:49
C:343
D:Compilation fails.
E:An exception is thrown at runtime.
Given: What is the result?()
A:foofoofoofoofoo
B:foobarfoobarbar
C:foobarfoofoofoo
D:foobarfoobarfoo
E:barbarbarbarbar
Which two code fragments correctly create and initialize a static array of int elements?()
A:static final int[] a = { 100,200 };
B:static final int[] a; static { a=new int[2]; a[0]=100; a[1]=200; }
C:static final int[] a = new int[2]{ 100,200 };
D:static final int[] a; static void init() { a = new int[3]; a[0]=100; a[1]=200; }