exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

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: C 🗳️

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
Quantigo
Highly Voted 3 years, 3 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 128 times
Takloy
3 years, 1 month ago
So agree man! you just reminded me to review DNS and DNS alone.
upvoted 5 times
...
...
slimshady
Highly Voted 3 years, 3 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 41 times
AZ_Guru_Wannabe
2 years, 11 months ago
good testing thx
upvoted 3 times
...
...
SeMo0o0o0o
Most Recent 3 months, 2 weeks ago
Selected Answer: C
it´s C
upvoted 1 times
...
Jo696
3 months, 4 weeks ago
'I need to ping a VM, I know, I will just consult the DNS records to find out how to do that!' Honestly!! These Questions!!!!! (got to be the most frustrating exam I have done so far!)
upvoted 1 times
...
23169fd
7 months, 1 week ago
C is correct. comp1.contoso.com: TXT record (TXT records are not used for pinging). comp2.contoso.com: A record (A records can be used for pinging, resolves to 10.0.0.5 which is VM2's IP). comp3.contoso.com: CNAME record (CNAME can be used for pinging, points to comp1.contoso.com). comp4.contoso.com: PTR record (PTR records are used for reverse DNS lookups, typically not used for pinging).
upvoted 3 times
...
tashakori
10 months ago
C is right
upvoted 1 times
...
friendlyvlad
1 year, 7 months 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
1 year, 8 months ago
anybody know why we cant use comp3 ?
upvoted 1 times
Batiste2023
1 year, 2 months 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 5 times
...
...
Rams_84zO6n
1 year, 9 months 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 2 times
...
zellck
1 year, 11 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 6 times
zellck
1 year, 11 months ago
Got this in Feb 2023 exam.
upvoted 11 times
SunilSenthil
1 year, 3 months ago
and what did you answer? did you get it right?
upvoted 1 times
...
...
...
GBAU
1 year, 11 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
2 years ago
Selected Answer: C
Was in the 09/01/2023 exam
upvoted 5 times
...
Pear7777
2 years, 1 month 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
2 years, 1 month 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
2 years, 2 months ago
C. comp2 only. A record resolves fwd lookup.
upvoted 1 times
...
sesky
2 years, 2 months ago
Who creates these sorts of answers? Can't get any more wrong!
upvoted 2 times
...
dc2k79
2 years, 2 months 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
2 years, 2 months 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
...
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