1. 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?
Linux_1-25
Quiz
•
Computers
•
Professional Development
•
Easy
linux sinav
Used 86+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. 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
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. 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
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. 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
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. 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 top --dport 81 -j DNAT --to-destination 192.0.2.25:3129
C. iptables -t nat -| PREROUTING -p top -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
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. 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 ethO +ipv4.routes "10.0.213.5/32 10.0.5.1"
C. echo "10.0.213.5 10.0.5.1 ethO" > /proc/net/route
D. ip route add 10.0.213.5/32 via 10.0.5.1 dev eth0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. A user is asking the systems administrator for assistance with writing a script to verify whether a file exists. Given the following:
#1/bin/bash
filename=$1
<CONDITIONAL>
echo "File exists"
else
echo "File does not exist"
fi
A. if [-f "$filename" ]; then
B. if [-d "filename" ]; then
C. if [-f "Sfilename" ] then
D. if [ -f "$filename" ]; while
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. Simulasyon Sorusu
DRAG DROP -
As a Systems Administrator, to reduce disk space, you were tasked to create a shell script that does the following:
Add relevant content to /tmp/script.sh, so that it finds and compresses related files in /var/log without recursion.
INSTRUCTIONS:
Drag and drop snippets to fill the blanks to build a script that performs the actual compression of rotated log files.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.
#!/bin/bash
#name: script.sh
find /var/log -type f -maxdepth 1 | grep ................ > /tmp/tempfile .........
filename ..... $(cat................)
do
............ $filename
............
Bosluklara sürüklenecek ifadeler sirayla
"$log.[1-6]$"
for
in
/tmp/tempfile
gzip
done
B. bos
20 questions
MS-900 Cloud Concepts 1
Quiz
•
Professional Development
20 questions
Kuis Pelatihan API Kutim By GIZ
Quiz
•
University - Professi...
25 questions
Network+ Domain 1
Quiz
•
Professional Development
22 questions
Exam Questions NSE4_FGT-7.0 Fortinet NSE 4 - FortiOS 7.0
Quiz
•
Professional Development
22 questions
MTCNA Pretest 2
Quiz
•
Professional Development
20 questions
101-120
Quiz
•
Professional Development
20 questions
securing networks (Cont.FTP,telnet, etc)
Quiz
•
Professional Development
22 questions
A+ - 6A - Summarize Services Provided by Networked Hosts
Quiz
•
Professional Development
15 questions
Multiplication Facts
Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz
Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set
Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025
Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)
Quiz
•
9th - 12th Grade
15 questions
June Review Quiz
Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles
Quiz
•
8th Grade
25 questions
Triangle Inequalities
Quiz
•
10th - 12th Grade