100% Latest & Updated Microsoft AZ-104 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 840
An Azure VM runs Azure Monitor Agent and already forwards Windows events to a Log Analytics workspace in East US by a data collection rule (DCR). A compliance team also needs a separate workspace in West Europe to receive a selected event stream. They attempt to add that second-region workspace as another destination of the existing East US DCR. What supported design respects DCR regional placement?
- Associate the VM with another DCR stored in the region of the West Europe workspace and configure that DCR’s destination and event filters
- Change the VM’s Azure availability zone because a DCR is required to share a zone with every destination workspace
- Keep a single DCR in East US and add the West Europe Log Analytics workspace as another destination despite the workspace-region mismatch
- Duplicate the VM itself into West Europe because Azure Monitor Agent forbids associating a single VM with more than one DCR
Explanation
Correct Answer
A:A data collection rule that targets a Log Analytics workspace must be in the same Azure region as that workspace. For two destination workspaces in different regions, create distinct DCRs in the corresponding regions and associate both with the same monitored machine. Apply distinct filters where necessary to prevent duplicate ingestion and extra charges.
Incorrect Answers
B:Availability zones are a compute placement/resiliency choice and do not change the Azure Monitor DCR regional location rule. The important distinction is region of the data collection rule versus region of its workspace destination, not where the VM sits within an availability zone.
C:For the supported Azure Monitor Agent collection scenario, a DCR must be in the region of its destination workspace. When workspaces are in different regions, use a separate DCR associated with the same VM for the West Europe workspace.
D:An Azure VM can have multiple DCR associations; Azure Monitor Agent processes the rules associated with the machine. Creating another VM would add cost and complexity without satisfying the intended two-workspace monitoring pattern for the existing workload.
Question 841
In October 2026, an operations team has onboarded a new Azure VM to Azure Monitor Agent and is collecting guest performance counters in Log Analytics. It now proposes enabling the legacy VM insights Map process-dependency experience for this new VM through the Azure portal. What current lifecycle constraint should the team account for?
- Collecting guest performance counters with Azure Monitor Agent automatically activates process dependency mapping on every new VM, with no separate lifecycle restrictions
- VM insights Map and its Dependency Agent are deprecated; new-VM portal onboarding is restricted, so prefer currently supported dependency-monitoring alternatives while retaining AMA performance telemetry
- The entire VM insights performance monitoring capability was retired in September 2025, so Azure Monitor Agent guest counters must be removed
- Installing Dependency Agent on the new VM overrides the portal onboarding restriction and guarantees Map support beyond June 2028
Explanation
Correct Answer
B:Microsoft deprecated VM insights Map and the Dependency Agent, restricted onboarding of new VMs through the Azure portal from September 30, 2025, and set June 30, 2028 as the retirement date. Because this VM is newly onboarded in October 2026, the team should not design a fresh production dependency map around the retiring experience. AMA-based VM insights performance monitoring remains supported and is a different capability.
Incorrect Answers
A:AMA can collect performance counters, but those records do not contain all of the process-to-process connections used by the legacy Map experience. That feature depended on separate dependency instrumentation and now has explicit retirement/onboarding restrictions. Seeing guest CPU and memory in Log Analytics is not proof that a newly onboarded VM can use Map.
C:The retirement announcement targets the Map experience and Dependency Agent, not the AMA-based VM insights performance features. The scenario already receives valid guest performance counters in Log Analytics, which can continue to be collected under supported data collection rules. Treating all VM insights as retired would unnecessarily remove operational telemetry.
D:A new Dependency Agent installation does not override Microsoft's new-VM portal onboarding restriction or extend the announced 2028 end of support. Microsoft explicitly discourages new installations of the retiring Dependency Agent. A new deployment should choose current supportable dependency visibility rather than relying on a legacy Map workaround.
Question 842
A Network Watcher Connection Monitor TCP test is enabled and is receiving telemetry. Its test configuration sets a 20% failed-checks threshold, and the latest evaluation reports 18% failed checks with round-trip time still below its configured limit. Under Connection Monitor’s documented threshold-state rules, which state applies?
- Warning: the failed-checks percentage exceeds 80% of the configured failure threshold but has not reached the Fail threshold
- Pass: any failure rate below the configured 20% limit must remain Pass and cannot trigger Warning
- Fail: every nonzero failed-check percentage causes an immediate Fail regardless of the configured threshold
- Indeterminate: a subthreshold failure rate means no usable monitoring data was collected for the evaluation
Explanation
Correct Answer
A:Connection Monitor marks a test as Warning when the observed checks-failed percentage exceeds 80% of a configured failure threshold, even before the Fail threshold is reached. Here 80% of 20% is 16%, and the observed 18% is above that warning boundary but below 20%. Because round-trip time is within limits and telemetry exists, the outcome is Warning rather than Fail or Indeterminate. This tests threshold interpretation, not merely selecting Connection Monitor.
Incorrect Answers
B:A configured failure threshold is not a binary Pass-until-Fail switch. Connection Monitor provides an early Warning state when failed checks exceed 80% of the configured threshold. An 18% failure rate with a 20% threshold already exceeds the 16% warning boundary, so reporting Pass would conceal a developing connection-quality problem.
C:Fail is reached when a configured threshold for failed checks or round-trip time is exceeded. The scenario reports 18% failed checks against a 20% failure threshold, with acceptable round-trip time. A few failed probes do not automatically produce a Fail status; the documented early-warning band applies instead.
D:Indeterminate denotes missing monitoring data rather than a measured percentage below the Fail limit. This enabled test has delivered an 18% checks-failed value and a valid RTT result. The observation is sufficient to evaluate thresholds, and the defined 80%-of-failure-threshold warning rule leads to Warning.
Question 843
An HTTPS service at api.corp.example continues accepting TCP connections on port 443 during a backend outage, but responds HTTP 503. The operations team needs its Connection Monitor test to classify those responses as failures rather than simply reporting the port reachable. What test protocol/configuration is appropriate?
- Use only a TCP test to port 443, because a completed TCP handshake proves that the HTTP application is healthy.
- Use ICMP echo and treat a low round-trip time as proof the service returned successful API responses.
- Configure a Connection Monitor HTTP test and define acceptable HTTP response status codes so 503 counts as a failed check.
- Disable the Connection Monitor test group to suppress all health results; disabled tests report HTTP status codes separately.
Explanation
Correct Answer
C:Connection Monitor supports HTTP tests and assesses whether HTTP responses have configured valid status codes, contributing to its checks-failed percentage. Configure acceptable response codes through a supported configuration method such as CLI or PowerShell, so HTTP 503 is treated as service failure even when TCP port 443 accepts connections.
Incorrect Answers
A:A TCP check verifies transport-level connection establishment, but a server can accept port 443 connections and still return HTTP 503. TCP success does not assert that the higher-layer application returned an acceptable HTTP response.
B:ICMP measures network-level reachability and potentially latency, not HTTPS application status. The API server may answer pings while every customer request fails; a valid user-facing health test needs an HTTP response criterion.
D:A disabled test group does not run its checks and reports Not Running rather than revealing application HTTP success or failure. Suppressing tests conflicts with the need to detect application outages.
Question 844
A network team needs an alert when the periodic TCP probe to its private database port fails, but is not authorized to change firewall rules automatically. The database service is healthy at baseline. Which combination is suitable?
- Use Connection monitor telemetry with an Azure Monitor alert and action group for notification
- Schedule a one-time Network Watcher packet capture and assume the capture itself continually emails operators whenever future TCP probes fail
- Use only a Network Watcher Next hop diagnostic and expect it to notify responders whenever the database TCP port becomes unreachable
- Set a failure threshold within Connection Monitor and assume the monitor directly emails responders without configuring an Azure Monitor alert or action group
Explanation
Correct Answer
A:Connection monitor can detect degraded test results, and an alert/action group can notify responders. This observes connectivity without automatically modifying security rules.
Incorrect Answers
B:Packet capture is a diagnostic collection operation, not a continuously evaluated availability alert with notification recipients. A capture might help investigate a reported failure but does not replace repeated Connection Monitor tests plus an Azure Monitor alert/action group. The team also does not need broad resource-change permissions to observe a TCP path.
C:Next hop diagnoses the route selected for a specific VM-to-destination flow; it does not provide ongoing TCP endpoint checks or a notification channel by itself. It can supplement troubleshooting after a failed probe, but a Connection Monitor failure signal and configured Azure Monitor alert/action group meet the requirement without changing firewall policy.
D:Connection Monitor thresholds determine whether its TCP test results show a degraded or failed state. They do not, by themselves, configure email recipients or an incident notification route. The team needs an Azure Monitor alert using that telemetry and an action group for notification, keeping the firewall controls unchanged.
Question 845
A Network Watcher connection monitor test is configured for a specific source VM and target TCP port. The source workload has been replaced by a new VM with a different resource ID, while the target and probe conditions remain correct. What should be updated to make subsequent measurements represent the new source?
- Modify the probe destination port but leave the old source VM endpoint configured
- Recreate the Connection monitor test with the same old source VM reference and the same target
- Update the Connection monitor test group source endpoint to the replacement VM
- Update only the replacement VM's Network Watcher agent while leaving the test group's source endpoint linked to the retired VM
Explanation
Correct Answer
C:Connection monitor measurements are defined by source and destination endpoints, plus probe configuration. Replacing the source resource requires aligning its test-group endpoint reference.
Incorrect Answers
A:The port controls the target test, not which VM generates the probe. The old source still would not represent the replacement VM.
B:A test using the retired source resource ID will still report from the wrong source. The test group must point to the replacement VM endpoint to make probe measurements representative.
D:Agent installation on the replacement VM can be a prerequisite, but it does not reassign the Connection monitor test group's source endpoint. Update that endpoint reference as well.
Question 846
A VM must reach an internal API on 443 and an external partner endpoint on 8443. Operations needs separate ongoing availability trends for each dependency. How can Connection Monitor be organized?
- View only a single aggregate Connection Monitor health score for the VM, with no separate per-destination tests
- Configure separate endpoint test groups or tests for each destination and transport port
- Use one TCP test configuration fixed to port 443 for both endpoints, assuming it automatically probes the partner at port 8443
- Monitor only ICMP reachability to the VM’s default gateway and assume this verifies both TCP listeners on ports 443 and 8443
Explanation
Correct Answer
B:Connection Monitor can track distinct source/destination tests, exposing which required dependency fails and when. Combining them only into a general VM status would mask the failing endpoint.
Incorrect Answers
A:An overall monitor health figure cannot establish which dependency or specific port failed. Connection Monitor derives results from source/destination/test-configuration combinations. Maintaining individually identifiable tests for the internal API on 443 and partner endpoint on 8443 provides the required separate trends.
C:A test configuration specifies its transport port; applying the same port-443 configuration to two destinations tests that port for both. It would miss a failure specific to the partner’s 8443 listener. Define configurations/tests with the correct port for each destination and retain their individual measurements.
D:A successful ICMP probe to a gateway does not establish that either destination application accepts TCP connections, much less distinguish the internal API from the external partner. The required telemetry is destination- and port-specific; create individually identifiable TCP tests using the respective endpoints and service ports.
Question 847
A VM can resolve a database hostname and its outbound NSG rules permit TCP 5432, but new database sessions still time out. Operations needs an on-demand diagnostic that can identify whether a guest OS firewall, a missing route, or the destination listener is disrupting a particular source-to-target connection. Which Network Watcher action is best for this immediate investigation?
- Use IP flow verify alone and treat its NSG permit verdict as proof that the destination service accepts TCP connections
- Use Network Watcher Connection troubleshoot for the source and database endpoint, inspecting its reachability and diagnosed issue type
- Inspect virtual network flow logs alone and treat an allowed flow record as proof the guest OS firewall and database listener both accept TCP connections
- Capture packets only on the source VM and treat an unanswered SYN as a definitive identification of the exact route, guest firewall or database-listener fault
Explanation
Correct Answer
B:Network Watcher Connection troubleshoot performs an on-demand path/connectivity investigation and can report reachability and issue categories such as guest firewall, NSG, routing or DNS problems. It is appropriate for this specific timeout and different from continuous Connection Monitor trend collection. Review the actual diagnosed finding before changing a firewall or route.
Incorrect Answers
A:IP flow verify answers a narrower question about the effective NSG verdict for a hypothetical packet. An allowed NSG flow doesn't prove that the guest firewall, route or database listener accepts the connection. The symptom persists after an NSG permit, so a more end-to-end diagnostic is needed.
C:VNet flow logs show network-policy flow observations, not proof that the database process is listening or that guest firewall rules allow the session. Connection troubleshoot is better suited to diagnosing the end-to-end route, guest block or destination problem.
D:A missing SYN-ACK in a source capture shows an unsuccessful handshake but does not alone distinguish an intermediate route drop, a destination guest firewall, and an absent listening service. Connection troubleshoot adds specific network-path diagnostics for the failed source-to-target session.
Question 848
A connection-monitor design tests from an Azure VM in a VNet to an external partner HTTPS URL. The partner cannot install Azure agents on its public web server. The operator asks whether the monitored URL must run the Network Watcher extension before the test can work. Which design is supported?
- Install the Network Watcher extension on the Azure source VM; the partner URL can be a destination without an extension.
- Install the extension on the partner URL host only; source Azure VMs never need monitoring agents.
- Require both source and destination to be Azure VM resources with the extension, so an external URL is unsupported.
- Replace Connection Monitor with DNS zone peering because it is the only tool that can monitor an internet FQDN.
Explanation
Correct Answer
A:Connection Monitor executes probes from supported source endpoints, such as Azure VMs with the Network Watcher extension. Destinations can be URLs, FQDNs or IP addresses, including partner-controlled internet endpoints, without installing a Network Watcher extension there. The agent prerequisite is on the monitoring source, not automatically both ends.
Incorrect Answers
B:This reverses the source/destination requirement. The remote partner cannot make the Azure source execute probes by installing an extension at the far end, and supported Azure VM sources do require their monitoring components.
C:Azure VMs are supported as sources, but the destination list is broader and explicitly includes external URLs, FQDNs and IP addresses. Restricting both endpoints to agent-equipped Azure VMs would incorrectly exclude a documented Connection Monitor use case.
D:DNS zone peering is not a Connection Monitor substitute and does not measure HTTP reachability or latency to an external HTTPS endpoint. The supplied FQDN can be used directly as the monitored destination.
Question 849
An enterprise uses Azure Network Watcher Connection Monitor to probe a branch-to-Azure service dependency. Engineers can inspect near-term failed-check and round-trip-time metrics but need to investigate seasonal changes over roughly six months. The current metric history alone is too short. Which data-retention design is appropriate for longer-term connection diagnostics?
- Store Connection Monitor monitoring logs in Log Analytics and configure a suitable workspace/table retention period for the required history
- Change the Connection Monitor metric aggregation interval from minutes to one day, assuming coarser aggregation extends the metric retention limit
- Disable the test groups between investigations, which causes Azure Monitor Metrics to store all earlier points forever
- Increase the Connection Monitor probe frequency to once per minute so the platform retains those metrics for six months
Explanation
Correct Answer
A:Connection Monitor publishes performance measurements to Azure Monitor Metrics and monitoring data to Log Analytics. Microsoft’s Connection Monitor guidance notes a more limited metric history (30 days by default on its described metrics path), whereas Log Analytics provides separately configurable log retention. For a six-month trend, retain the Connection Monitor logs in a suitable workspace and verify table/plan limits, costs, and the desired query window.
Incorrect Answers
B:Increasing metric aggregation granularity changes how the displayed measurements are summarized, not the amount of history that Azure Monitor retains for Connection Monitor metrics. A six-month seasonal analysis requires persisted monitoring logs with a suitable Log Analytics workspace/table retention setting, not just daily chart bins.
C:Pausing a test group stops or interrupts measurements rather than preserving a complete six-month record. Metrics do not become permanent because a test group is disabled. This approach would create additional data gaps exactly where the enterprise wants continuous long-run reachability evidence.
D:Increasing test frequency produces more samples and potentially greater monitoring costs, but does not change the default history limit for the metric store. The requested six-month reachability and latency trends need a long-term monitoring-data destination such as Log Analytics and an appropriate retention policy.
Question 850
A Connection Monitor dashboard shows a test group in status Not Running after an engineer disabled it during scheduled maintenance. An incident playbook interprets this as packet-loss failure and pages the network operations team. What status interpretation and corrective action should the playbook apply?
- Not Running means RTT exceeded the warning threshold; increase the threshold without changing the test group.
- Not Running means exactly 100% of TCP checks failed; replace the destination IP to clear the failed state.
- Not Running means Azure Monitor action groups have no email receivers; add an email to start network probing.
- Not Running is the disabled test-group state, not evidence of a failed network path; re-enable the group before evaluating connectivity results.
Explanation
Correct Answer
D:Microsoft defines Not Running for a Connection Monitor test disabled by disabling its test group. Treat this as an intentional monitoring suspension or configuration issue, not a sampled loss event. Re-enable the appropriate group after maintenance and await fresh test results before interpreting reachability.
Incorrect Answers
A:Threshold exceedance is associated with a Warning or Fail evaluation when tests are running. A disabled group is not executing checks and cannot supply a meaningful RTT failure measurement regardless of threshold changes.
B:When connectivity checks run and all fail, the test can produce Fail under the documented threshold logic. Not Running is instead the state for a disabled test group, so changing a destination would be the wrong first response.
C:Action groups govern alert notifications, not whether Connection Monitor executes a test group. An empty receiver list may affect paging but cannot explain why the test itself is explicitly in the disabled state.
Microsoft Azure Administrator (AZ-104) Practice Tests