lplinux Flashcards

1
Q

What are the differences between hard disk drives and solid state disks?

A

Hard disks have a motor and moving parts, solid state disks do not. Solid state disks provide faster access to stored date than hard disks

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

Reverse DNS assigns hostnames to IP addresses. How is the name of the IP address 198.51.100.165 stored on a DNS server?

A

IN the PTR record for 165.100.51.198.in-addr. arpa.

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

Which of the follow types of bus can connected hard disks drives with the motherboard

A

The Auto Bus

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

Members of a team already have experience using Red Hat Enterprise Linux. For a small hobby project the team wants to set up a Linux server without paying for a subscription. Which of the following Linux distributions allows the team members to apply as much of their Red Hat Enterprise Linux knowledge as possible?

A

CentOS

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

What information can be displayed by top?

A

Running processes, ordered by CPU or RAM consumption

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

Which of the following commands can be used to resolve a DNS name to an IP address

A

host

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

Which of the following outputs comes from the command free?

A

total used free shared buff/cache available
Mem: 16123128 12565680 2011624 412128 1545824 7180416

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

What is true about the dmesg command?

A

It displays the content of the Linux kernel ג€™s ring buffer. & It might not display older information because it was overwritten by newer information.

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

Which of the following outputs could stem from the command last?

A

root tty2 Wed May 17 21:11 - 21:11 (00:00)

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

What is the UID of the user root?

A

0

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

Which permissions are set on a regular file once permissions have been modified with the command chmod 654 file. txt?

A

-rw-r-xr–

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

What is true about the owner of a file?

A

Each file is owned by exactly one user and one group

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

Which of the following permissions are set on the /tmp/directory?

A

rwxrwxrwt

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

Which command adds the new user tux and creates the user’s home directory with default configuration files?

A

useradd -m tux

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

What information is stored in /etc/passwd?

A

The numerical user ID / The username / The user’s default shell

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