Which Azure Power Shell cmdlets and values should you use?

DRAG DROP
You administer an Azure Virtual Machine (VM) named CON-CL1. CON-CL1 is in a cloud service named
ContosoService1.
You discover unauthorized traffic to CON-CL1. You need to:
Create a rule to limit access to CON-CL1.
Ensure that the new rule has the highest precedence.
Which Azure Power Shell cmdlets and values should you use? To answer, drag the appropriate cmdlet or value
to the correct location in the Power Shell command. Each cmdlet or value may be used once, more than once,
or not at all. You may need to drag the split bat between panes or scroll to view content.
Select and Place:

DRAG DROP
You administer an Azure Virtual Machine (VM) named CON-CL1. CON-CL1 is in a cloud service named
ContosoService1.
You discover unauthorized traffic to CON-CL1. You need to:
Create a rule to limit access to CON-CL1.
Ensure that the new rule has the highest precedence.
Which Azure Power Shell cmdlets and values should you use? To answer, drag the appropriate cmdlet or value
to the correct location in the Power Shell command. Each cmdlet or value may be used once, more than once,
or not at all. You may need to drag the split bat between panes or scroll to view content.
Select and Place:

Answer:

Explanation:
* Example 1
This example uses two commands:
The first command creates a new ACL object and stores it in a variable named $acl1.
The second command updates the ACL object with a rule that permits incoming network traffic only from
remote subnet 10.0.0.0/8.
Windows PowerShell
PS C:\\> $acl1 = New-AzureAclConfigC:\\PS> Set-AzureAclConfig –AddRule –ACL $acl1 –Order 100 –Action
permit –RemoteSubnet “10.0.0.0/8” –
*Parameter: -Order<Int32>
Specifies the relative order in which this rule should be processed compared to the other rules applied to the
ACL object. The lowest order takes precedence. 0 is allowed.

http://msdn.microsoft.com/en-us/library/dn495192.aspx
http://blogs.technet.com/b/heyscriptingguy/archive/2013/08/31/weekend-scripter-creating-acls-for-windowsazure-endpoints-part-1-of-2.aspx



Leave a Reply 1

Your email address will not be published. Required fields are marked *