Free XK0-005 Exam Braindumps (page: 2)

Page 2 of 43

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

Answer(s): D



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

Answer(s): A



DRAG DROP (Drag and Drop is not supported.)
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.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



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

Answer(s): D



Page 2 of 43



Post your Comments and Discuss CompTIA XK0-005 exam with other Community members:

RF commented on September 06, 2024
Awesome resource
UNITED STATES
upvote

M commented on August 09, 2024
Great questions
Anonymous
upvote

Bob Igor commented on March 14, 2024
Question 11 is B not A because the ports are reversed on A
UNITED STATES
upvote

soheib commented on July 24, 2023
question: 78 the right answer i think is d not a
Anonymous
upvote

Lola commented on August 28, 2023
Good so far
Anonymous
upvote

soheib commented on July 24, 2023
Question: 78 the right answer i think is d not a
Anonymous
upvote

Gurunath commented on June 18, 2023
I just wanted to let you know I passed my exam today. The updated version you provided is on spot. Thank you.
INDIA
upvote

Nito commented on April 21, 2023
These questions are valid.
CANADA
upvote

Ortiz commented on November 07, 2022
I am certified now. You study packages helped me a lot. Your site is the best!
MEXICO
upvote