Search Header Logo

Red Hat Linux Services Quiz

Authored by Pushpendra Pateriya

Computers

12th Grade

Used 1+ times

Red Hat Linux Services Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you permanently stop and disable a service from running immediately and on subsequent boots?

d) systemctl halt && systemctl disable
b) systemctl stop && systemctl disable && systemctl halt
a) systemctl stop && systemctl disable && systemctl mask
c) systemctl stop && systemctl disable

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the systemctl daemon-reload command do?

a) Reloads the systemd manager configuration.
d) Starts all inactive services.
b) Stops all active services.
c) Reloads the systemd manager configuration.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command would you use to restart the sshd service?

service sshd restart

systemctl reload sshd

systemctl restart sshd

init sshd restart

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to start a service in Red Hat Linux using systemd?

service start

systemctl start

init start

rc start

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which directive in the sshd_config file is used to specify the port that SSH listens on?

ListenPort

SSHPort

Port

ServicePort

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default target unit that resembles the traditional multi-user runlevel 3 in systemd?

multi-user.target

default.target

runlevel3.target

graphical.target

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To set the GUI (graphical target) as the default boot target, which command should be used?

systemctl enable graphical.target

systemctl start graphical.target

systemctl default graphical.target

systemctl set-default graphical.target

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?