1Z0-106 practice question 7 of 15

Which is true about the /etc/sysconfig directory in an Oracle Linux 8 system?

Full set: 60 questions
Answer options
A: It is used to access device and device driver information.
B: Files in this directory hierarchy contain information about running processes.
C: Its contents depend on the packages installed on the system. Correct answer
D: Files in this directory hierarchy contain information about system hardware.
Correct Answer:
C. Its contents depend on the packages installed on the system.
Explanation

The /etc/sysconfig directory in Oracle Linux 8 contains static configuration files and scripts that control the behavior of system services and utilities. When a software package that provides a system service (e.g., chronyd, sshd, network-scripts) is installed, it often places a corresponding configuration file in this directory. For example, installing the chronyd package creates /etc/sysconfig/chronyd. Therefore, the contents of the /etc/sysconfig directory are directly dependent on which packages are installed on the system, allowing administrators to customize service parameters.

Why Incorrect

A. Device and driver information is dynamically exposed through the /sys and /proc virtual filesystems, not stored in /etc/sysconfig.
B. Information about running processes is located in the /proc virtual filesystem, with each process having a subdirectory named by its process ID.
D. System hardware information is made available by the kernel through virtual filesystems like /proc (e.g., /proc/cpuinfo) and /sys.

References

1. Oracle Linux 8 Documentation: In the "Managing Core System Configuration" guide

the description of the /etc directory states it contains system configuration files. The /etc/sysconfig subdirectory is a convention in RHEL-based distributions like Oracle Linux for holding configuration files for services installed by packages. For instance

the networking service configuration is detailed in /etc/sysconfig/network-scripts/

which is provided by the network-scripts package.

Source: Oracle® Linux 8: Managing Core System Configuration

Chapter 1

"About System Configuration Files".

2. systemd Documentation (man pages): The systemd.exec(5) man page

which is part of the official Oracle Linux 8 system documentation

describes the EnvironmentFile= directive used in service unit files. This directive often points to a file in /etc/sysconfig to load service-specific configuration variables. This establishes a direct link between a service (installed by a package) and its configuration file in /etc/sysconfig.

Source: man systemd.exec

Section "EnvironmentFile="

Oracle Linux 8.

3. Red Hat Enterprise Linux 8 Documentation: As Oracle Linux is derived from RHEL

its documentation is highly relevant. The "Configuring and managing networking" guide explicitly details the role of files within /etc/sysconfig/network-scripts. The presence and content of these files depend on the network-scripts package being installed and the network interfaces configured.

Source: Red Hat Enterprise Linux 8 Documentation

"Configuring and managing networking

" Section 2.3

"Configuring an Ethernet connection using ifcfg files".

Scroll to Top