单选题Given the script   create script db_backup_datafile_script  {backup datafile and 1, and2 plus archivelog delete input;} Run {execute script db_backup_datafile_script using 2;}   What is the result of running this command?()AThe script will fail since y

题目
单选题
Given the script   create script db_backup_datafile_script  {backup datafile and 1, and2 plus archivelog delete input;} Run {execute script db_backup_datafile_script using 2;}   What is the result of running this command?()
A

 The script will fail since you instructed RMAN to back up only one datafile rather than two

B

 The script will successfully back up datafile 3 without error

C

 The script will fail since it uses a substitution variable which is not supported

D

 The execute script command will prompt for the value of and2 since it’s not included in the command

E

 The script will fail because you cannot use the plus archivelog command when backing up


相似考题
参考答案和解析
正确答案: B
解析: 暂无解析
更多“单选题Given the script   create script db_backup_datafile_script  {backup datafile and 1, and2 plus archivelog delete input;} Run {execute script db_backup_datafile_script using 2;}   What is the result of running this command?()A  The script will fail since”相关问题
  • 第1题:

    The operator needs to execute a long-running shell script. How can the script be executed so the operator does not have to wait until it is complete to access the command prompt?()

    • A、./script.ksh
    • B、nohup ./script.ksh
    • C、run -b ./script.ksh
    • D、./script.ksh > nohup.out

    正确答案:A

  • 第2题:

    What can be done to enable the debug information for functions to be displayed when using‘ksh -x’to debug a script?()

    • A、Run the script using ‘ksh -fx’.
    • B、Run the script using ‘ksh -a function -x’.
    • C、Edit the script and add ‘set -x’ at the beginning.
    • D、Edit the script and add ‘set -x’ at the beginning of each function.

    正确答案:D

  • 第3题:

    You have created a script in the recovery catalog called backup_database. Which of the following commands would successfully execute that script?()  

    • A、 run { open script backup_database; run script backup_database }
    • B、 run { engage script backup_database; }
    • C、 run { run script backup_database; }
    • D、 Run { execute script backup_database; }
    • E、 The name backup_database is an invalid name for an RMAN script. Trying to run it from RMAN would result in an error.

    正确答案:D

  • 第4题:

    You issue this RMAN command:   RMAN> create script Level0Backup {   backup   incremental level 0   format ‘/u01/db01/backup/%d_%_Sp’   fileperset 5   (database include current controlfile);   sql ‘alter database archive log current’;   }  Which three statements are true about the Level0Backup script you just created?()

    • A、The script is stored only in the control file.
    • B、The script is stored only in the recover catalog.
    • C、The script can be executed only by using the RMAN RUN command.
    • D、The commands of the script can be displayed with the LIST command.
    • E、The commands of the script can be displayed with the PRINT command.
    • F、The commands of the script can be displayed with the REPORT command.

    正确答案:B,C,E

  • 第5题:

    Your network contains an Active Directory domain. The domain contains two domain controllers  named DC1 and DC2.   You perform a full backup of the domain controllers every night by using Windows Server  Backup.   You update a script in the SYSVOL folder.     You discover that the new script fails to run properly. You need to restore the previous version of  the script in the SYSVOL folder. The solution must minimize the amount of time required to  restore the script.     What should you do first()

    • A、Run the Restore-ADObject cmdlet.
    • B、Restore the system state to its original location.
    • C、Restore the system state to an alternate location.
    • D、Attach the VHD file created by Windows Server Backup

    正确答案:D

  • 第6题:

    You are the network administrator for your domain at TestKing.com. All servers run Windows Server 2003. You manage a server named TestKing7. You create a script named TestKingDataBackup.cmd on TestKing7 that contains Ntbackup commands for 10 separate backup jobs. You use the AT command from your client computer to schedule and run backups on TestKing7. You also use Automated System (ASR) on TestKing7. A user, Tess King, reports that several directories are missing from TestKing7. You establish that you need to restore all 10 backup jobs. You need to restore the data with the least amount of administrative effort. What should you do?()

    • A、From your client computer, modify the TestKingDataBackup.cmd script to restore data. Use the AT command to run the script.
    • B、Log on to TestKing7 and use the Backup utility to restore the first backup job. Repeat for each job.
    • C、Log on to TestKing7 and modify the TestKingDataBackup.cmd script to restore data. Use the AT command to run the script.
    • D、Use ASR to restore the system.

    正确答案:B

  • 第7题:

    单选题
    Which statement about using RMAN stored scripts is true?()
    A

     To create and execute an RMAN stored script,you must use a recovery catalog.

    B

     When executing a stored script and a command fails,the remainder of the script is executed,and a message is written to the alert log file.

    C

     RMAN stored scripts can always be executed against any target database that is registered in the recovery catalog.

    D

     When you execute a stored script,it always executes using the persistent channel settings previously set with the CONFIGURE command.


    正确答案: A
    解析: 暂无解析

  • 第8题:

    单选题
    You have created a script in the recovery catalog called backup_database. Which of the following commands would successfully execute that script?()
    A

     run { open script backup_database; run script backup_database }

    B

     run { engage script backup_database; }

    C

     run { run script backup_database; }

    D

     Run { execute script backup_database; }

    E

     The name backup_database is an invalid name for an RMAN script. Trying to run it from RMAN would result in an error.


    正确答案: C
    解析: 暂无解析

  • 第9题:

    单选题
    The operator needs to execute a long-running shell script. How can the script be executed so the operator does not have to wait until it is complete to access the command prompt?()
    A

    ./script.ksh

    B

    nohup ./script.ksh

    C

    run -b ./script.ksh

    D

    ./script.ksh > nohup.out


    正确答案: C
    解析: 暂无解析

  • 第10题:

    单选题
    You are the network administrator for your domain at TestKing.com. All servers run Windows Server 2003. You manage a server named TestKing7. You create a script named TestKingDataBackup.cmd on TestKing7 that contains Ntbackup commands for 10 separate backup jobs. You use the AT command from your client computer to schedule and run backups on TestKing7. You also use Automated System (ASR) on TestKing7. A user, Tess King, reports that several directories are missing from TestKing7. You establish that you need to restore all 10 backup jobs. You need to restore the data with the least amount of administrative effort. What should you do?()
    A

    From your client computer, modify the TestKingDataBackup.cmd script to restore data. Use the AT command to run the script.

    B

    Log on to TestKing7 and use the Backup utility to restore the first backup job. Repeat for each job.

    C

    Log on to TestKing7 and modify the TestKingDataBackup.cmd script to restore data. Use the AT command to run the script.

    D

    Use ASR to restore the system.


    正确答案: C
    解析: 暂无解析

  • 第11题:

    单选题
    A user has written a script that is not running correctly and asks an administrator for help.  Without adding anything to the script, how can the administrator determine the cause of the problem?()
    A

    Run the script with an ’sh -x’ in front.

    B

    Run the script with a ’ksh -v’ in front.

    C

    Type debug into the command line before running the script.

    D

    Type ’set -x’ into the command line before running the script.


    正确答案: D
    解析: 暂无解析

  • 第12题:

    单选题
    An operator needs to run a script which will write standard output and standard error to different files. Which of the following commands will successfully perform this task?()
    A

    myscript.ksh 1>/tmp/log/script.log 2>/tmp/log/script.err

    B

    myscript.ksh $1>/tmp/log/script.log $2>/tmp/log/script.err

    C

    myscript.ksh 1>/tmp/log/script.log 2>1 /tmp/log/script/err

    D

    myscript.ksh 2>1 /tmp/log/script.log 2> /tmp/log/script.err


    正确答案: A
    解析: 暂无解析

  • 第13题:

    An operator needs to run a script which will write standard output and standard error to different files. Which of the following commands will successfully perform this task?()

    • A、myscript.ksh 1>/tmp/log/script.log 2>/tmp/log/script.err
    • B、myscript.ksh $1>/tmp/log/script.log $2>/tmp/log/script.err
    • C、myscript.ksh 1>/tmp/log/script.log 2>1 /tmp/log/script/err
    • D、myscript.ksh 2>1 /tmp/log/script.log 2> /tmp/log/script.err

    正确答案:A

  • 第14题:

    A user has written a script that is not running correctly and asks an administrator for help. Without adding anything to the script, how can the administrator determine the cause of the problem?()

    • A、Run the script with an 'sh -x' in front.
    • B、Run the script with a 'ksh -v' in front.
    • C、Type debug into the command line before running the script.
    • D、Type 'set -x' into the command line before running the script.

    正确答案:A

  • 第15题:

    Which statement about using RMAN stored scripts is true?()  

    • A、 To create and execute an RMAN stored script,you must use a recovery catalog.
    • B、 When executing a stored script and a command fails,the remainder of the script is executed,and a message is written to the alert log file.
    • C、 RMAN stored scripts can always be executed against any target database that is registered in the recovery catalog.
    • D、 When you execute a stored script,it always executes using the persistent channel settings previously set with the CONFIGURE command.

    正确答案:A

  • 第16题:

    Given the script   create script db_backup_datafile_script  {backup datafile and 1, and2 plus archivelog delete input;} Run {execute script db_backup_datafile_script using 2;}   What is the result of running this command?()  

    • A、 The script will fail since you instructed RMAN to back up only one datafile rather than two
    • B、 The script will successfully back up datafile 3 without error
    • C、 The script will fail since it uses a substitution variable which is not supported
    • D、 The execute script command will prompt for the value of and2 since it’s not included in the command
    • E、 The script will fail because you cannot use the plus archivelog command when backing up

    正确答案:D

  • 第17题:

    You deploy two Windows Server 2008 R2 Hyper-V servers. You manage the servers by using Microsoft System Center Virtual Machine Manager (VMM) 2008 R2. You need to ensure that you can restore virtual machines (VMs) in the event of a hardware failure.   What should you do?()

    • A、Use a PowerShell script to create a snapshot of each VM. Run the script every 60 minutes on each Hyper-V server
    • B、Use a PowerShell script to create a checkpoint of each VM. Run the script every 60 minutes on each Hyper-V server
    • C、Use a PowerShell script to pause, export, and start each VM, and then to copy the export to the opposite Hyper-V server. Run the script once per day on each Hyper-V server
    • D、Use a PowerShell script to shut down, export, and start each VM, and then to copy the export to the opposite Hyper-V server. Run the script once per day on each Hyper-V server

    正确答案:D

  • 第18题:

    You need to design a method to ensure that only scripts that are approved by the IT department can run on company computers. Your solution must meet business requirements. What should you do?()

    • A、Create a new software restriction policy in the Default Domain Policy GPO that removes the Microsoft Visual Basic Scripting Edition and the Windows Script Component file types from the File Types list
    • B、Create a new software restriction policy in the Default Domain Policy GPO that disables the use of Wscript.exe and Cscript.exe
    • C、Configure Windows Script Host to not execute Windows Script Component file types
    • D、Configure Windows Script Host to execute only scripts that are signed by a certificate issued by an approved certification authority (CA)

    正确答案:D

  • 第19题:

    单选题
    A storage specialist needs to automate some tasks triggered in the event of disaster recovery.  What is the best solution to accomplish this()
    A

    using the DS GUI, step through Real Time Manager, Copy Services, Create custom scripts; actions and event conditions can be defined that triggerthe script; there is no need for a password

    B

    create a shell script usingdscli commands; trigger the script from the operating system, and call the script using the -pwd option with the password

    C

    create a password file; create a shell script using dscli commands; trigger the script from the operating system

    D

    create a password file; create a shell script usingdscli commands; trigger the script from the operating system; call the dscli script with the dscli -script  -pwdfile command


    正确答案: A
    解析: 暂无解析

  • 第20题:

    单选题
    What can be done to enable the debug information for functions to be displayed when using ‘ksh - x’to debug a script?()
    A

    Run the script using 'ksh -fx'.

    B

    Run the script using 'ksh -a function -x'.

    C

    Edit the script and add 'set -x' at the beginning.

    D

    Edit the script and add 'set -x' at the beginning of each function.


    正确答案: B
    解析: 暂无解析

  • 第21题:

    单选题
    Your network contains an Active Directory domain. The domain contains two domain controllers  named DC1 and DC2.   You perform a full backup of the domain controllers every night by using Windows Server Backup. You update a script in the SYSVOL folder.   You discover that the new script fails to run properly.   You need to restore the previous version of the script in the SYSVOL folder. The solution must minimize  the amount of time required to restore the script.  What should you do first()
    A

    Run the Restore-ADObject cmdlet.

    B

    Restore the system state to its original location.

    C

    Restore the system state to an alternate location.

    D

    Attach the VHD file created by Windows Server Backup.


    正确答案: A
    解析: 暂无解析

  • 第22题:

    单选题
    You deploy two Windows Server 2008 R2 Hyper-V servers. You manage the servers by using Microsoft System Center Virtual Machine Manager (VMM) 2008 R2. You need to ensure that you can restore virtual machines (VMs) in the event of a hardware failure.   What should you do?()
    A

    Use a PowerShell script to create a snapshot of each VM. Run the script every 60 minutes on each Hyper-V server

    B

    Use a PowerShell script to create a checkpoint of each VM. Run the script every 60 minutes on each Hyper-V server

    C

    Use a PowerShell script to pause, export, and start each VM, and then to copy the export to the opposite Hyper-V server. Run the script once per day on each Hyper-V server

    D

    Use a PowerShell script to shut down, export, and start each VM, and then to copy the export to the opposite Hyper-V server. Run the script once per day on each Hyper-V server


    正确答案: C
    解析: 暂无解析

  • 第23题:

    单选题
    Given the script   create script db_backup_datafile_script  {backup datafile and 1, and2 plus archivelog delete input;} Run {execute script db_backup_datafile_script using 2;}   What is the result of running this command?()
    A

     The script will fail since you instructed RMAN to back up only one datafile rather than two

    B

     The script will successfully back up datafile 3 without error

    C

     The script will fail since it uses a substitution variable which is not supported

    D

     The execute script command will prompt for the value of and2 since it’s not included in the command

    E

     The script will fail because you cannot use the plus archivelog command when backing up


    正确答案: A
    解析: 暂无解析

  • 第24题:

    单选题
    You scheduled a backup by using the Schedule Backup option in Oracle Enterprise Manager. Which statement about the script created by Oracle Enterprise Manager is true? ()
    A

    It is a SQL script.

    B

    It is a PL/SQL file.

    C

    It is an operating system (OS) file.

    D

    It is a Recovery Manager (RMAN) script


    正确答案: C
    解析: 暂无解析