Carlos Alberto Jara Alva
Quiz von , erstellt am more than 1 year ago

Quiz am Examen Simulacro I - Linux Essentials, erstellt von Carlos Alberto Jara Alva am 02/10/2022.

114
0
0
Keine Merkmale angegeben
Carlos Alberto Jara Alva
Erstellt von Carlos Alberto Jara Alva vor fast 2 Jahre
Schließen

Examen Simulacro I - Linux Essentials

Frage 1 von 40

1

Which of the following commands can be used to determine the time of the last login of a given user?

Wähle eine der folgenden:

  • Showlog

  • Recent

  • history

  • last

Erklärung

Frage 2 von 40

1

Which of the following commands is used to lookup the current IP address of a system?

Wähle eine der folgenden:

  • Ifconfig

  • Sysinfo | grep ipaddress

  • Ipconfig

  • Showip

Erklärung

Frage 3 von 40

1

Where is the BIOS located?

Wähle eine der folgenden:

  • Motherboard

  • Hard drive

  • LCD Monitor

  • RAM

Erklärung

Frage 4 von 40

1

Which permissions should be given to a file that needs to be opened and edited by the file's owner and opened read-only by the file's group?

Wähle eine der folgenden:

  • 0640

  • 0444

  • 0466

  • 0540

Erklärung

Frage 5 von 40

1

You have a program called /user/bin/foo. You wish to create a symbolic link, /home/user/bin/foo, that points to it. Which command will do this task?  

Wähle eine der folgenden:

  • Ln -sys /home/user/foo /user/bin/foo

  • Ln -s /user/bin/foo /home/user/foo

  • Ln /user/bin/foo /home/user/foo

  • Ln /home/user/foo /user/bin/foo

Erklärung

Frage 6 von 40

1

What keyword is missing from the following segment of the shell script?for i in*;----cat $idone

Wähle eine der folgenden:

  • Do

  • Endo

  • Then

  • Fi

Erklärung

Frage 7 von 40

1

What is the command that will show system boot time messages?

Wähle eine der folgenden:

  • Display system boot

  • Messages

  • dmesg

  • lspci

Erklärung

Frage 8 von 40

1

Which of the following is a Linux based operating system for use on mobile devices?

Wähle eine der folgenden:

  • Android

  • CentOS

  • Debian

  • Fedora

Erklärung

Frage 9 von 40

1

Which network interface always exists in a Linux system?

Wähle eine der folgenden:

  • wlan0

  • lo

  • vlan0

  • eth0

Erklärung

Frage 10 von 40

1

Which command shows if /usr/bin is in the current shell search path?

Wähle eine der folgenden:

  • cat $PATH

  • echo %PATH

  • echo $PATH

  • echo %PATH%

Erklärung

Frage 11 von 40

1

What is the number called that is used to identify a process?

Wähle eine der folgenden:

  • Process Entry

  • PIN

  • PID

  • Proc Num

Erklärung

Frage 12 von 40

1

Which one of the following statements concerning Linux passwords is true?

Wähle eine der folgenden:

  • Passwords are only stored in encrypted form

  • Passwords may never start with a non-letter

  • Passwords may be at most six characters long

  • Users cannot change their password once it has been set

Erklärung

Frage 13 von 40

1

What are the three sets of permission for a file?

Wähle eine der folgenden:

  • Administrator, standard user, others

  • Administrator, group, others

  • User, group, others

  • User, standard user, others

Erklärung

Frage 14 von 40

1

Which of the following will change the group that is associated with a file?

Wähle eine der folgenden:

  • chmod

  • chmod -w

  • chown

  • ls -g

Erklärung

Frage 15 von 40

1

While deleting all files beginning with the letter a there was still the file Access.txt left. Assuming that it had the correct ownership, why was it not deleted?

Wähle eine der folgenden:

  • Linux file names are case sensitive

  • Rm had to be called with the option -R to delete all files

  • Files with extensions need a different treatment

  • The file Access.txt was hidden

Erklärung

Frage 16 von 40

1

Which of the following programs is not  a graphical web browser?

Wähle eine der folgenden:

  • Chrome

  • Links

  • Konqueror

  • Firefox

Erklärung

Frage 17 von 40

1

What is the output of the following command?tail -n 20 test.txt

Wähle eine der folgenden:

  • The last 20 lines of test.txt including the black lines

  • The last 20 lines of test.txt omitting the black lines

  • The last 20 lines of test.txt with line numbers

  • The first 20 lines of test.txt

Erklärung

Frage 18 von 40

1

Which of the following commands will display a list of all files in the current directory, including  those that may be hidden?

Wähle eine der folgenden:

  • ls -a

  • ls --hidden

  • ls -h

  • ls --a

Erklärung

Frage 19 von 40

1

Which command will display the last line of the file foo.txt?

Wähle eine der folgenden:

  • last -n 1 foo.txt

  • head -n foo.txt

  • tail -n 1 foo.txt

  • tail foo.txt

Erklärung

Frage 20 von 40

1

Which Linux distribution is used as a basis for the creation of Ubuntu Linux?

Wähle eine der folgenden:

  • Debian Linux

  • Red Hat Linux

  • SUSE Linux

  • Gentoo Linux

Erklärung

Frage 21 von 40

1

Which command is used to make a shell variable known to subsequently executed programs?

Wähle eine der folgenden:

  • export

  • Announce

  • env

  • mv

Erklärung

Frage 22 von 40

1

Which command displays the list of groups to which a user belongs?

Wähle eine der folgenden:

  • Id

  • Whoami

  • Isgroup

  • Who

Erklärung

Frage 23 von 40

1

Which of the following hardware devices links a number of computers together to form an Ethernet LAN?

Wähle eine der folgenden:

  • Switch

  • Access point

  • Terminal

  • Server

Erklärung

Frage 24 von 40

1

Which of the following commands can be used to extract files from an archive?

Wähle eine der folgenden:

  • tar -evf

  • tar -vf

  • tar -v

  • tar -xvf

Erklärung

Frage 25 von 40

1

Which of the following commands can be used to view a file and do search operations within it while viewing the contents?

Wähle eine der folgenden:

  • less

  • grep

  • report

  • find

Erklärung

Frage 26 von 40

1

What is the first character for a file or directory names if they should not be displayed by commands such as ls unless specifically requested?

Wähle eine der folgenden:

  • _ (underscore)

  • - (minus)

  • \ (backslash)

  • . (dot)

Erklärung

Frage 27 von 40

1

Which command line can be used to search help files that mention the word "copy"?

Wähle eine der folgenden:

  • copy help

  • man l-k copy

  • whatis copy

  • copy -help

Erklärung

Frage 28 von 40

1

Which of the following software packages is an email server?

Wähle eine der folgenden:

  • Apache

  • MySQL

  • Postfix

  • GIMP

Erklärung

Frage 29 von 40

1

Which of the following can be used to access the command line?

Wähle eine der folgenden:

  • Firefox

  • BIOS

  • Terminal

  • XWindow

Erklärung

Frage 30 von 40

1

After installing a new package, in which directory are you most likely find its configuration file?

Wähle eine der folgenden:

  • /etc

  • /conf

  • /usr

  • /lib

Erklärung

Frage 31 von 40

1

Why is the file data.txt empty after executing sort data.txt > data.txt?

Wähle eine der folgenden:

  • Because the file gets truncated before the sort is executed

  • Because sort cannot sort text files, only binary files

  • Because sort detects that both files are the same

  • Because, if data.txt is empty now, it must have been empty before

Erklärung

Frage 32 von 40

1

Which option will cause the echo command NOT to output a trailing newline?

Wähle eine der folgenden:

  • -e

  • -n

  • -p

  • -s

Erklärung

Frage 33 von 40

1

Which of the following statements concerning the General Public License (GPL) is true?

Wähle eine der folgenden:

  • The GPL is designed to ensure that the source code of a software remains freely available

  • The GPL is identical to the BSD license

  • GPL software may never be sold for money

  • If you changed a program you received under the GPL, you must send your changes to the original author for approval

Erklärung

Frage 34 von 40

1

Identify the proper device for the third partition, on the second hard disk, on the first IDE controller on a PC system. 

Wähle eine der folgenden:

  • /dev/hdb3

  • /dev/hd1b3

  • /dev/hdc1d2p3

  • Dev/hdc1a3

Erklärung

Frage 35 von 40

1

Which command lists all files in the current directory that starts with a capital letter?

Wähle eine der folgenden:

  • ls -uppercase-files

  • ls A-Z

  • ls A-Z*

  • ls [A-Z]*

Erklärung

Frage 36 von 40

1

How can the normal output of a command be written to a file while discarding the error output?

Wähle eine der folgenden:

  • Command>2>discard-error>file

  • Command>2>file &1>/dev/null

  • Command /dev/null

  • Command> file2>/dev/null

Erklärung

Frage 37 von 40

1

Which of the following Ubuntu releases is considered most stable and fit to use for business purposes?

Wähle eine der folgenden:

  • LTS

  • Ubuntu Vanilla

  • Xubuntu

  • Kubuntu

Erklärung

Frage 38 von 40

1

The following file is found in which system file?

root:x:0:0::/root:/bin/bash

Wähle eine der folgenden:

  • /etc/passwd

  • /usr/bin/shadow

  • /etc/shadow

  • /etc/password

Erklärung

Frage 39 von 40

1

Which is a suitable command to find the next appearance of the word hidden in a man page being viewed from the command line?

Wähle eine der folgenden:

  • /hidden

  • /? hidden

  • CTRL-F hidden

  • Find hidden

Erklärung

Frage 40 von 40

1

Incoming SSH connections are accepted by the sshd daemon on which default port?

Wähle eine der folgenden:

  • 80

  • 23

  • 21

  • 22

Erklärung