Search Header Logo

Linux-2 Quiz 4 - ntp

Authored by yuri van der List

Computers

1st - 3rd Grade

Used 105+ times

Linux-2 Quiz 4 - ntp
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

NTP runs on which port?

123 tcp

123 UDP

312 tcp

312 UDP

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

How can I check if NTP daemon is running? Choose 2.

ps aux | grep ntpd

service status NTP

pchk NTPD

systemctl status ntp

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can I check if ntp is synced?

ntp - status

date

ntpq -p

ntp -q

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Correct command to allow all TCP and UDP connections on IP 207.46.232.182 IP for port 22.

sudo ufw 207.46.232.182:22 allow

sudo ufw allow from 207.46.232.182 to any port 22

sudo ufw 207.46.232.182 port 22 allow

sudo ufw allow ip 207.46.232.182 using port 22

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

how to allow all UDP connections (incoming and outgoing) on port 123

sudo ufw allow 123/udp

sudo ufw allow port 123 proto udp

sudo ufw open port=123 proto=udp

sudo ufw enable port 123 proto udp

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

When using 'top' to check system resources, processes and CPU-usage: How to check the CPU-load per CPU on a multi-processor machines?

press the 'c' key

press the '1' key

press the 'm' key

this is not possible in TOP, install and use HTOP

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

on a Red Hat (RHEL) system, what command is used to query, add and remove firewall-rules

firewalld

ufw

firewall-cmd

ip tables

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?