Home
You may like this!
51.
What is the purpose of the /etc/sysctl.conf file?
  • A.
    It holds miscellaneous system configuration options that are set via the sysctl utility when the system boots.
  • B.
    It specifies the order in which system services are started when the computer boots.
  • C.
    It specifies the filesystems that are mounted at boot time or that may be mounted manually by ordinary users.
  • D.
    It identifies system services that are started directly by the init process when the computer boots.
  • Answer & Explanation
  • Report
Answer : [A]
Explanation :
Option A correctly describes the purpose of /etc/sysctl.conf . Option B is a partial description of the purpose of SysV init scripts. Option C describes the function of the /etc/ fstab file. Option D describes the purpose of the /etc/inittab file.
Report
Name Email  
52.
How do /etc/profile and /etc/bashrc differ?
  • A.
    /etc/profile is a tcsh logout script; /etc/bashrc holds bash environment variables.
  • B.
    /etc/profile holds user login statistics; /etc/bashrc holds user shell preferences.
  • C.
    /etc/profile is a login script; /etc/bashrc is a non - login script.
  • D.
    /etc/profile holds user account data; /etc/bashrc is a bash startup script.
  • Answer & Explanation
  • Report
Answer : [C]
Explanation :
Option C provides brief but correct descriptions of both of these files and so is correct. Option A's description of /etc/profile is completely fictitious, although its description of /etc/bashrc is at least potentially and partially correct, since login scripts can set environment variables. Option B's descriptions of both files are both completely fictitious. Option D's description of /etc/profile is fictitious (it applies to /etc/passwd ), but its description of /etc/bashrc is correct.
Report
Name Email  
53.
What are the important (non - comment) contents of /etc/ld.so.conf ?
  • A.
    Environment variables
  • B.
    A shell script program
  • C.
    Usernames
  • D.
    Directory names
  • Answer & Explanation
  • Report
Answer : [D]
Explanation :
The /etc/ld.so.conf file holds the names of directories that the system searches for dynamic libraries, so option D is correct. This file does not hold environment variables, shell script programs, or usernames, so options A, B, and C are all wrong.
Report
Name Email  
54.
A symbolic link is called /etc/rc.d/rc3.d/S80sendmail . Assuming this symbolic link is correctly placed and functions in the expected way, what will it do?
  • A.
    Start the sendmail server in runlevel 3.
  • B.
    Point the sendmail server to its configuration file.
  • C.
    Initialize sendmail to run via inetd .
  • D.
    Stop the sendmail server when launched manually without options.
  • Answer & Explanation
  • Report
Answer : [A]
Explanation :
The /etc/rc.d/rc3.d is one of several possible locations for links to SysV startup scripts that are to be run when entering runlevel 3. Because this link name begins with S , this link causes the service to be started when entering runlevel 3, so option A is correct. This location is not used to point servers to configuration files or to run servers via the inetd super server, so options B and C are incorrect. When a SysV startup script is launched without options, it displays an error message, so option D is incorrect.
Report
Name Email  
55.
Which of the following is a global non - login bash startup script?
  • A.
    /etc/profile
  • B.
    /etc/bashrc
  • C.
    /root/.profile
  • D.
    /root/.bashrc
  • Answer & Explanation
  • Report
Answer : [B]
Explanation :
/etc/bashrc is a common name for a global non - login bash startup script, so option B is correct. /etc/profile is a common name for a global login bash startup script, so option A is incorrect. /root/.profile is the root user's login bash startup script, so option C is incorrect. /root/.bashrc is the root user's non - login bash startup script, so option D is incorrect.
Report
Name Email