GCIA · Question #40
You work as a technician for Tech Perfect Inc. You are troubleshooting an Internet name resolution issue. You ping your ISP's DNS server address and find that the server is down. You want to…
The correct answer is C. ping -t. The ping -t flag on Windows sends continuous echo requests to a target host until the user manually interrupts the command with Ctrl+C.
Question
You work as a technician for Tech Perfect Inc. You are troubleshooting an Internet name resolution issue. You ping your ISP's DNS server address and find that the server is down. You want to continuously ping the DNS address until you have stopped the command. Which of the following commands will you use?
Options
- Aping -a
- Bping -l
- Cping -t
- Dping -n
How the community answered
(30 responses)- A3% (1)
- B7% (2)
- C73% (22)
- D17% (5)
Why each option
The ping -t flag on Windows sends continuous echo requests to a target host until the user manually interrupts the command with Ctrl+C.
ping -a resolves the destination IP address to its hostname and displays that name in the output; it does not affect how many pings are sent or make the ping continuous.
ping -l sets the size of the send buffer (packet payload length) in bytes; it controls packet size, not the duration or continuity of the ping operation.
ping -t instructs the Windows ping utility to send ICMP echo requests indefinitely without stopping after the default four packets. This is the correct flag when a technician needs to continuously monitor whether a host (such as a DNS server) responds over time. The command can only be stopped by pressing Ctrl+C or Ctrl+Break, making it ideal for ongoing connectivity troubleshooting.
ping -n specifies a fixed count of echo requests to send (e.g., ping -n 10 sends exactly 10 pings); it is the opposite of continuous pinging because it stops after the specified number.
Concept tested: Windows ping command continuous ping flag (-t)
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/ping
Topics
Community Discussion
No community discussion yet for this question.