Red Hat Principles Flashcards

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
Q

What does the acronym LVM stand for?

A

Logical Volume Manager

26
Q

True or False: The ‘grep’ command is used for searching text in files.

27
Q

What is the purpose of the ‘yum’ command?

A

To manage packages and dependencies in Red Hat Linux.

28
Q

Fill in the blank: The command ‘ps aux’ lists ______.

A

all running processes on the system.

29
Q

What is the primary use of the ‘scp’ command?

A

To securely copy files between hosts over SSH.

30
Q

What is the difference between ‘hard link’ and ‘soft link’?

A

Hard links point to the same inode, while soft links (symbolic links) point to the filename.

31
Q

True or False: Red Hat Linux uses the Btrfs file system by default.

32
Q

What is the purpose of the ‘cron’ daemon?

A

To schedule periodic tasks.

33
Q

Fill in the blank: The ‘df’ command is used to report file system ______.

A

disk space usage

34
Q

What is an RPM package?

A

A software package format used by Red Hat for installing applications.

35
Q

True or False: The ‘/root’ directory is the home directory for the root user.

36
Q

What command is used to view the contents of a file?

37
Q

What does the command ‘kill’ do?

A

Terminates a running process.

38
Q

Fill in the blank: The ‘tar’ command is commonly used for ______.

A

compressing and archiving files.

39
Q

What is the purpose of the ‘sudo’ command?

A

To execute commands with elevated privileges.

40
Q

What does the term ‘kernel’ refer to?

A

The core component of the operating system that manages system resources.

41
Q

True or False: Red Hat Linux supports containerization through technologies like Docker.

42
Q

What is the function of the ‘init’ system?

A

To initialize the system and manage system processes.

43
Q

Fill in the blank: The ‘hostname’ command is used to display or set the system’s ______.

44
Q

What is the significance of the ‘/etc/hosts’ file?

A

It maps hostnames to IP addresses.

45
Q

What command is used to change the current working directory?

46
Q

What does the ‘ping’ command do?

A

Tests network connectivity to another host.

47
Q

True or False: The ‘whoami’ command displays the current user’s username.

48
Q

What does the acronym SSH stand for?

A

Secure Shell

49
Q

What is the purpose of the ‘mount’ command?

A

To attach a file system to the system’s directory tree.

50
Q

Fill in the blank: The ‘echo’ command is used to display ______.

A

text or variables in the terminal.

51
Q

What does the command ‘ifconfig’ do?

A

Displays network interface configuration.

52
Q

What is the primary function of the ‘rsync’ command?

A

To synchronize files and directories between locations.

53
Q

True or False: The ‘history’ command shows a list of previously executed commands.