Inspirational journeys

Follow the stories of academics and their research expeditions

Comptia Linux + 2023 Questions and answer - Part 6

Mary Smith

Sat, 24 May 2025

Comptia Linux + 2023 Questions and answer - Part 6

1. Which of the following keywords can be used in the file /etc/resolv.conf? (Choose TWO correct answers.)(Select 2answers)

A) A. substitute
B) B. nameserver
C) C. search
D) D. lookup
E) E. method


2. On a regular users workstation the route command takes a long time before printing out the routing table. Which of the following errors does that indicate?

A) A. The local routing information may be corrupted and must be re-validated using a routing protocol.
B) B. One of the routers in the routing table is not available which causes the automatic router failure detection mechanism (ARF-D) to wait for a timeout.
C) C. There may accidentally be more than one default router in which case a default router election has to be done on the network in order to choose one router as the default.
D) D. DNS resolution may not be working as route by default tries to resolve names of routers and destinations and may run into a timeout.



3. Which configuration file would be edited to change the default options for outbound SSH sessions?

A) A. /etc/ssh/sshd_config
B) B. /etc/ssh/ssh
C) C. /etc/ssh/client
D) D. /etc/ssh/ssh_config
E) E. /etc/ssh/ssh_client


4. Which of the following programs uses the hosts.allow file to perform its main task of checking for access control restrictions to system services?

A) A. tcpd
B) B. inetd
C) C. fingerd
D) D. mountd
E) E. xinetd


5. Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?

A) A. core
B) B. edquota
C) C. ulimit
D) D. quota



1. Right Answer: B,C
Explanation:

2. Right Answer: D
Explanation:

3. Right Answer: D
Explanation:

4. Right Answer: A
Explanation:

5. Right Answer: C
Explanation:

0 Comments

Leave a comment