exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 101 discussion

Actual exam question from CompTIA's XK0-005
Question #: 101
Topic #: 1
[All XK0-005 Questions]

A Linux administrator needs to determine whether a hostname is in the DNS. Which of the following would supply the information that is needed?

  • A. nslookup
  • B. rsynс
  • C. netstat
  • D. host
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
e418137
Highly Voted 9 months, 1 week ago
Both 'nslookup' and 'host' can resolve hostname, even against specific name servers. This is bad question.
upvoted 6 times
...
Monty97
Most Recent 8 months ago
Selected Answer: D
Host is the newer version, nslookup is deprecated.
upvoted 2 times
...
sademik
9 months, 2 weeks ago
Selected Answer: A
nslookup
upvoted 1 times
...
Damon54
1 year, 2 months ago
Selected Answer: D
nslookup - query Internet name servers ( deprecated ) host - newer DNS lookup utility
upvoted 2 times
...
Damon54
1 year, 3 months ago
host also works, what will be the correct answer ?
upvoted 2 times
...
linux_admin
1 year, 9 months ago
Selected Answer: A
The correct command is "nslookup." The "nslookup" command allows a user to query a DNS server to determine the IP address of a hostname, or to determine the hostname associated with a particular IP address. It is commonly used to troubleshoot DNS resolution issues. The other options "rsync," "netstat," and "host" are not used for this purpose.
upvoted 1 times
e418137
8 months, 3 weeks ago
From the manual: 'host - DNS lookup utility'
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago