wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Server I Homework 4

Total questions: 31

Worksheet time: 16mins

Name
Class
Date
1.

What is the primary function of the "groupadd" command?

a)

To modify user account passwords

b)

To configure firewall settings

c)

To create new user groups

d)

To display a list of existing user groups

2.

What does the "groupadd" command require to create a new user group?

a)

It configures user home directories

b)

It manages system services

c)

It creates new user accounts with default settings

d)

It assigns user IDs based on birthdates

3.

Where can you find system logs that record events and activities on a Linux system?

a)

/var/log/

b)

/usr/log/

c)

/var/syslog/

d)

/etc/log/

4.

What is the purpose of the "/etc/group" file in a Linux user management context?

a)

It contains information about user groups and their members

b)

It stores encrypted group passwords

c)

It controls system backups

d)

It stores user account passwords

5.

What does the file "/etc/resolv.conf" contain in a Linux system?

a)

Configuration information for the DNS client

b)

User account details

c)

A list of connected devices on the network

d)

System log messages

6.

How is the Internet Protocol version 4 (IPv4) different from IPv6?

a)

IPv4 uses a 128-bit address format, while IPv6 uses a 32-bit format

b)

IPv4 uses a 32-bit address format, while IPv6 uses a 128-bit format

c)

IPv4 supports multicast, while IPv6 supports unicast communication.

d)

IPv4 is used for wired networks, while IPv6 is used for wireless networks

7.

How can you ensure consistency among user account settings using the "/etc/skel/" directory?

a)

By enforcing strict password policies

b)

By storing encrypted user passwords

c)

By assigning unique user IDs

d)

By providing a template for new user home directories with predefined configurations

8.

What is the primary function of a router in a network?

a)

To store and manage files for network users

b)

To manage user authentication on the network

c)

To provide electricity to connected devices

d)

To direct and forward data packets between different networks

9.

How does the "ifconfig" command assist in managing a Linux system's network interfaces?

a)

It displays and configures network interfaces and IP addresses

b)

It measures network bandwidth

c)

It lists active DNS servers

d)

It provides information about network protocols

10.

How does the "free" command assist in system monitoring?

a)

It lists all free disk space on the system

b)

It analyzes network traffic

c)

It provides information about memory usage and availability

d)

It displays a list of available system updates

11.

How does the "passwd" command assist in user account management?

a)

It allows users to change their own passwords

b)

It manages network protocols

c)

It creates and configures user groups

d)

It adds new users to the system

12.

Which command is used to query client configuration on a Linux system?

a)

query dns

b)

host

c)

netstat

d)

dnsquery

13.

What is a user group in the context of Linux user account management?

a)

An encrypted user password

b)

A collection of system logs

c)

A group of users with administrator rights

d)

A set of users who share common permissions and privileges

14.

Which file stores information about user accounts, including usernames and user IDs?

a)

/var/accounts

b)

/etc/users

c)

/etc/passwd

d)

/etc/credentials

15.

How does querying network configuration using the "ip route show" command help in troubleshooting network issues?

a)

It generates graphical network diagrams

b)

It displays routing information, helping identify network connectivity problems

c)

It shows real-time network traffic

d)

It lists available network services

16.

What is the significance of querying DNS client configuration using the "host" command?

a)

It retrieves DNS records and translates hostnames to IP addresses

b)

It traces the network route to the host

c)

It displays the host's physical location on the network

d)

It tests network connectivity to the host

17.

How can you determine the path that network traffic takes to reach a specific destination using the "route" command?

a)

By displaying the routing table

b)

By analyzing network packets

c)

By querying DNS records

d)

By initiating a network trace route

18.

What information does the "/etc/passwd" file contain in relation to user accounts?

a)

User home directory paths

b)

User group membership details

c)

User account passwords

d)

User account information, including usernames and user IDs

19.

Which directory contains special files that represent devices connected to the system, such as hard drives and USB devices?

a)

/proc/

b)

/dev/

c)

/sys/

d)

/devices/

20.

What is the primary function of the "host" command?

a)

To display a list of available network services

b)

To configure firewall settings

c)

To query DNS records and retrieve information about hosts

d)

To trace network routes

21.

What information does the "dmesg" command display?

a)

A list of currently running processes

b)

Kernel-related messages and hardware initialization information

c)

Network Configuration settings

d)

System configuration files

22.

Which command is used to display network interfaces and their associated IP addresses on a Linux system?

a)

ifconfig or ip addr show

b)

netscan

c)

hostconfig

d)

networkcfg

23.

How can you determine whether a host is reachable on the network using the "ping" command?

a)

By sending a query to the host's Domain Name System (DNS) server

b)

By initiating a secure connection to the host

c)

By checking the host's physical address

d)

By sending echo requests and waiting for echo replies

24.

What does the "/etc/hosts" file contain in a Linux system?

a)

A list of active network interfaces

b)

A list of network services

c)

A mapping of IP addresses to hostnames

d)

A record of network logs

25.

What does a user ID (UID) represent in a Linux user account?

a)

A unique numeric identifier assigned to each user

b)

The user's birthdate

c)

The user's email address

d)

The user's full name

26.

What does the "useradd" command require in order to successfully create a new user account?

a)

A unique username and password

b)

A valid email address

c)

A unique username and a user ID

d)

Administrator privileges

27.

How can you identify the most resource-intensive processes running on a Linux system?

a)

Through the "listtop" command

b)

By employing the "top" command

c)

Using the "ps" command

d)

With the "showproc" command

28.

What is the primary purpose of the "/etc/shadow" file in user account management?

a)

To store encrypted user passwords

b)

To control network access

c)

To store user home directory contents

d)

To manage user group memberships

29.

What does the "passwd" command allow users to do in a Linux system?

a)

Change their own password

b)

Create new user groups

c)

Monitor system resource usage

d)

Add new users to the system

30.

How does the "passwd" command differ from the "useradd" command in terms of functionality?

a)

"passwd" manages user passwords, while "useradd" creates new user accounts

b)

"passwd" handles network configuration

c)

"passwd" creates new user accounts, while "useradd" changes existing passwords

d)

"passwd" and "useradd" are interchangeable commands

31.

What does the "ping" command primarily measure when communicating with a host on the network?

a)

The host's encryption strength

b)

Round-trip time for sending and receiving packets

c)

The host's response time to DNS queries

d)

The number of hops between networks