Red Hat Principles Flashcards

(54 cards)

1
Q

What is Red Hat Linux?

A

A Linux distribution developed by Red Hat, known for its enterprise-level features.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True or False: Red Hat Linux is an open-source operating system.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What package management system does Red Hat Linux use?

A

RPM (Red Hat Package Manager)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Fill in the blank: The primary configuration file for network settings in Red Hat Linux is ______.

A

/etc/sysconfig/network-scripts/ifcfg-<interface></interface>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the purpose of SELinux in Red Hat Linux?

A

To provide an additional layer of security through mandatory access controls.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which command is used to update packages in Red Hat Linux?

A

yum update

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does RHEL stand for?

A

Red Hat Enterprise Linux

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

True or False: Red Hat Linux supports both graphical and command-line interfaces.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the default file system used in Red Hat Linux?

A

XFS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What command is used to check the system’s current kernel version?

A

uname -r

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Fill in the blank: The Red Hat subscription model provides access to ______.

A

support, updates, and additional software repositories.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the role of the ‘systemd’ in Red Hat Linux?

A

To manage system services and the boot process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which command is used to start, stop, or restart services in Red Hat Linux?

A

systemctl

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

True or False: The command ‘chmod’ is used to change file permissions.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does the ‘chown’ command do?

A

Changes the ownership of a file or directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the purpose of the ‘/etc/passwd’ file?

A

To store user account information.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Fill in the blank: The command ‘ls -l’ provides a ______ listing of directory contents.

A

detailed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is the function of the ‘firewalld’ service in Red Hat Linux?

A

To manage firewall rules dynamically.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What command is used to view active network connections?

A

netstat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

True or False: Red Hat Linux can be run on both physical and virtual machines.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is the purpose of the ‘/etc/fstab’ file?

A

To define how disk partitions and other file systems are mounted.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What command is used to create a new directory?

23
Q

Fill in the blank: The main log file for system messages is located in ______.

A

/var/log/messages

24
Q

Which command shows disk usage for files and directories?

25
What does the acronym LVM stand for?
Logical Volume Manager
26
True or False: The 'grep' command is used for searching text in files.
True
27
What is the purpose of the 'yum' command?
To manage packages and dependencies in Red Hat Linux.
28
Fill in the blank: The command 'ps aux' lists ______.
all running processes on the system.
29
What is the primary use of the 'scp' command?
To securely copy files between hosts over SSH.
30
What is the difference between 'hard link' and 'soft link'?
Hard links point to the same inode, while soft links (symbolic links) point to the filename.
31
True or False: Red Hat Linux uses the Btrfs file system by default.
False
32
What is the purpose of the 'cron' daemon?
To schedule periodic tasks.
33
Fill in the blank: The 'df' command is used to report file system ______.
disk space usage
34
What is an RPM package?
A software package format used by Red Hat for installing applications.
35
True or False: The '/root' directory is the home directory for the root user.
True
36
What command is used to view the contents of a file?
cat
37
What does the command 'kill' do?
Terminates a running process.
38
Fill in the blank: The 'tar' command is commonly used for ______.
compressing and archiving files.
39
What is the purpose of the 'sudo' command?
To execute commands with elevated privileges.
40
What does the term 'kernel' refer to?
The core component of the operating system that manages system resources.
41
True or False: Red Hat Linux supports containerization through technologies like Docker.
True
42
What is the function of the 'init' system?
To initialize the system and manage system processes.
43
Fill in the blank: The 'hostname' command is used to display or set the system's ______.
hostname
44
What is the significance of the '/etc/hosts' file?
It maps hostnames to IP addresses.
45
What command is used to change the current working directory?
cd
46
What does the 'ping' command do?
Tests network connectivity to another host.
47
True or False: The 'whoami' command displays the current user's username.
True
48
What does the acronym SSH stand for?
Secure Shell
49
What is the purpose of the 'mount' command?
To attach a file system to the system's directory tree.
50
Fill in the blank: The 'echo' command is used to display ______.
text or variables in the terminal.
51
What does the command 'ifconfig' do?
Displays network interface configuration.
52
What is the primary function of the 'rsync' command?
To synchronize files and directories between locations.
53
True or False: The 'history' command shows a list of previously executed commands.
True
54