The Linux Network Administration test has a P3 answer

Continuing on this topic, in the article below will be multiple choice questions with answers for you to try your knowledge.
  1. Question 1. Declare default gw 172.16.8.2 for 1 Linux machine used as a command:
      1. Route add –net default gw16.8.2
    1. Route add -net 0.0.0.0 netmask 0.0.0.0 gw 172.16.8.2
      1. Route add -net 0.0.0.0 netmask 255.255.255.255 gw16.8.2
    2. Sentences a and b are correct
  2. Question 2. Which command to know the full path of the current directory?
      1. pwd
      1. path
      1. echopath
      1. No sentence is correct
  3. Question 3. Which program is used to check DNS service configuration?
      1. dnscheck
      1. BIND
      1. nslookup
    1. resolve

  4. Question 4. Which command to delete the entire directory / dir
    1. rm -f / dir

      1. rm -r / dir
      1. rmdir / dir
      1. rmdir -p / dir
  5. Question 5. To create a user account "abc" that is a member of the "group" group, we use the command:
      1. useradd –g groupabc
      1. useradd -G groupabc
      1. useradd -m groupabc
      1. useradd groupabc
  6. Question 6. Which of the following user names is incorrect?
      1. TheresaHadden
      1. Thadden
      1. TheresaH
      1. HOUR.
  7. Question 7. Your computer has two IDE hard drives and you are installing Linux on them. Each hard disk you divided into two patitions. What are the partitions on your computer:
      1. hda1, hda2, hda3, hda4
      1. hda1, hda2, hdb1, hdb2
      1. sda1, sda2, sdb1, sdb2
      1. sda1, sda2, sda3, sda4
  8. Question 8. To see instructions on how to use the ls command, we execute the command:
      1. helpls
      1. listls
      1. manls
      1. docls
  9. Question 9. In a domain there must exist at least one Name Server of the following type:
    1. Caching Name Server

    2. Secondary Name Server

    3. Master Name Server
    4. Domain controller Name Server

  10. Question 10. To set the IP address for a Linux machine, which command do we use in the following commands:
    1. ipconfig

      1. ifconfig
      1. netstat
      1. route
  11. Question 11. To lock user account we use the command:
    1. usermod - L user
    2. Password - Luser
    3. Both answers are correct
    4. The above two answers are wrong
  12. Question 12. Which file contains the main configuration information for BIND (DNS)?
      1. /etc.bind.conf
      1. /etc/named.conf
      1. /etc/dns.conf
      1. /var/named.conf
  13. Question 13. In the file declaring parameters for the zone resolving, any type of record is not allowed to use:
      1. SOA
      1. NS
      1. CNAME
      1. PTR
  14. Question 14. What command is used to remove an RMP package from Linux?
      1. rm-rf
      1. rpm-m
      1. rpm-remove
      1. rpm-e
  15. Question 15. To see the open port status of a Linux machine, which command do we use in the following commands?
      1. ipconfig
      1. ifconfig
      1. netstat
    1. route

4.5 ★ | 2 Vote