Windows PowerShell and System Center Operations Manager Quiz

Covers Windows PowerShell scripting and SCOM 2007 administration including cmdlets, management packs, monitoring, and system configuration

19 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the below CmdLet will give the MAC and IP address of a Remote system?

  1. $strComputer ="Compuet name" $colItems = GWMI -cl "Win32_NetworkAdapterConfiguration" -name "root\CimV2"-comp $strComputer -filter "IpEnabled = TRUE" Write-Host "MAC Address: " $objItem.MacAddress Write-Ho
  2. $strComputer ="Compuet name" $colItems = GWMI -cl "Win32_NetworkAdapterDetails" -name "root\CimV2"-comp $strComputer -filter "IpEnabled = TRUE" Write-Host "MAC Address: " $objItem.MacAddress Write-Host &qu
  3. $strComputer ="Compuet name" $colItems = GWMI -cl "Win32_NetworkAdapterConfiguration" -name "root\CimV2"-comp $strComputer -filter "IpEnabled = FALSE" Write-Host "MAC Address: " $objItem.MacAddress Write-H
  4. $strComputer ="Compuet name" $colItems = GWMI -cl "Win32_ NetworkAdapterDetails " -name "root\CimV2"-comp $strComputer -filter "IpEnabled = FALSE" Write-Host "MAC Address: " $objItem.MacAddress Write-Host
Question 2 Multiple Choice (Single Answer)

If the below code will be executed what will be the output? $strA = "fast" Write-Host 'Tom drives a $strA car.'

  1. Tom drives a fast car
  2. Tom drives a $strA car.
  3. Tom drives a “fast” car.
  4. none of the above
Question 3 Multiple Choice (Single Answer)

Which of the below CMdLet is used in PowerShell to get the list of Scheduled Tasks created in Local/Remote System?

  1. $colItems = get-wmiobject -class " Win32_Directory " -namespace "root\CIMV2"-computername $strComputer
  2. $colItems = get-wmiobject -class " Win32_Share " -namespace "root\CIMV2"-computername $strComputer
  3. $colItems = get-wmiobject -class "Win32_ScheduledJob" -namespace "root\CIMV2"-computername $strComputer
  4. $colItems = get-wmiobject -class " Win32_SystemPartitions " -namespace "root\CIMV2"-computername $strComputer
Question 4 Multiple Choice (Single Answer)

What will be the value of the variable $Result after executing the below PowerShell Script? $Result = "10.99MB" $Result = $Result.replace("MB","") $Result = ([double]$Result *1024 *1024)

  1. 11523850.24
  2. 11253.76
  3. 11800422645.76
  4. 11524432850.24
Question 5 Multiple Choice (Single Answer)

Which of the below CmmLet give the history of the commands that has been executed in a current PowerShell Session?

  1. Invoke-History
  2. Invake-History
  3. Get-History
  4. Export-Console
Question 6 Multiple Choice (Single Answer)

Which of the below CmdLet will display a Pop Window in Powershell?

  1. $a = new-object -comobject wscript.Window $intAnswer = $a.popup("This is a Pop up?",0,"Select Option",3)
  2. $a = new-object -comobject wscript.shell $intAnswer = $a.Window("This is a Pop up?",0,"Select Option",4)
  3. $a = new-object -comobject wscript.shell $intAnswer = $a.popup("This is a Pop up?",0,"Select Option",4)
  4. $a = new-object -comobject wscript.shell $intAnswer = $a.Window("This is a Pop up?",0,"Select Option",5)
Question 7 Multiple Choice (Single Answer)

Which among the below is the correct order of action for Creating and Using a New Snap-In?

  1. I. Create a Snap-In II. Install the Snap-In III. Register the Snap-In IV. Add the Snap-In to console
  2. I. Create a Snap-In II. Register the Snap-In III. Install the Snap-In IV. Add the Snap-In to console
  3. I. Create a Snap-In II. Add the Snap-In to console III. Install the Snap-In IV. Register the Snap-In
  4. none of the above
Question 8 Multiple Choice (Multiple Answers)

Which of the below statements are True, while signing a Windows PowerShell script file?

  1. Create a self signed certificate file using “makecert” tool
  2. Enable strong Private Key protection for the certificate
  3. Sign the script file using Set_authenticodeSignature
  4. Use the Public key each time to execute the script file
Question 9 True/False

The below statement is True/False? “A PowerShell Script can be compiled to run as an exe file”

  1. True
  2. False
Question 10 True/False

The below statement is True/False? “Windows PowerShell Drives are not different from Windows Drives”

  1. True
  2. False
Question 11 Multiple Choice (Multiple Answers)

Select all that applies. A Tee-Object is used to:

  1. Pipe an object input to a file or variable
  2. sends the output of a command in two directions
  3. Tee-Object uses Unicode encoding when it writes to files
  4. input data to CmdLets without using variables
Question 12 Multiple Choice (Single Answer)

Select the Valid Snap-Ins available in Power Shell for SCOM 2007?

  1. Microsoft.EnterpriseManagement.OperationsManager.Client
  2. Microsoft.EnterpriseManagement.OperationsManager.server
  3. Microsoft.EnterpriseManagement.OperationsManager.SQLserver
  4. Microsoft.EnterpriseManagement.OperationsManager.ScomServer
Question 13 Multiple Choice (Single Answer)

The account that is used to read and write information in the Operations Manager database?

  1. Data Warehouse Write Account
  2. Data Reader Account
  3. Action account
  4. SDK
Question 14 Multiple Choice (Single Answer)

Which of the following are not parts of management pack?

  1. Rule
  2. Monitor
  3. Tasks
  4. Agent
Question 15 Multiple Choice (Single Answer)

The status of the discovered item is unknown. There is no monitor available for this specific discovered item then agent States is?

  1. Green check mark
  2. Red check mark
  3. Gray agent. The check mark and agent name are grayed out.
  4. Green circle with no check mark
Question 16 Multiple Choice (Single Answer)

Which of the following is not a user role in SCOM 2007 ?

  1. Advanced Operator
  2. Author
  3. Operator
  4. MP Admin
Question 17 Multiple Choice (Single Answer)

The tool is used to export management pack settings?

  1. MP view tool
  2. SCOM 2007
  3. Authoring tool
  4. MAN MAN tool
Question 18 Multiple Choice (Single Answer)

How can we create auto groups in SCOM 2007?

  1. Creating an Attribute
  2. Creating an Task
  3. Creating an Monitor
  4. Creating an Rule
Question 19 Multiple Choice (Single Answer)

Which of the following are the prerequisite for installation of SCOM 2007 agent?

  1. Microsoft Core XML Services (MSXML) 6.0
  2. SQL Agent.
  3. Active directory
  4. None of the above