Skip survey header

Linux+ Practice Quiz: XK0-004 Quiz 11

Enjoy the following 10 question quiz from TestOut.

1. Which of the following files contain information that enables a Linux system to resolve IP addresses to FQDN/host names? (Choose all that apply)
2. You are the administrator for a small network of Linux hosts. Your network does not communicate with the internet and does not use DNS.

When you add a new host named ENERGY7 to the network, which entry should be added to the /etc/hosts files?
3. You want to limit Telnet access to three specific users. Which of the following strategies will BEST accomplish this goal?
4. Due to a merger with another company, standardization is now being imposed throughout the company. As a result of this, the sales group must be renamed marketing.

Which of the following is the BEST command to use to rename the group?
5. Users are complaining that the clocks for their operating systems do not match the current time for the location in which they live. Which of the following server roles is BEST for correcting this issue?
6. A Linux system can determine the time and date in which of the following ways? (Choose TWO)
7. Which command could you use to see the path that a packet traveled across a network to a remote host?
8. While working on a Linux server, you are unable to connect to the Windows Server across the internet. You are able to ping the default gateway on your own network, so you suspect that the problem lies outside of the local network.

Which utility would you use to track the route a packet takes as it crosses the network?
9. Given the following command sequence:

echo 'blue orange green brown' | while read a b c d; do echo output: $b $c $a $d; done

Which of the following is the correct output?
10. Given the following bash script:

#!/bin/bashmynumber=5
guess=0
echo -e "I am thinking of a number from 1 to 10 "
read -p "Enter guess: " guess
if (( guess == mynumber ))
then
echo "That is correct!"
elif (( guess != mynumber )); then
echo "Sorry, that is not my number!"
fi


Which of the following would be displayed if the number 12 is entered as the guess?
This free quiz was provided by: