Time elapsed: 12 minutes, 12 seconds Question 1 The system administrator tries to assign…
- User
Time elapsed: 12 minutes, 12 seconds Question 1 The system administrator tries to assign the value host*2014@SNG using the hostname command. What is the result of executing this command? The command will complete with a warning This value cannot be assigned since special characters other than - and . are not allowed in the hostname The command will complete successfully The special characters will be deleted and the value assigned to the hostname Question 2 Which file is referred to on systems where DNS is not set up? /etc/network-hosts /etc/host-config /etc/hosts /etc/resolv.conf Question 3 The /etc/nsswitch.conf file defines the order in which DNS and the /etc/hosts file are queried for host name information. True or False? True False Question 4 The ifconfig will accept an interface name as an argument. True or False? True False Question 5 The routing table shows an entry with genmask 0.0.0.0, this indicates the _____. Default Name Server Default Subnet Mask Default Route Default Host Question 6 The IP address of your host is 192.168.10.16. In order to connect to another host with the IP address of 192.86.74.16, your router will have to be connected to the subnets: 192.168.1.1 and 192.86.74.0 192.168.10.0 and 255.255.255.0 255.255.255.0 and 192.86.74.0 192.168.10.0 and 192.86.74.0 Question 7 How is the DNS configuration file /etc/resolv.conf setup? By network initialization scripts Downloaded from Internet Default values provided during installation By the ifconfig utility Question 8 Which of the following is false about networkmanager. Supports Virtual Private Network (VPN) connections Provides a graphical utility for configuring network interfaces Was originally developed by Red Hat Requires root access to display device information Question 9 The nmcli command can be used to create a new network connection. True or False? True False Question 10 Which of these is not a systemd-networkd configuration file? /run/systemd/network /etc/systemd/network /etc/network/system.d /usr/lib/network/
- Assistant
- User
compile into simple answers
- Assistant
- This value cannot be assigned since special characters other than - and . are not allowed in the hostname.
- /etc/hosts
- True
- True
- Default Route
- 192.168.10.0 and 192.86.74.0
- By network initialization scripts
- Requires root access to display device information is false.
- True
- /etc/network/system.d
- User
Time elapsed: 6 seconds Question 1 If you are trying to login to a server and are unable to connect, which command would you use to verify network connectivity? ifconfig ping dig traceroute Question 2 You notice that the round trip time to a particular host is slowly increasing. Which command’s output has given you this information? ping route ping -Q netstat Question 3 Which command can be used to find the ports that are listening for connections on a host? netstat -a netstat -l netstat -s netstat -z Question 4 You log in to a server using telnet and bring down the eth0 interface (the only configured interface) using the ifdown command. What is the result of executing ifdown? The eth0 interface will be disabled and the telnet session will continue An error will be displayed that the eth0 interface cannot be disabled The eth0 interface will be disabled with a warning The eth0 interface will be disabled and the telnet session will be terminated Question 5 What of the following is not true about the tracepath command? Sends ICMP messages Discovers maximum transmission unit (MTU) along the path Can be used only by root user Traces the path to a network host Question 6 The ifup command can read interface definitions from a file other than the default file. False True Question 7 You want to switch the NIC cards of two servers currently in use. Which command will be used to disable the interfaces for this activity? ifdown nicdown ip down route down Question 8 The ping6 command differs from the ping command how? It uses the ICMPv6 Echo_Request protocol It can only use hostnames It is only available on Red Hat Linux Distributions It requires a fully qualified domain name and the IPv6 address to work Question 9 The ip command is different from the ifconfig command for the following reason: It can perform the work of several different legacy commands It appears less verbose at first glance It doesn’t show hardware addresses by default It can only show virtual interfaces Question 10 Using the -s option with the ip command will display: Supersedes all other commands used Network interfaces that are currently slow Static interfaces only Statistics for the object referenced
- Assistant
- ping
- ping
- netstat -l
- The eth0 interface will be disabled and the telnet session will be terminated
- Can be used only by root user
- True
- ifdown
- It uses the ICMPv6 Echo_Request protocol
- It can perform the work of several different legacy commands
- Statistics for the object referenced
- User
Time elapsed: 4 seconds Question 1 The listing of a directory shows certain files with permissions set to rwsr-xr-x. What does this indicate? RUID bit is set for the file This file has no execute permission for the user GUID bit is set for the file SUID bit is set for the file Question 2 You need to restart the network service and you are not the root user. Which command can you use? usermod sudo chown chmod Question 3 Which command is used to activate a newly created user account? usermod useradd chmod passwd Question 4 What is the default value of the PASS_MAX_DAYS variable, which defines the maximum number of days before the user must change his password? 99999 90 9999 3 Question 5 You need to enforce an organization's policy of mandatory password changes every 90 days. Which command can you use for this? passwd -M 90 user_name usermod -M 90 user_name useradd -M 90 user_name chage -M 90 user_name Question 6 The chage command supports a _____ mode. command batch background interactive Question 7 Which of the following is not a function of nmap? Auditing networks Finding unreachable routes Checking port activity Scanning the specified subnet Question 8 Which command makes it possible to ping all the hosts on a given subnet? nmap -a nmap -sP ping -a ping -A Question 9 What are the two types of limits that can be set with the ulimit command? low and high permanent and temporary static and dynamic hard and soft Question 10 Which file is used to store limits for users so that the limits persist after system reboot? /etc/security/ulimits.conf /etc/limits.conf /etc/security/limits.cnf /etc/security/limits.conf
- Assistant
- SUID bit is set for the file
- sudo
- passwd
- 99999
- chage -M 90 user_name
- interactive
- Finding unreachable routes
- nmap -sP
- hard and soft
- /etc/security/limits.conf
- User
Time elapsed: 7 seconds Question 1 What is the main feature of a super server? Run as a master process and service incoming TCP connections Run as a background process and initiate TCP connections to other hosts Run as a foreground process and initiate TCP connections to other hosts Run as a master process and listen for incoming TCP connections and then start the required process Question 2 For configuring xinetd, the files _____ are used: /etc/xinet.conf or separate files for each service in the /etc/xinetd.d directory /etc/xinetd.conf or separate files for each service in the /etc/net/xinetd.d directory /etc/xinet.conf or separate files for each service in the /etc/xinetd.d directory /etc/xinetd.conf or separate files for each service in the /etc/xinetd.d directory Question 3 The xinetd daemon will automatically reload the configuration file if it is modified. True or False? True False Question 4 Which of the following is not a criteria for defining access control using xinetd? Time of Day Network Traffic System Utilization Host Addresses Question 5 What does, sshd: ALL, specified in the hosts.deny file indicate? Prevent SSH connections from all hosts on this subnet Prevent SSH connection from all hosts Prevent all connections other than SSH Allow SSH connection from all hosts Question 6 Which command is used to verify if a program is compiled with TCP Wrappers? ldd make nm gcc Question 7 Which of the following scenarios do not require the use of the /etc/nologin file? Adding a new disk Installing a Linux patch Installing an Oracle Patch Monitoring the system’s disk usage Question 8 What is the result of running the init 6 command? Restart the system in single user mode Shutdown the system Restart the system Open the /etc/inittab file for editing Question 9 What does the /etc/init.d directory contain? Scripts for initialization Scripts for the different run levels Scripts for the default run level Scripts for network services Question 10 Which of the following is not a valid option for the scripts in the /etc/init.d directory? stop start restart query
- Assistant
- Run as a master process and listen for incoming TCP connections and then start the required process
- /etc/xinetd.conf or separate files for each service in the /etc/xinetd.d directory
- False
- Network Traffic
- Prevent SSH connection from all hosts
- ldd
- Monitoring the system’s disk usage
- Restart the system
- Scripts for the different run levels
- query