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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AZ-104 topic 5 question 82 discussion

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

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

VNET1 is linked to a private DNS zone named contoso.com that contains the records shown in the following table.

You need to ping VM2 from VM1.
Which DNS names can you use to ping VM2?

  • A. comp2.contoso.com and comp4.contoso.com only
  • B. comp1.contoso.com, comp2.contoso.com, comp3.contoso.com, and comp4.contoso.com
  • C. comp2.contoso.com only
  • D. comp1.contoso.com and comp2.contoso.com only
  • E. comp1.contoso.com, comp2.contoso.com, and comp4.contoso.com only
Show Suggested Answer Hide Answer
Suggested Answer: B ūüó≥ÔłŹ
Reference:
https://medium.com/azure-architects/exploring-azure-private-dns-be65de08f780 https://simpledns.plus/help/dns-record-types

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Quantigo
Highly Voted 2 years, 2 months ago
Correct Answer C: comp2.contoso.com only A record: Is used to map a DNS/domain name to an IP Ref:https://www.cloudflare.com/learning/dns/dns-records/dns-a-record/ TXT records in a lot of cases get used to prove ownership of a domain, it has other purposes too. Reference: https://support.google.com/a/answer/2716800?hl=en#:~:text=TXT%20records%20are%20a%20type,and%20to%20ensure%20email%20security. PTR: A Reverse DNS lookup is used by remote hosts to determine who 'owns' an IP address. Reference: https://www.mailenable.com/kb/content/article.asp?ID=ME020206 CNAME records get used to redirect a DNS name or subdomain name to another DNS name or domain name or subdomain name. reference: https://support.dnsimple.com/articles/cname-record/ It would do good to read up on DNS record types and what they are used for, you will be lost if you don't have a basic understanding of it. https://ns1.com/resources/dns-types-records-servers-and-queries DNS is a key component In the IT field. I hope this info will help.
upvoted 106 times
Takloy
2 years ago
So agree man! you just reminded me to review DNS and DNS alone.
upvoted 4 times
...
...
slimshady
Highly Voted 2 years, 2 months ago
tested this, i say it is C - comp2.contoso.com ONLY. i created each of the records in my Azure DNS zone, a TXT record is not resolvable, an A record is resolvable, the CNAME is pointing to comp1 which again is not resolvable, and the PTR record should be an IP to a name, when i created the PTR record it wanted me to enter a domain name eg. contoso.com, not an IP address but i put the IP address in anyway, and it did not resolve. So i say it is C - comp2 ONLY
upvoted 35 times
AZ_Guru_Wannabe
1 year, 9 months ago
good testing thx
upvoted 2 times
...
...
friendlyvlad
Most Recent 6 months, 2 weeks ago
C must be correct. When you ping an IP address, the DNS resolver is not involved. The rest of the choices will require the DNS resolver. BTW the PTR record is wrong. Its value must be domain and not IP.
upvoted 3 times
...
habbey
7 months, 2 weeks ago
anybody know why we cant use comp3 ?
upvoted 1 times
Batiste2023
1 month, 1 week ago
Comp3 is a CNAME for Comp1 - which refers to a TXT record. TXT records are not for name resolution. So neither, Comp1 and Comp3, do not translate to the right IP address, 10.0.0.5. And that's what the the DNS name that we're looking for here is supposed to do. C is the right answer.
upvoted 2 times
...
...
Rams_84zO6n
8 months, 2 weeks ago
Selected Answer: C
A record resolves ip address 10.0.0.5 to comp2.contoso.com. The only other name we could find is a alias name (CNAME) record. But there is no CNAME entries listed for comp2 so C is the answer
upvoted 1 times
...
zellck
10 months ago
Selected Answer: C
C is the answer. https://learn.microsoft.com/en-us/azure/dns/dns-zones-records#record-types Each DNS record has a name and a type. Records are organized into various types according to the data they contain. The most common type is an 'A' record, which maps a name to an IPv4 address.
upvoted 5 times
zellck
9 months, 3 weeks ago
Got this in Feb 2023 exam.
upvoted 10 times
SunilSenthil
1 month, 3 weeks ago
and what did you answer? did you get it right?
upvoted 1 times
...
...
...
GBAU
10 months ago
You can't ping a txt record even if the text in the record is formatted as an IP address Pinging a CNAME that points to a text record has the same result. You can't ping a PTR record Basically you can only ping an A record or a CNAME pointing to an A record (ignoring IP6)
upvoted 3 times
...
typales2005
11 months ago
Selected Answer: C
Was in the 09/01/2023 exam
upvoted 4 times
...
Pear7777
12 months ago
Correct answer schould be Comp2.contoso.com AND Comp3.contoso,com, because comp in the end also resolves to wanted IP. but that aswwr is not there, so only C
upvoted 2 times
andi_y
12 months ago
This is not correct. COMP3.contoso.oom redirects to COMP1.contoso.com BUT COMP1.contoso.com is a TXT RECORD and so not pingable. So the only correct answer is C (COMP2.contoso.com)
upvoted 2 times
...
...
klexams
1 year, 1 month ago
C. comp2 only. A record resolves fwd lookup.
upvoted 1 times
...
sesky
1 year, 1 month ago
Who creates these sorts of answers? Can't get any more wrong!
upvoted 2 times
...
dc2k79
1 year, 1 month ago
C Comp 1 - TXT - it's just a text record used for domain validation, and is not used for resolving address Comp2 - A Record - the actual record for IPv4-to-Domain resolution (others are CNAME and AAAA). Comp 3 - CNAME - This is CNAMing to another computer and not Comp2 Comp4 - PTR - this record does not resolve to an IP. It resolves to a domain name. Only correct choice is 'C'
upvoted 2 times
...
crazyrobban
1 year, 1 month ago
Selected Answer: C
So many people saying B? The question clearly states what you can -ping- VM2 with. Answer is C.
upvoted 1 times
...
LUISCA2021
1 year, 1 month ago
Selected Answer: B
nslookup working in any DNS
upvoted 1 times
...
LUISCA2021
1 year, 1 month ago
The correct option is B. nslookup working in all DNS , this question in the exam 20 oct 22.
upvoted 1 times
curtmcgirt
9 months, 3 weeks ago
who said anything about nslookup? the question says "ping," so the txt and ptr records, and a cname pointing at a txt record, don't do us any good.
upvoted 1 times
...
...
EmnCours
1 year, 3 months ago
Selected Answer: C
Correct Answer: C
upvoted 1 times
...
EleChie
1 year, 3 months ago
You can lookup for any DNS records by using command line cmd: 1. nslookup -q=ptr google.com "PTR record" 2. nslookup -q=a google.com "A record" "IP address" 3. nslookup -q=mx google.com "Mail exchange record " 4. nslookup -q=cname google.com "Alias name" 5. nslookup -q=txt google.com "info" 6. nslookup -q=ns google.com "Identify DNS servers" 7. nslookup -q=dchid google.com "Inormation related to DHCP"
upvoted 4 times
curtmcgirt
9 months, 3 weeks ago
now do 'ping' like the question says.
upvoted 1 times
...
Hyrydar
1 year, 1 month ago
Your point being!!
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 ...