QuestionQ146

VerifiedImplement and manage virtual networking

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

Question Image

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

Question Image

You need to ping VM2 from VM1.

Which DNS names can you use to ping VM2?

Explanation

Only an address record that supports forward name resolution to 10.0.0.5 can be used to reach VM2 by name. In Azure Private DNS, an A record maps a name to an IPv4 address, so comp2.contoso.com resolves to VM2. A TXT record does not provide an IP address, a CNAME is usable only if it ultimately points to a resolvable address record, and a PTR record is for reverse lookups rather than resolving a host name to an IP address. Because comp3 points to comp1, which is a TXT record, and comp4 is PTR-only, neither can be used to ping VM2.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!