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.
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
'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!)
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).
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.
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.
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
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.
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)
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
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)
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'
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.
Quantigo
Highly Voted 3 years, 3 months agoTakloy
3 years, 1 month agoslimshady
Highly Voted 3 years, 3 months agoAZ_Guru_Wannabe
2 years, 11 months agoSeMo0o0o0o
Most Recent 3 months, 2 weeks agoJo696
3 months, 4 weeks ago23169fd
7 months, 1 week agotashakori
10 months agofriendlyvlad
1 year, 7 months agohabbey
1 year, 8 months agoBatiste2023
1 year, 2 months agoRams_84zO6n
1 year, 9 months agozellck
1 year, 11 months agozellck
1 year, 11 months agoSunilSenthil
1 year, 3 months agoGBAU
1 year, 11 months agotypales2005
2 years agoPear7777
2 years, 1 month agoandi_y
2 years, 1 month agoklexams
2 years, 2 months agosesky
2 years, 2 months agodc2k79
2 years, 2 months agocrazyrobban
2 years, 2 months ago