Pregunta 1
Pregunta
One of the jobs of the kernel is to:
Respuesta
-
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
Pregunta 2
Pregunta
Unix is: (choose two)
Respuesta
-
An operating system
-
A type of hardware
-
A trademark
-
A distribution of Linux
-
A text editor
Pregunta 3
Pregunta
Linux is written in:
Pregunta 4
Pregunta
Source code refers to:
Respuesta
-
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
Pregunta 5
Pregunta
Whats is the standard option to provide a command line program to view its documentation?
Respuesta
-
-- info
-
-- doc
-
-- help
-
- h
Pregunta 6
Pregunta
The command man -k is the same as the command apropos
Pregunta 7
Pregunta
The whatis command is the same as man -w
Pregunta 8
Pregunta
The directory where additional documentation for software packages most likely can be found is:
Respuesta
-
/var/lib/doc
-
/usr/software/doc
-
/usr/share/doc
-
/var/share/doc
Pregunta 9
Pregunta
Hidden files are files that begin with what character?
Respuesta
-
A plus (+)
-
A dash (-)
-
A period (.)
-
An asterisk (*)
Pregunta 10
Pregunta
What option for the ls command will display all files, including hidden files?
Pregunta 11
Pregunta
The top-level directory on a Linux system is represented as:
Pregunta 12
Pregunta
Is the following path absolute or relative?
/etc/ppp
Pregunta 13
Pregunta
Is the following path absolute or relative?
sysadmin/Documents
Pregunta 14
Pregunta
Compression on a file works by:
Respuesta
-
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
Pregunta 15
Pregunta
In general, for which of the following would you want to use lossless compression?
Respuesta
-
An mp3 audio file
-
A movie
-
A log file
-
A JPEG image
-
An encrypted email
Pregunta 16
Pregunta
Lossy compression: (choose three)
Respuesta
-
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
Pregunta 17
Pregunta
You type gzip myfile.tar. Whats happens? (choose two)
Respuesta
-
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
Pregunta 18
Pregunta
Error messages generated by commands are sent where by default?
Respuesta
-
STDIN
-
Log files
-
STDERR
-
STDOUT
Pregunta 19
Pregunta
A successful command will print output to STDOUT
Pregunta 20
Pregunta
Which of the following commands will direct error messages to the file, error.log?
Respuesta
-
ls /root > error.log
-
ls /root >> error.log
-
ls /root 2> error.log
-
ls /root $> error.log
Pregunta 21
Pregunta
A pipe allows you to...
Respuesta
-
...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
Pregunta 22
Respuesta
-
STDERR
-
STDIN
-
STDALL
-
STDOUT
Pregunta 23
Pregunta
The echo command:
Respuesta
-
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
Pregunta 24
Pregunta
A file begins with #!/bin/csh. This means:
Respuesta
-
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
Pregunta 25
Pregunta
Which are appropriate editors for writing shell scripts? (choose two)
Respuesta
-
nano
-
LibreOffice Writer
-
/bin/bash
-
vi
-
Firefox
Pregunta 26
Pregunta
Most of nano's commands take the form of:
Respuesta
-
Escape followed by another character
-
Mouse clicks
-
The F1 through F12 function keys
-
Alt and another character
-
Control and another character
Pregunta 27
Pregunta
What does this shell script do?
FOO=/tmp/foo
if [! -d $FOO]; then
mkdir $FOO
fi
Respuesta
-
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
Pregunta 28
Pregunta
Which of the following are valid CPU types for Intel-based platforms? (choose two)
Respuesta
-
48 bit
-
24 bit
-
64 bit
-
32 bit
Pregunta 29
Pregunta
64 bit platforms can access more memory than 32 bit platforms
Pregunta 30
Pregunta
What does the acronym RPM mean?
Pregunta 31
Pregunta
One way to install new software on a Linux system is to use a package management system
Pregunta 32
Pregunta
When you execute the dmesg command, the system displays messages that are generated by the kernel
Pregunta 33
Pregunta
Which of the following are package management commands for distributions with software distributed in files ending in .deb? (choose three)
Respuesta
-
rpm
-
apt-get
-
dpkg
-
aptitude
Pregunta 34
Pregunta
Which of the following are package management commands for distributions with software distributed in files ending in .rpm? (choose three)
Pregunta 35
Pregunta
Which of the following would be considered a host?
Pregunta 36
Respuesta
-
...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
Pregunta 37
Pregunta
A network packet contains... (choose two)
Respuesta
-
...the IP address of the destination machine
-
...a hard drive partition
-
...the name of the router
-
...the IP address of the source machine
Pregunta 38
Pregunta
Only servers have hostnames
Pregunta 39
Pregunta
Which files contain user account information? (choose two)
Respuesta
-
/etc/passwd
-
/etc/shadow
-
/etc/group
Pregunta 40
Pregunta
Which user can view the /etc/shadow file?
Pregunta 41
Pregunta
Which command will display the UID, GID and groups your current user belongs to?
Pregunta 42
Pregunta
Each user belongs to at least one group
Pregunta 43
Pregunta
Which command will display the users that are currently logged in to the system?
Pregunta 44
Pregunta
UIDs 1-500 are usually reserved for what kind of users?
Respuesta
-
Are not used for user accounts, but for group accounts
-
System accounts, such as server processes
-
Remote log-in accounts
-
Log-in (human) users
Pregunta 45
Pregunta
If a user is deleted, the files and directories that the user owned...
Respuesta
-
...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
Pregunta 46
Pregunta
Which of the following options for the useradd command allows root to specify the UID to be associated with the account?
Pregunta 47
Pregunta
Which of the following options for the useradd command allows root to specify supplementary groups the user will be a member of?
Pregunta 48
Pregunta
On a system that does not user UPG, the useradd command will also create a user group. For example, user bob, group bob.
Pregunta 49
Pregunta
Which of the following commands set "other" permissions on the file to r-x?
Respuesta
-
chmod o+rx file
-
chmod o-r-w file
-
chmod o=r+x file
-
chmod o=rx file
Pregunta 50
Pregunta
Which of the following commands sets "other" permissions on file to r-x?
Respuesta
-
chmod 774 file
-
chmod 776 file
-
chmod 775 file
-
chmod 777 file
Pregunta 51
Pregunta
Onlye one set (user, group, other) of permission can be changed at once using the symbolic method
Pregunta 52
Pregunta
Which of the following are methods for setting permissions using the chmod command? (choose two)
Respuesta
-
letter
-
octal
-
symbolic
-
binay
Pregunta 53
Pregunta
The chown command can be used to change the owner and group of a file
Pregunta 54
Pregunta
The Samba application is a:
Respuesta
-
Mail Server
-
Security Server
-
File Server
-
Web Server
Pregunta 55
Pregunta
Which of the following are examples of desktop software? (choose two)
Respuesta
-
Web server
-
Web browser
-
File share
-
Compiler
-
Music player
Pregunta 56
Pregunta
If you wanted to set up a blog, which software would be most helpful?
Respuesta
-
MySQL
-
Postfix
-
WordPress
-
Dovecot
-
Samba
Pregunta 57
Pregunta
Which of the following pieces of software deal with file sharing? (choose three)
Respuesta
-
NFS
-
X-Windows
-
Netatalk
-
Samba
-
PostgreSQL
Pregunta 58
Pregunta
If you wanted to create and print an invoice, which software could you use?
Respuesta
-
GNOME
-
Compiz
-
Firefox
-
LibreOffice
-
Evolution
Pregunta 59
Pregunta
Which of the following is true about graphical mode? (choose three)
Respuesta
-
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
Pregunta 60
Pregunta
Which of the following is provided by a graphical interface that isn't normally provided to a non graphical interface? (choouse four)
Respuesta
-
Desktop
-
Shell
-
Windows
-
Popups
-
Menus
Pregunta 61
Pregunta
A server is likely to be running in graphical mode
Pregunta 62
Pregunta
In graphical mode, you can get to a shell by running which applications? (choose two)
Respuesta
-
guiterm
-
gbash
-
terminal
-
xconsole
-
xterm
Pregunta 63
Pregunta
Which of the following are traits of a multiuser operating system? (choose three)
Respuesta
-
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
Pregunta 64
Pregunta
Select all the applications that provide access to the Command Line Interface (CLI)? (choose two)
Respuesta
-
Virtual Terminal
-
Firefox
-
Opera
-
Windows Terminal
Pregunta 65
Pregunta
Which environment varible contains a list of directories that is searched for commands to execute?
Pregunta 66
Pregunta
Select the command that can report the location of a command:
Pregunta 67
Pregunta
A pair of single quotes (') will prevent the shell from interpreting any metacharacter
Pregunta 68
Pregunta
The /tmp directory is a temporary directory and will not exist on a system at all times
Pregunta 69
Pregunta
The /var directory has files that change over time
Pregunta 70
Pregunta
The "sticky bit" permission...
Respuesta
-
...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
Pregunta 71
Pregunta
Which of the following commands will set the "sticky bit" on /shared?
Respuesta
-
chmod 4777 /shared
-
chmod 2777 /shared
-
chmod 7777 /shared
-
chmod 1777 /shared
Pregunta 72
Pregunta
The "setuid" permission...
Respuesta
-
...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