201-450 : LPIC-2 Exam 201 : Part 03

  1. On a server running the 3.4.50-11 Linux kernel, which file in the /boot directory contains the kernel configuration parameters?

    • config-linux-3.4.50-11
    • config-3.4.50-11
    • system-3.4.50-11
    • vmlinuz-3.4.50-11
    • rc.config-3.4.50-11
  2. Which of the following commands by default provides the PIDs of the processes sorted by which are using the most CPU cycles on the Linux system?

    • top
    • uptime
    • ps aux
    • vmstat
    • freemem
  3. In the output of sar –b, what does tps stand for?

    • Terrabyte per second
    • Traffic per second
    • Transfers per second 
    • Total data per second
    • Terrabit per second
  4. In the following output of the command uptime, the load averages represent the system load averages for what time frames?

    12:10:05 up 18 days, 19:00, 2 users, load average: 0.47, 24.71, 35.31
    • 1, 5 and 15 minutes
    • 1, 15 and 30 minutes
    • 5, 20 and 25 seconds
    • 15, 30 and 60 minutes
    • 15, 45 and 90 seconds
  5. Which of the following properties should be recorded in order to monitor the quality of a network link? (Choose two.)

    • Bandwidth in both directions
    • Number of nodes using the link
    • Effective Latency 
    • Number of IPv4 and IPv6 packets
    • Number of used TCP ports
  6. Which command reports information on memory usage, paging and block input/output?

    • free
    • memshow
    • lsof
    • pidof
    • vmstat
  7. In order to gather performance data with sar over a longer period of time, which command should be run periodically from cron?

    • sa1
    • sarmon
    • sarec
    • sadf
    • sarcron
  8. Which commands below are useful to collect data about remote filesystem connections? (Choose two.)

    • pidstat
    • nfsiostat
    • sadf
    • cifsiostat
    • fsiostat
  9. A web application server contains 64GB of RAM and two swap partitions on normal hard disk drives, each with a size of 64 GB. Within the last month, the average number of user sessions on this server has grown by 20 percent. At the same time, the average usage of RAM increased from 65 to 75 percent, while the swap space is almost not used at all. It is expected that the number of user sessions will continue to increase by about 15 to 20 percent each month. Which of the following reactions would be appropriate in response to these observations? (Choose two.)

    • Delay any hardware upgrade until there is a significant consumption of swap space to ensure an efficient usage of the available hardware
    • Create a RAID 1 device on the two swap partitions to avoid data loss in case swap space has to be used in the future
    • Consider the installation of an additional application server to distribute the load if the expected growth continues over several months 
    • Move the web application’s scripts and content a ram disk in order to ensure fast access and to avoid the need for swap space
    • Update the hardware to increase the amount of available RAM to avoid using swap space
  10. Which of the following configuration files are used by tcpwrapper?

    • /etc/tcpd.allow and etc/tcpd.deny
    • /etc/tcpwrapper.allow and /etc/tcpwrapper.deny
    • /etc/hosts.allow and /etc/hosts.deny
    • /etc/access.allow and /etc/access.deny
    • /etc/service.allow and /etc/service.deny
  11. FILL BLANK

    Which program lists information about files and network connections opened by processes? (Specify ONLY the command without any path or parameters.)

    • lsof
  12. A network client has an Ethernet interface (eth0) configured with an IP address in the subnet 192.168.0.0/24. This subnet has a router, with the IP address 192.168.0.1, that connects this subnet to the Internet. Which of the following commands can be used on the client to enable it to use the router as its default gateway? (Choose two.)

    • route add default gw 192.168.0.1 eth0
    • ifconfig eth0 defaultroute 192.168.0.1
    • ip route add default via 192.168.0.1
    • echo defaultroute 192.168.0.1 >>/etc/resolv.conf
    • route add defaultgw=192.168.0.1 if=eth0
  13. FILL BLANK

    The users of the local network complain that name resolution is not fast enough. Which command shows the time taken to resolve a DNS query? (Specify the command without path.)

    • dig
  14. Which of the filter keywords below could be used in the following command:

    tcpdump –i eth0 ____________ 203.0.113.8
    (Choose three.)

    • host
    • ip
    • src
    • dst
    • ipv6
  15. Which of the following commands adds a static IPv6 address to the network interface eth0?

    • ip add addr 2001:db8::1337/64 dev eth0
    • ip -6 add addr 2001:db8::1337/64 dev eth0
    • ip addr add 2001:db8::1337/64 dev eth0
    • ip -6 addr add new 2001:db8::1337/64 dev eth0
    • ip addr add -6 2001:db8::1337/64 dev eth0
  16. On a Linux node with multiple active network interfaces, each having a default route to the Internet, which default route is preferred?

    • The default route with the highest metric value
    • The default route with the highest MTU value
    • The default route with the lowest TTL value
    • The default route with the highest TTL value
    • The default route with the lowest metric value
  17. The following is an excerpt from the output of tcpdump –nli eth1:

    201-450 LPIC-2 Exam 201 Part 03 Q17 002
    201-450 LPIC-2 Exam 201 Part 03 Q17 002

    Which network service or protocol was used?

    •  FTP
    • HTTP
    • SSH
    • DNS
    • DHCP
  18. What should be done to ensure a client machine uses the recursive nameserver running on the IP address 192.168.0.1? (Choose two.)

    • Add nameserver 192.168.0.1 to /etc/resolv.conf
    • Run route add nameserver 192.168.0.1
    • Run ifconfig eth0 nameserver 192.168.0.1
    • Ensure that the dns service is listed in the hosts entry in the /etc/nsswitch.conf file
    • Run bind add nameserver 192.168.0.1
  19. Which of the following commands shows capabilities and usable frequencies for the wireless interface wlan0?

    • iw phy pyh0 info
    • iw dev wlan0 info
    • iw dev wlan0 show
    • iw phy wlan0 show
    • iw phy0 show
  20. Which of the following commands lists IPv4 addresses and MAC addresses of network nodes that the local system has seen on its directly connected IP networks?

    • arp
    • ifconfig
    • ipadm
    • iwlist
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments