LINUX-SECURITY-REVIEW QUESTIONS
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? - Answers -/etc /
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"? - Answers -The file was saved to the
/tmp directory and deleted immediately.
A Linux user downloaded a new binary to the OS, but can't run it right away. What
should she do to allow execution of the binary from any location in the system? -
Answers -She needs to have high-level privileges to execute the binary.
As a junior system administrator, you were tasked with installing package updates on an
Ubuntu server. Which command would you run? - Answers -apt upgrade
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? - Answers -
Traceroute
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? - Answers -The service needs to be restarted to apply
the changes.
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? - Answers -tar
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? - Answers -Other users do not have high enough level permissions to run the
Bash script.
How does a user open a hidden file? - Answers -vim ~/.bashrc
What is a text editor for UNIX-like operating environments. It is a third-party application
that works with an interface similar to Notepad - Answers -gedit
The chmod command sets permissions using numerical inputs for a? - Answers -File
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller GEEKA. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.49. You're not tied to anything after your purchase.