Courseiva

CCNA Monitor Troubleshoot Windows Server Questions

19 questions · Monitor Troubleshoot Windows Server topic · All types, answers revealed

1
Multi-Selecthard

An administrator needs to capture and analyze network traffic on a Windows Server 2022 Core installation without installing third-party tools. Which TWO steps are necessary to capture traffic using the built-in 'pktmon' tool and prepare it for analysis in Wireshark on another machine?

Select 2 answers
A.Run 'pktmon start --etw' to begin.
B.Run 'pktmon pcapng' to convert the log.
C.Use 'netsh trace start' to capture data.
D.Enable 'Promiscuous Mode' in the NIC settings.
E.Run 'pktmon filter add -p 80' to start.
AnswersA, B

This command initiates the packet capture process. The '--etw' flag ensures that the traffic is logged using Event Tracing for Windows, which is the underlying framework Pktmon uses to record network events. This is the standard first step for capturing live traffic data on the server.

Why this answer

Packet Monitor (Pktmon) is a powerful, built-in network diagnostic tool for Windows. It is particularly useful on Server Core where a GUI is unavailable. Understanding how to start a capture and then convert the proprietary ETL format into a cross-compatible format like PCAPNG is essential for advanced network troubleshooting and analysis.

2
MCQmedium

You are investigating a replication issue between two Active Directory Domain Controllers (DCs) named DC1 and DC2. You suspect a network latency or firewall issue is preventing the replication of the 'Configuration' partition. Which tool should you use to check the current replication status and identify the specific error code associated with the failure?

A.Active Directory Sites and Services
B.repadmin /showrepl
C.dcdiag /test:DNS
D.Get-ADReplicationUpToDatenessVectorTable
AnswerB

This command displays the replication status for all directory partitions on the specified domain controller. It lists the last successful replication time and the specific error message for any failed attempts, making it the most effective tool for pinpointing why DC1 and DC2 are unable to synchronize.

Why this answer

Active Directory replication is vital for maintaining a consistent directory database. The 'repadmin' command-line tool is the industry standard for diagnosing replication topology, monitoring status, and forcing replication between partners. It provides detailed error codes that help distinguish between DNS failures, authentication issues, and physical network blocks.

3
Multi-Selectmedium

You are troubleshooting a Windows Server application that occasionally hangs. You want to capture a dump file of the process when it stops responding. Which THREE tools or methods should you consider using? (Choose three.)

Select 3 answers
A.Task Manager
B.ProcDump
C.Performance Monitor
D.Windows Error Reporting (WER) configuration
E.Resource Monitor
AnswersA, B, D

Task Manager allows for a simple right-click operation to 'Create dump file' for any running process. This is the most accessible method for an administrator to capture the current state of an unresponsive application without requiring additional software installation or complex command-line configuration for simple debugging needs.

Why this answer

Capturing process dumps is essential for diagnosing application hangs. Task Manager is the quickest manual method, while ProcDump provides automation and trigger-based capturing. Debugging tools, specifically ADPlus or the Windows Error Reporting (WER) service, provide advanced mechanisms to monitor and capture state information.

Using these tools allows administrators to analyze the thread state at the exact moment of failure, leading to a root cause analysis of the hang.

4
MCQmedium

You have configured a Windows Server to forward events to a centralized collector. You notice that the collector is not receiving events from a specific source server. You verify that the 'Windows Event Collector' service is running on the collector and the 'Windows Remote Management' service is running on the source. What should you check next to troubleshoot the connectivity?

A.Verify the Event Log size configuration on the source server.
B.Check the WinRM listener status and configuration on both servers.
C.Restart the Task Scheduler service on the source server.
D.Reinstall the Windows Event Collector feature.
AnswerB

Event forwarding requires an active WinRM listener to transport event data. If the listener is not configured correctly or is restricted by a firewall, the collector will never receive the forwarded events. Validating this ensures the underlying transport protocol is ready to establish the connection for log transmission.

Why this answer

Event forwarding relies on WinRM for transport. If the services are running, the issue is often related to the WinRM listener configuration or the network path between the nodes. Verifying that the WinRM listener is active and listening on the correct port (default 5985/5986) is the logical next step to ensure the transport layer is capable of passing the subscription information between the source and the collector.

5
MCQmedium

You are using Azure Automation Update Management to monitor and manage updates for a group of Windows Servers. Several servers are reporting a status of 'Not assessed' for several days. What is the most likely cause of this monitoring gap?

A.The servers have not been restarted after the last update cycle.
B.The Windows Update service is set to 'Manual' instead of 'Automatic'.
C.The Log Analytics agent is not communicating with the workspace.
D.The servers are running an unsupported version of Windows Server.
AnswerC

For Update Management to function, the agent on the Windows Server must successfully heart-beat and upload metadata to the Log Analytics workspace. If communication is blocked by a firewall or the agent is stopped, the server will appear as 'Not assessed' because no scan data is available.

Why this answer

Azure Automation Update Management relies on the Log Analytics agent (or AMA) to report data back to the workspace. If a server is 'Not assessed,' it usually means the agent is unable to communicate, the workspace is missing data, or the required 'Update' solution has not been correctly deployed to the workspace.

6
Multi-Selectmedium

You are investigating a disk performance bottleneck on a Windows Server hosting a SQL database. You need to identify the physical disk latency. Which TWO counters should you monitor in Performance Monitor? (Choose two.)

Select 2 answers
A.PhysicalDisk\Avg. Disk sec/Transfer
B.Memory\Pages/sec
C.PhysicalDisk\Avg. Disk Queue Length
D.Processor\% Processor Time
E.System\Context Switches/sec
AnswersA, C

This counter measures the average time, in seconds, of a data transfer from the disk. High values for this metric directly indicate slow response times from the storage hardware, which is a primary indicator of disk latency issues affecting application performance and database query execution times.

Why this answer

Monitoring disk latency requires looking at both the time taken for requests to complete and the queue depth. 'Avg. Disk sec/Transfer' provides the average time for each disk transfer, while 'Avg. Disk Queue Length' indicates how many requests are waiting.

Together, these metrics identify whether the storage subsystem is struggling to keep up with the I/O workload generated by the SQL server applications.

7
MCQeasy

You need to view all 'Error' level events from both the System and Application logs in a single view within Event Viewer. What is the most efficient way to maintain this view for daily use?

A.Create a Custom View filtered by 'Error' level and both 'System' and 'Application' logs.
B.Export both logs to a CSV file and merge them in Microsoft Excel.
C.Use the 'Find' feature in the System log to search for the word 'Error'.
D.Enable 'Filter Current Log' on the System log and then repeat on the Application log.
AnswerA

Custom Views are designed for this exact purpose. By selecting the desired event levels and source logs, you create a persistent, auto-updating shortcut in the Event Viewer console that consolidates relevant data, making it the most efficient method for ongoing monitoring of specific server issues.

Why this answer

Event Viewer allows for the creation of Custom Views, which act as saved filters. This enables administrators to aggregate specific event types from multiple logs into one interface, significantly reducing the time spent jumping between different logs to find related error messages during routine server health checks.

8
MCQhard

An administrator is troubleshooting a Storage Spaces Direct (S2D) cluster where one node shows a status of 'Retired'. The administrator needs to identify if a physical disk failure or a communication timeout caused this status. Which PowerShell cmdlet provides the most detailed health information regarding the operational status of the underlying physical disks in the storage pool?

A.Get-StoragePool
B.Get-PhysicalDisk
C.Get-VirtualDisk
D.Debug-StorageSubsystem
AnswerB

This cmdlet retrieves the status of every physical disk visible to the storage subsystem. It displays critical properties such as HealthStatus, OperationalStatus, and Usage. This is the primary tool for identifying which specific drive has failed or been marked as retired within an S2D cluster or a standard storage pool.

Why this answer

In a Windows Server Failover Cluster utilizing Storage Spaces Direct, monitoring physical disk health is critical for maintaining data redundancy. The retired status often indicates a hardware failure or a disk that has exceeded error thresholds. Using the correct PowerShell cmdlet allows administrators to drill down into the health metadata and operational status codes for precise troubleshooting.

9
MCQmedium

A server administrator needs to monitor the reliability of applications on a Windows Server. They want to identify which applications have stopped working, including the time of failure and the faulting module. Which built-in utility should they use to view this historical data?

A.Event Viewer
B.Reliability Monitor
C.System Configuration (msconfig)
D.Task Scheduler
AnswerB

Reliability Monitor specifically tracks application failures, Windows updates, and system changes, presenting them in a unified timeline. It provides the specific detail of faulting modules and crash times, enabling quick identification of problematic software releases or recurring application errors that affect server stability over time.

Why this answer

Reliability Monitor, accessed through the Performance Monitor interface or by searching for 'Reliability History', provides a graphical view of system stability. It aggregates error data, including application crashes and unresponsiveness, making it an ideal tool for observing trends over time. This helps administrators distinguish between one-off application issues and systemic problems requiring deeper investigation or patching.

10
MCQmedium

You are transitioning several Windows Server 2022 Azure Virtual Machines from the legacy Log Analytics Agent to the newer Azure Monitor Agent (AMA). You need to ensure that specific System and Application event logs are centralized in a Log Analytics workspace. What component must you create and associate with the virtual machines to facilitate this data collection?

A.Diagnostic Settings
B.Log Analytics Gateway
C.Data Collection Rules
D.Automation Accounts
AnswerC

These rules define the data sources and destinations for the Azure Monitor Agent. By creating a rule, you specify exactly which event logs to capture and link it to the target virtual machines. This is the mandatory mechanism for configuring the AMA to stream Windows Server logs to a workspace.

Why this answer

The Azure Monitor Agent relies on Data Collection Rules (DCR) to define which data should be collected and where it should be sent. Unlike the legacy agent which used workspace-wide settings, DCRs provide a more granular and flexible approach, allowing administrators to target specific servers with unique logging requirements while maintaining a centralized management structure in the Azure portal.

11
MCQhard

You need to monitor the health of a Windows Server using System Monitor. You want to trigger an alert when the free space on the C: drive drops below 10%. You have already created a Data Collector Set. What do you need to add to the set to achieve this functionality?

A.Add a System Configuration information collector to the set.
B.Add a Performance Counter Alert to the Data Collector Set.
C.Add a Trace collector to the current Data Collector Set.
D.Modify the Security Log audit policy for the drive.
AnswerB

A Performance Counter Alert is the specific component in Performance Monitor used to monitor a counter against a defined threshold. By adding this, you can specify the '% Free Space' counter for the 'LogicalDisk' object and define the alert to trigger when the value falls below 10%.

Why this answer

To trigger alerts based on specific thresholds, you must create a Performance Counter Alert in the Data Collector Set. This allows you to select the specific counter, such as '% Free Space', and set a trigger condition. Once configured, you can define an action, such as executing a script or logging an event, when the threshold is breached, enabling proactive server maintenance before disk space issues cause system instability.

12
MCQmedium

Users report that they cannot access a shared folder on a Windows Server 2022 instance located in a different subnet. You suspect a firewall or routing issue. Which PowerShell cmdlet should you use to test both ICMP connectivity and the specific TCP port 445 availability simultaneously?

A.Ping -t
B.Resolve-DnsName
C.Get-NetFirewallRule
D.Test-NetConnection
AnswerD

Test-NetConnection allows you to specify a destination and a port (e.g., -Port 445). It performs a TCP handshake to verify the service is listening and also provides ICMP statistics and route tracing, making it the most effective tool for diagnosing cross-subnet connectivity issues for specific services.

Why this answer

Test-NetConnection is a versatile 'Swiss Army knife' for network troubleshooting in Windows. It replaces older tools like ping and telnet by allowing administrators to check basic connectivity and verify if specific service ports are open and responding, providing detailed information about the network path and success of the connection.

13
MCQhard

An administrator reports that Active Directory changes made on DC01 are not appearing on DC02. You suspect a replication issue. Which tool and command provide the most comprehensive output regarding the status of all replication neighbors for a specific domain controller?

A.Active Directory Sites and Services - 'Check Replication Topology'
B.repadmin /showrepl DC02
C.dcdiag /test:Replication
D.Get-ADReplicationPartnerMetadata
AnswerB

The 'repadmin /showrepl' command displays the replication status for the specified domain controller. It lists every naming context, the neighbors from which it replicates, the time of the last success, and the specific error message for any failures, making it the best tool for diagnosing sync issues.

Why this answer

Repadmin.exe is the primary command-line tool for monitoring and troubleshooting Active Directory replication. It provides deep visibility into the replication topology, last successful replication times, and specific error codes that occur when domain controllers fail to synchronize their databases, which is critical for maintaining forest-wide consistency.

14
MCQmedium

An organization is migrating its on-premises Windows Server 2022 monitoring strategy to Azure Monitor. You need to collect specific event logs and performance counters from 500 servers using the most modern, secure, and centralized management method available. Which agent should you deploy to these servers to support Data Collection Rules (DCR)?

A.The legacy Log Analytics agent
B.The Azure Diagnostics extension (WAD)
C.The Azure Monitor Agent (AMA)
D.The Dependency Agent
AnswerC

The Azure Monitor Agent uses Data Collection Rules to filter and stream data to specific destinations. This agent is the current standard for Windows Server monitoring, offering improved performance, scoped configuration, and support for Azure Arc-enabled servers, which simplifies the management of hybrid server workloads across the entire enterprise environment.

Why this answer

Monitoring strategies have evolved from the legacy Log Analytics agent to the Azure Monitor Agent (AMA). AMA provides a more secure, cost-effective, and simplified way to collect data using Data Collection Rules (DCRs). This transition is critical for administrators to ensure long-term support and leverage granular control over data collection from both Azure and on-premises Windows Server instances.

15
MCQmedium

You need to collect performance data from a Windows Server for a period of 24 hours to establish a baseline. You want to ensure that the data collection starts automatically at 2:00 AM and stops exactly 24 hours later. Which feature of Performance Monitor should you use to automate this?

A.Performance Counter Alerts
B.User Defined Data Collector Sets
C.System Diagnostics
D.Resource View
AnswerB

User Defined Data Collector Sets allow you to group performance counters into a single collection unit. Within its properties, you can configure a schedule to start the collection at a specific time and set a duration or stop condition, making it the correct tool for automated baseline gathering.

Why this answer

Performance Monitor (perfmon) allows for more than just live viewing; it includes Data Collector Sets (DCS) for structured data gathering. DCS can be scheduled with specific start and stop times, and configured to collect specific counters, enabling administrators to gather consistent baseline data without manual intervention during off-peak hours.

16
MCQmedium

You are configuring Windows Event Forwarding (WEF) in a domain environment. You want the collector server to initiate the connection to the source computers to gather events. Which type of subscription should you implement to achieve this behavior?

A.Source-initiated subscription
B.Collector-initiated subscription
C.WMI-based subscription
D.Push-based subscription
AnswerB

This model requires the collector server to have a list of all source computers. The collector then connects to each source computer using WinRM to pull the events. This satisfies the requirement where the central server is the initiator of the communication channel for event log harvesting.

Why this answer

Windows Event Forwarding supports two main subscription models: source-initiated and collector-initiated. Choosing the correct model depends on network topology and management requirements. Collector-initiated subscriptions are useful when the administrator wants the central server to control the polling interval and manage the list of source computers explicitly within the subscription configuration itself.

17
MCQeasy

You suspect that a specific process on a Windows Server is consuming excessive disk bandwidth, causing other applications to slow down. Which built-in tool provides the quickest way to see a live list of processes and the specific files they are currently reading or writing to?

A.Task Manager
B.Resource Monitor
C.Performance Monitor
D.Event Viewer
AnswerB

Resource Monitor includes a Disk tab that lists all active processes, their current disk transfer rates, and a 'Disk Activities' section. This section explicitly shows which files are being accessed by each process, making it the ideal tool for pinpointing the exact source of disk contention.

Why this answer

Windows provides several tools for performance monitoring, but they vary in granularity. Resource Monitor is specifically designed to bridge the gap between Task Manager and Performance Monitor by providing detailed, real-time information about hardware resource usage at the process and file level, which is critical for identifying I/O contention.

18
MCQmedium

You are managing a Windows Server 2022 instance experiencing intermittent memory pressure. You need to configure Performance Monitor to log data continuously, ensuring the logs are overwritten when they reach a maximum size of 500 MB to prevent disk exhaustion. Which setting should you modify in the Data Collector Set properties?

A.Configure the Schedule tab to trigger a task at 500 MB.
B.Enable the Circular Logging option in the Data Collector Set properties.
C.Adjust the Sample Interval in the Data Collector properties.
D.Set the Data Manager tab to delete files older than one hour.
AnswerB

Circular logging is the specific feature designed to manage file size limits. When enabled alongside a specified maximum file size, Performance Monitor automatically deletes the oldest data within the log file or starts a new file, ensuring the total footprint stays within your defined threshold of 500 MB.

Why this answer

To manage disk space effectively while capturing performance metrics, the 'Stop condition' settings within the Data Collector Set properties allow you to define size limits. Configuring the 'Maximum size' to 500 MB and selecting the 'Overwrite' option ensures the log file rotates, maintaining only the most recent data. This is critical in production environments to prevent system volume exhaustion from unbounded performance log growth.

19
MCQhard

Refer to the exhibit. An administrator runs a PowerShell command to monitor a server. Based on the output provided, which conclusion regarding the server's state is most accurate?

A.The server is experiencing a critical memory leak.
B.The server has a sustained CPU bottleneck.
C.Disk I/O latency is causing the high CPU values.
D.The server is idling normally with background tasks.
AnswerB

The output shows the total processor time consistently exceeding 85% and reaching up to 95% across all samples. While five samples is a short duration, the lack of variation below the 80% threshold suggests the processor is under heavy load and may be unable to handle additional requests efficiently.

Why this answer

Analyzing performance counter output requires understanding both the metric and the duration of the sample. In this case, the CPU usage is consistently high over a ten-second period. While this might indicate a bottleneck, an administrator must determine if this is a transient spike or a sustained trend that requires further investigation into specific processes.

Ready to test yourself?

Try a timed practice session using only Monitor Troubleshoot Windows Server questions.