Search Header Logo

Linux System Administrator Technical Assessment

Authored by Jitolee Scans

Computers

Professional Development

Used 3+ times

Linux System Administrator Technical Assessment
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

22 questions

Show all answers

1.

OPEN ENDED QUESTION

15 mins • 5 pts

Explain the difference between a symbolic link and a hard link in Linux. When would you use each?

Evaluate responses using AI:

OFF

Answer explanation

A symbolic link points to a file by name and can link to directories, while a hard link points directly to the file's inode and cannot link to directories. Use symbolic links for flexibility and hard links for file system integrity.

2.

OPEN ENDED QUESTION

15 mins • 3 pts

What command would you use to find all files owned by user 'cifor' and larger than 100MB in the /var/log directory?

Evaluate responses using AI:

OFF

Answer explanation

Use the command 'find /var/log -user cifor -size +100M' to locate all files owned by user 'cifor' that are larger than 100MB in the /var/log directory. The '-user' option specifies the owner, and '-size +100M' filters by size.

3.

OPEN ENDED QUESTION

15 mins • 3 pts

Describe how to change the default run level in a systemd-based Linux distribution.

Evaluate responses using AI:

OFF

Answer explanation

To change the default run level in a systemd-based Linux distribution, edit the /etc/systemd/system/default.target file to point to the desired target (e.g., multi-user.target or graphical.target) and then reboot the system.

4.

OPEN ENDED QUESTION

15 mins • 4 pts

Write a command to find all processes using more than 10% of CPU and sort them by memory usage.

Evaluate responses using AI:

OFF

Answer explanation

Use the command 'ps aux --sort=-%mem | awk '$3>10'' to filter processes using more than 10% CPU and sort them by memory usage. The 'ps aux' lists processes, 'awk' filters based on CPU usage, and '--sort=-%mem' sorts by memory.

5.

OPEN ENDED QUESTION

15 mins • 5 pts

Explain the purpose of the following:

files/directories:

- /etc/fstab

- /proc

- /var/spool

- /etc/passwd

- /etc/shadow

Evaluate responses using AI:

OFF

Answer explanation

The files/directories serve specific purposes: /etc/fstab defines disk partitions, /proc contains process information, /var/spool holds queued data, /etc/passwd stores user account info, and /etc/shadow contains secure user passwords.

6.

OPEN ENDED QUESTION

15 mins • 5 pts

You notice that a Linux server is running out of disk space. Describe the steps you would take to identify which directories are consuming the most space and how you would address the issue.

Evaluate responses using AI:

OFF

Answer explanation

Use the 'du -h --max-depth=1' command to identify large directories. Then, use 'ncdu' for a more interactive view. Address space issues by deleting unnecessary files or moving data to another storage solution.

7.

OPEN ENDED QUESTION

15 mins • 5 pts

Describe your approach to patching critical vulnerabilities on Linux servers. Include considerations for testing, scheduling, and rollback procedures

Evaluate responses using AI:

OFF

Answer explanation

To patch critical vulnerabilities on Linux servers, I prioritize testing in a staging environment, schedule updates during off-peak hours, and implement rollback procedures using backups to ensure system stability.

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?