GoConqr has a new look! Let us know what you think.

Quiz

Linux Essentials Chapter 7 Exam

David Harton 20 questions

Take the quiz

Questions in this quiz (20)

  1. 1Compression on a file works by:
    1. ARemoving redundant information
    2. BEliminating gaps within the file
    3. CStoring most of the data on removable media and just leaving a pointer
    4. DConsolidating multiple files into one
    5. ERemoving the high order bit from each byte
  2. 2In general, for which of the following would you want to use lossless compression?
    1. AA log file
    2. BA movie
    3. CA JPEG image
    4. DAn mp3 audio file
    5. EAn encrypted email
  3. 3Lossy compression:
    (choose three)
    1. ADecompresses to an identical version as the original
    2. BIs often used with documents
    3. CIs often used with images
    4. DUsually results better compression than lossless
    5. ESacrifices some quality
  4. 4You type gzip myfile.tar. What happens?
    (choose two)
    1. Amyfile.tar is removed
    2. Bmyfile.tar.gz holds a compressed version of myfile.tar
    3. CAn error; you forgot to specify the file with –f
    4. Dmyfile.tar is unarchived into the current directory
    5. EAn error; you forgot to pass the name of the output file
  5. 5How would you obtain output similar to the following?
    compressed​​ ​​​uncompressed ratio uncompressed_name
    278168 1016950 72.6% tags
    1. Agunzip –t tags
    2. Bfile tags
    3. Cgzip –l tags
  6. 6Which command would you use to archive the Documents directory and compress it with bzip2 compression?
    1. Atar –czf documents.tbz Documents
    2. Btar –cjf Documents
    3. Ctar –fzc Documents documents.tbz
    4. Dtar –cjf documents.tbz Documents
    5. Etar –cf Documents documents.tbz
  7. 7Which flag would you pass to tar in order to have it make a new archive?
    1. A–t
    2. B-c
    3. C–j
    4. D-x
    5. E–n
  8. 8Which command will show what is inside the compressed tarball with a name of foo.tar.gz?
    1. Atar –tjf foo.tar.gz
    2. Btar –tzf foo.tar.gz
    3. Ctar –lf foo.tar.gz
    4. Dtar –xf foo.tar.gz
    5. Etar –tf foo.tar.gz
  9. 9In the command tar –cvjf foo.tbz a b c, what are a, b, and c?
    1. AFile names to be added to the archive
    2. BMatching operators; anything starting with a, b, or c will be added
    3. Ca is the directory that will be prepended to files; b and c are files inside it
    4. DExtra flags passed to tar
    5. ENothing; -cvjf only expects one parameter
  10. 10Given the command tar –cvjf homedirs.tbz /home, which of the following are true?
    (choose two)
    1. AThe /home directory will be restored with the contents of homedirs.tbz
    2. BOnly files starting with /home will be extracted from the archive
    3. CThe command will print out each filename as it is processed
    4. DFiles that are present in the archive might overwrite files in /home
    5. EThe output file will be compressed

Information

Description
Quiz on Linux Essentials Chapter 7 Exam, created by David Harton on 08/06/2018.
Language
English
Views
139
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?