CompTIA XK0-006 Actual Exam Questions

Last updated on Nov. 20, 2025.

Topic 1 - Exam A

Question #1 Topic 1

A Linux administrator needs to create and then connect to the app-01-image container. Which of the following commands accomplishes this task?

  • A. docker run -it app-01-image
  • B. docker start -td app-01-image
  • C. docker build -ic app-01-image
  • D. docker exec -dc app-01-image
Reveal Solution Hide Solution   Discussion  

Correct Answer: A 🗳️

Question #2 Topic 1

To perform a live migration, which of the following must match on both host servers? (Choose two).

  • A. USB ports
  • B. Network speed
  • C. Available swap
  • D. CPU architecture
  • E. Available memory
  • F. Disk storage path
Reveal Solution Hide Solution   Discussion  

Correct Answer: DF 🗳️

Question #3 Topic 1

A Linux systems administrator needs to extract the contents of a file named /home/dev/web.bkp to the /var/www/html/ directory. Which of the following commands should the administrator use?

  • A. cd /var/www/html/ && gzip -c /home/dev/web.bkp | tar xf -
  • B. pushd /var/www/html/ $$ cpio -idv < /home/dev/web.bkp && popd
  • C. tar -c -f /home/dev/web.bkp /var/www/html/
  • D. unzip -c /home/dev/web.bkp /var/www/html/
Reveal Solution Hide Solution   Discussion  

Correct Answer: B 🗳️

Question #4 Topic 1

Which of the following Ansible components contains a list of hosts and host groups?

  • A. Fact
  • B. Inventory
  • C. Playbook
  • D. Collection
Reveal Solution Hide Solution   Discussion  

Correct Answer: B 🗳️

file Viewing page 1 out of 14 pages.
Viewing questions 1-4 out of 54 questions
Next Questions
Browse atleast 50% to increase passing rate cup
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Loading ...