exam questions

Exam 70-742 All Questions

View all questions & answers for the 70-742 exam

Exam 70-742 topic 1 question 237 discussion

Actual exam question from Microsoft's 70-742
Question #: 237
Topic #: 1
[All 70-742 Questions]

HOTSPOT -
Your network contains an Active Directory forest named contoso.com. The forest contains an Active Directory Federation Services (AD FS) farm.
You install Windows Server 2016 on a server named Server2.
You need to configure Server2 as a node in the federation server farm.
Which cmdlets should you run? To answer, select the appropriate options in the answer area.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
TMW
Highly Voted 5 years, 8 months ago
The install-windowsfeature 1st step appears to me to be correct. The first thing you need to do is add the role/feature Instinctually, I would be considering using the Add-AdfsFarmNode (Adds this computer to an existing federation server farm) However, it is not one of the choices. None of the second answers look correct when I look them up. The question states "You need to configure Server2 as a node in the federation server farm." (An already existing farm...) The only way I could see the second answer (install-adfsfarm) being correct, is that step 3, in the following link, suggests the need to delete the existing database, yet warns against it.... https://docs.microsoft.com/en-us/windows-server/identity/ad-fs/deployment/add-a-federation-server-to-a-federation-server-farm The Install-adfsfarm -OverwriteConfiguration switch can make that possible. (-OverwriteConfiguration - Overwrites an existing AD FS configuration database with a new database.) Of the available choices, I think this one is correct.
upvoted 8 times
CharlGrobbelaar
5 years, 7 months ago
Hi TMW, Found something that might help... very basic but has in what is needed, I think. Studying this so right now I am guessing from what I understand. Link: https://blog.codybunch.com/2018/05/09/Building-ADFS-with-PowerShell/
upvoted 1 times
...
lbs
5 years ago
Yes, there are other versions of the same question with Add-AdfsFarmNode as the answer. Install-AdfsFarm is a poor answer bcos Install-ADFSFarm command is to configure the first node of a new ADFS Farm: https://docs.microsoft.com/en-us/powershell/module/adfs/install-adfsfarm?view=win10-ps
upvoted 2 times
CodeMonkey2
4 years, 5 months ago
Same question as on 70-740 Question #142 Answer was: First cmdlet to run: CmdInstall-WindowsFeature Second cmdlet to run: Add-AdfsFarmNode
upvoted 1 times
...
...
...
Nhan
Highly Voted 5 years, 3 months ago
after carefully investigation I found that the given answer is correct, after you install the windows 2016 in a farm, you havent configure role or feature for the server yet, therefore you must install the the AD DS using install windows feature and ADFSfarm.
upvoted 5 times
Bobgross
5 years, 3 months ago
This is the most correct. install-adfsfarm cmdlet isn't available unless the feature is installed on the new server.
upvoted 1 times
...
...
lofzee
Most Recent 4 years, 5 months ago
as others have said, the answers in the question are wrong. Add-ADFSFarmNode is the command you need and its not here. the first one install-windowsfeature is correct
upvoted 1 times
...
mikl
4 years, 6 months ago
Second cmdlet should be : Add-AdfsFarmNode instead of Install-AdfsFarm, which will create a whole new ADFS Farm - thats not the required step here. https://docs.microsoft.com/en-us/powershell/module/adfs/add-adfsfarmnode?view=win10-ps https://docs.microsoft.com/en-us/powershell/module/adfs/install-adfsfarm?view=win10-ps
upvoted 1 times
...
promaster
4 years, 9 months ago
The forest contain an existing ADFS farm The Install-AdfsFarm cmdlet creates the first node of a new federation server farm. So incorrect answer.
upvoted 1 times
promaster
4 years, 9 months ago
Correct solution SHOULD BE ... Add-AdfsFarmNode Module: adfs Adds this computer to an existing federation server farm. Syntax PowerShell Add-AdfsFarmNode [-OverwriteConfiguration] [-CertificateThumbprint <String>] -GroupServiceAccountIdentifier <String> [-Credential <PSCredential>] -PrimaryComputerName <String> [-PrimaryComputerPort <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]
upvoted 2 times
...
...
darkknight
5 years, 1 month ago
The given answer is 100% correct
upvoted 2 times
...
AZ764
5 years, 2 months ago
Question is wrong on so many levels. Unfortunately, that makes it hard to answer. The first part is right -- assuming the role is not installed on Server2. the 2nd part is wrong Install-ADFSFarm command is to configure the first node of a new ADFS Farm: https://docs.microsoft.com/en-us/powershell/module/adfs/install-adfsfarm?view=win10-ps Set-AdfsFarmInformation is to remove a stale or offline node from an ADFS Farm: https://docs.microsoft.com/en-us/powershell/module/adfs/set-adfsfarminformation?view=win10-ps Set-ADFSProperties is for global ADFS configuration: https://docs.microsoft.com/en-us/powershell/module/adfs/set-adfsproperties?view=win10-ps The CORRECT Answer is the Add-ADFSFarmNode cmdlet https://docs.microsoft.com/en-us/powershell/module/adfs/add-adfsfarmnode?view=win10-ps
upvoted 4 times
...
AZ764
5 years, 2 months ago
Question is wrong on so many levels. Unfortunately, that makes it hard to answer. The first part is right -- assuming the role is not installed on Server2. the 2nd part is wrong Install-ADFSFarm command is to configure the first node of a new ADFS Farm: https://docs.microsoft.com/en-us/powershell/module/adfs/install-adfsfarm?view=win10-ps Set-AdfsFarmInformation is to remove a stale or offline node from an ADFS Farm: https://docs.microsoft.com/en-us/powershell/module/adfs/set-adfsfarminformation?view=win10-ps Set-ADFSProperties is for global ADFS configuration: https://docs.microsoft.com/en-us/powershell/module/adfs/set-adfsproperties?view=win10-ps The CORRECT Answer is the Add-ADFSFarmNode cmdlet https://docs.microsoft.com/en-us/powershell/module/adfs/add-adfsfarmnode?view=win10-ps
upvoted 1 times
...
MCSA11
5 years, 3 months ago
Answer Correct
upvoted 3 times
...
Nhan
5 years, 4 months ago
None of the given answer are good, because all you need to do is adding server2 to the farm, since the AD FS have already install using the power-shell adding a node is sound relevant to me. Logically this is bad question. https://docs.microsoft.com/en-us/powershell/module/adfs/add-adfsfarmnode?view=win10-ps
upvoted 1 times
...
Nhan
5 years, 4 months ago
the answer is not correct because "The forest contains an Active Directory Federation Services (AD FS) farm." which mean the AD FS have already installed. therefore Intall-WindowsFeatures is not a correct one.
upvoted 1 times
...
coleman
5 years, 6 months ago
right ?
upvoted 1 times
Yebubbleman
4 years, 5 months ago
Unsure coleman is unsure.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...