Linux certification sample question paper with answer set 7

Linux certification sample question paper with answer set 7

  • What of the following is valid SELinux enforcing mode?
    • permissive
    • enforcing
    • disable
    • all of them

    Answer — all of them

  • Which command is used to save the rules from kernel and install them in a configuration file?
    • iptables-save
    • iptables-load
    • iptables-kernel
    • iptables -S

    Answer — iptables-save

  • Which directory does contain the default services configured on the system?
    • /etc/alternative
    • /etc/alternatives
    • /etc/services/alternatives
    • /etc/services/alternative

    Answer — /etc/alternatives

  • The domain name of your system changed from oldone to newone. What should the administrator do?
    • Domain name mapping in file /etc/domain
    • use command domainname
    • domain name mapping in file /etc/mail/domaintable
    • none of above

    Answer — domain name mapping in file /etc/mail/domaintable

  • What are the valid values of security field in file /etc/ypserv.conf?
    • None
    • port
    • deny
    • all of these

    Answer –all of these

  • Which command is used to search for an entry in the ldap directory?
    • ldap
    • ldap -s
    • ldapsearch
    • ldapsrch

    Answer — ldapsearch

  • Which command is used to display server side NFS information?
    • nfsstat -s
    • nfsstat -c
    • nfs
    • nfstat

    Answer — nfsstat -s

  • What is the content of /etc/httpd/conf.d directory?
    • Configuration file related to Apache client
    • load libraries related to Apache server
    • nothing
    • The conf.d contains the configuration files relating to the languages( like Python,Perl,and PHP),database(Mysql) and the authorization modules.

    Answer — The conf.d contains the configuration files relating to the languages( like Python,Perl,and PHP),database(Mysql) and the authorization modules.

  • Which command is used to list all the scheduled jobs?
    • at -l
    • none of them
    • both of them
    • atq

    Answer — both of them

  • The module A is dependent on module B. which command should be used to load the module A into kernel?
    • insmod
    • modprobe
    • insmod
    • modinfo

    Answer — modprobe

Leave a Comment