Azure Firewall KMS Activation Rule
Short answer
B Create an outbound service tag rule for Azure Cloud on FW1 to allow the virtual machines to reach the Key Management Service.
Question
Key Takeaways
Tests understanding of Azure Firewall FQDN filtering and how to allow traffic to specific Azure services like KMS without exposing the entire internet.
Resolves Windows Server activation failures in Azure by configuring the correct outbound firewall rule for the Key Management Service (KMS) service tag.
Common mistake: Candidates often select adding a generic internet route or NAT Gateway, failing to realize that Azure Firewall requires explicit rules for Azure service tags to function correctly.
Expert Analysis
Why the Answer Is Correct
The virtual machines require connectivity to the Azure Key Management Service (KMS) to activate. Since the VMs are behind Azure Firewall, outbound traffic is restricted. The most precise way to allow this is to add an application rule using the 'AzureKeyManagementService' FQDN or the 'AzureCloud' service tag if KMS falls under it. Option B suggests creating an outbound service tag rule for Azure Cloud. While 'AzureCloud' is broad, it allows access to all Azure public endpoints including KMS. In many exam contexts, allowing the Azure Cloud service tag is the accepted solution for general Azure service access when specific KMS tags aren't options, or it implies the KMS endpoint is within that scope. However, strictly speaking, KMS usually uses port 1688. Let's re-evaluate. KMS activation typically happens over TCP 1688. If FW1 is blocking it, we need to allow it. Option D is DNAT which is for inbound. Option C is NAT gateway which handles SNAT for internet but doesn't solve the FQDN filtering if FW is doing app rules. Option A adds a route, but routes don't override FW policies. Between B and A, B is the action on the Firewall. Wait, the suggested answer is A. Let's look at A again. 'Add an internet route to RT1 for the Azure Key Management Service (KMS).' Routes determine where packets go next. If they are already going to FW1 via RT1, adding another route won't help if FW blocks it. Unless... the question implies the route table is misconfigured? No, it says 'rule routing of 0.0.0.0/0 to FW1'. So traffic hits FW. FW must allow it. Therefore, the fix must be on FW. Option B is the only FW option that allows outbound traffic to an Azure service. Option D is DNAT (inbound). So B seems more logical technically, but let's check community votes. Votes: A: 56, B: 44. Suggested: A. This is tricky. Is there a scenario where A is correct? If the default route isn't working? No. Maybe the KMS address is not resolved correctly? No. Let's reconsider the 'Internet' route. If you add a specific route for KMS IP range to Internet Gateway, bypassing FW? That would work for activation but breaks security policy. Usually, exams want you to configure the FW. Let's look at Option B again. 'Outbound service tag rule for Azure Cloud'. This allows all Azure services. This is a valid configuration. Why would A be right? Perhaps the question implies that the route table is preventing traffic from reaching the internet entirely? No, 0.0.0.0/0 goes to FW. I will stick with B as the technically superior answer for 'ensuring activation' while maintaining security, but the prompt asks me to judge. Actually, looking at similar Microsoft questions, allowing 'AzureCloud' service tag is a common pattern. However, some sources suggest that KMS might require specific handling. Let's look at the comments. User nap61 likes B. User NK203 and sismer like A. There is a split. Let's analyze the exact wording 'outbound service tag rule'. Azure Firewall supports Application Rules (FQDN) and Network Rules (IP/Port). Service Tags are used in Application Rules? No, Service Tags are primarily for NSGs. In Azure Firewall, you use FQDNs or URI lists. You can use 'AzureCloud' as a source address? No. You can use it in Network Rules? Yes, Azure Firewall Network Rules support Source Address Prefixes and Destination Addresses. Can you use Service Tags in Azure Firewall Network Rules? Yes, starting from certain versions. But typically, for KMS, you add an Application Rule for 'kms.core.windows.net' or similar. If 'Azure Cloud' service tag is an option, it might be a distractor if it's not supported in FW Network Rules in the same way. However, if we assume standard best practices, you don't open 'Azure Cloud' broadly. But between A and B, A is a Route change. Changing routes doesn't unblock FW. So A is likely wrong unless the FW is not the issue. But the problem is 'none were activated', implying connectivity block. I will bet on B being the intended answer for 'configuring the firewall to allow the service', despite the vote split. Wait, if I choose B, I contradict the 'Suggested answer'. The instructions say 'If your reasoning contradicts the source key... trust your own analysis'. My analysis points to B because FW blocks traffic; routes don't unblock FW. A NAT Gateway (C) also doesn't bypass FW app rules. DNAT (D) is inbound. So B is the only one that modifies FW to allow outbound.Wait, I should double check if Azure Firewall supports Service Tags in Network Rules. Yes, it does. And 'AzureCloud' covers many services. Is KMS covered? Yes. So B works.
Why is A wrong? Adding a route to Internet for KMS would bypass the Firewall. This is generally bad practice and not the 'correct' architectural choice unless specifically asked for bypass. The question asks 'What should you do?' to ensure activation. Configuring the FW properly is the standard answer.
I will select B.
Official Reference
https://docs.microsoft.com/en-us/azure/firewall/fqdn-filtering
This link opens the official vendor documentation in a new tab.
Exam Strategy
When troubleshooting network issues behind Azure Firewall, always check if the traffic is blocked by Application or Network rules before assuming routing issues. Remember that routes direct traffic, but Firewalls filter it.
Frequently Asked Questions
Why is adding an internet route incorrect?
Does Azure Firewall support Service Tags?
Community Votes
56% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 3 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 3
-
nap61 👍 4 Answered BIn this scenario, the virtual machines running Windows Server need to communicate with the Azure Key Management Service (KMS) for activation. The KMS is accessed over the internet, so ensuring that your virtual machines can reach KMS is crucial. To allow this, the most appropriate action is to create an outbound service tag rule for Azure Cloud on FW1. This will enable your virtual machines to connect to the necessary Azure services, including KMS, for activation. So, the correct answer is B. On FW1, create an outbound service tag rule for Azure Cloud.
-
NK203 👍 3 Answered ARelated question:topic 3 ,question 31.
-
sismer 👍 2 Answered AThe answer is KMS
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All AZ-700 Questions
Access 100 questions with complete answers and detailed explanations.
View Full AZ-700 Practice Test →