exam questions

Exam 220-1101 All Questions

View all questions & answers for the 220-1101 exam

Exam 220-1101 topic 1 question 442 discussion

Actual exam question from CompTIA's 220-1101
Question #: 442
Topic #: 1
[All 220-1101 Questions]

A user with a custom hosts file is having difficulty connecting to a locally hosted site on a small office network. The technician cannot ping the server hostname from the user’s computer. Which of the following should the technician ensure on the server?

  • A. The server is configured with a static IP address.
  • B. The server does not have an APIPA.
  • C. The appropriate services are enabled on the server.
  • D. The server's secondary NIC is functioning.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
edwinv
Highly Voted 1 year, 4 months ago
Selected Answer: A
To address the issue of a user having difficulty connecting to a locally hosted site on a small office network and being unable to ping the server hostname from the user's computer, the technician should ensure: A. The server is configured with a static IP address. Explanation: A static IP address (Option A) ensures a consistent and predictable address for the server. If the server's IP address changes dynamically (for example, through DHCP), the custom hosts file on the user's computer may not be able to resolve the correct hostname to the changing IP address.
upvoted 6 times
...
JonHin
Most Recent 3 months, 3 weeks ago
A is the correct answer A custom hosts file is a file that maps hostnames to IP addresses, allowing the user to access websites or servers by their names instead of their numerical addresses. For example, a user can add a line like 192.168.1.100 myserver.local to their hosts file and then access the server by typing myserver.local in their browser. However, this method only works if the IP address of the server does not change. If the server is configured with a dynamic IP address, which means it can be assigned a different IP address by the network router or DHCP server, then the hosts file entry will become invalid and the user will not be able to connect to the server by its hostname. Therefore, the technician should ensure that the server is configured with a static IP address, which means it has a fixed and permanent IP address that does not change
upvoted 1 times
JonHin
3 months, 3 weeks ago
A custom hosts file is a file that maps hostnames to IP addresses, allowing the user to access websites or servers by their names instead of their numerical addresses. For example, a user can add a line like 192.168.1.100 myserver.local to their hosts file and then access the server by typing myserver.local in their browser. However, this method only works if the IP address of the server does not change. If the server is configured with a dynamic IP address, which means it can be assigned a different IP address by the network router or DHCP server, then the hosts file entry will become invalid and the user will not be able to connect to the server by its hostname. Therefore, the technician should ensure that the server is configured with a static IP address, which means it has a fixed and permanent IP address that does not change
upvoted 1 times
...
...
CloudChef
7 months ago
The server is configured with a static IP address: This is the most likely solution. If the server does not have a static IP address or if it is using dynamic IP assignment (via DHCP), the IP address could change unexpectedly, causing the user’s computer to be unable to reach the server using the hostname in the custom hosts file. Ensuring the server has a static IP address guarantees that the server's IP address does not change, allowing the hosts file to resolve the hostname correctly.
upvoted 1 times
...
dvdlau
9 months, 3 weeks ago
Selected Answer: C
Reasoning: Service Availability: For the user to connect to the locally hosted site, the necessary services (such as web server services like HTTP/HTTPS) must be running on the server. If these services are not enabled, the hostname will not resolve correctly. Connectivity: Even if the server has a static IP address or is functioning properly, if the required services are not running, the user will still experience connectivity issues.
upvoted 1 times
...
Sigepneo01
1 year, 2 months ago
The answer is A.... just ask Brandon
upvoted 4 times
BubuG63
10 months, 3 weeks ago
who is Brandon? lol.....
upvoted 2 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 ...