Module 11 Flashcards

1
Q

Which commands can you use or could you have used to install a package on Ubuntu? (Select all that apply)

  • apt
  • aptitude
  • apt-get
  • dpkg
A
  • apt
  • aptitude
  • apt-get
  • dpkg
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which one is NOT a Linux backup tool?

  • tar
  • cpio
  • ee
  • dump / restore
A
  • ee
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which methods describe a typical Linux software installation process? (Select two)

  • Download an executable and let the installer extract and install
  • Download a tarball, and manually extract, compile, and install
  • Download a package and let the package manager extract and install.
  • Download an image and let the installer extract and install
A
  • Download a tarball, and manually extract, compile, and install
  • Download a package and let the package manager extract and install.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which commands can you use or could you have used to install a package on Fedora? (Select three)

  • dnf
  • fed
  • rpm
  • yum
A
  • dnf
  • rpm
  • yum
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Incremental backups back up the data that has been changed since the last full backup.

  • True
  • False
A
  • False
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a shared library? (Select two)

  • A binary file that contains function calls that are used by multiple applications
  • Has the .sl extension
  • Placed under /lib/ or /lib64/ directory typically
  • Unique to Linux which is not found in Windows OS
A
  • A binary file that contains function calls that are used by multiple applications
  • Placed under /lib/ or /lib64/ directory typically
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which one is NOT a typical step involved in compiling and installing software on Linux?

  • Run “make” shell script
  • Run “install” shell script
  • Run “configure” shell script
  • Run “make install” shell script
A
  • Run “install” shell script
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Find the match.

dnf install Install

dnf list Check if is installed

dnf upgrade Update

dnf remove Delete

A

dnf install Install

dnf list Check if is installed

dnf upgrade Update

dnf remove Delete

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which command is used to extract the tarball?

  • tar -extf gimp-2.10.14.tar.gz
  • tar -exvf gimp-2.10.14.tar.gz
  • tar -zcvf gimp-2.10.14.tar.gz
  • tar -zxvf gimp-2.10.14.tar.gz
A
  • tar -zxvf gimp-2.10.14.tar.gz
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

dnf resolves package dependencies automatically.

  • True
  • False
A
  • True
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Files that have been compressed using the xz utility typically have the ______ extension.

  • .zip
  • .gz
  • .xz
  • .bz2
A
  • .xz
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

When compiling source code into a binary program, which command does the compiling using the GNU C Compiler?

  • tar
  • ./configure
  • make
  • make install
A
  • make
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

To install a new program from RPM software repositories on the Internet, you can use the dnf update programname command.

  • True
  • False
A
  • False
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

You have created a full backup and four incremental backups. In which order must you restore these backups?

  • 0, 1, 2, 3, 4
  • 0, 4, 3, 2, 1
  • 4, 3, 2, 1, 0
  • 1, 2, 3, 4, 0
A
  • 0, 1, 2, 3, 4
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which option to the dpkg command can be used to list the files that comprise a package?

  • l
  • -L
  • -s
  • -i
A
  • -L
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which command can be used to create an image backup of a partition?

  • tar
  • dd
  • dump
  • cpio
A
  • dd
17
Q

Which filename extension indicates a tarball?

  • .tar.xz
  • .cpio
  • .dump
  • .tar
A
  • .tar.xz
18
Q

When compiling source code into a binary program, which command performs a system check and creates the Makefile?

  • tar
  • ./configure
  • make
  • make install
A
  • ./configure
19
Q

Which of the following commands creates a zipped archive?

  • tar –cvf /dev/st0
  • tar –xvf /dev/st0
  • tar –tvf /dev/st0
  • tar –zcvf /dev/st0 *
A
  • tar –zcvf /dev/st0 *
20
Q

Which of the following command can be used to display the package to which the specified file belongs in RPM?

  • rpm -a
  • rpm –F
  • rpm -qf
  • rpm -ql
A
  • rpm -qf