nerdexam
CompTIA

SK0-003 · Question #330

When running a Windows server, which option is used with the ping command to convert numerical addresses to host names?

The correct answer is B. -a. When using the ping command on a Windows server, the -a option is employed to resolve numerical IP addresses into their corresponding host names.

Troubleshooting

Question

When running a Windows server, which option is used with the ping command to convert numerical addresses to host names?

Options

  • A-r
  • B-a
  • C-v
  • D-n

How the community answered

(51 responses)
  • A
    4% (2)
  • B
    88% (45)
  • C
    6% (3)
  • D
    2% (1)

Why each option

When using the `ping` command on a Windows server, the `-a` option is employed to resolve numerical IP addresses into their corresponding host names.

A-r

The `-r` option records the route taken by the ping packets for a specified number of hops, it does not convert addresses to hostnames.

B-aCorrect

The `-a` option instructs the `ping` command to attempt to resolve the IP address of the target host to its hostname. This is useful for identifying devices by name rather than just their numerical address, performing a reverse DNS lookup.

C-v

The `-v` option is not a recognized or documented parameter for the `ping` command on Windows servers for converting numerical addresses to hostnames.

D-n

The `-n` option specifies the number of echo requests (packets) to send, rather than converting addresses to hostnames.

Concept tested: Windows ping command -a option

Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/ping

Topics

#Ping command#Windows server#DNS resolution

Community Discussion

No community discussion yet for this question.

Full SK0-003 Practice