Killtest 1Z0-042 题库
朋友刚考过的。最新1Z0-042 1. You are connecting to an Oracle database server from a client by using the following connect string:SQL> CONNECT hr/hr@pdserver.us.oracle.com:1521/proddbWhich naming method is being used in this case?A.Local NamingB.Easy ConnectC.External NamingD.Directory NamingAnswer: B2. User Scott has updated the salary of one of the employees in the EMPLOYEES table and has notcommitted the transaction. What are the two types of locks that this scenario would lead to? (Choosetwo.)A.null lock on the row being updatedB.null lock on the table containing the rowC.ROW SHARE lock for the row being updatedD.ROW EXCLUSIVE lock for the row being updatedE.shared rowexclusivelock for the row being updatedF.a shareable table lock for the table containing the rowG.exclusive tablelevellock for the table containing the rowAnswer: DF3. You are using the backup scheduler in Enterprise Manager (EM) to schedule a backup of yourdatabase.Which type of script does the backup scheduler generate?A.SQL scriptB.PL/SQL scriptC.Operating System (OS) scriptD.Enterprise Manager (EM) scriptE.Recovery Manager (RMAN) scriptAnswer: E4. The data file belonging to the SYSTEM tablespace is corrupted and no backup of the file is available.How do you recover the data file?A.The data file cannot be recovered.B.The data file can be restored from the SYSTEM auto backup.C.Take the tablespace offline, drop, and recreateit.D.Recovery Manager (RMAN) is used to recover the data file.E.The ALTER DATABASE CREATE DATAFILE.. command is used to recover the data file.Answer: A5. After being hired as a database administrator, you find that there is only one database that is functionaland that is being accessed by the applications. You want to create a replica of the database, to be usedfor testing purposes.What is the best method to create the replica?A.create a database by using CREATE DATABASE .. command and manually copy the dataB.use Database Configuration Assistant (DBCA) to create a template from the existing database tocontain the database structureC.use DBCA to create a template from the existing database to contain the database structure and thenmanually copy the data using Oracle Data PumpD.use DBCA to create a template from the existing database to contain the database structure with datafiles and then use the same template to create the database in the new locationAnswer: D6. You are creating a locally managed tablespace to meet the following requirements:All the extents should be of the same size.The data should be spread across two data files.A bitmap should be used to record the free space within the allocated extents.Which three options would you choose? (Choose three.)A.set PCTFREE and PCTUSED to 50B.specify extent allocation as UniformC.specify extent allocation as AutomaticD.create the tablespace as bigfile tablespaceE.create the tablespace as smallfile tablespaceF.set segment space management to AutomaticG.use the RESIZE clause while creating the tablespaceAnswer: BEF7. As a result of performance analysis, you created an index on the prod_name column of the prod_dettable, which contains about ten thousand rows. Later, you updated a product name in the table. How doesthis change affect the index?A.A leaf will be marked as invalid.B.An update in a leaf row takes place.C.The index will be updated automatically at commit.D.A leaf row in the index will be deleted and inserted.E.The index becomes invalid when you make any updates.Answer: D8. Which naming method uses the tnsnames.ora file to store the connect descriptor used by the clientwhile connecting to the database instance from a remote machine?A.host naming methodB.local naming methodC.external naming methodD.directory naming methodAnswer: B9. In your database, the snapshot interval is set to 10 minutes for the Automatic Workload Repository(AWR). The database instance is running for the past 30 days.View the Exhibit to examine the Automatic Database Diagnostic Monitor (ADDM) task.The ADDM task is performed every 10 minutes, except the last task. What could be the reason for this?A.The snapshot retention period for the AWR was increased before the last task.B.The optimizer statistics for few objects in the database were locked before the last task.C.The STATISTICS_LEVEL initialization parameter was changed to BASIC and reset to TYPICAL beforethe last task.D.The optimizer statistics was collected manually by using the DBMS_STATS package before the lasttask.Answer: C10. Your database is configured with the following parameters related to SGA:SGA_TARGET=256MBSHARED_POOL_SIZE=32MBDB_CACHE_SIZE=100MBLARGE_POOL_SIZE=0JAVA_POOL_SIZE=0STREAMS_POOL_SIZE=0Which two statements are true about the configuration? (Choose two.)A.The SGA_TARGET value cannot be sized smaller than 100 MB.B.The shared pool and the default buffer pool will not be sized bigger than 32 MB and 100 MB,respectively.C.The shared pool and the default buffer pool will not be sized smaller than 32 MB and 100 MB,respectively.D.124 MB (256 minus 132) of memory is available for use by all the manually sized components.E.124 MB (256 minus 132) of memory is available for use by all the manually and automatically sizedcomponents.Answer: CE有需要的朋友自己下载(PDF格式)
页:
[1]