Download CompTIA Linux+ Certification Exam.XK0-005.Pass4Sure.2024-09-09.257q.tqb

Vendor: CompTIA
Exam Code: XK0-005
Exam Name: CompTIA Linux+ Certification Exam
Date: Sep 09, 2024
File Size: 7 MB

How to open VCEX files?

Files with VCEX extension can be opened by ProfExam Simulator.

Purchase
Coupon: EXAM_HUB

Discount: 20%

Demo Questions

Question 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?
  1. rpm -qa | grep kernel; uname -a
  2. yum -y update; shutdown -r now 
  3. cat /etc/centos-release; rpm -Uvh --nodeps 
  4. telinit 1; restorecon -Rv /boot
Correct answer: A
Question 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?
  1. /etc/host.conf 
  2. /etc/hostname 
  3. /etc/services 
  4. /etc/ssh/sshd_config
Correct answer: D
Question 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?
  1. git reflog 
  2. git pull 
  3. git status 
  4. git push
Correct answer: B
Question 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?
  1. iptables -t nat -D PREROUTING -p tcp --sport 80 -j DNAT - -to-destination 192.0.2.25:3128 
  2. iptables -t nat -A PREROUTING -p top --dport 81 -j DNAT –-to-destination 192.0.2.25:3129 
  3. iptables -t nat -I PREROUTING -p top --sport 80 -j DNAT –-to-destination 192.0.2.25:3129 
  4. iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT –-to-destination 192.0.2.25:3128
Correct answer: D
Question 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?
  1. route -i etho -p add 10.0.213.5 10.0.5.1 
  2. route modify eth0 +ipv4.routes "10.0.213.5/32 10.0.5.1" 
  3. echo "10.0.213.5 10.0.5.1 eth0" > /proc/net/route 
  4. ip route add 10.0.213.5/32 via 10.0.5.1 dev eth0 
Correct answer: D
Question 6
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?
  1. if [ -f "$filename" ]; then 
  2. if [ -d "$filename" ]; then
  3. if [ -f "$filename" ] then 
  4. if [ -f "$filename" ]; while
Correct answer: A
Question 7
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.
Correct answer: To display the answer, ProfExam Simulator is required.
Question 8
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?
  1. Ansible 
  2. Puppet 
  3. Chef 
  4. Terraform
Correct answer: D
Question 9
Which of the following technologies can be used as a central repository of Linux users and groups?
 
 
  1. LDAP
  2. MFA
  3. SSO
  4. PAM
Correct answer: A
Question 10
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?
  1. The address ac:00:11:22:33:cd is not a valid Ethernet address. 
  2. The Ethernet broadcast address should be ac:00:11:22:33:ff instead. 
  3. The network interface eth0 is using an old kernel module. 
  4. The network interface cable is not connected to a switch.
Correct answer: D
HOW TO OPEN VCE FILES

Use VCE Exam Simulator to open VCE files
Avanaset

HOW TO OPEN VCEX AND EXAM FILES

Use ProfExam Simulator to open VCEX and EXAM files
ProfExam Screen

ProfExam
ProfExam at a 20% markdown

You have the opportunity to purchase ProfExam at a 20% reduced price

Get Now!