Inspirational journeys

Follow the stories of academics and their research expeditions

Comptia Linux + 2023 Questions and answer - Part 7

Mary Smith

Wed, 26 Mar 2025

Comptia Linux + 2023 Questions and answer - Part 7

1. When trying to unmount a device it is reported as being busy. Which of the following commands could be used to determine which process is causing this?

A) A. debug
B) B. lsof
C) C. nessus
D) D. strace
E) E. traceroute


2. Which configuration file would be edited to change default options for the OpenSSH server?

A) A. /etc/ssh/sshd_config
B) B. /etc/ssh/ssh
C) C. /etc/ssh/server
D) D. /etc/ssh/ssh_config
E) E. /etc/ssh/ssh_server


3. Which configuration file does sudo read when determining if a user is permitted to run applications with root privileges?

A) A. /etc/security.conf
B) B. /etc/supasswd
C) C. /etc/sudoers
D) D. /etc/sudo.conf



4. Which of the following commands can be used to associate open TCP ports with the processes that opened the ports?

A) A. ptrace
B) B. strace
C) C. debug
D) D. nessus
E) E. lsof


5. Which of the following resources can be directly limited for a given user using ulimit? (Choose THREE correct answers.)(Select 3answers)

A) A. Maximum seconds of CPU time spent.
B) B. Maximum number of open file descriptors.
C) C. Maximum number of processes available.
D) D. Maximum number of concurrent login sessions.
E) E. Maximum seconds of login duration per session.


1. Right Answer: B
Explanation:

2. Right Answer: A
Explanation:

3. Right Answer: C
Explanation:

4. Right Answer: E
Explanation:

5. Right Answer: A,B,C
Explanation:

0 Comments

Leave a comment