Flashcards
LINUX 2
Flashcards do conjunto (38)
- 1A user was not given permission to use the CRON scheduling system. What file needs to be modified to provide that access? (Please specify the full path to the file)./ETC/CRON.ALLOW
- 2An ISP has given an administrator an IP block for use. The block is 192.168.112.64/26. If the administrator uses the first usable IP for the router that is installed on the network, how many usable IPs are left? (Please enter the number and not a word)61
- 3An administrator is configuring a secured webserver, however connecting to https://127.0.0.1 is not working. The administrator runs netstat -ntl, which returns the following output: tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN What port should be listening before a successful connection is possible? (Provide only the numerical value of the port).443
- 4Which protocol uses two (2) TCP/IP ports one of them being port 20 for data transfer? (Please do not enter duplicate answers in this field.)FTP,FTP
- 5An administrator can run the ________ command to see active network and UNIX domain socket connections. (Please specify the command with no options or parameters)./BIN/NETSTAT, NETSTAT
- 6An administrator needs to sync the hardware clock, which is on GMT, with the system clock, which the administrator just updated with NTP. To do this, complete the following command: ________ - u --systohc/SBIN/HWCLOCK, /USR/SBIN/HWCLOCK, HWCLOCK
- 7An administrator has added the following line to /etc/inittab in order to disable the ability to reboot a Debian system by pressing the Control + Alt + Delete keys simultaneously: ca:12345:_________:/bin/echo "Rebooting disabled" Please provide the missing string.CTRLALTDEL
- 8What word will complete an if statement in bash such as the following: if [ -x "$file" ]; then echo $file _____ (Please provide the missing word only).FI
- 9An administrator decides to use xinetd instead of inetd. Now, the administrator needs to transfer information from /etc/inetd.conf to another file. What file must be created or edited? (Please specify the full path)./ETC/XINETD.CONF
- 10An administrator wants to determine the geometry of a particular window in X, so the administrator issues the __________ -metric command and then clicks on the window. (Please enter only a single command and do not enter duplicate answers in this field.)/USR/BIN/XWININFO, XWININFO
- 11The command __________ prints a list of email that is currently in the queue waiting for delivery. (Please specify the command with or without path or arguments)/USR/BIN/MAILQ, MAILQ
- 12To slave the NTP daemon to an external source, an administrator needs to modify the ______ variable in the /etc/ntp.conf file.SERVER
- 13By default, which directories contents will be copied to a new user's home directory when the account is created, passing the -m option to the useradd command?/ETC/SKEL, /ETC/SKEL/
- 14Please specify the directory containing the configuration files for the CUPS printing system. (Provide the full path to the directory)./ETC/CUPS, /ETC/CUPS/
- 15Which file specifies the user accounts can NOT submit jobs via at or batch? (Provide the full path and filename)./ETC/AT.DENY
- 16The ________ command is used to add a group to the system. (Please enter only a single command and do not enter duplicate answers in this field.)/USR/SBIN/GROUPADD, GROUPADD
- 17What word is missing from the following SQL statement? updatetablename ____ fieldname='value' where id=909;SET
- 18What is the command to delete the default gateway from the system IP routing table? (Please specify the complete command with arguments, please no duplicate answers in this field.)/SBIN/IPROUTEDEL0.0.0.0, /SBIN/IPROUTEDELDEFAULT, /SBIN/ROUTEDEL0.0.0.0, /SBIN/ROU
TEDELDEFAULT, IPROUTEDEL0.0.0.0, IPROUTEDELDEFAULT, ROUTEDEL0.0.0.0, ROUTEDEL
DEFAULT - 19What word is missing from the following SQL statement? select count(*) _____ tablename;FROM
- 20Which option, when passed to the gpg command, will enter an interactive menu enabling the user to perform key management related tasks? (Provide only one option).EDIT-KEY
- 21To slave the NTP daemon to an external source, an administrator needs to modify the ______ variable in the /etc/ntp.conf file.SERVER
- 22An administrator wants to temporarily prevent users from logging in. Please complete the following command: touch /etc/______NOLOGIN
- 23An ISP has given an administrator an IP block for use. The block is 192.168.112.64/26. If the administrator uses the first usable IP for the router that is installed on the network, how many usable IPs are left? (Please enter the number and not a word)61
- 24An administrator is logged in as root. What command should the administrator run to find out what groups user bruno belongs to?/USR/BIN/GROUPSBRUNO, /USR/BIN/IDBRUNO, GROUPSBRUNO, IDBRUNO
- 25An administrator is configuring a secured webserver, however connecting to https://127.0.0.1 is not working. The administrator runs netstat -ntl, which returns the following output: tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN What port should be listening before a successful connection is possible? (Provide only the numerical value of the port).443
- 26After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to print the status of the printer's queue? (Provide only the command, without any options or parameters)./USR/BIN/LPQ, LPQ
- 27By default, which directories contents will be copied to a new user's home directory when the account is created, passing the -m option to the useradd command?/ETC/SKEL, /ETC/SKEL/
- 28Which IP protocol is connectionless and unreliable? (Please enter only a single answer and do not enter duplicate answers in this field.)UDP, UDP, UDP/IP, UDP/IP
- 29What is the command to delete the default gateway from the system IP routing table? (Please specify the complete command with arguments, please no duplicate answers in this field.)/SBIN/IPROUTEDEL0.0.0.0, /SBIN/IPROUTEDELDEFAULT, /SBIN/ROUTEDEL0.0.0.0, /SBIN/ROU
TEDELDEFAULT, IPROUTEDEL0.0.0.0, IPROUTEDELDEFAULT, ROUTEDEL0.0.0.0, ROUTEDEL
DEFAULT - 30In anxinetdconfig file, what attribute specifies the network address that will be used to offer the service? (Please enter only one answer and do not enter duplicate answers in this field.)BIND, INTERFACE
- 31The _____________ command is used to print the network connections, routing tables, and interface statistics. (Please enter only a single command and do not enter duplicate answers in this field.)/BIN/NETSTAT, /SBIN/IP, IP, NETSTAT
- 32The _________ command is used to assign an IP address to a device. (Please specify a single command with or without path information)/SBIN/IFCONFIG, /SBIN/IP, IFCONFIG, IP
- 33Given the following line from /etc/nsswitch.conf: hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 By default, which file will be queried first for hostname lookups? (Provide the full path and filename)./ETC/HOSTS
- 34What command can be used to generate log entries of any facility and priority? (Supply just the command name without a path).LOGGER
- 35What argument to the -name flag of find will match files or directories beginning with a '.' (period)?.\*
- 36To exclude all log messages of a given logging facility, an administrator should use a logging priority of _____ .NONE
- 37Which file lists which users can execute commands using sudo? (Provide the full path and filename)./ETC/SUDOERS
- 38Which file contains a list of services and hosts that will be denied by a TCP Wrapper such as tcpd? (Please enter the full path)./ETC/HOSTS.DENY
Informações
- Descrição
- FlashCards sobre LINUX 2, criado por michael martin em 12-05-2015.
- Criado por
- michael martin
- Visualizações
- 9
- Avaliação