exam questions

Exam XK0-004 All Questions

View all questions & answers for the XK0-004 exam

Exam XK0-004 topic 1 question 177 discussion

Actual exam question from CompTIA's XK0-004
Question #: 177
Topic #: 1
[All XK0-004 Questions]

A junior systems administrator is scanning archive.tar files with an antivirus scanner. The administrator is given the following tasks:
✑ List all files that are in the archive.tar files.
✑ Extract all files from the archive.tar files.
Which of the following actions should be performed to meet these requirements? (Choose two.)

  • A. tar -tvf archive.tar
  • B. tar -xf archive.tar
  • C. tar -A archive.tar
  • D. tar -av archive.tar
  • E. tar -r archive.tar
  • F. tar -uvz archive.tar
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️
Reference:
https://linuxize.com/post/how-to-create-and-extract-archives-using-the-tar-command-in-linux/

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
DiaaEmara
2 years, 5 months ago
https://linuxize.com/post/how-to-create-and-extract-archives-using-the-tar-command-in-linux/
upvoted 1 times
...
Dan_Dan_The_Data_Center_Man
3 years, 6 months ago
Listing Tar Archives When used with the --list (-t) option, the tar command lists the content of a tar archive without extracting it. $ tar -tf archive.tar Extracting Tar Archive Most of the archived files in Linux are archived and compressed using a tar or tar.gz format. Knowing how to extract these files from the command line is important. $ tar -xf archive.tar
upvoted 3 times
Dan_Dan_The_Data_Center_Man
3 years, 6 months ago
Correct answers are A B
upvoted 8 times
...
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago