Inspirational journeys

Follow the stories of academics and their research expeditions

Comptia Linux + 2023 Questions and answer - Part 33

Mary Smith

Wed, 09 Jul 2025

Comptia Linux + 2023 Questions and answer - Part 33

1. Which of the following commands lists the dependencies of a given dpkg package?

A) A. apt-cache depends-on package
B) B. apt-cache dependencies package
C) C. apt-cache depends package
D) D. apt-cache requires package



2. Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?

A) A. hidemenu
B) B. splash
C) C. timeout
D) D. showmenu



3. What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)(Select 3answers)

A) A. To create RAID 9 arrays.
B) B. To dynamically change the size of logical volumes.
C) C. To encrypt logical volumes.
D) D. To create snapshots.
E) E. To dynamically create or delete logical volumes.


4. Which of the following commands updates the linker cache of shared libraries?

A) A. mkcache
B) B. soconfig
C) C. mkldconfig
D) D. lddconfig
E) E. ldconfig


5. Which of the following commands lists all currently installed packages when using RPM package management?

A) A. yum --query --all
B) B. yum --list --installed
C) C. rpm --query --all
D) D. rpm --list --installed



1. Right Answer: C
Explanation:

2. Right Answer: C
Explanation:

3. Right Answer: B,D,E
Explanation:

4. Right Answer: E
Explanation:

5. Right Answer: C
Explanation:

0 Comments

Leave a comment