exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 5 question 48 discussion

Actual exam question from Microsoft's AZ-104
Question #: 48
Topic #: 5
[All AZ-104 Questions]

HOTSPOT -
You have an Azure subscription that contains the Azure virtual machines shown in the following table.

You configure the network interfaces of the virtual machines to use the settings shown in the following table.

From the settings of VNET1 you configure the DNS servers shown in the following exhibit.

The virtual machines can successfully connect to the DNS server that has an IP address of 192.168.10.15 and the DNS server that has an IP address of
193.77.134.10.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Yes -
You can specify DNS server IP addresses in the VNet settings. The setting is applied as the default DNS server(s) for all VMs in the VNet.

Box 2: No -
You can set DNS servers per VM or cloud service to override the default network settings.

Box 3: Yes -
You can set DNS servers per VM or cloud service to override the default network settings.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq#name-resolution-dns

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
mlantonis
Highly Voted 3 years, 9 months ago
Correct Answer: NIC configured DNS servers takes precedence over VNET configured DNS servers. Box 1: Yes VM1 uses the VNET configured DNS 193.77.134.10. You can specify DNS server IP addresses in the VNet settings. The setting is applied as the default DNS server(s) for all VMs in the VNet. The DNS is set on the VNET level. Box 2: No VM2 uses the NIC configured DNS 192.168.10.15. You can set DNS servers per VM or cloud service to override the default network settings. This VM has 192.168.10.5 set as DNS server, so it overrides the default DNS set on VNET1. Box 3: Yes VM3 uses the NIC configured DNS 192.168.10.15 You can set DNS servers per VM or cloud service to override the default network settings. This VM has 192.168.10.5 set as DNS server, so it overrides the default DNS set on VNET1.
upvoted 157 times
Kent_020
3 years, 3 months ago
Where did you get the '192.168.10.5' from the info given? ---------------- VM1 uses the VNET configured DNS 193.77.134.10 VM2 uses the NIC configured DNS 192.168.10.15 VM3 uses the NIC configured DNS 192.168.10.15
upvoted 4 times
odisor
3 years ago
Both VMs have 192.168.10.15 assigned to their NICs
upvoted 2 times
...
...
Voldemort
3 years, 5 months ago
Great Explanation Buddy!
upvoted 8 times
...
lisley
2 years, 3 months ago
why are Box 2 and 3 different (Yes and No) but with the same explanation?
upvoted 9 times
Muffay
2 years, 1 month ago
Because the IP addresses in the question are different ;)
upvoted 10 times
...
...
...
Alses1970
Highly Voted 3 years, 10 months ago
1. Yes - as per link the DNS is set on the VNET level 2. No - this VM has 192.168.10.5 set as DNS server so it overrides the default DNS set on VNET1 3. Yes - this VM has 192.168.10.5 set as DNS server so it overrides the default DNS set on VNET1
upvoted 31 times
...
GuessWhoops
Most Recent 3 months, 3 weeks ago
It seems to be the case, but in real life, when I change the Primary DNS server in its NIC properties (ncpa.cpl) the machine got unresponsive and I needed to setup again to default in the portal to reestabilish it.
upvoted 1 times
...
[Removed]
5 months, 1 week ago
CORRECT Yes, None, Default DNS Srver No Yes
upvoted 2 times
...
Ni22
8 months, 3 weeks ago
similar question 6/13/24 on exam
upvoted 2 times
...
tashakori
11 months, 2 weeks ago
Given answer is correct
upvoted 1 times
...
RandomNickname
1 year, 8 months ago
Agree with Y,N,Y As far as I can find, if NIC on VM set to auto will distribute the vnet IP and scope including vnets DNS. If set as custom on the VM this will override and be prefered. https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq#can-i-override-my-dns-settings-on-a-per-vm-or-cloud-service-basis
upvoted 2 times
...
vbohr899
2 years ago
Cleared Exam today 26 Feb, This question was there in exam.
upvoted 2 times
...
GBAU
2 years ago
Here is my problem with this question. It is not possible to set a NICs DNS to "None". The question is invalid. It is either set to "Inherit from virtual network" or "Custom", in which case you must provide a DNS Server address. I think they wanted to test your knowledge on default DNS assignments for a NIC but couldn't bring themselves to basically put the answer to part of the question in the question as that is the way the option is worded in the portal, so they throw a "None" in. VERY POOR, it should be "Default Setting" or "Unchanged".
upvoted 1 times
GBAU
2 years ago
PS: From my experience trying to set DNS servers using the VMs internal DNS setting can seriously screw up your VM and prevent it from getting network access. You have to change the DNS settings in Azure to reset them back to Azure managed (DHCP locally on host) to fix.
upvoted 1 times
...
...
Mat_m0381
2 years, 5 months ago
The answer is YNY Others comment is correct, please find the link below https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq#can-i-override-my-dns-settings-on-a-per-vm-or-cloud-service-basis
upvoted 1 times
...
EmnCours
2 years, 6 months ago
answer y/n/y
upvoted 1 times
...
minix
2 years, 8 months ago
came in today's exam 25/6/2022
upvoted 2 times
...
Lazylinux
2 years, 8 months ago
YES NO YES as per others comments
upvoted 1 times
...
TtotheA2021
3 years ago
Common guys thi question is so easy. you have too look right to the DNS, see explanation MLANTONIS he is 100% correct. most of you are confusing on the NIC and DNS, the dns ip of vm2 192.168.10.15 overrules custom ip. YNY
upvoted 2 times
...
pappkarcsiii
3 years ago
VM1 uses the VNET configured DNS 193.77.134.10 VM2 uses the NIC configured DNS 192.168.10.15 VM3 uses the NIC configured DNS 192.168.10.15
upvoted 2 times
...
areza
3 years, 2 months ago
passed 902. in exam 29.12.21 - answer y/n/y
upvoted 4 times
...
ScoutP
3 years, 5 months ago
This question was asked on exam taken on Sept 30, 2021
upvoted 2 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