Yeredaia Miranda
Quiz von , erstellt am more than 1 year ago

Linux Sistemas Operativos Quiz am Examen final Linux Essentials, erstellt von Yeredaia Miranda am 26/04/2016.

775
10
3
Yeredaia Miranda
Erstellt von Yeredaia Miranda vor mehr als 8 Jahre
Schließen

Examen final Linux Essentials

Frage 1 von 72

1

One of the jobs of the kernel is to:

Wähle eine der folgenden:

  • Manage the system's resources

  • Turn source code into machine code

  • Load the operating system after the computer is turned on

  • Transfer mail from one machine to another

Erklärung

Frage 2 von 72

1

Unix is: (choose two)

Wähle eine oder mehr der folgenden:

  • An operating system

  • A type of hardware

  • A trademark

  • A distribution of Linux

  • A text editor

Erklärung

Frage 3 von 72

1

Linux is written in:

Wähle eine der folgenden:

  • C

  • .NET

  • C++

  • Java

  • Perl

Erklärung

Frage 4 von 72

1

Source code refers to:

Wähle eine der folgenden:

  • The version of a program that the computer runs on the CPU

  • The license that dictates how you may use and share the software

  • The interface that software uses to talk to the kernel

  • A human readable version of computer software

Erklärung

Frage 5 von 72

1

Whats is the standard option to provide a command line program to view its documentation?

Wähle eine der folgenden:

  • -- info

  • -- doc

  • -- help

  • - h

Erklärung

Frage 6 von 72

1

The command man -k is the same as the command apropos

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 7 von 72

1

The whatis command is the same as man -w

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 8 von 72

1

The directory where additional documentation for software packages most likely can be found is:

Wähle eine der folgenden:

  • /var/lib/doc

  • /usr/software/doc

  • /usr/share/doc

  • /var/share/doc

Erklärung

Frage 9 von 72

1

Hidden files are files that begin with what character?

Wähle eine der folgenden:

  • A plus (+)

  • A dash (-)

  • A period (.)

  • An asterisk (*)

Erklärung

Frage 10 von 72

1

What option for the ls command will display all files, including hidden files?

Wähle eine der folgenden:

  • -w

  • -H

  • -L

  • -a

Erklärung

Frage 11 von 72

1

The top-level directory on a Linux system is represented as:

Wähle eine der folgenden:

  • /

  • /root

  • /home

  • C:

Erklärung

Frage 12 von 72

1

Is the following path absolute or relative?
/etc/ppp

Wähle eine der folgenden:

  • Relative

  • Absolute

Erklärung

Frage 13 von 72

1

Is the following path absolute or relative?
sysadmin/Documents

Wähle eine der folgenden:

  • Relative

  • Absolute

Erklärung

Frage 14 von 72

1

Compression on a file works by:

Wähle eine der folgenden:

  • Removing the high order bit from each byte

  • Consolidating multiple files into one

  • Removing redundant information

  • Storing most of the data on removable media and just leaving a pointer

  • Eliminating gaps within the file

Erklärung

Frage 15 von 72

1

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

Wähle eine der folgenden:

  • An mp3 audio file

  • A movie

  • A log file

  • A JPEG image

  • An encrypted email

Erklärung

Frage 16 von 72

1

Lossy compression: (choose three)

Wähle eine oder mehr der folgenden:

  • Is often used with documents

  • Decompresses to an identical version as the original

  • Sacrifices some quality

  • Usually results better compression than lossless

  • Is often used with images

Erklärung

Frage 17 von 72

1

You type gzip myfile.tar. Whats happens? (choose two)

Wähle eine oder mehr der folgenden:

  • myfile.tar.gz holds a compressed version of myfile.tar

  • An error; you forgot to pass the name of the output file

  • An error; you forgot to specify the file with -f

  • myfile.tar is unarchived into the current directory

  • myfile.tar is removed

Erklärung

Frage 18 von 72

1

Error messages generated by commands are sent where by default?

Wähle eine der folgenden:

  • STDIN

  • Log files

  • STDERR

  • STDOUT

Erklärung

Frage 19 von 72

1

A successful command will print output to STDOUT

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 20 von 72

1

Which of the following commands will direct error messages to the file, error.log?

Wähle eine der folgenden:

  • ls /root > error.log

  • ls /root >> error.log

  • ls /root 2> error.log

  • ls /root $> error.log

Erklärung

Frage 21 von 72

1

A pipe allows you to...

Wähle eine der folgenden:

  • ...send the same input to multiple commands

  • ...send the output of one command to another

  • ...send the output of a command to a file

  • ...type multiple commands at one prompt

Erklärung

Frage 22 von 72

1

Channel 2 is:

Wähle eine der folgenden:

  • STDERR

  • STDIN

  • STDALL

  • STDOUT

Erklärung

Frage 23 von 72

1

The echo command:

Wähle eine der folgenden:

  • Tests a variable for duplication

  • Duplicates the input stream to the output stream

  • Is used for variable assignment

  • Is used to output text to the console

  • Copies variables from one the another

Erklärung

Frage 24 von 72

1

A file begins with #!/bin/csh. This means:

Wähle eine der folgenden:

  • C Shell compatibility mode is enabled

  • Running the script will invoke /bin/csh to interpret the rest of the file

  • The operator should not be using /bin/csh

  • This is a Perl script

  • Nothing, this is a comment

Erklärung

Frage 25 von 72

1

Which are appropriate editors for writing shell scripts? (choose two)

Wähle eine oder mehr der folgenden:

  • nano

  • LibreOffice Writer

  • /bin/bash

  • vi

  • Firefox

Erklärung

Frage 26 von 72

1

Most of nano's commands take the form of:

Wähle eine der folgenden:

  • Escape followed by another character

  • Mouse clicks

  • The F1 through F12 function keys

  • Alt and another character

  • Control and another character

Erklärung

Frage 27 von 72

1

What does this shell script do?

FOO=/tmp/foo
if [! -d $FOO]; then
mkdir $FOO
fi

Wähle eine der folgenden:

  • Nothing, since there is a problem with the conditions in the if statement

  • Makes the /tmp/foo directory if a file by that name exists

  • Creates /tmp/foo if it does not exist

  • Creates /tmp/foo and raises and error if there is a problem

  • Outputs a message to the screen

Erklärung

Frage 28 von 72

1

Which of the following are valid CPU types for Intel-based platforms? (choose two)

Wähle eine oder mehr der folgenden:

  • 48 bit

  • 24 bit

  • 64 bit

  • 32 bit

Erklärung

Frage 29 von 72

1

64 bit platforms can access more memory than 32 bit platforms

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 30 von 72

1

What does the acronym RPM mean?

Wähle eine der folgenden:

  • Relocate Package Manager

  • Return Package Management

  • RPM Package Management

  • Recursive Package Manager

Erklärung

Frage 31 von 72

1

One way to install new software on a Linux system is to use a package management system

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 32 von 72

1

When you execute the dmesg command, the system displays messages that are generated by the kernel

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 33 von 72

1

Which of the following are package management commands for distributions with software distributed in files ending in .deb? (choose three)

Wähle eine oder mehr der folgenden:

  • rpm

  • apt-get

  • dpkg

  • aptitude

Erklärung

Frage 34 von 72

1

Which of the following are package management commands for distributions with software distributed in files ending in .rpm? (choose three)

Wähle eine oder mehr der folgenden:

  • yum

  • apt-get

  • rpm

  • yumex

Erklärung

Frage 35 von 72

1

Which of the following would be considered a host?

Wähle eine der folgenden:

  • A printer attached to the network via an IP addres

  • A CDROM

  • The computer's hard drive

  • A network cable

Erklärung

Frage 36 von 72

1

A service is...

Wähle eine der folgenden:

  • ...a file that constains configuration information

  • ...another name for a computer's hostname

  • ...a feature provided by one computer to another

  • ...like an IP address

Erklärung

Frage 37 von 72

1

A network packet contains... (choose two)

Wähle eine oder mehr der folgenden:

  • ...the IP address of the destination machine

  • ...a hard drive partition

  • ...the name of the router

  • ...the IP address of the source machine

Erklärung

Frage 38 von 72

1

Only servers have hostnames

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 39 von 72

1

Which files contain user account information? (choose two)

Wähle eine oder mehr der folgenden:

  • /etc/passwd

  • /etc/shadow

  • /etc/group

Erklärung

Frage 40 von 72

1

Which user can view the /etc/shadow file?

Wähle eine der folgenden:

  • The root user

  • No users

  • Any member of the password group

  • All users

Erklärung

Frage 41 von 72

1

Which command will display the UID, GID and groups your current user belongs to?

Wähle eine der folgenden:

  • id

  • whoami

  • who

  • about

Erklärung

Frage 42 von 72

1

Each user belongs to at least one group

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 43 von 72

1

Which command will display the users that are currently logged in to the system?

Wähle eine der folgenden:

  • who

  • about

  • whoami

  • id

Erklärung

Frage 44 von 72

1

UIDs 1-500 are usually reserved for what kind of users?

Wähle eine der folgenden:

  • Are not used for user accounts, but for group accounts

  • System accounts, such as server processes

  • Remote log-in accounts

  • Log-in (human) users

Erklärung

Frage 45 von 72

1

If a user is deleted, the files and directories that the user owned...

Wähle eine der folgenden:

  • ...are deleted as well

  • ...will have no UID owner

  • ...will show a UID as the owner, but not user name

  • ...will have no user owner

Erklärung

Frage 46 von 72

1

Which of the following options for the useradd command allows root to specify the UID to be associated with the account?

Wähle eine der folgenden:

  • -g

  • -u

  • -U

  • -G

Erklärung

Frage 47 von 72

1

Which of the following options for the useradd command allows root to specify supplementary groups the user will be a member of?

Wähle eine der folgenden:

  • -u

  • -U

  • -g

  • -G

Erklärung

Frage 48 von 72

1

On a system that does not user UPG, the useradd command will also create a user group. For example, user bob, group bob.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 49 von 72

1

Which of the following commands set "other" permissions on the file to r-x?

Wähle eine der folgenden:

  • chmod o+rx file

  • chmod o-r-w file

  • chmod o=r+x file

  • chmod o=rx file

Erklärung

Frage 50 von 72

1

Which of the following commands sets "other" permissions on file to r-x?

Wähle eine der folgenden:

  • chmod 774 file

  • chmod 776 file

  • chmod 775 file

  • chmod 777 file

Erklärung

Frage 51 von 72

1

Onlye one set (user, group, other) of permission can be changed at once using the symbolic method

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 52 von 72

1

Which of the following are methods for setting permissions using the chmod command? (choose two)

Wähle eine oder mehr der folgenden:

  • letter

  • octal

  • symbolic

  • binay

Erklärung

Frage 53 von 72

1

The chown command can be used to change the owner and group of a file

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 54 von 72

1

The Samba application is a:

Wähle eine der folgenden:

  • Mail Server

  • Security Server

  • File Server

  • Web Server

Erklärung

Frage 55 von 72

1

Which of the following are examples of desktop software? (choose two)

Wähle eine oder mehr der folgenden:

  • Web server

  • Web browser

  • File share

  • Compiler

  • Music player

Erklärung

Frage 56 von 72

1

If you wanted to set up a blog, which software would be most helpful?

Wähle eine der folgenden:

  • MySQL

  • Postfix

  • WordPress

  • Dovecot

  • Samba

Erklärung

Frage 57 von 72

1

Which of the following pieces of software deal with file sharing? (choose three)

Wähle eine oder mehr der folgenden:

  • NFS

  • X-Windows

  • Netatalk

  • Samba

  • PostgreSQL

Erklärung

Frage 58 von 72

1

If you wanted to create and print an invoice, which software could you use?

Wähle eine der folgenden:

  • GNOME

  • Compiz

  • Firefox

  • LibreOffice

  • Evolution

Erklärung

Frage 59 von 72

1

Which of the following is true about graphical mode? (choose three)

Wähle eine oder mehr der folgenden:

  • You have menus and tools to help you find what you are looking for

  • You access this mode by logging into a graphical display

  • After login, you are provided with a command prompt

  • After login, you are provided with a desktop

  • You cannot use your mouse

Erklärung

Frage 60 von 72

1

Which of the following is provided by a graphical interface that isn't normally provided to a non graphical interface? (choouse four)

Wähle eine oder mehr der folgenden:

  • Desktop

  • Shell

  • Windows

  • Popups

  • Menus

Erklärung

Frage 61 von 72

1

A server is likely to be running in graphical mode

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 62 von 72

1

In graphical mode, you can get to a shell by running which applications? (choose two)

Wähle eine oder mehr der folgenden:

  • guiterm

  • gbash

  • terminal

  • xconsole

  • xterm

Erklärung

Frage 63 von 72

1

Which of the following are traits of a multiuser operating system? (choose three)

Wähle eine oder mehr der folgenden:

  • An administrative user gets a dedicated CPU

  • Users can protect their information from other users

  • Resources are shared between users

  • Many users can log in simultaneously with a unique account

  • Each user can only log in once per day

Erklärung

Frage 64 von 72

1

Select all the applications that provide access to the Command Line Interface (CLI)? (choose two)

Wähle eine oder mehr der folgenden:

  • Virtual Terminal

  • Firefox

  • Opera

  • Windows Terminal

Erklärung

Frage 65 von 72

1

Which environment varible contains a list of directories that is searched for commands to execute?

Wähle eine der folgenden:

  • PATH

  • EXEC

  • PS1

  • PS2

Erklärung

Frage 66 von 72

1

Select the command that can report the location of a command:

Wähle eine der folgenden:

  • where

  • what

  • which

Erklärung

Frage 67 von 72

1

A pair of single quotes (') will prevent the shell from interpreting any metacharacter

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 68 von 72

1

The /tmp directory is a temporary directory and will not exist on a system at all times

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 69 von 72

1

The /var directory has files that change over time

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 70 von 72

1

The "sticky bit" permission...

Wähle eine der folgenden:

  • ...prevents others from removing files they don't own from a common directory

  • ...changes the group ownership of existing files in a directory

  • ..prevents others from overwriting files they don't own in common directories

  • ...sets the group ownership of any new file created in a directory

Erklärung

Frage 71 von 72

1

Which of the following commands will set the "sticky bit" on /shared?

Wähle eine der folgenden:

  • chmod 4777 /shared

  • chmod 2777 /shared

  • chmod 7777 /shared

  • chmod 1777 /shared

Erklärung

Frage 72 von 72

1

The "setuid" permission...

Wähle eine der folgenden:

  • ...allows a command to be run as the file owner

  • ...allows file in a directory to be manipulated as by the directory owner

  • ...prevents the owner of a file from being changed

  • ...reports the output of a script to the owner

Erklärung