20:00

Free Test
/ 10

Quiz

1/10
Junior system administrator had trouble installing and running an Apache web server on a Linux server. You have been tasked with installing the Apache web server on the Linux server and resolving the issue that prevented the junior administrator from running Apache. INSTRUCTIONS Install Apache and start the service. Verify that the Apache service is running with the defaults. Typing “help” in the terminal will show a list of relevant event commands. If at any time you would like to bring back the initial state of the simulation, please click the Reset All button. Certification Exam CompTIA-XK0-005 CompTIA CompTIA-XK0-005 34-1621807340
Select the answer
1 correct answer
Option A is correct. below. yum install httpd systemctl --now enable httpd systemctl status httpd netstat -tunlp | grep 80 pkill <processname> systemctl restart httpd systemctl status httpd

Quiz

2/10
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?
Select the answer
1 correct answer
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

Quiz

3/10
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?
Select the answer
1 correct answer
A.
/etc/host.conf
B.
/etc/hostname
C.
/etc/services
D.
/etc/ssh/sshd_config

Quiz

4/10
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?
Select the answer
1 correct answer
A.
git reflog
B.
git pull
C.
git status
D.
git push

Quiz

5/10
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?
Select the answer
1 correct answer
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 -I 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

Quiz

6/10
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?
Select the answer
1 correct answer
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

Quiz

7/10
A user is asking the systems administrator for assistance with writing a script to verify whether a file exists. Given the following: Certification Exam CompTIA-XK0-005 CompTIA CompTIA-XK0-005 2-2256305063 Which of the following commands should replace the <CONDITIONAL> string?
Select the answer
1 correct answer
A.
if [ -f "$filename" ]; then
B.
if [ -d "$filename" ]; then
C.
if [ -f "$filename" ] then
D.
if [ -f "$filename" ]; while

Quiz

8/10
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 rotated files in /var/log without recursion. INSTRUCTIONS 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. Certification Exam CompTIA-XK0-005 CompTIA CompTIA-XK0-005 3-3068613603
Select the answer
1 correct answer
Certification Exam CompTIA-XK0-005 CompTIA CompTIA-XK0-005 4-660832163

Quiz

9/10
A systems administrator is deploying three identical, cloud-based servers. The administrator is using the following code to complete the task: Certification Exam CompTIA-XK0-005 CompTIA CompTIA-XK0-005 5-1400223162 Which of the following technologies is the administrator using?
Select the answer
1 correct answer
A.
Ansible
B.
Puppet
C.
Chef
D.
Terraform

Quiz

10/10
Which of the following technologies can be used as a central repository of Linux users and groups?
Select the answer
1 correct answer
A.
LDAP
B.
MFA
C.
SSO
D.
PAM
Looking for more questions?Buy now

CompTIA-XK0-005 Practice test unlocks all online simulator questions

Thank you for choosing the free version of the CompTIA-XK0-005 practice test! Further deepen your knowledge on CompTIA Simulator; by unlocking the full version of our CompTIA-XK0-005 Simulator you will be able to take tests with over 152 constantly updated questions and easily pass your exam. 98% of people pass the exam in the first attempt after preparing with our 152 questions.

BUY NOW

What to expect from our CompTIA-XK0-005 practice tests and how to prepare for any exam?

The CompTIA-XK0-005 Simulator Practice Tests are part of the CompTIA Database and are the best way to prepare for any CompTIA-XK0-005 exam. The CompTIA-XK0-005 practice tests consist of 152 questions and are written by experts to help you and prepare you to pass the exam on the first attempt. The CompTIA-XK0-005 database includes questions from previous and other exams, which means you will be able to practice simulating past and future questions. Preparation with CompTIA-XK0-005 Simulator will also give you an idea of the time it will take to complete each section of the CompTIA-XK0-005 practice test . It is important to note that the CompTIA-XK0-005 Simulator does not replace the classic CompTIA-XK0-005 study guides; however, the Simulator provides valuable insights into what to expect and how much work needs to be done to prepare for the CompTIA-XK0-005 exam.

BUY NOW

CompTIA-XK0-005 Practice test therefore represents an excellent tool to prepare for the actual exam together with our CompTIA practice test . Our CompTIA-XK0-005 Simulator will help you assess your level of preparation and understand your strengths and weaknesses. Below you can read all the quizzes you will find in our CompTIA-XK0-005 Simulator and how our unique CompTIA-XK0-005 Database made up of real questions:

Info quiz:

  • Quiz name:CompTIA-XK0-005
  • Total number of questions:152
  • Number of questions for the test:50
  • Pass score:80%

You can prepare for the CompTIA-XK0-005 exams with our mobile app. It is very easy to use and even works offline in case of network failure, with all the functions you need to study and practice with our CompTIA-XK0-005 Simulator.

Use our Mobile App, available for both Android and iOS devices, with our CompTIA-XK0-005 Simulator . You can use it anywhere and always remember that our mobile app is free and available on all stores.

Our Mobile App contains all CompTIA-XK0-005 practice tests which consist of 152 questions and also provide study material to pass the final CompTIA-XK0-005 exam with guaranteed success. Our CompTIA-XK0-005 database contain hundreds of questions and CompTIA Tests related to CompTIA-XK0-005 Exam. This way you can practice anywhere you want, even offline without the internet.

BUY NOW