In a test database, you issue t

题目

In a test database, you issue the SELECT … INTO OUTFILE statement to create a file with your t1 table data. You then TRUNCATE this table to empty it.() Mysql> SELECT * INTO OUTFILE '/tmp/t1.sql' from t1; mysql> TRUNCATE t1;

  • A、$ mysqladmin – u root – p – h localhost test – restore /tmp/t1.sql
  • B、Mysql> INSERT INTO t1 VALUES FROM '/tmp/t1.sql'
  • C、$ mysql – u root – p – h localhost test < /tmp/t1.sql
  • D、Mysql> LOAD DATA INFILE '/tmp/t1.sql' INTO TABLE t1
  • E、$ mysqlinport – u root – p – h localhost test /tmp/t1.sql
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

In a test database, you issue the SELECT … INTO OUTFILE statement to create a file with your t1 table data. You then TRUNCATE this table to empty it.()Mysql> SELECT * INTO OUTFILE ‘/tmp/t1.sql‘ from t1;mysql> TRUNCATE t1;

A.$ mysqladmin – u root – p – h localhost test – restore /tmp/t1.sql

B.Mysql> INSERT INTO t1 VALUES FROM ‘/tmp/t1.sql‘

C.$ mysql – u root – p – h localhost test < /tmp/t1.sql

D.Mysql> LOAD DATA INFILE ‘/tmp/t1.sql‘ INTO TABLE t1

E.$ mysqlinport – u root – p – h localhost test /tmp/t1.sql


参考答案:D, E

第2题:

How would you grant the RVPC user access to specific RMAN database records in the RMAN virtual private catalog?()  

  • A、 Issue the grant command from the SYS user (or equivalent) of the target database.
  • B、 Issue the grant command from the SYS user (or equivalent) of the recovery-catalog database.
  • C、 Issue the grant command from the recovery catalog-owning schema user account in the recovery catalog.
  • D、 Issue the grant command from RMAN when connected to the recovery catalog-owning schema.
  • E、 Issue the grant command from RMAN when connected to the target database.

正确答案:D

第3题:

You are managing an Oracle Database 11g instance.You want to create a duplicate database for testing purpose. What are the prerequisites for performing the active database duplication?()

A. The source database backup must be copied over the net for test database.

B. The source database must be run in ARCHIVELOG mode if the database is open.

C. The source database must be shut down cleanly if the database is in mounted state.

D. A net service name should be set up and a listener configured with the target as well as the source database.


参考答案:B, C, D

第4题:

You want to move all the objects of the APPS user in the test database to the DB_USER schema of the production database. Which option of IMPDP would you use to accomplish this task?()

  • A、FULL
  • B、SCHEMAS
  • C、REMAP_SCHEMA
  • D、REMAP_DATAFILES
  • E、REMAP_TABLESPACE

正确答案:C

第5题:

Your test database is running in NOARCHIVELOG mode. Which statement is true regarding the type ofbackups that can be performed on the database()

  • A、You can perform online whole database backups.
  • B、You can performofflinewhole database backups.
  • C、You cannot perform schema-level export/import operations.
  • D、You can perform the backup of only the SYSTEM tablespace when the database is open.

正确答案:B

第6题:

You want to flash back a test database by five hours.You issue this command:SQL > FLASHBACK DATABASE TO TIMESTAMP (SYSDATE - 5/24);Which two statements are true about this flashback scenario?()

A. The database must have multiplexed redo logs for the flashback to succeed.

B. The database must be MOUNTED for the flashback to succeed.

C. The database must use block change tracking for the flashback to succeed.

D. The database must be opened in restricted mode for the flashback to succeed.

E. The database must be opened with the RESETLOGS option after the flashback is complete.

F. The database must be opened in read-only mode to check if the database has been flashed back to the correct SCN.


参考答案:E, F

第7题:

ou are implementing control file multiplexing. Which of the following choices identifies the method you can use in order to generate the control file copies that Oracle will maintain?()

  • A、Issue ALTER DATABASE BACKUP CONTROLFILE TO filename
  • B、Make a copy of the control file with the database shut down
  • C、Issue ALTER DATABASE BACKUP CONTROLFILE TO trace
  • D、Make a copy of the control file with the database still running 

正确答案:B

第8题:

Upon starting your database, you receive the following error:You can choose from the following steps:1.Restore the database datafiles.2.Issue the alter database clear unarchived logfile group 1 command.3.Issue the alter database open command.4.Issue the alter database open resetlogs command.5.Recover the database using point-in-time recovery.6.Issue the Startup Mount command to mount the database.7.Back up the database.Which is the correct order of these steps in this case?()

A. 1,6,5,4,7

B. 6,5,4

C. 6,2,3,7

D. 1,6,3

E. The database cannot be recovered


参考答案:C

第9题:

Your database is running in the ARCHIVELOG mode. You have configured RMAN for backup and recovery operations. You execute the following command from the RMAN prompt:   RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;   After executing this command, in which of the following cases will RMAN make an auto-backup of the control file? ()

  • A、 when you change the name of a datafile
  • B、 when you drop a table from the database
  • C、 when you take an export of the database
  • D、 when you back up the database using OS utilities
  • E、 when you issue an ALTER SYSTEM SWITCH LOGFILE statement
  • F、 when you issue a BACKUP command from inside the RMAN run block

正确答案:A,E,F

第10题:

If you back up a database without connecting to the recovery catalog, which operations will cause the recovery catalog to be updated?()

  • A、 The next time you back up the database when you are also connected to the recovery catalog and the target database
  • B、 The next time you are connected to the target database and the recovery catalog database and issue the resync command
  • C、 The next time you connect RMAN to just the recovery catalog
  • D、 The next time you connect to the recovery catalog and the target database with RMAN
  • E、 Connecting to the recovery catalog and issuing the resync all databases command

正确答案:A,B

更多相关问题