100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

NPower Linux+ Practice (Norfolk) – Questions With Exper Verified Answers

Rating
-
Sold
-
Pages
31
Grade
A+
Uploaded on
13-10-2024
Written in
2024/2025

NPower Linux+ Practice (Norfolk) – Questions With Exper Verified Answers

Institution
Course

Content preview

NPower Linux+ Practice (Norfolk) – Questions With
Exper Verified Answers

An administrator accidentally deleted the /boot/vmlinuz file and must resolve
the issue before the server is rebooted. Which of the following commands
should the administrator use to identify the correct version of this file?

A. rpm -qa | grep kernel; uname -a
B. yum -y update; shutdown -r now
C. cat /etc/centos-release; rpm -Uvh --nodeps
D. telinit 1; restorecon -Rv /boot Right Ans - A. rpm -qa | grep kernel;
uname -a

A cloud engineer needs to change the secure remote login port from 22 to
49000. Which of the following files should the engineer modify to change the
port number to the desired value?
A. /etc/host.conf
B. /etc/hostname
C. /etc/services
D. /etc/ssh/sshd_config Right Ans - D. /etc/ssh/sshd_config

A new file was added to a main Git repository. An administrator wants to
synchronize a local copy with the contents of the main repository. Which of
the following commands should the administrator use for this task?
A. git reflog
B. git pull
C. git status
D. git push Right Ans - B. git pull

A Linux administrator needs to redirect all HTTP traffic temporarily to the
new proxy server 192.0.2.25 on port 3128. Which of the following commands
will accomplish this task?
A. iptables -t nat -D PREROUTING -p tcp --sport 80 -j DNAT --to-destination
192.0.2.25:3128
B. iptables -t nat -A PREROUTING -p tcp --dport 81 -j DNAT --to-destination
192.0.2.25:3129
C. iptables -t nat -I PREROUTING -p tcp --sport 80 -j DNAT --to-destination
192.0.2.25:3129

,D. iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination
192.0.2.25:3128 Right Ans - D. iptables -t nat -A PREROUTING -p tcp --
dport 80 -j DNAT --to-destination 192.0.2.25:3128

Developers have requested implementation of a persistent, static route on the
application server. Packets sent over the interface eth0 to 10.0.213.5/32
should be routed via 10.0.5.1. Which of the following commands should the
administrator run to achieve this goal?
A. route -i etho -p add 10.0.213.5 10.0.5.1
B. route modify eth0 +ipv4.routes "10.0.213.5/32 10.0.5.1"
C. echo "10.0.213.5 10.0.5.1 eth0" > /proc/net/route
D. ip route add 10.0.213.5/32 via 10.0.5.1 dev eth0 Right Ans - D. ip route
add 10.0.213.5/32 via 10.0.5.1 dev eth0

A user is asking the systems administrator for assistance with writing a script
to verify whether a file exists. Given the following: Which of the following
commands should replace the <CONDITIONAL> string?
A. if [ -f "$filename" ]; then
B. if [ -d "$filename" ]; then
C. if [ -f "$filename" ] then
D. if [ -f "$filename" ]; while Right Ans - A. if [ -f "$filename" ]; then

A systems administrator is deploying three identical, cloud-based servers. The
administrator is using the following code to complete the task: Which of the
following technologies is the administrator using?
A. Ansible
B. Puppet
C. Chef
D. Terraform Right Ans - D. Terraform

Which of the following technologies can be used as a central repository of
Linux users and groups?
A. LDAP
B. MFA
C. SSO
D. PAM Right Ans - A. LDAP

A systems administrator is troubleshooting connectivity issues and trying to
find out why a Linux server is not able to reach other servers on the same

,subnet it is connected to. When listing link parameters, the following is
presented: Based on the output above, which of following is the MOST
probable cause of the issue?
A. The address ac:00:11:22:33is not a valid Ethernet address.
B. The Ethernet broadcast address should be ac:00:11:22:33instead.
C. The network interface eth0 is using an old kernel module.
D. The network interface cable is not connected to a switch. Right Ans - D.
The network interface cable is not connected to a switch.

A Linux administrator was asked to run a container with the httpd server
inside. This container should be exposed at port 443 of a Linux host machine
while it internally listens on port 8443. Which of the following commands will
accomplish this task?
A. podman run -d -p 443:8443 httpd
B. podman run -d -p 8443:443 httpd
C. podman run -d -e 443:8443 httpd
D. podman exec -p 8443:443 httpd Right Ans - A. podman run -d -p
443:8443 httpd

A Linux administrator needs to analyze a failing application that is running
inside a container. Which of the following commands allows the Linux
administrator to enter the running container and analyze the logs that are
stored inside?
A. docker run -ti app /bin/sh
B. podman exec -ti app /bin/sh
C. podman run -d app /bin/bash
D. docker exec -d app /bin/bash Right Ans - B. podman exec -ti app /bin/sh

A systems administrator needs to clone the partition /dev/sdc1 to /dev/sdd1.
Which of the following commands will accomplish this task?
A. tar -cvzf /dev/sdd1 /dev/sdc1
B. rsync /dev/sdc1 /dev/sdd1
C. dd if=/dev/sdc1 of=/dev/sdd1
D. scp /dev/sdc1 /dev/sdd1 Right Ans - C. dd if=/dev/sdc1 of=/dev/sdd1

When trying to log in remotely to a server, a user receives the following
message: The server administrator is investigating the issue on the server and
receives the following outputs: Which of the following is causing the issue?
A. The wrong permissions are on the user's home directory.

, B. The account was locked out due to three failed logins.
C. The user entered the wrong password.
D. The user has the wrong shell assigned to the account. Right Ans - D. The
user has the wrong shell assigned to the account.

A new Linux systems administrator just generated a pair of SSH keys that
should allow connection to the servers. Which of the following commands can
be used to copy a key file to remote servers? (Choose two.)
A. wget
B. ssh-keygen
C. ssh-keyscan
D. ssh-copy-id
E. ftpd
F. scp Right Ans - D. ssh-copy-id, F. scp

A systems administrator needs to reconfigure a Linux server to allow
persistent IPv4 packet forwarding. Which of the following commands is the
correct way to accomplish this task?
A. echo 1 > /proc/sys/net/ipv4/ipv_forward
B. sysctl -w net.ipv4.ip_forward=1
C. firewall-cmd --enable ipv4_forwarding
D. systemctl start ipv4_forwarding Right Ans - B. sysctl -w
net.ipv4.ip_forward=1

A Linux administrator would like to use systemd to schedule a job to run
every two hours. The administrator creates timer and service definitions and
restarts the server to load these new configurations. After the restart, the
administrator checks the log file and notices that the job is only running daily.
Which of the following is MOST likely causing the issue?
A. The checkdiskspace.service is not running.
B. The checkdiskspace.service needs to be enabled.
C. The OnCalendar schedule is incorrect in the timer definition.
D. The system-daemon services need to be reloaded. Right Ans - D. The
system-daemon services need to be reloaded.

An administrator deployed a Linux server that is running a web application on
port 6379/tcp. SELinux is in enforcing mode based on organization policies.
The port is open on the firewall. Users who are trying to connect to a local
instance of the web application receive Error 13, Permission denied. The

Written for

Course

Document information

Uploaded on
October 13, 2024
Number of pages
31
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$24.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
LeCrae Harvard University
Follow You need to be logged in order to follow users or courses
Sold
2061
Member since
3 year
Number of followers
1409
Documents
21704
Last sold
5 days ago
Valuable Notes, Secure Learning

Welcome to ScholarVault—your ultimate destination for premium study materials and academic resources designed to unlock your full potential. As a passionate student myself, I understand how critical it is to have the right tools to excel in your studies. That's why I've curated a collection of high-quality notes, guides, and exam preparation materials that are tailored to help you achieve academic success. At ScholarVault, I believe that knowledge is power, but access to the right knowledge is key. My mission is to provide you with organized, comprehensive, and easy-to-understand study resources that make your learning journey smoother and more effective. Whether you're preparing for exams, reviewing class notes, or tackling tough concepts, you can count on me to deliver valuable, well-crafted content that aligns with your academic goals. Each resource has been carefully created with the intention to simplify complex topics, boost your confidence, and save you time. I aim to provide not just notes, but tools that truly make a difference in how you approach your studies. Explore the vault and discover everything you need to succeed—whether it’s detailed notes, in-depth study guides, or concise exam tips, everything is stored here for your academic growth. Thank you for trusting ScholarVault to be part of your learning experience. I’m excited to help you unlock your academic potential and achieve the success you deserve.

Read more Read less
4.0

438 reviews

5
205
4
108
3
70
2
16
1
39

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions