exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 5 question 94 discussion

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

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

You create the Azure DNS zones shown in the following table.

You perform the following actions:
✑ ׀¢׀¾ fabrikam.com, you add a virtual network link to vnet1 and enable auto registration.
✑ For contoso.com, you assign vm1 and vm2 the Owner role.
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 -
The DNS zone uses the Public IP address of vm1.

Box 2: Yes -
Fabrikam.com is a Private DNS zone. The private IP address is used.
Note: The Azure DNS private zones auto registration feature manages DNS records for virtual machines deployed in a virtual network. When you link a virtual network with a private DNS zone with this setting enabled, a DNS record gets created for each virtual machine deployed in the virtual network.
For each virtual machine, an A record and a PTR record are created. DNS records for newly deployed virtual machines are also automatically created in the linked private DNS zone.
Note: If you use Azure Provided DNS then appropriate DNS suffix will be automatically applied to your virtual machines. For all other options you must either use
Fully Qualified Domain Names (FQDN) or manually apply appropriate DNS suffix to your virtual machines.

Box 3: Yes -
Reference:
https://docs.microsoft.com/en-us/azure/dns/dns-zones-records
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances

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
RichardBill
Highly Voted 2 years, 6 months ago
N Y Y? Only private AZ DNS Zones can use auto registration. The set DNS search suffix in the client changes nothing about that https://docs.microsoft.com/en-us/azure/dns/private-dns-autoregistration
upvoted 81 times
skate_grizzly_123
1 year, 5 months ago
A virtual machine with a DNS suffix configured in Windows will register its DNS record to the private DNS zone. However, the Azure DHCP service ignores any DNS suffix when it registers the private DNS zone. For example, if your virtual machine is configured for 'contoso.com' as the primary DNS suffix, but the virtual network is linked to the 'fabrikam.com' private DNS zone, the virtual machine's registration appears in the 'fabrikam.com' private DNS zone.
upvoted 6 times
...
qwerty100
2 years, 6 months ago
I agree whit you
upvoted 6 times
...
...
klexams
Highly Voted 2 years, 4 months ago
N = none of the actions in question added the VM1 record to contoso.com dns Y = vnet1 is linked and auto-rego is enabled, records get added automatically. Y = vnet1 is linked and auto-rego is enabled, records get added automatically.
upvoted 28 times
...
[Removed]
Most Recent 5 months ago
WRONG No Yes Yes ..
upvoted 4 times
[Removed]
4 months, 1 week ago
auto registration = private IP addresses
upvoted 3 times
...
...
[Removed]
5 months, 1 week ago
WRONG No Yes Yes
upvoted 1 times
...
Amir1909
11 months, 2 weeks ago
No Yes Yes
upvoted 2 times
...
vroh
1 year, 5 months ago
Got this in exam
upvoted 6 times
...
profesorklaus
1 year, 5 months ago
I checked it in my subscription. N-Y-Y. No record added to contoso. Two records added to fabricam.
upvoted 3 times
...
conip
1 year, 6 months ago
can we assume that VMs were up already? if YES - then auto-registration wouldn't work so it would be NO NO NO - IMHO
upvoted 1 times
...
Josete1106
1 year, 7 months ago
N Y Y is correct!
upvoted 2 times
...
RandomNickname
1 year, 8 months ago
N,Y,Y Public DNS can't auto register only private dns zone.
upvoted 2 times
...
FasterN8
1 year, 11 months ago
I'm trying to figure out the effects of VM1 and VM2 being owner of contoso.com. Wouldn't that automatically add them to the DNS zone? Maybe as a SRV record and not an A record though...
upvoted 1 times
...
zellck
2 years ago
NYY is the answer. https://learn.microsoft.com/en-us/azure/dns/private-dns-autoregistration
upvoted 5 times
...
dc2k79
2 years, 4 months ago
No/Yes/Yes
upvoted 3 times
...
atspace
2 years, 4 months ago
N - Public Ips wont auto register DNS Y - Auto registration is enabled N - Linux won't do auto registration
upvoted 9 times
moshos
2 years, 1 month ago
Where has it been stated that Linux does not support auto-registration? According to this link there the restrictions don't include OS type: https://learn.microsoft.com/en-us/azure/dns/private-dns-autoregistration
upvoted 2 times
...
crazyrobban
2 years, 4 months ago
Good catch with the Linux VM. This is the correct answer.
upvoted 1 times
Al007
2 years, 4 months ago
Checked in lab environment - Linus does auto register
upvoted 14 times
...
...
[Removed]
2 years, 4 months ago
Linux does auto register.
upvoted 7 times
...
Slimus
1 year, 10 months ago
The MS doc doesn't say anything about Linux VMs anymore, just... The Azure DNS private zones auto registration feature manages DNS records for virtual machines deployed in a virtual network.
upvoted 2 times
...
...
adrianspa
2 years, 4 months ago
NYY. Adding a VM with the OWNER role does not change anything in the name resolution process
upvoted 4 times
...
awssecuritynewbie
2 years, 5 months ago
so the contoso.com is public DNS and you cannot auto registration. but it just says if it would have the record but it does it has that value in the box at the top right?
upvoted 1 times
...
JoeGV
2 years, 5 months ago
DNS records are created automatically only for the primary virtual machine NIC. If your virtual machines have more than one NIC, you can manually create the DNS records for other network interfaces. DNS records are created automatically only if the primary virtual machine NIC is using DHCP. If you're using static IPs, such as a configuration with multiple IP addresses in Azure, auto registration doesn't create records for that virtual machine. Answer should be YNN Based on the above restrictions.
upvoted 1 times
mung
2 years, 3 months ago
Did the question mentioned anything about static? No it doesn't. Don't go too deep
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago