Linux Security Questions - Solved 2024, Exams of Advanced Education

A variety of linux security-related questions and their answers, providing insights into topics such as linux installation, shell scripting, network troubleshooting, file permissions, package management, and more. The questions cover a range of linux concepts, including the live mode, shebang, bash, network testing tools, variable syntax, backup tools, configuration file locations, and security mechanisms. The answers provide a comprehensive understanding of these linux security-related topics, making this document a valuable resource for linux users, administrators, and students seeking to enhance their knowledge and skills in linux security.

Typology: Exams

2023/2024

Available from 10/14/2024

Examproff
Examproff 🇺🇸

3

(2)

8.3K documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Linux Security Questions- Solved 2024
A new Linux user selected the Live option upon installation.
He then created a holiday schedule and saved it in the home
directory before turning off the computer. The next day he
turned the computer on and could not find the file.
What may be the reason? - ANS-The user chose Live mode, which doesn't retain its
state
What does the shebang do? - ANS-Direct a script to a terminal
Bash works in both windows and linux natively? - ANS-False
An employee in your company submitted a support ticket
regarding connectivity speed when trying to access a specific
server. Which of the following network testing tools can you use
to find the cause of the slowdown in the route to the server? - ANS-Traceroute
What symbol denotes a variable in bash - ANS-$
You were asked to create a script that will back up and archive
all user desktop directories in a Linux machine. Which of the
following tools will you use in the script to back up the
directories? - ANS-tar
what symbol denotes "comment"? - ANS-#
A service in the server is generating errors after changes were
made in its configuration file. You were asked to identify the
issue in the configuration file and resolve it. Which of the
following directories would contain the file? - ANS-/etc
what command closes out and "IF" statement - ANS-fi
A network administrator activated the SAMBA service in a
Linux machine. He then changed the configuration file to
allow guest login. While testing the new configuration, he was
not able to log in as a guest. A status check confirmed that
the system is up and running. What may be the cause? - ANS-The service needs to be
restarted to apply the changes
Linux OS system basically consist of 3 components, what are they? - ANS-Kernel ,
system utility, system library
pf3
pf4

Partial preview of the text

Download Linux Security Questions - Solved 2024 and more Exams Advanced Education in PDF only on Docsity!

Linux Security Questions- Solved 2024

A new Linux user selected the Live option upon installation. He then created a holiday schedule and saved it in the home directory before turning off the computer. The next day he turned the computer on and could not find the file. What may be the reason? - ANS-The user chose Live mode, which doesn't retain its state What does the shebang do? - ANS-Direct a script to a terminal Bash works in both windows and linux natively? - ANS-False An employee in your company submitted a support ticket regarding connectivity speed when trying to access a specific server. Which of the following network testing tools can you use to find the cause of the slowdown in the route to the server? - ANS-Traceroute What symbol denotes a variable in bash - ANS-$ You were asked to create a script that will back up and archive all user desktop directories in a Linux machine. Which of the following tools will you use in the script to back up the directories? - ANS-tar what symbol denotes "comment"? - ANS-# A service in the server is generating errors after changes were made in its configuration file. You were asked to identify the issue in the configuration file and resolve it. Which of the following directories would contain the file? - ANS-/etc what command closes out and "IF" statement - ANS-fi A network administrator activated the SAMBA service in a Linux machine. He then changed the configuration file to allow guest login. While testing the new configuration, he was not able to log in as a guest. A status check confirmed that the system is up and running. What may be the cause? - ANS-The service needs to be restarted to apply the changes Linux OS system basically consist of 3 components, what are they? - ANS-Kernel , system utility, system library

What are two advantages of CLI? - ANS-Faster and easier to use by a expert and very flexible Ctrl+Alt+Delete key combo work on Linux? - ANS-False A Bash script is run by a user to access /etc/shadow and fetch a hashed password. When a different user runs the script, however, the execution fails. What could be the problem? - ANS-Other users do not have high enough level permissions to run the Bash script Which is the default shell for the latest kali distro - ANS-Fish As a junior system administrator, you were tasked with installing package updates on an Ubuntu server. Which command would you run? - ANS-apt upgrade Which command would you use to check how much memory is being used by Linux? - ANS-htop, free -m, vmstat Hard links point directly to the physical file on disk, and not to the pathname. - ANS- True Linux text editors - ANS-nano, VI, VM A user presses the letter 'e' on the keyboard during the Linux boot process, and was prompted to enter a password. Which security mechanism was implemented? - ANS-Grub encryption what is FreeIPA? - ANS-Linux based active directory A new Linux user saved an important file in the system, but can't remember where. He tries to locate the file using the locate command, but it doesn't appear. Which of the following may be the cause of its "disappearance"? - ANS-The database used by the locate command is not up-to-date. All aspects of Linux are free - ANS-False The command "chmod" is used for what? - ANS-modifying file permissions You should always compile code as root? - ANS-False Linux runs best on NSTF partitions? - ANS-False A Linux user downloaded a new binary to the OS, but can't

what is the /tmp the name of? - ANS-a directory