Which system file contains local static mappings of domain names to IP addresses, checked before querying external DNS servers in Windows and Linux? MCQ with Answer and Explanation

Which system file contains local static mappings of domain names to IP addresses, checked before querying external DNS servers in Windows and Linux?
A. networks list
B. services config
C. hosts file
D. resolv.conf
Answer: Option C
Solution (By JKSSB Mock Tests)
The 'hosts' file is a standard operating system text file that maps hostnames directly to network IP addresses, bypassing external DNS lookups.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Operating Systems Questions

Question #1
What is the name of the main repository of configuration settings, system preferences, and user options in Microsoft Windows?
A. System INI files
B. Control Panel
C. Windows Registry
D. Task Manager

Correct Answer: Option C


Explanation:
The Windows Registry is a centralized, hierarchical database used by Microsoft Windows to store low-level settings for the OS and applications.

This question belongs to: Computer Operating Systems
Question #2
In Windows, the 'Telnet' command is used for:
A. Remote command-line access to another host
B. Email communication
C. Web browsing
D. Network file transfer

Correct Answer: Option A


Explanation:
Telnet is a protocol for remote login to a host; it's not secure and often disabled.

This question belongs to: Computer Operating Systems
Question #3
Which of the following is a valid file permission represented in octal for a directory with rwx for owner, rx for group, and rx for others?
A. 644
B. 755
C. 550
D. 700

Correct Answer: Option B


Explanation:
755 = owner rwx (4+2+1), group rx (4+1), others rx (4+1).

This question belongs to: Computer Operating Systems