Integrating you Infrastructure Security Week 2 Flashcards

(10 cards)

1
Q

Which file contains information about each user, such as their home directory and shell?

A

/etc/passwd

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

Which command is used to update the package lists for upgrades?

A

apt update

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

What is the primary source list file for repositories?

A

/etc/apt/sources.list

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

Which permission allows a user to run a file as a program?

A

Execute

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

What is the default port for Apache2?

A

80

The default port for Apache2 is 80 for HTTP traffic.

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

The systemctl command is part of the systemd management framework.

A

True

The systemctl command is indeed part of the systemd management framework, providing a unified interface for controlling systemd services.

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

Which command is used to install a new package?

A

apt install

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

Which command is used to add a new group?

A

Both a and b

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

The top command can only display system statistics, but cannot manage processes.

A

False

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

What does the chmod command do?

A

Change file permissions.

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