exam questions

Exam 70-741 All Questions

View all questions & answers for the 70-741 exam

Exam 70-741 topic 1 question 160 discussion

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

Your network contains three subnets, a production subnet that contains production servers, a development network that contains development servers, and a client network that contains client computers.
The development network is used to test applications and reproduces servers that are located on the production network. The development network and the production network use the same IP address range.
A developer has a client computer on the client network. The developer reports that when he attempts to connect to the IP address 10.10.1.6 from his computer, he connects to a server on the production network.
You need to ensure that when the developer connects to 10.10.1.6, he connects to a sever on the development network.
Which cmdlet should you use?

  • A. New-NetNeighbor
  • B. New-NetRoute
  • C. Set-NetTcpSetting
  • D. Set-NetNeighbor
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Ozguraydin
Highly Voted 5 years ago
The answer is New-NetRoute. "The New-NetRoute cmdlet creates an IP route in the IP routing table. Specify the destination prefix and specify an interface by using the interface alias or the interface index. IP routing is the process of forwarding a packet based on the destination IP address. Routing occurs at TCP/IP hosts and at IP routers. The sending host or router determines where to forward the packet. To determine where to forward a packet, the host or router consults a routing table that is stored in memory. When TCP/IP starts, it creates entries in the routing table. You can add entries either manually or automatically."
upvoted 6 times
...
coleman
Highly Voted 5 years, 1 month ago
the answer should be : D. Set-NetNeighbor
upvoted 5 times
coleman
5 years, 1 month ago
Explanation/Reference: https://technet.microsoft.com/en-us/itpro/powershell/windows/nettcpip/set-netneighbor The Set-NetNeighbor cmdlet modifies a neighbor cache entry. The neighbor cache maintains information for each on-link neighbor, including the IP address and the associated link-layer address. You can modify only neighbor cache entries that are in a permanent state on interfaces that have link-layer addresses. Use this cmdlet to modify the link-layer address and policy store setting of a neighbor cache entry. Set-NetNeighbor -InterfaceIndex <your index> -IPAddress "10.10.1.6" -LinkLayerAddress <MAC of developement server> After performing the above "Set-NetNeighbor", the developer's client computer will be redirected to the development's server.
upvoted 10 times
PatS
5 years ago
What do you think about New-NetNeighbor? Should we create it at first and after that modify by Set-NetNeighbor? https://docs.microsoft.com/en-us/powershell/module/nettcpip/new-netneighbor?view=win10-ps
upvoted 2 times
BluAlien
4 years, 9 months ago
Nope, after the first connection to server 10.10.1.16 the entry is already in cache, so you must change the Production Server cache entry with the Developement Server MAC Address.
upvoted 2 times
...
...
abhic25
4 years, 2 months ago
correct and here is the logic, developer knows the route to 10.10.1.6 so the next comes how he can access development servers.
upvoted 1 times
...
...
...
HHHo
Most Recent 3 years, 12 months ago
Got this in my exam(2020/12/14)
upvoted 4 times
...
nino521
4 years ago
D. Set-NetNeighbor Explanation: https://technet.microsoft.com/en-us/itpro/powershell/windows/nettcpip/set-netneighbor The Set-NetNeighbor cmdlet modifies a neighbor cache entry. The neighbor cache maintains information for each on-link neighbor, including the IP address and the associated link-layer address. You can modify only neighbor cache entries that are in a permanent state on interfaces that have link-layer addresses. Use this cmdlet to modify the link-layer address and policy store setting of a neighbor cache entry. Set-NetNeighbor -InterfaceIndex -IPAddress “10.10.1.6” -LinkLayerAddress After performing the above “Set-NetNeighbor”, the developer’s client computer will be redirected to the development’s server.
upvoted 3 times
...
SamsOtro
4 years, 2 months ago
New-NetRoute is correct; Set-NetNeighbor implies setting just a layer 2 path/remaining on the same subnet, but the target server is on a different subnet, meaning the path traverses a layer 3 device and requires layer 3 routing. The problem is the current route points to the wrong gateway (i.e., the gateway of the router connected to the production network).
upvoted 3 times
...
Kamikazekiller
4 years, 5 months ago
Answer is correct: B. New-NetRoute
upvoted 2 times
Rijvi
4 years ago
why can you provide any explanation plz ?
upvoted 3 times
...
...
LeonSKanady
4 years, 5 months ago
Sharing my thought. All of the websites are saying the answer is B (New-NetRoute). But .. I am guessing the answer is D (Set-NetNeighbor) . Reason.... First of all, DEV and PROD are in same IP range . Question says the developer guy gets connection on PROD network. Means routing is available from CLIENT network to PROD network. But he wants to get connection in DEV network. " New-NetRoute -DestinationPrefix "10.0.0.0/24" -InterfaceIndex 12 -NextHop 192.168.0.1 " > it points to the whole network. Still the client PC wont understand what is the destination. 10.0.0.0/24 not pointing any specific server to connect with. " Set-NetNeighbor -InterfaceIndex 12 -IPAddress "192.168.0.5" -LinkLayerAddress "00-00-12-00-00-ff" But when i am using the MAC here, the destination is always defined and fixed. When the client will hit this specific ip his connection will ONLY redirected to a device that have only this MAC ADDRESS... So, if i put a MAC of DEV Server here, client PC will always get connected with this server .... Overall, pointing to a whole network like "10.0.0.0/24" not seems like a wise / working idea to point traffic....
upvoted 3 times
LeonSKanady
4 years, 5 months ago
2nd command edit: Set-NetNeighbor -InterfaceIndex 1 -IPAddress "10.10.1.6" -LinkLayerAddress "AA-BB-CC-DD-EE-FF"
upvoted 1 times
...
...
divexman
4 years, 6 months ago
The development and production network must be in two different physical networks, since having the same network range would produce IP duplication, therefore there would be IP conflicts and none of the networks would work well. Therefore, if they are in two different physical networks to access each one, a separate network card is required. With New-Netroute, we can force the network adapter to direct the connection to a specific IP.
upvoted 3 times
...
GenjamBhai
4 years, 7 months ago
Correct - Set-NetNeighbor -InterfaceIndex 1 -IPAddress "10.10.1.6" -LinkLayerAddress "AA-BB-CC-DD-EE-FF" = sets the MAC address for the dest IP. Not New-Neighbor as neighbor relationship (IP-MAC mapping) already exists and points to production device's MAC, this needs to be changed. Not New-NetRoute as routing is done based on IP but dest IP is same for both dev and prod devices. Route already exists as client can reach prod device.
upvoted 4 times
[Removed]
4 years, 7 months ago
The route that exists is incorrect though, that is why you have to create a new route with the correct information.
upvoted 1 times
...
...
lbs
4 years, 8 months ago
I think the answer is Set-NetNeighbor bcos it addresses the issue of the same IP address 10.10.1.6 but different physical device ie. MAC address
upvoted 4 times
...
sdjam
4 years, 9 months ago
I'm pretty sure the good answer is " Set-NetNeighbor" because the scenario says that they have 3 subnets without any different gateway mentionned. Without a different gateway, we can specify a different route for the same subnet to the same gateway So, the better answer with this problem with these informations is to set the neighbor
upvoted 1 times
sdjam
4 years, 9 months ago
Typo correction : Without a different gateway, we CAN'T specify a different route for the same subnet to the same gateway So, the better answer with this problem with these informations is to set the neighbor
upvoted 2 times
sdjam
4 years, 9 months ago
Plus, they're not talk about a Network to redirect, the guy need to have only one adress to redirect.
upvoted 2 times
minimalist
3 years, 11 months ago
there are 3 subnets, so to communicate between them, routing is involved. B should be the answer. it's a routing issue here. How could hosts on these 3 subnets communicate without a router/gateway ?
upvoted 1 times
...
...
...
...
Nhan
4 years, 10 months ago
The New-NetRoute cmdlet creates an IP route in the IP routing table.Specify the destination prefix, and specify an interface by using the interface alias or the interface index.IP routing is the process of forwarding a packet based on the destination IP address. the answer is correct New-netroute
upvoted 2 times
...
Nhan
4 years, 10 months ago
PS C:\>New-NetRoute -DestinationPrefix "10.0.0.0/24" -InterfaceIndex 12 -NextHop 192.168.0.1 PS C:\>Get-NetRoute | Format-List -Property * The answer seems correct
upvoted 1 times
...
Ameer
5 years ago
I Agree... the answer should be B.New-NetRoute
upvoted 2 times
...
TMW
5 years, 6 months ago
If he could not connect at all, that would be a clue that the route is missing. He connects to a different computer? same address?
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago