单选题You are creating an undo buffer that stores data modifications.You need to ensure that the undo functionality undoes the most recent data modifications first.You also need to ensure that the undo buffer permits the storage of strings only.Which code segment should you use?()AStackstring undoBuffer=new Stackstring();BStack undoBuffer=new Stack();CQueuestring undoBuffer=new Queuestring();DQueue undoBuffer=new Queue();

单选题
You are creating an undo buffer that stores data modifications.You need to ensure that the undo functionality undoes the most recent data modifications first.You also need to ensure that the undo buffer permits the storage of strings only.Which code segment should you use?()
A

Stack<string> undoBuffer=new Stack<string>();

B

Stack undoBuffer=new Stack();

C

Queue<string> undoBuffer=new Queue<string>();

D

Queue undoBuffer=new Queue();


参考解析

解析: 暂无解析

相关考题:

You need to maintain a record of all transactions on some tables for at least three years. Automatic undo management is enabled for the database.What must you do accomplish this task?() A. Enable supplemental logging for the database.B. Specify undo retention guarantee for the databaseC. Create Flashback Data Archive in the tablespace where the tables are stored.D. Create Flashback Data Archive and enable Flashback Data Archive for specific tables

You must track all transactions that modify certain tables in the sales schema for at least three years.Automatic undo management is enabled for the database with a retention of one day.Which two must you do to track the transactions?()A. Enable supplemental logging for the database.B. Specify undo retention guarantee for the database.C. Create a Flashback Data Archive in the tablespace where the tables are stored.D. Create a Flashback Data Archive in any suitable tablespace.E. Enable Flashback Data Archiving for the tables that require tracking

You are the administrator of a SQL Server 2000 computer. You are creating a data transformation services package. As the first step in this process, you need to load data from text files into a database table. These text files contain data on new stores that join your franchise. The text files list the data columns in the following format StoreID, StoreName, Address, City, State, PostalCode, ManagerID, StoreTypeID, FacilityID.The destination table is configured as shown in the exhibit.You want to load the data into the table as quickly as possible. What should you do?A.Use a Bulk Insert Task to read the data into a temporary table. Use an Execute SQL task to import the appropriate data into the destination table.B.Create and edit a format file to select the columns you want to import. Use a Bulk Insert Task, and then specify the format file to import the appropriate data into the destination table.C.Use a transform. data task to import the data. Use Microsoft ActiveX transformation scripts to write the appropriate data to the appropriate columns in the destination table.D.Create and edit a format file to select the columns you want to import. Use a transform. data task, and then specify the format file to import the appropriate data into the destination table.

You install a custom application on a computer that runs Microsoft Windows XP. The application stores each user’s data in the %programfiles%\app1\data folder on the computer. You install the custom application on a computer that runs Windows Vista.On the Windows Vista computer, you back up the %programfiles%\app1\data folder and notice that the backup contains no data.You need to back up the application’s user data on the Windows Vista computer.What should you do?()A.AB.BC.CD.D

Certkiller .com has a file server named Certkiller -SR07 that stores old inventory files. Certkiller .com has given you the task of creating an application to archive these old inventory files.The inventory files have to be compressed prior to being uploaded to Certkiller .com‘s Web server.You are currently writing a method that will receive a byte array and compress it into a new file.You need to ensure that a data corruption check takes place during the decompression process.What should you do?()A.B.C.D.

You are in the process of creating a new application.This new application has to be able to read all data from a text file.What should you do?() A.B.C.D.

You are currently in the process of creating an application that reads binary information from a file.You need to ensure that the only the first kilobyte of data is retrieved.What should you do?() A.B.C.D.

Which two of these are differences between traffic policing and traffic shaping?()A、with traffic shaping,a router stores excess traffic in packet buffers until bandwidth is available againB、with policing you can tune the buffer usage for traffic exceeding the specified CIRC、with shaping you can tune the buffer usage for traffic exceeding the specified CIRD、shaping should only be applied for ingress traffic,policing only for egressE、policing uses a token bucket algorithm,shaping uses an SPD algorithm

What does the DB_FLASHBACK_RETENTION_TARGET parameter configure?()A、An upper limit on how far you can flash back the database, depending on the information in the redo logsB、An upper limit on how far you can flash back the database, depending on the information in the undo tablespaceC、The amount of time for which the flashback data is to be kept in the flash recovery area, provided that there is enough spaceD、The amount of time for which the flashback data is guaranteed to be kept in the undo tablespace, provided that there is enough space

You are maintaining your database in Oracle10g. You set the value of the UNDO_RETENTION initialization parameter to zero in the initialization parameter file. What will be the impact of specifying this setting?()  A、 The database will not start.B、 The database will start but will not retain the undo data in the undo segment.C、 The database will start, and the undo segment will contain the undo data for at least one hour.D、 The database will start, and the undo segment will retain the undo data for at least 15 minutes.

Your database is running under automatic undo management and the UNDO_RETENTION parameter is set to 900 sec. You executed the following command to enable retention guarantee:  SQL ALTER TABLESPACE undotbs1 RETENTION GUARANTEE;  What effect would this statement have on the database?()A、The extents in undo tablespace retain data until the next full database backup.B、The extents containing committed data in the undo tablespace are never overwritten.C、The extents which no longer contain uncommitted data in the undo tablespace are not overwritten for at least15 minutes.D、The extents containing committed data in the undo tablespace are not overwritten until the instance  is shut down.

You work as a database administrator for Certkiller .com. The UNDO_RETENTION parameter in your database is set to 1000 and undoretention is not guaranteed. Which statement regarding retention of undo data is correct?()A、Undo data becomes obsolete after 1,000 seconds.B、Undo data gets refreshed after 1,000 seconds.C、Undo data will be stored permanently after 1,000 seconds.D、Committed undo data would be retained for 1,000 seconds if free undo space is available.E、Undo data will be retained in the UNDOtablespacefor 1,000 seconds, then it gets movedmovedto the TEMPORARYtablespaceto provide read consistency.

Your boss at Certkiller .com wants you to clarify Oracle 10g. Which two steps are performed the first time any UPDATE statement is issued after the instance is started?()A、Creating the parse tree of the statementB、Writing the modified data blocks to the data filesC、Writing the modified data to the archived redo log filesD、Updating the control file to indicate the most recent checkpointE、Updating the data file header to indicate the most recent checkpointF、Reading the blocks to database buffer cache if they are not already there

Which statement is true about the UNDO_RETENTION parameter when retention guarantee is notenabled()A、It is the time period after which the undo data becomes obsolete.B、It is the time period after which the committed undo data would be transferred to a temporarytablespace.C、It is the minimum time period up to which the committed undo data would be retained if free undo spaceis available.D、It is the time period after which the undo data is transferred to the Flash Recovery Area to provide readconsistency.

You are working as a DBA on the decision support system. There is a business requirement to track and store all transactions for at least three years for a few tables in the database. Automatic undo management is enabled in the database.  Which configuration should you use to accomplish this task?()A、 Enable Flashback Data Archive for the tables.B、 Specify undo retention guarantee for the database.C、 Enable supplemental logging for the database.D、 Query V$UNDOSTAT to determine the amount of undo that will be generated and create an undo tablespace for that size.E、 Create Flashback Data Archive on the tablespace on which the tables are stored.

Your database instance is configured with automatic undo management and the UNDO_RETENTION parameter is set to 900 seconds. You executed the following command to enable retention guarantee: SQL ALTER TABLESPACE undotbs1 RETENTION GUARANTEE; What effect would this command have on the database()A、The extents in the undo tablespace retain data until the next full database backup.B、The extents containing committed undo in the undo tablespace are not overwritten for at least 15minutes.C、The extents containing committed data in the undo tablespace are not overwritten until the instance isshut down.D、The extents containing committed undo in the undo tablespace are transferred to Flash Recovery Areabefore being overwritten.

The UNDO_RETENTION parameter in your database is set to 1000 and undo retention is not guaranteed. Which statement regarding retention of undo data is correct?()A、Undo data becomes obsolete after 1,000 seconds.B、Undo data gets refreshed after every 1,000 seconds.C、Undo data will be stored permanently after 1,000 seconds.D、Committed undo data would be retained for 1,000 seconds if free undo space is available.E、Undo data will be retained in the UNDO tablespace for 1,000 seconds,then it gets moved to the TEMPORARY tablespace to provide read consistency.

You are creating an undo buffer that stores data modifications.You need to ensure that the undo functionality undoes the most recent data modifications first.You also need to ensure that the undo buffer permits the storage of strings only.Which code segment should you use?()A、Stackstring undoBuffer=new Stackstring();B、Stack undoBuffer=new Stack();C、Queuestring undoBuffer=new Queuestring();D、Queue undoBuffer=new Queue();

单选题An application accesses a small lookup table frequently. You notice that the required data blocks are getting aged out of the default buffer cache. How would you guarantee that the blocks for the table never age out?()AConfigure the KEEP buffer pool and alter the table with the corresponding storage clause.BIncrease the database buffer cache size.CConfigure the RECYCLE buffer pool and alter the table with the corresponding storage clause.DConfigure Automata Shared Memory Management.EConfigure Automatic Memory Management

单选题You are working as a DBA on the decision support system. There is a business requirement to track and store all transactions for at least three years for a few tables in the database. Automatic undo management is enabled in the database.  Which configuration should you use to accomplish this task?()A Enable Flashback Data Archive for the tables.B Specify undo retention guarantee for the database.C Enable supplemental logging for the database.D Query V$UNDOSTAT to determine the amount of undo that will be generated and create an undo tablespace for that size.E Create Flashback Data Archive on the tablespace on which the tables are stored.

多选题You are creating a form that will access an Oracle8 database. On which three sources can you base a data block?()ABFILEBREF columnCObject tableDColumn objectEINSTEAD-OF trigger

单选题You are maintaining your database in Oracle10g. You set the value of the UNDO_RETENTION initialization parameter to zero in the initialization parameter file. What will be the impact of specifying this setting?()A The database will not start.B The database will start but will not retain the undo data in the undo segment.C The database will start, and the undo segment will contain the undo data for at least one hour.D The database will start, and the undo segment will retain the undo data for at least 15 minutes.

单选题Your database is running under automatic undo management and the UNDO_RETENTION parameter is set to 900 sec. You executed the following command to enable retention guarantee:  SQL ALTER TABLESPACE undotbs1 RETENTION GUARANTEE;  What effect would this statement have on the database?()AThe extents in undo tablespace retain data until the next full database backup.BThe extents containing committed data in the undo tablespace are never overwritten.CThe extents which no longer contain uncommitted data in the undo tablespace are not overwritten for at least15 minutes.DThe extents containing committed data in the undo tablespace are not overwritten until the instance  is shut down.

单选题What does the DB_FLASHBACK_RETENTION_TARGET parameter configure?()A An upper limit on how far you can flash back the database,depending on the information in the redo logsB An upper limit on how far you can flash back the database,depending on the information in the undo tablespaceC The amount of time for which the flashback data is to be kept in the flash recovery area, provided that there is enough spaceD The amount of time for which the flashback data is guaranteed to be kept in the undo tablespace,provided that there is enough space

单选题You need to maintain a record of all transactions on some tables for at least three years. Automatic undo management is enabled for the database. What must you do accomplish this task?()AEnable supplemental logging for the database.BSpecify undo retention guarantee for the databaseCCreate Flashback Data Archive in the tablespace where the tables are stored.DCreate Flashback Data Archive and enable Flashback Data Archive for specific tables

单选题The user SCOTT executes the following command successfully to increase the salary values in one of his sessions:  SQL UPDATE emp SET sal=sal*1.15 WHERE deptno=20;  Before SCOTT ends the transaction, user HR who has the privileges on EMP table executes a query to fetch the salary details but finds the old salary values instead of the increased values.  Why does HR still see the old data?()Abecause of redo data from redo log fileBbecause of data from database buffer cacheCbecause of data from a temporary tablespaceDbecause of undo data from the undo tablespace

单选题Your database instance is configured with automatic undo management and the UNDO_RETENTIONparameter is set to 900 seconds. You executed the following command to enable retention guarantee: SQL ALTER TABLESPACE undotbs1 RETENTION GUARANTEE;  What effect would this command have onthe database()AThe extents in the undo tablespace retain data until the next full database backup.BThe extents containing committed undo in the undo tablespace are not overwritten for at least 15 minutes.CThe extents containing committed data in the undo tablespace are not overwritten until the instance is shutdown.DThe extents containing committed undo in the undo tablespace are transferred to Flash Recovery Areabefore being overwritten

单选题You work as a database administrator for Certkiller .com. The UNDO_RETENTION parameter in your database is set to 1000 and undoretention is not guaranteed. Which statement regarding retention of undo data is correct?()AUndo data becomes obsolete after 1,000 seconds.BUndo data gets refreshed after 1,000 seconds.CUndo data will be stored permanently after 1,000 seconds.DCommitted undo data would be retained for 1,000 seconds if free undo space is available.EUndo data will be retained in the UNDOtablespacefor 1,000 seconds, then it gets movedmovedto the TEMPORARYtablespaceto provide read consistency.