LFCS : Linux Foundation Certified System Administrator : Part 07
-
SIMULATION
What argument to the -type option of find will match files that are symbolic links? (Specify only the argument and no other options or words.)- 1
-
SIMULATION
With X11 forwarding in ssh, what environment variable is automatically set in the remote host shell that is not set when X11 forwarding is not enabled? (Specify only the environment variable without any additional commands or values.)- DISPLAY
- $DISPLAY
-
Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)
- 127.0.0.0/8
- 10.0.0.0/8
- 169.255.0.0/16
- 172.16.0.0/12
- 192.168.0.0/16
-
Which of the following tools used for DNS debugging, reports not only the response from the name server but also details about the query?
- dnsq
- dig
- hostname
- dnslookup
- zoneinfo
-
SIMULATION
Which command, depending on its options, can display the open network connections, the routing tables, as well as network interface statistics. (Specify ONLY the command without any path or parameters.)- netstat
- /bin/netstat
- ss
- /usr/bin/ss
-
SIMULATION
Which port is the default server port for the HTTPS protocol? (Specify the port number using digits.)- 443
-
Given the following routing table:
How would an outgoing packet to the destination 192.168.2.150 be handled?
- It would be passed to the default router 192.168.178.1 on wlan0.
- It would be directly transmitted on the device eth0.
- It would be passed to the default router 255.255.255.0 on eth0.
- It would be directly transmitted on the device wlan0.
- It would be passed to the router 192.168.1.1 on eth0.
-
Which of the following is a valid IPv6 address?
- 2001:db8:3241::1
- 2001::db8:4581::1
- 2001:db8:0g41::1
- 2001%db8%9990%%1
- 2001.db8.819f..1
-
What of the following can be done by the command ifconfig? (Choose TWO correct answers.)
- Set a network interface active or inactive.
- Specify the kernel module to be used with a network interface.
- Allow regular users to change the network configuration of a network interface.
- Change the netmask used on a network interface.
- Specify which network services are available on a network interface.
-
Which of the following programs can be used to determine the routing path to a given destination?
- dig
- netstat
- ping
- route
- traceroute
-
Which of the following commands kills the process with the PID 123 but allows the process to “clean up” before exiting?
- kill -PIPE 123
- kill -KILL 123
- kill -STOP 123
- kill -TERM 123
-
SIMULATION
Which signal is missing from the following command that is commonly used to instruct a daemon to reinitialize itself, including reading configuration files?
killall -s _______ daemon- HUP
- SIGHUP
- 1
-
In a nested directory structure, which find command line option would be used to restrict the command to searching down a particular number of subdirectories?
- -dirmax
- -maxdepth
- -maxlevels
- -n
- -s
-
Which of the following statements is correct regarding the command foo 1> bar?
- The stdout from the command foo is appended to the file bar.
- The stdout from the command foo overwrites the file bar.
- The command foo receives its stdin from the file bar.
- The command foo receives its stdin from the stdout of the command bar.
- The stderr from the command foo is saved to the file bar.
-
A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remove that directory?
- rmdir ‘~/\dir’
- rmdir “~/\dir”
- rmdir ~/’dir’
- rmdir ~/\dir
- rmdir ~/\\dir
-
In compliance with the FHS, in which of the directories are man pages found?
- /usr/share/man
- /opt/man
- /usr/doc/
- /var/pkg/man
- /var/man
-
What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?
- 9
- 19
- 49
- 99
-
Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?
- i (lowercase)
- P (uppercase)
- p (lowercase)
- U (uppercase)
- u (lowercase)
-
SIMULATION
Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)- swapoff
- /sbin/swapoff
-
SIMULATION
Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.)- dpkg-reconfigure
Subscribe
0 Comments
Newest