Inspirational journeys

Follow the stories of academics and their research expeditions

Comptia Linux + 2023 Questions and answer - Part 26

Mary Smith

Mon, 24 Mar 2025

Comptia Linux + 2023 Questions and answer - Part 26

1. Which commands can be used to change a user's account aging information? (Choose THREE correct answers.)(Select 3answers)

A) A. usermod
B) B. passwd
C) C. chattr
D) D. chage
E) E. chsh


2. What is not contained in the locale setting of the operating system?

A) A. currency symbol
B) B. language
C) C. timezone
D) D. thousands separator



3. What is true about the file /etc/localtime?

A) A. It is a plain text file containing a string such as Europe/Berlin.
B) B. It is created and maintained by the NTP service based on the geolocation of the system's IP address.
C) C. It is a symlink to /sys/device/clock/ltime and always contains the current local time.
D) D. It is either a symlink to or a copy of a timezone information file such as /usr/share/zoneinfo/Europe/Berlin.



4. What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)(Select 2answers)

A) A. The user bob is removed from the system's user database.
B) B. The user bob's home directory is removed.
C) C. The locate database is updated to drop files owned by bob.
D) D. All files owned by bob are remove from all mounted filesystems.
E) E. In case bob was the last member of a group, that group is deleted.


5. Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)(Select 3answers)

A) A. The list of users that belong to the group.
B) B. The home directory of the group.
C) C. The name of the group.
D) D. The description of the group.
E) E. The password of the group.


1. Right Answer: A,B,D
Explanation:

2. Right Answer: C
Explanation:

3. Right Answer: D
Explanation:

4. Right Answer: A,B
Explanation:

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

0 Comments

Leave a comment