exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 5 question 107 discussion

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

HOTSPOT
-

Your network contains an on-premises Active Directory Domain Services (AD DS) domain named contoso.com. The domain contains the servers shown in the following table.



You plan to migrate contoso.com to Azure.

You create an Azure virtual network named VNET1 that has the following settings:

• Address space: 10.0.0.0/16
• Subnet:
o Name: Subnet1
o IPv4: 10.0.1.0/24

You need to move DC1 to VNET1. The solution must ensure that the member servers in contoso.com can resolve AD DS DNS names.

How should you configure DC1? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
tunaparker
Highly Voted 2 years, 1 month ago
I think the answers should be: 1) Obtain an IP address automatically The first 4 IP addresses within a subnet space are getting reserved for Azure automatically. Thus, 10.0.1.3 can't be the right answer. 10.0.2.1 is in the VNET space but falls out of the subnet space. 192.168.2.1 is just out of the VNET. 2) Configure VNET1 to use a custom DNS server This VNET1 should use our pre-created DNS server as its DNS server so tahat the member servers in contoso.com can resolve AD DS DNS names. Pls do not hesitate to correct me if I am wrong :)
upvoted 67 times
Megabyte10
3 months, 3 weeks ago
This is the only right answer, you cant use 10.0.1.3, so thus it must be automatic ip address assignment.
upvoted 1 times
...
Brzzzzz4489
6 months, 3 weeks ago
As somone with a CCNA, this just sounds wrong to me.
upvoted 1 times
bpal
1 week, 1 day ago
Microsoft reserves the first 3 usable IPs in a subnet so in these options last octet would have to be 4 or higher number. Out of the possible answer selection it would have to be Obtain an IP address automatically Fun Stuff.
upvoted 1 times
...
kam1122
3 months ago
OK, so as someone with a CCNA, what's your answer ?
upvoted 7 times
...
...
TechThameem
8 months, 3 weeks ago
IP address: Obtain an IP address automatically - In Azure, when a VM is set to obtain an IP address automatically, it gets a dynamic IP address from the Azure DHCP server. While this works fine for many scenarios, it’s not ideal for a domain controller. Domain controllers, like DC, are typically assigned a static IP address. This is because other devices and services in the network are configured to use the domain controller for DNS and other services, and they do this by referring to its IP address. If the IP address changes (which can happen with dynamic IP addresses), these services can fail. Therefore, it’s recommended to use a static IP address for DC1, such as 10.0.1.3, which falls within the address space of VNET1.
upvoted 5 times
...
zellck
2 years ago
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances Azure DNS private zones is the preferred solution and gives you flexibility in managing your DNS zones and records.
upvoted 3 times
GBAU
2 years ago
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances#name-resolution-that-uses-your-own-dns-server VMs and role instances Your name resolution needs might go beyond the features provided by Azure. For example, you might need to use Microsoft Windows Server Active Directory domains, resolve DNS names between virtual networks. To cover these scenarios, Azure enables you to use your own DNS servers. Private DNS Zones do not support Active Directory Integration
upvoted 4 times
...
...
...
Phlogiston
Highly Voted 2 years ago
Another dumb correct response. The only correct responses appear to be to use a dynamic IP address and custom DNS. But, in the real world, you would never configure a DC to use a dynamic IP address. Imagine the chaos if it is rebooted and acquires a different IP address and the SRV records are possibly not updated, not to mention the fact that now the client DNS configurations are pointing to an incorrect DNS address and won't be able to resolve A and SRV records for the domain. Madness.
upvoted 29 times
josola
1 year, 2 months ago
But continuing with your line of thought. You can't use any of the static addresses given there. So the only option is to use automatic assignment.
upvoted 1 times
...
josola
1 year, 2 months ago
I agree with your thinking. You never setup DCs with a dynamic address for the reasons explained. Now because you're moving (no recreating it) the DC, which is already a DNS server then the second answer should be a custom DNS.
upvoted 1 times
...
...
Mitko_V_Milkov
Most Recent 1 month ago
Box 1: Nothing but obtain it automatically makes sense. Box 2: Use custom because nowhere it is stated that Azure knows somehow about Contoso.com . You need to make a custom DNS to point the VMs.
upvoted 1 times
...
[Removed]
4 months, 4 weeks ago
WRONG Obtain an IP address automatically Configure VNET1 to use a custom DNS server
upvoted 3 times
...
pasangawa
5 months, 3 weeks ago
box 1: obtain ip address automatically. -10.0.1.3 cant be used since it's a reserved IP address of azure. https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq - 10.0.2.1 is not a subnet defined, it didnt mention to create a new subnet. 10.0.2.1 does not belong to 10.0.1.x subnet - 192.168.2.1 is not even IP address range of VNET1 obtaining ip is the only possible choice here. box 2: configure VNET1 to use a custom DNS -AD DS DNS is expected to be on prem and not on azure. -all the provided solution is to use azure, so why not just use custom dns and point it to the AD DS DNS. having automatic IP doesnt mean you need DNS to be automatic too.
upvoted 1 times
...
alsmk2
6 months, 1 week ago
Dumb question is dumb. First answer is definitely automatic. Second answer could be custom DNS or Private DNS Zone. I suspect they're looking for custom DNS on the vnet as the answer, as that would require the least effort, but who tf knows what the thought was by the person who wrote this? Private DNS Zone is my preferred solution in the real world, but this isn't the real world and stupidity rules supreme.
upvoted 1 times
...
WeepingMaplte
9 months, 1 week ago
Answer is correct. For Box 1: Automatic is the only option due to the reserved IPs in subnets https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq#are-there-any-restrictions-on-using-ip-addresses-within-these-subnets For Box 2, because your domain controller is now using DHCP to obtain an IP address. It will be better to use Private DNS zone. Custom DNS Server requires static IP.
upvoted 5 times
...
Amir1909
11 months, 1 week ago
- Obtain an IP address automatically - Configure VNET1 to use a custom DNS server
upvoted 3 times
...
rnd3131
1 year, 1 month ago
correcting its 443, because azure/bastion takes care of the vm network side. as in if you don't block it with a specific rule it works.
upvoted 2 times
flamingo23
1 year ago
Are you still with the previous question? :) OK let's move on.
upvoted 8 times
...
...
josola
1 year, 2 months ago
The answer is wrong. 1. Ideally you should use a static address for a DC, but the ones given are reserved by Azure. So you can't use 10.0.1.3 because it's reserved in the subnet address space 10.0.1.0/24. Then the only option in that subnet is to use DHCP and use static assignment. https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq 2. Best approach will be to use a Private DNS zone, but the question is about moving the DC, which is already a DNS server. Then the answer is to configure the VNET to use a custom DNS server (the DC in this case).
upvoted 7 times
alsmk2
6 months, 1 week ago
For a pDNS zone to work you would need to do more than just add the zone. You'd need to create private dns resolvers, forwarders on the DC, and a few other steps too. We all know in the real world that this would be the best solution, but in this question none of those steps are referenced... therefore I still think the answer is set custom dns on the vnet.
upvoted 1 times
...
...
sardonique
1 year, 5 months ago
within the VM the IP configuration should be DHCP client. In the Azure Platform you can create a static IP assignment on the DHCP server, so that it will provide always the same IP. You normally do not want a DC to change IP!
upvoted 3 times
...
Josete1106
1 year, 7 months ago
A&A is correct! Obtain an IP address automatically Configure VNET1 to use a custom DNS server
upvoted 5 times
...
RandomNickname
1 year, 7 months ago
Single DC is very poor setup, but since the questions says "resolve AD DS DNS names" which appears to imply Active Directory Integration, which private zones doesn't support I'm going to say custom dns for Q2. ref: https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/dns-for-on-premises-and-azure-resources "If you need to use existing DNS infrastructure (for example, Active Directory integrated DNS), ensure that the DNS server role is deployed onto at least two VMs and configure DNS settings in virtual networks to use those custom DNS servers." Q1: 5 IP's in subnet are reserved, first 4 and last 1. ref: https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq "Are there any restrictions on using IP addresses within these subnets? Yes. Azure reserves the first four and last IP address for a total of 5 IP addresses within each subnet"
upvoted 3 times
...
djgodzilla
1 year, 11 months ago
not sure , I can understand what is the right answer here. "For environments where name resolution across Azure and on-premises is required, it is recommended to use DNS Private Resolver service along with Azure Private DNS Zones. It offers many benefits over virtual machines based DNS solution, including cost reduction, built-in high availability, scalability, and flexibility. If you need to use existing DNS infrastructure (for example, Active Directory integrated DNS), ensure that the DNS server role is deployed onto at least two VMs and configure DNS settings in virtual networks to use those custom DNS servers." https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/dns-for-on-premises-and-azure-resources
upvoted 1 times
djgodzilla
1 year, 11 months ago
2) Custom DNS zone Deploy ADDS in Azure VNET: If the new deployed Domain Controllers (DC) VMs will have also the role of DNS servers, it's recommended to configure them as custom DNS server at the Azure Virtual Network level. https://learn.microsoft.com/en-us/azure/architecture/reference-architectures/identity/adds-extend-domain not sure about the IP
upvoted 1 times
...
...
CyberKelev
1 year, 11 months ago
Answer is 10.1.0.3 and configure Vnet1 to use a custom DNS server
upvoted 4 times
Goofer
1 year, 10 months ago
10.1.0.3 is not possible. you can use 10.1.0.4 and higher.
upvoted 5 times
...
...
GBAU
2 years ago
IP: Automatic Name Resolution: Custom 1: As soon as you move DC1 to VNET1, irrespective of the DNS/IP config, Server1 can not resolve AD DS DNS names as there is ZERO mention of a P2P VPN between onsite where Server1 still is and the VNET... however 2: Lets assume the question means if Server 2 is also moved as well, or if there is a VPN\Express Route: You don't want to give a DC a DHCP IP but you are going to have too!: -10.0.2.1 and 192.168.2.1 are not in any defined subnet in the vNET. -10.0.1.3 is a reserved IP in a /24 network and can not be assigned https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq You need to point DNS for any domain members to the DC for AD DNS resolution so it has to be a Custom IP (of whatever gets assigned to DC1). (Private DNS zones don't support Active Directory DNS Zone Integration). Just pray no one shuts down DC1 and it gets a different IP when it starts up. Who decides the answers to these questions? This one couldn't be more wrong.
upvoted 5 times
SimoneP
1 year, 10 months ago
I like your answer but: For environments where name resolution across Azure and on-premises is required, it is recommended to use DNS Private Resolver service along with Azure Private DNS Zones. It offers many benefits over virtual machines based DNS solution, including cost reduction, built-in high availability, scalability, and flexibility. so I go with "Create an Azure Private DNS zone"
upvoted 1 times
SimoneP
1 year, 10 months ago
Ref: https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/dns-for-on-premises-and-azure-resources
upvoted 1 times
...
...
...
zellck
2 years ago
1. Obtain an IP address automatically 2. Create an Azure Private DNS zone named contoso.com https://learn.microsoft.com/en-us/azure/dns/private-dns-overview Azure Private DNS provides a reliable and secure DNS service for your virtual network. Azure Private DNS manages and resolves domain names in the virtual network without the need to configure a custom DNS solution. By using private DNS zones, you can use your own custom domain name instead of the Azure-provided names during deployment. Using a custom domain name helps you tailor your virtual network architecture to best suit your organization's needs. It provides a naming resolution for virtual machines (VMs) within a virtual network and connected virtual networks.
upvoted 4 times
zellck
2 years ago
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances Azure DNS private zones is the preferred solution and gives you flexibility in managing your DNS zones and records.
upvoted 1 times
SedateBloggs
2 years ago
you dont use private DNS zones for AD DS: https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances and quoting "Your name resolution needs might go beyond the features provided by Azure. For example, you might need to use Microsoft Windows Server Active Directory domains, resolve DNS names between virtual networks. To cover these scenarios, Azure enables you to use your own DNS servers.". This would lend itself to Auto IP and using custom DNS - NOT private zones
upvoted 2 times
...
...
GBAU
2 years ago
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances#name-resolution-that-uses-your-own-dns-server VMs and role instances Your name resolution needs might go beyond the features provided by Azure. For example, you might need to use Microsoft Windows Server Active Directory domains, resolve DNS names between virtual networks. To cover these scenarios, Azure enables you to use your own DNS servers. Private DNS Zones do not support Active Directory Integration
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