Yeredaia Miranda
Test por , creado hace más de 1 año

Linux Sistemas Operativos Test sobre Examen final Linux Essentials, creado por Yeredaia Miranda el 26/04/2016.

775
10
3
Yeredaia Miranda
Creado por Yeredaia Miranda hace más de 8 años
Cerrar

Examen final Linux Essentials

Pregunta 1 de 72

1

One of the jobs of the kernel is to:

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 2 de 72

1

Unix is: (choose two)

Selecciona una o más de las siguientes respuestas posibles:

  • An operating system

  • A type of hardware

  • A trademark

  • A distribution of Linux

  • A text editor

Explicación

Pregunta 3 de 72

1

Linux is written in:

Selecciona una de las siguientes respuestas posibles:

  • C

  • .NET

  • C++

  • Java

  • Perl

Explicación

Pregunta 4 de 72

1

Source code refers to:

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 5 de 72

1

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

Selecciona una de las siguientes respuestas posibles:

  • -- info

  • -- doc

  • -- help

  • - h

Explicación

Pregunta 6 de 72

1

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

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 7 de 72

1

The whatis command is the same as man -w

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 8 de 72

1

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

Selecciona una de las siguientes respuestas posibles:

  • /var/lib/doc

  • /usr/software/doc

  • /usr/share/doc

  • /var/share/doc

Explicación

Pregunta 9 de 72

1

Hidden files are files that begin with what character?

Selecciona una de las siguientes respuestas posibles:

  • A plus (+)

  • A dash (-)

  • A period (.)

  • An asterisk (*)

Explicación

Pregunta 10 de 72

1

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

Selecciona una de las siguientes respuestas posibles:

  • -w

  • -H

  • -L

  • -a

Explicación

Pregunta 11 de 72

1

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

Selecciona una de las siguientes respuestas posibles:

  • /

  • /root

  • /home

  • C:

Explicación

Pregunta 12 de 72

1

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

Selecciona una de las siguientes respuestas posibles:

  • Relative

  • Absolute

Explicación

Pregunta 13 de 72

1

Is the following path absolute or relative?
sysadmin/Documents

Selecciona una de las siguientes respuestas posibles:

  • Relative

  • Absolute

Explicación

Pregunta 14 de 72

1

Compression on a file works by:

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 15 de 72

1

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

Selecciona una de las siguientes respuestas posibles:

  • An mp3 audio file

  • A movie

  • A log file

  • A JPEG image

  • An encrypted email

Explicación

Pregunta 16 de 72

1

Lossy compression: (choose three)

Selecciona una o más de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 17 de 72

1

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

Selecciona una o más de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 18 de 72

1

Error messages generated by commands are sent where by default?

Selecciona una de las siguientes respuestas posibles:

  • STDIN

  • Log files

  • STDERR

  • STDOUT

Explicación

Pregunta 19 de 72

1

A successful command will print output to STDOUT

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 20 de 72

1

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

Selecciona una de las siguientes respuestas posibles:

  • ls /root > error.log

  • ls /root >> error.log

  • ls /root 2> error.log

  • ls /root $> error.log

Explicación

Pregunta 21 de 72

1

A pipe allows you to...

Selecciona una de las siguientes respuestas posibles:

  • ...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

Explicación

Pregunta 22 de 72

1

Channel 2 is:

Selecciona una de las siguientes respuestas posibles:

  • STDERR

  • STDIN

  • STDALL

  • STDOUT

Explicación

Pregunta 23 de 72

1

The echo command:

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 24 de 72

1

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

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 25 de 72

1

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

Selecciona una o más de las siguientes respuestas posibles:

  • nano

  • LibreOffice Writer

  • /bin/bash

  • vi

  • Firefox

Explicación

Pregunta 26 de 72

1

Most of nano's commands take the form of:

Selecciona una de las siguientes respuestas posibles:

  • Escape followed by another character

  • Mouse clicks

  • The F1 through F12 function keys

  • Alt and another character

  • Control and another character

Explicación

Pregunta 27 de 72

1

What does this shell script do?

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

Selecciona una de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 28 de 72

1

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

Selecciona una o más de las siguientes respuestas posibles:

  • 48 bit

  • 24 bit

  • 64 bit

  • 32 bit

Explicación

Pregunta 29 de 72

1

64 bit platforms can access more memory than 32 bit platforms

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 30 de 72

1

What does the acronym RPM mean?

Selecciona una de las siguientes respuestas posibles:

  • Relocate Package Manager

  • Return Package Management

  • RPM Package Management

  • Recursive Package Manager

Explicación

Pregunta 31 de 72

1

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

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 32 de 72

1

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

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 33 de 72

1

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

Selecciona una o más de las siguientes respuestas posibles:

  • rpm

  • apt-get

  • dpkg

  • aptitude

Explicación

Pregunta 34 de 72

1

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

Selecciona una o más de las siguientes respuestas posibles:

  • yum

  • apt-get

  • rpm

  • yumex

Explicación

Pregunta 35 de 72

1

Which of the following would be considered a host?

Selecciona una de las siguientes respuestas posibles:

  • A printer attached to the network via an IP addres

  • A CDROM

  • The computer's hard drive

  • A network cable

Explicación

Pregunta 36 de 72

1

A service is...

Selecciona una de las siguientes respuestas posibles:

  • ...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

Explicación

Pregunta 37 de 72

1

A network packet contains... (choose two)

Selecciona una o más de las siguientes respuestas posibles:

  • ...the IP address of the destination machine

  • ...a hard drive partition

  • ...the name of the router

  • ...the IP address of the source machine

Explicación

Pregunta 38 de 72

1

Only servers have hostnames

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 39 de 72

1

Which files contain user account information? (choose two)

Selecciona una o más de las siguientes respuestas posibles:

  • /etc/passwd

  • /etc/shadow

  • /etc/group

Explicación

Pregunta 40 de 72

1

Which user can view the /etc/shadow file?

Selecciona una de las siguientes respuestas posibles:

  • The root user

  • No users

  • Any member of the password group

  • All users

Explicación

Pregunta 41 de 72

1

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

Selecciona una de las siguientes respuestas posibles:

  • id

  • whoami

  • who

  • about

Explicación

Pregunta 42 de 72

1

Each user belongs to at least one group

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 43 de 72

1

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

Selecciona una de las siguientes respuestas posibles:

  • who

  • about

  • whoami

  • id

Explicación

Pregunta 44 de 72

1

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

Selecciona una de las siguientes respuestas posibles:

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

  • System accounts, such as server processes

  • Remote log-in accounts

  • Log-in (human) users

Explicación

Pregunta 45 de 72

1

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

Selecciona una de las siguientes respuestas posibles:

  • ...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

Explicación

Pregunta 46 de 72

1

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

Selecciona una de las siguientes respuestas posibles:

  • -g

  • -u

  • -U

  • -G

Explicación

Pregunta 47 de 72

1

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

Selecciona una de las siguientes respuestas posibles:

  • -u

  • -U

  • -g

  • -G

Explicación

Pregunta 48 de 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.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 49 de 72

1

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

Selecciona una de las siguientes respuestas posibles:

  • chmod o+rx file

  • chmod o-r-w file

  • chmod o=r+x file

  • chmod o=rx file

Explicación

Pregunta 50 de 72

1

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

Selecciona una de las siguientes respuestas posibles:

  • chmod 774 file

  • chmod 776 file

  • chmod 775 file

  • chmod 777 file

Explicación

Pregunta 51 de 72

1

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

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 52 de 72

1

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

Selecciona una o más de las siguientes respuestas posibles:

  • letter

  • octal

  • symbolic

  • binay

Explicación

Pregunta 53 de 72

1

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

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 54 de 72

1

The Samba application is a:

Selecciona una de las siguientes respuestas posibles:

  • Mail Server

  • Security Server

  • File Server

  • Web Server

Explicación

Pregunta 55 de 72

1

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

Selecciona una o más de las siguientes respuestas posibles:

  • Web server

  • Web browser

  • File share

  • Compiler

  • Music player

Explicación

Pregunta 56 de 72

1

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

Selecciona una de las siguientes respuestas posibles:

  • MySQL

  • Postfix

  • WordPress

  • Dovecot

  • Samba

Explicación

Pregunta 57 de 72

1

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

Selecciona una o más de las siguientes respuestas posibles:

  • NFS

  • X-Windows

  • Netatalk

  • Samba

  • PostgreSQL

Explicación

Pregunta 58 de 72

1

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

Selecciona una de las siguientes respuestas posibles:

  • GNOME

  • Compiz

  • Firefox

  • LibreOffice

  • Evolution

Explicación

Pregunta 59 de 72

1

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

Selecciona una o más de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 60 de 72

1

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

Selecciona una o más de las siguientes respuestas posibles:

  • Desktop

  • Shell

  • Windows

  • Popups

  • Menus

Explicación

Pregunta 61 de 72

1

A server is likely to be running in graphical mode

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 62 de 72

1

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

Selecciona una o más de las siguientes respuestas posibles:

  • guiterm

  • gbash

  • terminal

  • xconsole

  • xterm

Explicación

Pregunta 63 de 72

1

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

Selecciona una o más de las siguientes respuestas posibles:

  • 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

Explicación

Pregunta 64 de 72

1

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

Selecciona una o más de las siguientes respuestas posibles:

  • Virtual Terminal

  • Firefox

  • Opera

  • Windows Terminal

Explicación

Pregunta 65 de 72

1

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

Selecciona una de las siguientes respuestas posibles:

  • PATH

  • EXEC

  • PS1

  • PS2

Explicación

Pregunta 66 de 72

1

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

Selecciona una de las siguientes respuestas posibles:

  • where

  • what

  • which

Explicación

Pregunta 67 de 72

1

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

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 68 de 72

1

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

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 69 de 72

1

The /var directory has files that change over time

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 70 de 72

1

The "sticky bit" permission...

Selecciona una de las siguientes respuestas posibles:

  • ...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

Explicación

Pregunta 71 de 72

1

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

Selecciona una de las siguientes respuestas posibles:

  • chmod 4777 /shared

  • chmod 2777 /shared

  • chmod 7777 /shared

  • chmod 1777 /shared

Explicación

Pregunta 72 de 72

1

The "setuid" permission...

Selecciona una de las siguientes respuestas posibles:

  • ...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

Explicación