Skip to content
  • Home
  • CCNA Labs
    • CCNA 1 LAB Activities (v6 & v7)
    • CCNA 2 LAB Activities (v6 & v7)
    • CCNA 3 LAB Activities (v6 & v7)
    • CCNA 4 Lab Activities
  • Linux
    • Linux Unhatched
    • Linux Essentials 2.0
    • Linux Essentials
    • Introduction to Linux I
    • Introduction to Linux II
  • Programming
    • PCAP – Programming Essentials in Python
    • CLA – Programming Essentials in C
    • CPA Programming Essentials in C++
  • About
    • Contact Us
    • Privacy Policy

CCNA 7 Exam Answers 2023

Go with our CCIE, Passed 100%

  • ITE
    • ITE - IT Essentials v7.0
    • ITE - IT Essentials v6.0
      • IT Essentials Lab 2019
    • ITE v5.0 Exam
    • Virtual Activity Laptop
    • Virtual Activity Desktop
  • NE
    • MF
  • CCNA
    • CCNA1
      • CCNA1 v7.0 – ITN
      • CCNA1 v6.0
    • CCNA2
      • CCNA2 v7.0 – SRWE
      • CCNA2 v6.0
    • CCNA3
      • CCNA3 v7.0 – ENSA
      • CCNA3 v6.0
    • CCNA4
      • CCNA4 v6.0
  • Cyber-Security
    • ITC – Introduction to Cybersecurity 2.1 (Level 1)
    • CE – Cybersecurity Essentials 1.1 (Level 2)
    • CCNA CyberOps 1.1 (Level 3)
  • Security
    • CCNA Security v2
  • DevNet
  • CCNA PT Lab 2023

Linux Essentials Chapter 7 Exam

Last Updated on May 20, 2021 by Admin

Linux Essentials Chapter 7 Exam Answer

  1. Question ID 73

    Compression on a file works by:

    • Removing redundant information
    • Eliminating gaps within the file
    • Storing most of the data on removable media and just leaving a pointer
    • Consolidating multiple files into one
    • Removing the high order bit from each byte
  2. Question ID 75

    In general, for which of the following would you want to use lossless compression?

    • A log file
    • A movie
    • A JPEG image
    • An mp3 audio file
    • An encrypted email
  3.  

  4. Question ID 76

    Lossy compression:

    (choose three)

    • Decompresses to an identical version as the original
    • Is often used with documents
    • Is often used with images
    • Usually results better compression than lossless
    • Sacrifices some quality
  5. Question ID 77

    You type gzip myfile.tar. What happens?

    (choose two)

    • myfile.tar is removed
    • myfile.tar.gz holds a compressed version of myfile.tar
    • An error; you forgot to specify the file with –f
    • myfile.tar is unarchived into the current directory
    • An error; you forgot to pass the name of the output file
  6.  

  7. Question ID 78

    How would you obtain output similar to the following?

    compressed​​     ​​​uncompressed     ratio        uncompressed_name

    278168                1016950                  72.6%           tags

    • gunzip –t tags
    • file tags
    • gzip –l tags
  8. Question ID 79

    Which command would you use to archive the Documents directory and compress it with bzip2 compression?

    • tar –czf documents.tbz Documents
    • tar –cjf Documents
    • tar –fzc Documents documents.tbz
    • tar –cjf documents.tbz Documents
    • tar –cf Documents documents.tbz
  9.  

  10. Question ID 80

    Which flag would you pass to tar in order to have it make a new archive?

    • –t
    • -c
    • –j
    • -x
    • –n
  11. Question ID 81

    Which command will show what is inside the compressed tarball with a name of foo.tar.gz?

    • tar –tjf foo.tar.gz
    • tar –tzf foo.tar.gz
    • tar –lf foo.tar.gz
    • tar –xf foo.tar.gz
    • tar –tf foo.tar.gz
  12.  

  13. Question ID 82

    In the command tar –cvjf foo.tbz a b c, what are a, b, and c?

    • File names to be added to the archive
    • Matching operators; anything starting with a, b, or c will be added
    • a is the directory that will be prepended to files; b and c are files inside it
    • Extra flags passed to tar
    • Nothing; -cvjf only expects one parameter
  14. Question ID 83

    Given the command tar –cvjf homedirs.tbz /home, which of the following are true?

    (choose two)

    • The /home directory will be restored with the contents of homedirs.tbz
    • Only files starting with /home will be extracted from the archive
    • The command will print out each filename as it is processed
    • Files that are present in the archive might overwrite files in /home
    • The output file will be compressed
  15. Question ID 84

    You archived your users’ directories into a file called backup.tar.gz. You then view the archive and see the filenames follow this convention:

    home/username/somefile

    • How will you extract just the files for the user called fred?
    • tar –tzf /home/fred < backup.tar.gz
    • tar –tjf backup.tar.gz /home/fred
    • tar –xjf backup.tar.gz home/fred/
    • tar –xzf backup.tar.gz home/fred/
    • tar –xzf backup.tar.gz fred
  16. Question ID 85

    Which of the following commands will create a zipfile with the contents of your Documents directory?

    • zip –cf mydocs.zip Documents
    • zip –c mydocs.zip Documents
    • zip -r mydocs.zip Documents
    • zip mydocs.zip Documents
    • zip –f mydocs.zip Documents
  17. Question ID 86

    Given a file called documents.zip, how can you see what’s in it without extracting the files?

    • showzip documents.zip
    • zip –lf documents.zip
    • zip –l documents.zip
    • unzip –list documents.zip
    • unzip –l documents.zip
  18. Question ID 87

    Given a file called documents.zip, how can you extract just the files under ProjectX?

    • zip –x documents.zip ProjectX
    • unzip documents.zip | grep ProjectX
    • unzip –t documents.zip ProjectX
    • unzip documents.zip ProjectX
    • unzip documents.zip ProjectX/*
  19. Question ID 88

    You try to compress a file that is already compressed. Which of the following statements is true?

    • The file will not be compressed any further than it already was
    • The compression algorithm needs to be set to the “currently compressed” mode for it to be compressed further
    • The file will actually be uncompressed
    • The file will be deleted
    • The file changed while you were compressing it
  20. Question ID 89

    Which of the following commands can be used to compress a file?

    (choose three)

    • bunzip2
    • bzip2
    • gzip
    • cat
    • zip
  21. Question ID 90

    The three main modes of tar are:

    (choose three)

    • Copy
    • List
    • Compress
    • Create
    • Extract
  22. Question ID 91

    In the command tar –czf foo.tar.gz bar, what is the purpose of the f flag?

    • Tells tar to read from the file that follows the flag
    • Tells tar to print the name of each file as it is processed
    • Tells tar to copy only files, and not directories
    • Specifies extra compression is to be used
    • Tells tar to write to the file that follows the flag
  23. Question ID 92

    Which two commands do the same thing?

    (choose two)

    • tar –czf foo.tar.gz foo
    • tar –c foo | gzip > foo.tar.gz
    • tar –xzf foo.tar.gz
    • tar –x foo | gzip
    • tar –tzf foo.tar.gz
  24. Question ID 902

    The _____ command is normally executed daily to update the database of all files that are on the system.

    • updatedb
    • search
    • locate
    • find
  • CCNA1 v7
  • CCNA2 v7
  • CCNA3 v7
System Test Exam Answers
Modules 1 – 3 Exam Answers
Modules 4 – 7 Exam Answers
Modules 8 – 10 Exam Answers
Modules 11 – 13 Exam Answers
Modules 14 – 15 Exam Answers
Modules 16 – 17 Exam Answers
Practice Final – ITN Answers
Course Feedback
ITN Practice PT Skills Assessment (PTSA)
Final Exam Answers
Modules 1 – 4 Exam Answers
Modules 5 – 6 Exam Answers
Modules 7 – 9 Exam Answers
Modules 10 – 13 Exam Answers
Modules 14 – 16 Exam Answers
ITN Practice Skills Assessment – PT Answers
SRWE Practice Skills Assessment – PT Part 1 Answers
SRWE Practice Skills Assessment – PT Part 2 Answers
SRWE Hands On Skills Exam Answers
SRWE Practice Final Exam Answers
SRWE Final Exam Answers 
Modules 1 – 2 Exam Answers
Modules 3 – 5 Exam Answers
Modules 6 – 8 Exam Answers
Modules 9 – 12 Exam Answers
Modules 13 – 14 Exam Answers
ITN Practice PT Skills Assessment (PTSA) Answers
SRWE Practice PT Skills Assessment (PTSA) – Part 1 Answers
SRWE Practice PT Skills Assessment (PTSA) – Part 2 Answers
ENSA Practice PT Skills Assessment (PTSA) Answers
ENSA Hands On Skills Exam Answers
Practice Final – ENSA Answers
ENSA Final Exam Answers
CCNA Certification Practice Exam Answers

Copyright © 2023 PressExam.