Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam CSCP All Questions

View all questions & answers for the CSCP exam

Exam AZ-104 topic 5 question 93 discussion

Actual exam question from APICS's CSCP
Question #: 93
Topic #: 1
[All CSCP Questions]

HOTSPOT -
You have the Azure virtual machines shown in the following table.

VNET1, VNET2, and VNET3 are peered.

VNET1 and VNET2 are linked to an Azure private DNS zone named contoso.com that contains the records shown in the following table.

The virtual networks are configured to use the DNS servers shown in the following table.

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 -
VM1 is in VNET1. In VNET1 Server1 resolves to 131.107.3.3


Box 2: No -
VM2 is in VNET2. VNET2 uses custom DNS server 192.168.05
Box 3: Yes

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
randy0077
Highly Voted 2 years, 2 months ago
Hi Admin, This looks like incomplete question or something is missing. Could you please correct this and add more discussion?
upvoted 80 times
ivan0590
1 year, 6 months ago
With some deduction, you can complete the question yourself. The IP of VM4 is used as custom DNS in VNET2 and VNET3. Therefore, VM4 is a DNS server. The table shown after ‘VNET1, VNET2, and VNET3 are peered’ is just displaying the records for the custom DNS server. So, some VMs use the private Azure DNS Zone and others use the custom DNS server. And both DNSs have server1 and server2 records. Knowing all that, you can now figure out what IP will be resolved in each case.
upvoted 8 times
...
...
spike15_mk
Highly Voted 1 year, 11 months ago
CORRECT ANSWER YES NO YES YES -For VM1,server1.contoso.com resolves to 131.107.3.3 VM1 is connected to VNET1 which has Default(Azure-Provided) DNS Server and linked to Azure Private DNS Server contoso.com (131.107.3.3 and 131.107.3.4 DNS Servers). That means VM1 has these 2 DNS servers for resloving. DNS Servers for VNET1 server1.contoso.com = 131.107.3.3 server2.contoso.com = 131.107.3.4 NO-For VM2,server1.contoso.com resolves to 131.107.3.3 VM2 belongs to VNET2 has Custom DNS:192.168.0.5 IP of VM4 ( not takes from dedault Azure: the server1.contoso.com = 131.107.3.4 and server2.contoso.com = 131.107.3.4) -NO VM2 will resolve from VM4 (DNS Server1.contoso.com=131.107.2.3 and Server2.contoso.com=131.107.2.4) YES- For VM3,server2.contoso.com resolves to 131.107.2.4 VM3 belongs to VNET3 has Custom DNS:192.168.0.5 IP of VM4 ( not takes from default Azure: the server1.contoso.com = 131.107.3.4 and server2.contoso.com = 131.107.3.4) VM3 will resolve from VM4 (DNS Server1.contoso.com=131.107.2.3 and Server2.contoso.com=131.107.2.4)
upvoted 56 times
Brockssn
1 year, 7 months ago
Y, Y, Y. VM2 is resolving a FQDN of server 1. The vnet DNS does not state it is contoso.com, so therefore resolving the FQDN would resolve correctly.
upvoted 3 times
...
Benzitho
1 year, 6 months ago
Sport On .. Well done
upvoted 2 times
...
...
damnboy
Most Recent 5 months, 1 week ago
YNN You are assuming that VM4 has DNS Role and it has the "contoso.com" zone, they are not saying nothing about this.
upvoted 2 times
...
tashakori
8 months, 1 week ago
Yes Yes Yes
upvoted 2 times
...
AAlmani
9 months, 1 week ago
Yes Yes No We have two DNS service providers here: 1-Private DNS has (server1.contoso.com & server2.contoso.com) and linked to VNET1 and VNET2, 2- Local DNS on VM4 in VNET3, that has no records in the provided exhibit YES: VM1 in Vnet1: resolve DNS names of server1 through the "private DNS" which has it's IP YES: VM2 in Vnet2: resolve DNS names of server1 through the "private DNS" which has it's IP NO: VM3 in Vnet3: CAN'T resolve DNS names of server2 through the "private DNS" , cause it will talk to DNS service on VM4 which has no record for the requested server
upvoted 3 times
...
MoOshin
10 months, 3 weeks ago
YNN VM2 and VM3 are both using the same DNS, and that DNS server is in VNET3 that cannot resolve the private DNS zone.
upvoted 2 times
...
chair123
1 year, 1 month ago
Fudge this, I think its YYN Any solid answer here?
upvoted 3 times
chair123
1 year, 1 month ago
No table for vm4 DNS to confirm. However, Vnet can have more than resolver So 1 Y and 2 is Y 3 is No cuz Vent 3 not linked to private zone only 1 and 2. Anyone can confirm with lab?
upvoted 1 times
...
postuond
9 months, 3 weeks ago
I think that question has changed.
upvoted 1 times
...
...
RandomNickname
1 year, 5 months ago
Agree with Y,Y,Y and best explained by Trevor_VT See; https://learn.microsoft.com/en-us/azure/dns/private-dns-virtual-network-links "If you choose to link your virtual network with the private DNS zone without autoregistration, the virtual network is treated as a resolution virtual network only. DNS records for virtual machines deployed this virtual network won't be created automatically in the private zone. However, virtual machines deployed in the virtual network can successfully query for DNS records in the private zone. These records include manually created and auto registered records from other virtual networks linked to the private DNS zone. One private DNS zone can have multiple resolution virtual networks and a virtual network can have multiple resolution zones associated to it."
upvoted 4 times
...
Rams_84zO6n
1 year, 8 months ago
Two Observations from given information: - [ ] VNET1 has default DNS server so it will be resolved by the private zone. - [ ] VNET2 and VNET3 has DNS servers listed to IP address of VM4, which is in VNET3. So VMs on VNET2 and VNET3 will be resolved by the DNS server in VM4. Based on those observations: - [ ] Yes - Is VM1 resolved by private zone? Yes. So it resolves name to 137.107.3.3 - [ ] No - Is VM2 also resolve by private zone? No, It is resolved by VM4. Why? VM2 in VNET2. VNET2 has DNS server that points to VM4, which is in VNET3. So VM2 uses dns zone in VM4 to resolve the name. - [ ] Yes - Is VM3 resolved by dns zone in VM4? Yes. VM3 in VNET3. VNET3 has DNS server that points to VM4. So it will resolve name to IP address 131.107.2.4
upvoted 4 times
...
Trevor_VT
1 year, 8 months ago
This is one of the several questions asking which one has higher priority - the (custom) DNS bound to a VNET or the private DNS zone linked to the same VNET. According to my test (and also the answer from chatGPT), the private DNS zone has priority. It is the only one which is used if the request is going to a domain hosted by the private DNS zone. If the request is going to a domain which is not in the provate DNS zone, then the default or custom DNS for the VNET is used. Based on this, the answers are Y-Y-Y Why - because both VM1 and VM2 are linked to the private DNS zone, where we have the record for server1.contoso.com -> 131.107.3.3 Also, asuming that the missing explanation of the second table says "VM4 is DNS server and it has the following records", and VM3 points to this DNS server, it will see and resolve the server2.contoso.com -> 131.107.2.4. Note that VNET3 (where VM3 is) is not linked to the private DNS zone.
upvoted 18 times
Batiste2023
1 year ago
I don't know how you tested this, I do know, though, that ChatGPT is not to be trusted (yet) with answering these questions. One thing is certain, your take on this is wrong, custom defined DNS servers do take priority over VNET zone links: "Private DNS zones linked to a VNet are queried first when using the default DNS settings of a VNet. Azure provided DNS servers are queried next. However, if a custom DNS server is defined in a VNet, then private DNS zones linked to that VNet are not automatically queried, because the custom settings override the name resolution order." (https://learn.microsoft.com/en-us/azure/dns/private-dns-privatednszone#private-dns-zone-resolution)
upvoted 5 times
...
Zemar
1 year, 8 months ago
I am betting on your explanation as it makes good sense. Thanks for this
upvoted 5 times
...
...
msingh20
1 year, 8 months ago
Im assuming we are missing a line above the table saying "VM4 is a DNS server that contains the following records". If that is the case the answer is YNY Server 1 , A , 131.107.2.3 Server 2 , A, 131.107.2.3
upvoted 4 times
...
curtmcgirt
1 year, 9 months ago
i think this question has been edited. vnet1 uses azure dns. vnet2-3 use 192.168.0.5 vm4 for dns (which we can assume is what the unlabeled 2nd table contains). all vnets are peered so all could use 192.168.0.5 vm4 dns if they wanted. . vm1 is in vnet1, so vm1 uses azure dns. vm2-4 are in vnet3, so vm2-4 use 192.168.0.5 vm4 dns. . yes, vm1 resolves 'server1' to the 3.3 address via azure dns. no, vm2 resolves 'server1' to the 2.3 address via 192.168.0.5 vm4 dns. (not 3.3 via azure dns) yes, vm3 resolves 'server2' to the 2.4 address via 192.168.0.5 vm4 dns.
upvoted 4 times
...
zellck
1 year, 9 months ago
YNY is the answer. 1. Resolved using Azure Private DNS. 2. Resolved using custom DNS server. 3. Resolved using custom DNS server.
upvoted 6 times
shadad
1 year, 9 months ago
You mean YNN if 2 and 3 can resolve the custom DNS then both should have the same answer NN
upvoted 3 times
curtmcgirt
1 year, 9 months ago
in the question, the ip addresses resolved are different for the "from vm2" and "from vm3" parts. that's why vm2 is N and vm3 is Y.
upvoted 2 times
shadad
1 year, 9 months ago
holly! how did i miss this part? now i see this and it is resolve the table above it :( you are right YNY.
upvoted 1 times
...
...
...
...
dagomo
1 year, 10 months ago
Hello guys, the answer should be YNN. Explanation: When you set custom DNS servers you are specifying the list of DNS servers to be given to VMs via DHCP, which means they will not be querying the Azure private DNS. https://learn.microsoft.com/en-us/answers/questions/1150496/private-dns-vs-custom-dns-for-one-vnet
upvoted 4 times
picho707
1 year, 5 months ago
You are correct. The information in question does not say anything about the custom DNS servers being setup as forwarders of the Azure private DNS zone either. This should be Y/N/N.
upvoted 2 times
...
RougePotatoe
1 year, 9 months ago
There are 3 questions which question is your statement an answer to? VM2/3 (vNet 3/4) both use VM4 as the DNS server. VM4's DNS entries are: server1: 131.107.2.3 doesn't match question 2 server2: 131.107.2.4 match question 3
upvoted 1 times
...
...
jp_mcgee
2 years ago
After: "VNET1, VNET2, and VNET3 are peered." Missing Line: "VM4 has a DNS server that is authoritative for a zone named Contoso.com and contains the records shown in the following table."
upvoted 17 times
...
mung
2 years ago
They are all peered so i guess YYY?
upvoted 2 times
...
klexams
2 years ago
who can find the official link on which DNS takes precedence: vnet linked DNS or vnet DNS? anyhow this is incomplete question but im gonna assume 192.168.0.5 is the DNS for the 131.107.2.0 records. so answer is Y = VM1 > VNET1 > Azure priv DNS > server1 is 131.107.3.3 Y = VM2 > VNET2 > Azure priv DNS and Custom DNS > I'm gonna say Azure priv will resolve this because of contoso.com,192.168.0.5 does not have contoso.com zone > server1 is 131.107.3.3 N = VM3 > VNET3 > Custom DNS > server2 is 131.107.3.4 for the same reason as above.
upvoted 6 times
SandCloud
1 year, 7 months ago
this is the right anwser, custom dns override
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 ...