PrepAway - Latest Free Exam Questions & Answers

What should you run from Windows PowerShell?

DRAG DROP
Yournetwork contains an Active Directory domain named contoso.com. The domain contains four
member servers named Server1, Server2, Server3, and Server4. All servers run Windows Server
2012 R2.
Server1 and Server3 are located in a site named Site1. Server2 and Server4 are located in a site
named Site2. The servers are configured as nodes in a failover cluster named Cluster1.
Dynamic quorum management is disabled.
Cluster1 is configured to use the Node Majority quorum configuration.
Youneed to ensure that users in Site2 can access Cluster1 if the network connection between the
two sites becomes unavailable.
What should you run from Windows PowerShell?
Toanswer, drag the appropriate commands to the correct location. Each command may be used
once, more than once, or not at all. Youmay need to drag the split bar between panes or scroll to
view content.

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:
<map><m x1=”0″ x2=”205″ y1=”44″ y2=”62″ ss=”0″ a=”0″ /><m x1=”4″ x2=”207″ y1=”76″
y2=”102″ ss=”0″ a=”0″ /><m x1=”1″ x2=”206″ y1=”110″ y2=”135″ ss=”0″ a=”0″ /><m x1=”2″
x2=”208″ y1=”145″ y2=”167″ ss=”0″ a=”0″ /><m x1=”233″ x2=”438″ y1=”52″ y2=”73″ ss=”1″ a=”0″
/><m x1=”484″ x2=”688″ y1=”52″ y2=”74″ ss=”1″ a=”0″ /><c start=”0″ stop=”0″ /><c start=”2″
stop=”1″ /></map>

NodeWeight settings are used during quorum voting to support disaster recovery and multi-subnet
scenarios for AlwaysOn Availability Groups and SQL Server Failover Cluster Instances.
Example (Powershell)
The following example changes the NodeWeight setting to remove the quorum vote for the
“AlwaysOnSrv1” node.
Import-Module FailoverClusters
$node = “AlwaysOnSrv1”
(Get-ClusterNode $node).NodeWeight = 0
Configure Cluster Quorum NodeWeight Settings.

4 Comments on “What should you run from Windows PowerShell?

  1. fgsfds says:

    all nodes get a vote by default. by only giving the nodes in site 1 1 vote between two servers, in the event of a network outage between the sites then the cluster would fail in site 1 as there are not enough servers to maintain quorum. As there are two servers in site 2 each with a vote, then quorum can exist and the cluster will function in site 2.

    Also, there are 3 node votes in total. for quorum to exist there needs to be more than half the number of nodes available to function. As there would be 2 nodes available in site 2 during an outage then that is more than half the votes (in this case 3/2=1.5 and 2>1.5) needed for quorum to exist.




    3



    0
  2. den says:

    did anyone test this in lab?
    I did and found out that this syntax does not work!

    when executing this command you’ll experience this PS response:
    “Expressions are only allowed as the first element of a pipeline” and error pointing at the $ sign in given command line…

    Solution was to embrace the $_ part with ForEach:
    Get-ClusterNode | foreach {$_.NodeWeight = 0}

    so what we have here is again just another Microsoft WTF, where the “would-be right answer” is nothing more but a nooby script kiddie’s “something like that but you know what I mean” approach!

    I’m really thinking about just ommiting to give an answer in the exam when nothing provided gives a working result like this… :-/




    0



    0

Leave a Reply