exam questions

Exam 70-741 All Questions

View all questions & answers for the 70-741 exam

Exam 70-741 topic 1 question 126 discussion

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

Your network contains an Active directory forest named contoso.com. The forest has a Distributed File System (DFS) namespace named \\contoso.com
\namespace1.
The domain contains a file server named Server1 that runs Windows Server 2016.
You create a folder named Folder1 on Server1.
Which two cmdlets should you use? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. New-DfsnFolderTarget
  • B. Install-WindowsFeature
  • C. Grant-DfsnAccess
  • D. New-DfsnFolder
  • E. New-SmbShare
Show Suggested Answer Hide Answer
Suggested Answer: BC 🗳️

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
coleman
Highly Voted 5 years, 1 month ago
correct answer is "E. New-SmbShare" and "A. New-DfsnFolderTarget"
upvoted 18 times
coleman
5 years, 1 month ago
This question asks you how to produce a DFS Root folder target for "namespace1" on Server1. The forest has an existing DFS Root "namespace1" hosted on other servers, to add Server1 as a folder target, First, create a shared folder on Server1 (\\Server1\Folder1) by using New-SmbShare cmdlet (Answer A). Then use the "New-DfsnFolderTarget" to add Folder1 as an additional target path of "namespace1". New-DfsnFolderTarget -Path "\\contoso.com\namespace1" -TargetPath "\\Server1\Folder1" https://technet.microsoft.com/en-us/itpro/powershell/windows/dfsn/new-dfsnfoldertarget The New-DfsnFolderTarget cmdlet adds a target to a Distributed File System (DFS) namespace folder. As the "namespace1" DFS Root folder was created, answer C is incorrect.
upvoted 6 times
lbs
4 years, 6 months ago
I agree. Correct answer is New-SmbShare and New-DfsnFolderTarget
upvoted 2 times
...
musiman
4 years, 1 month ago
Sorry coleman, you are incorrect!!! The question states that there is an existing DFS namespace. It does NOT say that there is a folder created in that namespace! It only says that there is a fileserver, server1, where you create an NTFS folder. So, you need to share this NTFS folder and create a new DFS folder under the namespace: New-SmbShare New-DfsnFolder The cmdlet new-dfsnfoldertarget only adds a new target to an existing DFS folder.
upvoted 1 times
ardian
4 years ago
he never said there is a folder created in the namespace lol
upvoted 2 times
musiman
3 years, 11 months ago
??? I don't get it what you want to say here. There is a namespace, but no folder in that namespace yet.
upvoted 1 times
...
...
...
...
...
adsl7
Highly Voted 5 years, 3 months ago
Full question: "Your network contains an Active directory forest named contoso.com. The forest has a Distributed File System (DFS) namespace named \\contoso.com\namespace1/ The domain contains a file server named Server1 that runs Windows Server 2016. You create a folder named Folder1 on Server1. You need to use Folder1 as a target for Namespace1. Which two cmdlets should you use?" Install-WindowsFeature New-DfsnFolderTarget
upvoted 13 times
...
simocb
Most Recent 3 years, 11 months ago
correct answer A. New-DfsnFolderTarget C. Grant-DfsnAccess
upvoted 2 times
...
NickTim
4 years, 1 month ago
Got this in a exam
upvoted 3 times
Robbr
4 years, 1 month ago
Did you remember which one do you check?
upvoted 1 times
...
...
sudhakar1382
4 years, 3 months ago
I think it’s correct. B and C. It does not say the server has the DFS management tools on it that also include the powershell module, therefore all DFS commands will not work. So first, we need to install it —-> B. Install-WindowsFeature It does not say the folder Folder1 is shared, just created so at this point it is just a folder nothing else. Grant-DfsnAccess cmdlet grants permissions to users and groups for a Distributed File System (DFS) namespace folder. So we need to do —-> C. Grant-DfsnAccess
upvoted 2 times
...
TA77
4 years, 3 months ago
Simply put, If want to create a target for a DFS namespace folder, you have to create a folder that will be used as a target, share that folder, then create the target using the command New-DfsnFolderTarget
upvoted 2 times
TA77
4 years, 3 months ago
Therefore answer is A&E
upvoted 2 times
...
...
daschicken
4 years, 4 months ago
Hi guys not 100% sure but here my thoughs: DFS is already installed like metioned in the first sentence so we can exclude answer B: "You create a folder named Folder1 on Server1" is present tense so its the very last action we performed bevor the actual question starts means Answer E: is already done. an already created SMB-Folder on server1 will make Answer D: obsolete we just need to map the Folder to an DFS targed (Answer A:) and optional configure the access for the users. but as 2 actions are needed it's not optional in this question. so i belive A & C are correct
upvoted 2 times
...
Kamikazekiller
4 years, 5 months ago
"E. New-SmbShare" and "A. New-DfsnFolderTarget"
upvoted 2 times
...
sarsat
4 years, 6 months ago
A & E is the right answers
upvoted 2 times
...
divexman
4 years, 6 months ago
Correct is D,E To use New-DfsnFolderTarget, we first have to have a Folder created in the namespace and this is not the case, since only the namespace is created, therefore A is incorrect
upvoted 1 times
...
Gomer
4 years, 7 months ago
The fact is I just spent about three (3) hrs using my lab setup to figure this out. The absolute true result is that A, D and E are all correct. I could configure the exact DFS share using either New-DfsnFolderTarget or New-DfsnFolder. Either of these commands would work. I'd probably select both for the answer, but you also need a existing SMB share to use them, so I was using the the New-SmbShare command. Exam doesn't mention if SMB share was already. It does mention that namespace was already configured (which is EXACTLY what I did before I did my tests). Answer B is not correct, and the Grant command isn't relevant (only gives perms to users). I still don't know exactly what answer Microsoft wants for the exam, but I do know their exam question lacks the details to select the correct answers. As it sits, three answers are correct (and two answers are redundant) Enough said. COMMANDS THAT ACTUALLY WORK: A. New-DfsnFolderTarget (redundant) D. New-DfsnFolder (redundant) E. New-SmbShare
upvoted 11 times
ve22
4 years, 7 months ago
Thank you for 3 hours of your lab and efforts!
upvoted 2 times
...
musiman
4 years, 1 month ago
You are correct. Because Microsoft Docs states that New-DfsnFolderTarget adds a folder target to an existing DFS folder, I would choose New-DfsnFolder as my answer.
upvoted 1 times
...
Aimismyname
3 years, 11 months ago
A brief description of the difference between the two: https://serverfault.com/questions/730842/what-is-the-difference-between-new-dfsnfolder-and-new-dfsnfoldertarget
upvoted 1 times
...
[Removed]
4 years, 7 months ago
Considering there are three correct commands and the answers are both the incorrect commands I find it likely that the question was actually which commands to NOT use.
upvoted 1 times
...
...
GenjamBhai
4 years, 7 months ago
Missing part in question: You need to use Folder1 as a target for Namespace1. Folder does not exist in namespace, only on file server so need to share the folder on the file server, create folder on namespace and give it a target. So DE is correct.
upvoted 1 times
...
khalid86
4 years, 8 months ago
Tested in the lab. First you need to share the folder so E is 100% correct. But problem is in A & D. "New-DfsnFolder" and "New-DfsnFolderTarget" both will create a new folder in namespace1 and assign the target. But if you use "New-DfsnFolderTarget" you cannot set DFSN folder properties like "EnableInsiteReferals" and "EnableTargetFailBack", you can only set target folder properties like "ReferralPriorityClass" and "ReferralPriorityRank". But when we create a new DFSN folder, we consider "EnableInsiteReferals" and "EnableTargetFailBack" properties. So in my opinion the answer should be D, E.
upvoted 1 times
GenjamBhai
4 years, 7 months ago
Folder does not exist in namespace, only on file server so need to share the folder on the file server, create folder on namespace and give it a target. So DE is correct.
upvoted 1 times
...
...
darkknight
4 years, 8 months ago
The domain contains a file server named Server1 that runs Windows Server 2016. You create a folder named Folder1 on Server1. You need to use Folder1 as a target for Namespace1. Which two cmdlets should you use? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point. A. Grant-DfsnAccess B. New-DfsnFolder C. New-DfsReplicatedFolder D. New-DfsnFolderTarget E. New-SmbShare F. Install-WindowsFeature This is the complete question According to this, the answer should be New-SmbShare New-DfsnFolderTarget
upvoted 6 times
ve22
4 years, 8 months ago
Thanks!
upvoted 1 times
...
...
Ario
4 years, 9 months ago
A and C are Correct answer
upvoted 2 times
...
daluadanilo
4 years, 10 months ago
if the server dont have the feature, you must install the feature 2nd - you have to share the folder, 3rd - you have to create the "New-DfsnFolder" because there is no folder after namespace
upvoted 3 times
ve22
4 years, 10 months ago
So it is A and E or..?!
upvoted 1 times
daluadanilo
4 years, 9 months ago
D and E i've tested it on my VM
upvoted 2 times
...
...
Trifon
4 years, 9 months ago
The question states "the domain contains a file server named Server1", so I presume we do not need to install a Windows Feature. Furthermore we can produce a root folder target for the namespace, so no need for New-DfsnFolder. That leaves A and E, I think.
upvoted 2 times
[Removed]
4 years, 7 months ago
The question only lists a namespace, it does not mention a root folder already exists. Furthermore, it asks us to add a new folder to the namespace. This would leave D and E as the right answers.
upvoted 1 times
...
...
...
Nhan
4 years, 10 months ago
A, E is correct answer, the DFS Namespace exist which mean the DFS feature had already installed, in this case we just create the folder then enable share, there is no other feature need to be install, therefore install new feature is not a correct one.
upvoted 4 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago