最新的Lpi General Linux, Part 2 - 117-102免費考試真題
CORRECT TEXT
What is the assigned port number for the HTTP service?
(Provide the number with digits and not as a word)
What is the assigned port number for the HTTP service?
(Provide the number with digits and not as a word)
正確答案:
80
What command will allow you to see all of your environment variables?
正確答案: C
CORRECT TEXT
Your ISP has given you an IP block for your use. The block is 192.168.112.64/26. If your network administrator uses the first usable IP for the router he's installed on your network, how many usable IPs do you have left?
Your ISP has given you an IP block for your use. The block is 192.168.112.64/26. If your network administrator uses the first usable IP for the router he's installed on your network, how many usable IPs do you have left?
正確答案:
61 32 bits of IP address minus 26 bits is 6 bits. minus 1 for address of network minus 1 for address of broadcast minus 1 for address of router 2^6 - 3 = 61
CORRECT TEXT
When searching for files owned by the root user, which option is required in the following command line:
find . ________ 0 -print
(Provide only the missing argument)
When searching for files owned by the root user, which option is required in the following command line:
find . ________ 0 -print
(Provide only the missing argument)
正確答案:
uid, -uid
What is the conventional purpose of Linux UIDs that are lower than 100?
正確答案: E
In order to bypass print filters using lpr, which of following switches should be used:
正確答案: C
CORRECT TEXT
What command with options and arguments will display the mail servers for lpi.org?
What command with options and arguments will display the mail servers for lpi.org?
正確答案:
dig
lpi.org mx
lpi.org mx
CORRECT TEXT
The very first line of a shell script should always contain what two characters at the beginning of the line?
The very first line of a shell script should always contain what two characters at the beginning of the line?
正確答案:
#!
What command can be used to shut down the Apache server gracefully?
正確答案: B