100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
LINUX SECURITY PRACTICE & EXAM $10.99   Add to cart

Exam (elaborations)

LINUX SECURITY PRACTICE & EXAM

 1 view  0 purchase
  • Course
  • LINUX SECURITY
  • Institution
  • LINUX SECURITY

LINUX SECURITY PRACTICE & EXAM

Preview 2 out of 5  pages

  • September 18, 2024
  • 5
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • LINUX SECURITY
  • LINUX SECURITY
avatar-seller
GEEKA
LINUX SECURITY PRACTICE & EXAM
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?
A. /home
B. /etc
C. /bin
D. /tmp - Answers -B. /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"?
A. The database used by the locate command is not up-to-date.
B. The file was saved to the /tmp directory and deleted immediately.
C. The simple user account he worked with did not have the ability to locate the file.
D. The terminal needs to be restarted to locate the file. - Answers -A. The database
used by the locate command is not up-to-date.

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?
A. That can't be done. The binary can be executed only from within its own location.
B. She needs to have high-level privileges to execute the binary.
C. The binary files should be placed in a directory located in the PATH.
D. Nothing needs to be done. When it is downloaded, it is automatically set to be
executed from anywhere. - Answers -C. The binary files should be placed in a directory
located in the PATH.

As a junior system administrator, you were tasked with installing package updates on an
Ubuntu server. Which command would you run?
A. sudo apt-get update
B. yum upgrade
C. apt upgrade
D. dnf -y update - Answers -C. apt upgrade

Which command will output only the first five lines of the text.txt file?
A. less text.txt
B. tail -n 5 text.txt
C. head text.txt
D. head -n 5 text.txt - Answers -D. head -n 5 text.txt

Which directory does cd / navigate to?
A. Root directory
B. Parent of the current directory
C. Previous directory

, D. Home directory - Answers -A. Root directory

Which of the following files stores hashed passwords in Linux?
A. /etc/shadow
B. /tmp/password
C. /etc/passwd
D. /etc/hosts - Answers -A. /etc/shadow

Which of the following protocols are unsecure? (Select two)
A. SSH
B. SCP
C. FTP
D. Telnet - Answers -C. FTP
D. Telnet

What is the su command used for?
A. To run commands as a simple user
B. To run applications
C. To switch users
D. To create a super-user
D. To shut down the system - Answers -C. To switch users

What is /tmp the name of?
A. Hidden file
B. Configuration file
C. Directory
D. Read-only file - Answers -C. Directory

What type of users can access the /etc/shadow file?
A. Any user
B. Only superusers - Answers -B. Only superusers

Which open-source software is used in Linux to provide SMB based services?
A. Top
B. MD5sum
C. Samba
D. Named - Answers -C. Samba

By default, Apache serves HTTP content on which port?
A. 8443
B. 8080
C. 65537
D. 443
E. 80 - Answers -E. 80

Which file is edited in Linux to configure the automation of tasks?

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

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

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

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.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

83637 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$10.99
  • (0)
  Add to cart