Free XK0-005 Exam Braindumps

Pass your CompTIA Linux+ Certification Exam exam with these free Questions and Answers

Page 10 of 36
QUESTION 41

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. A. iptables -t nat -D PREROUTING -p tcp --sport 80 -j DNAT - -to-destination 192.0.2.25:3128
  2. B. iptables -t nat -A PREROUTING -p top --dport 81 -j DNAT –-to-destination 192.0.2.25:3129
  3. C. iptables -t nat -I PREROUTING -p top --sport 80 -j DNAT –-to-destination 192.0.2.25:3129
  4. D. iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT –-to-destination 192.0.2.25:3128

Correct Answer: D

QUESTION 42

A cloud engineer is installing packages during VM provisioning. Which of the following should the engineer use to accomplish this task?

  1. A. Cloud-init
  2. B. Bash
  3. C. Docker
  4. D. Sidecar

Correct Answer: A

QUESTION 43

A Linux administrator needs to determine whether a hostname is in the DNS. Which of the following would supply the information that is needed?

  1. A. nslookup
  2. B. rsyn
  3. C. netstat
  4. D. host

Correct Answer: A

QUESTION 44

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. A. git reflog
  2. B. git pull
  3. C. git status
  4. D. git push

Correct Answer: B

QUESTION 45

A Linux administrator is troubleshooting a memory-related issue. Based on the output of the commands:
XK0-005 dumps exhibit
Which of the following commands would address the issue?

  1. A. top -p 8321
  2. B. kill -9 8321
  3. C. renice -10 8321
  4. D. free 8321

Correct Answer: C

Page 10 of 36

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