PS IAM Study Material.-1
PS IAM Study Material.-1
o getversion
o get-version
o $psversiontable
o view-version
3. You are using blob storage. Which of the following is true? Select one
o The cool access tier is for frequent access of objects in the storage account
o The hot access tier is for storing large amounts of the data that is infrequently
o The performance tier you selected does not affect pricing
o You can switch between hot and cool performance tiers at any time
7. The Init in the FOR loop will work during every iteration.
o true
o false
12. What is the command to see all the list of commands in the Powershell?
o getcommand
o get-cmd
o get-command
o getcmd
13. You manage a large datacenter that is running out of space. You propose extending the datacenter
to Azure using a Multi-Protocol Label Switching virtual private network. Which connectivity option
would you select? Select one.
o Point-to-Site
o VPN peering
o Multi-site
o Site-to-Site
o ExpressRoute
17. Your company is preparing to implement persistent connectivity to Microsoft Azure. The company
has a single site, headquarters, which has an on-premises datacenter. The company establishes the
following requirement for the connectivity :
Connectivity must be persistent.
Connectivity must provide for the entire on-premises site.
You need to implement a connectivity solution to meet the requirements.
What should you do? Select one
o Implement a Site-to-Site VPN
o Implement a virtual private cloud (VPC)
o Implement a virtual private gateway(VGW)
o Implement a VNet-to-VNet VPN
o Implement a Point-to-site VPN
18. Which WMI class contains the drive details independently for each drive?
o Win32_LogicalDisk
o Win32_DiskDrive
o CIM_ DiskDrive
o CIM_ DiskPartition
Win32 Openingsystem
-eq
Get-alias
.HKCU
SCCM
.Net Framework
Driver applications
Verb-noun
10.REBOOT=Really Suppress is a
() Public property
Private property
$PSVersionTable
13. What is Powershel ISE?
Inf files
Read-host
$num1
Hash Tables
18.Is the below command correct or not? Get-service/?($ Status-eq “running/ft Status, DisplayName,
StartType/sort DisplayName.
Correct
19. .What is the command to see all the list of commands in the Powershell?
Get-command
1.Which Execution policy will NOT allow the Downloaded scripts to Execute?
RemoteSigned
One
5.What is the command to see all the list of commands in the Powershell?
Get-Command.
6.How to get all the aliases in Powershell?
Get-alias.
To view all of the properties, pipe the results of a Get-Process command to the Get-Member cmdlet
Get-Process | Get-Member. (Needs to check )
9.which command will open a dialog box asking for username and password in powershell
Get-Credential
$ErrorActionPreference.
Get-HotFix
Add-Content
17.What is the command to access the remote computer (server01) service in powershell
Parameter(Mandatory=$true)
Get-Content
20.which command will show the details of the parameter called logname from the command get-
eventlog
21.Which execution policy will not allow the downloaded scripts to execute?
22.which command will help in getting only selected properties of a command in powershell
Select-Object
A. $PSVersionTable
A.Format-List *
3.Which Execution policy will NOT allow the Downloaded scripts to Execute?
A.RemoteSigned
A. Win32_ComputerSystem
6.Which WMI Class contains the Drive Details independently for each drive?
A. Win32_DiskDrive
A . Mandatory=$true
A.$PROFILE
9.What is the command to see all the list of commands in the Powershell?
A. Get-Command
A. $Number1
A. +=
12.Is the below command correct or not? Get-service |? ($_ Status -eq “running”) ft Status,
DisplayName, StartType | sort DisplayName?
A. Correct
A. Add-Content
A.Get-Alias
15.what does the @0 represent in powershell?
A.
18.which command will show the details of the Parameter called Logname from the command get-
eventlog?
A.Get-Hotfix