run { open script backup_database; run script backup_database }
run { engage script backup_database; }
run { run script backup_database; }
Run { execute script backup_database; }
The name backup_database is an invalid name for an RMAN script. Trying to run it from RMAN would result in an error.
第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?()
第2题:
What can be done to enable the debug information for functions to be displayed when using‘ksh -x’to debug a script?()
第3题:
Which of the following commands must be issued to remove a stored script from the recovery catalog?()
第4题:
Which task would you perform before you run Oracle Universal Installer (OUI) in silent or suppressedmode for an installation()
第5题:
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?()
第6题:
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?()
第7题:
To create and execute an RMAN stored script,you must use a recovery catalog.
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.
RMAN stored scripts can always be executed against any target database that is registered in the recovery catalog.
When you execute a stored script,it always executes using the persistent channel settings previously set with the CONFIGURE command.
第8题:
The script is stored only in the control file.
The script is stored only in the recover catalog.
The script can be executed only by using the RMAN RUN command.
The commands of the script can be displayed with the LIST command.
The commands of the script can be displayed with the PRINT command.
The commands of the script can be displayed with the REPORT command.
第9题:
DELETE SCRIPT
ERASE SCRIPT
REMOVE SCRIPT
UNCATALOG SCRIPT
第10题:
import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (ConvertHost-
import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (ConvertTo-
import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (Read-To
import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (Read-Host
第11题:
Ipconfig.exe
Nbtstat.exe
Netstat.exe
Netsh.exe
第12题:
Run the root.sh script.
Create the oraInst.loc file.
Create the tnsnames.ora file.
Run the oraintRoot.sh script.
第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?()
第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?()
第15题:
You have created a script in the recovery catalog called backup_database. Which of the following commands would successfully execute that script?()
第16题:
Which statement about using RMAN stored scripts is true?()
第17题:
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?()
第18题:
You have a Windows PowerShell script that contains the following code: import-csv Accounts.csv | Foreach {New-ADUser -Name $_.Name -Enabled $true -AccountPassword $_.password} When you run the script, you receive an error message indicating that the format of the password is incorrect. The script fails. You need to run a script that successfully creates the user accounts by using the password contained in accounts.csv. Which script should you run()
第19题:
To create and execute an RMAN stored script, you must use a recovery catalog.
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.
RMAN stored scripts can always be executed against any target database that is registered in the recovery catalog.
When you execute a stored script, it always executes using the persistent channel settings previously set with the CONFIGURE command.
第20题:
Use a PowerShell script to create a snapshot of each VM. Run the script every 60 minutes on each Hyper-V server
Use a PowerShell script to create a checkpoint of each VM. Run the script every 60 minutes on each Hyper-V server
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
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
第21题:
import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true -AccountPassword convertTo-SecureString Password -AsPlainText -force)}
import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true -AccountPassword convertTo-SecureString $_.Password -AsPlainText -force)}
import-csv Accounts.csv foreach {New-ADUser -Name $_.Name -Enabled $true -AccountPassword Read-Host -AsSecureString Password)}
import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true -AccountPassword (Read-Host -AsSecureString $_.Password)}
第22题:
The script will fail since you instructed RMAN to back up only one datafile rather than two
The script will successfully back up datafile 3 without error
The script will fail since it uses a substitution variable which is not supported
The execute script command will prompt for the value of and2 since it’s not included in the command
The script will fail because you cannot use the plus archivelog command when backing up
第23题:
myscript.ksh 1>/tmp/log/script.log 2>/tmp/log/script.err
myscript.ksh $1>/tmp/log/script.log $2>/tmp/log/script.err
myscript.ksh 1>/tmp/log/script.log 2>1 /tmp/log/script/err
myscript.ksh 2>1 /tmp/log/script.log 2> /tmp/log/script.err