100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
NPower Linux+ Exam 2.0: Questions & Accurate Answers (Rated A+) $17.99   Add to cart

Exam (elaborations)

NPower Linux+ Exam 2.0: Questions & Accurate Answers (Rated A+)

 0 view  0 purchase
  • Course
  • NPOWER
  • Institution
  • NPOWER

NPower Linux+ Exam 2.0: Questions & Accurate Answers (Rated A+)

Preview 3 out of 22  pages

  • October 13, 2024
  • 22
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • NPOWER
  • NPOWER
avatar-seller
LeCrae
NPower Linux+ Exam 2.0: Questions & Accurate
Answers (Rated A+)

A Linux administrator needs to give the correct permission on a file called
exam.txt. The owner needs to have full permissions to the file, the group only
needs read and execute permissions, and others will not have any
permissions. Which of the following commands should the administrator use
to accomplish this task?
A. chmod 644 exam.txt
B. chmod 650 exam.txt
C. chmod 750 exam.txt
D. chmod 760 exam.txt Right Ans - C. chmod 750 exam.txt

The users of a Linux system are unable to use one of the application
filesystems.
The following outputs have been provided:

Output 1:
$ cd /app
$ touch file
Touch: cannot touch 'file': Read-only file system

Output 2:
/dev/sdcl on /app type ext4 (ro,relatime,seclabel,data=ordered)

Output 3:
/dev/sdc1 /app ext4 defaults 0 0

Output 4:
[ 302.048075 ] Buffer I/O error on dev sdc1, logical block 0, asyng page read
[ 302.048490 ] EXT4-fs (sdc1) : Attempt to read block from filesystem
resulted in short read while trying
Re-open /dev/sdc1

Which of the following actions will resolve this issue?
A. umount /app
fsck -y /dev/sdc1
mount /app

,B. xfs_repair /dev/sdc1
mount -o rw
remount /app

C. umount /app
xfs_repair /dev/sdc1
mount /app

D. fsck -v /dev/sdc1 Right Ans - A. umount /app
fsck -y /dev/sdc1
mount /app

After several services crash, an administrator needs to find an explanation for
why the services crashed. Which of the following commands will display all of
the systemd service logs?
A. lastlog
B. dmesg
C. journalctl
D. cat /var/log/* Right Ans - C. journalctl

A Linux administrator is troubleshooting poor CPU performance on a virtual
machine. The administrator thinks that the underlying hypervisor may be
starved for resources. The administrator uses the top command to check the
current CPU usage. Which of the following CPU metrics supports the
administrator's theory?
A. user
B. nice
C. steal
D. system Right Ans - C. steal

An administrator attempts to connect to a remote server by running the
following command:

$ nmap 192.168.10.36

Starting Nmap 7.60 ( https://nmap.org ) at 2022-03-29 20:20 UTC
Nmap scan report for www1 (192.168.10.36)
Host is up (0.000091s latency).

, Not shown: 979 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp filtered ssh
631/tcp open ipp

Nmap done: 1 IP address (1 host up) scanned in 0.06 seconds

Which of the following can be said about the remote server?
A. A firewall is blocking access to the SSH server.
B. The SSH server is not running on the remote server.
C. The remote SSH server is using SSH protocol version 1.
D. The SSH host key on the remote server has expired. Right Ans - A. A
firewall is blocking access to the SSH server.

An administrator wants to create a shortcut to /shared/dev/projects. Which
of the following commands can the administrator use to create a link to the
/projects directory from the administrator's home directory?
A. ln ~/projects /shared/dev/projects
B. ln -s /home/admin/projects /shared/dev/projects
C. ln /home /admin/projects ~/projects
D. ln - s /shared/dev/projects /home/admin/projects Right Ans - D. ln -
s /shared/dev/projects /home/admin/projects

A Linux administrator needs to harden a system and guarantee that the
Postfix service will not run even after a restart or system upgrade. Which of
the following commands allows the administrator to fulfill the requirement?
A. systemctl mask postfix.service
B. systemctl disable postfix.service
C. systemctl stop postfix.service
D. systemctl -n restart postfix.service Right Ans - A. systemctl mask
postfix.service

A Linux administrator needs to check the content of a log file that is
appending data as the file grows. Which of the following commands should the
administrator use to accomplish this task?
A. tail -f log.txt
B. tail -v log.txt
C. tail -c log.txt

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 LeCrae. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $17.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

76800 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
$17.99
  • (0)
  Add to cart