CompTIA XK0-006 - CompTIA Linux+ Exam
Page: 1 / 11
Total 54 questions
Question #1 (Topic: Exam A)
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
Answer: A
Question #2 (Topic: Exam A)
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
Answer: DF
Question #3 (Topic: Exam A)
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/
Answer: B
Question #4 (Topic: Exam A)
Which of the following Ansible components contains a list of hosts and host groups?
A. Fact
B. Inventory
C. Playbook
D. Collection
Answer: B
Question #5 (Topic: Exam A)
Which of the following filesystems contains non-persistent or volatile data?
A. /boot
B. /usr
C. /proc
D. /var
Answer: C