игра брюс 2048
Главная / Операционные системы / FreeBSD Operating System / Тест 9

FreeBSD Operating System - тест 9

Упражнение 1:
Номер 1
Which of the listed below files is user-readable?

Ответ:

 (1) /etc/pwd.db 

 (2) /etc/spwd.db 

 (3) /etc/passwd 

 (4) /etc/master.passwd 


Номер 2
What shouldn't be taken into consideration while choosing a user name?

Ответ:

 (1) User name consist's of user's first and last names 

 (2) User name can be up to eight characters long 

 (3) User names are case-sensitive 

 (4) User names are in all lower case 


Номер 3
Which of the following programs allows to edit the contents of the file /etc/master.passwd?

Ответ:

 (1) sysinstall 

 (2) useradd 

 (3) adduser 

 (4) vipw 


Упражнение 2:
Номер 1
User wants to do something that requires him to be the root. In which situation he will be able to do it and a security risk on a system will be minimal?

Ответ:

 (1) User is added to the group "root" 

 (2) User logs out ang logs in as root 

 (3) User uses sudo port 

 (4) User is added to the group "wheel" 


Номер 2
In which situation you don't need to know root's password?

Ответ:

 (1) You log in as a root 

 (2) You change root's password 

 (3) You use su 

 (4) You use sudo 


Номер 3
In which of the following situations user can change anybody's password even if he doesn't know the old one?

Ответ:

 (1) User is logged in as root 

 (2) User is added to a group "wheel" 

 (3) User uses sudo 

 (4) User uses su 


Упражнение 3:
Номер 1
What option of the ps command shows all processes in the system?

Ответ:

 (1)

 (2)

 (3)

 (4)


Номер 2
What option of the ps command shows daemons?

Ответ:

 (1)

 (2)

 (3)

 (4)


Номер 3
What option of the ps command shows detailed information about processes?

Ответ:

 (1)

 (2)

 (3)

 (4)


Упражнение 4:
Номер 1
Which of the ps command fields gives information about the amount of physical memory that process is using?

Ответ:

 (1) %CPU 

 (2) %MEM 

 (3) VSZ 

 (4) RSS 


Номер 2
Which of the ps command fields gives information about the amount of virtual memory that process is using, measured in kilobytes?

Ответ:

 (1) %CPU 

 (2) %MEM 

 (3) VSZ 

 (4) RSS 


Номер 3
Which of the ps command fields gives information about the amount of physical memory currently in use, measured in kilobytes?

Ответ:

 (1) %CPU 

 (2) %MEM 

 (3) VSZ 

 (4) RSS 


Упражнение 5:
Номер 1
What is false about the process "init"?

Ответ:

 (1) FreeBSD doesn't allow init to be killed 

 (2) If you stop init you can restart it 

 (3) init is responsible for starting other processes 

 (4) init is a daemon 


Номер 2
What is false about the process "cron"?

Ответ:

 (1) cron is a daemon 

 (2) cron performs functions at specific times 

 (3) To tell cron to perform an action you need a file called a crontab 

 (4) If you stop cron by accident, you can't restart it 


Номер 3
What is false about file "crontab"?

Ответ:

 (1) Any user can change the default system crontab 

 (2) The field, specifying the user for whom the operation should be performed, only exists in the default system crontab 

 (3) Any user can keep a copy or the default system crontab 

 (4) It is used to tell cron to perform a function at a particular time 


Упражнение 6:
Номер 1
What is a waiting process?

Ответ:

 (1) A process, which is actively executed 

 (2) A process, which is waiting for a processor to run on 

 (3) A process, which is waiting for external events to complete 

 (4) A process, which is waiting on a lock if some other process has a kernel resource which it wants 


Номер 2
What is a lock process?

Ответ:

 (1) A process, which is actively executed 

 (2) A process, which is waiting for a processor to run on 

 (3) A process, which is waiting for external events to complete 

 (4) A process, which is waiting on a lock if some other process has a kernel resource which it wants 


Номер 3
What is a sleeping process?

Ответ:

 (1) A process, which is actively executed 

 (2) A process, which is waiting for a processor to run on 

 (3) A process, which is waiting for external events to complete 

 (4) A process, which is waiting on a lock if some other process has a kernel resource which it wants 


Упражнение 7:
Номер 1
What to use if you want to kill a group of processes?

Ответ:

 (1) signal SIGKILL 

 (2) script killall 

 (3) signal SIGTERM 

 (4) INTR key 


Номер 2
Which of the signal or keys can't be caught or ignored?

Ответ:

 (1) signal SIGKILL 

 (2) signal SIGTERM 

 (3) INTR key 

 (4) EOF key 


Номер 3
Which of the tools kills the process running on a terminal?

Ответ:

 (1) signal SIGTERM 

 (2) signal SIGKILL 

 (3) script killall 

 (4) INTR key 


Упражнение 8:
Номер 1
What is false about the device daemon "devd"?

Ответ:

 (1) It provides a way to run userland programs when certain kernel events happen 

 (2) It is intended to handle all devices in the system 

 (3) It reads the kernel event information from the device /dev/devctl 

 (4) It processes the kernel event information according to rules specified in the configuration file /etc/devd.conf 


Номер 2
What is false about the configuration file /etc/devd.conf?

Ответ:

 (1) The file is installed with the system 

 (2) Multiple attach statements in the file can match a specific event, but only one will be executed 

 (3) It is always necessary to specify in the file what action to perform when a device is deattached 

 (4) If the kernel was unable to locate a driver for a device, it generates a no match event 


Номер 3
What is false about FreeBSD emulation support?

Ответ:

 (1) FreeBSD runs most BSD/OS programs without emulators 

 (2) FreeBSD runs Linux executables without emulators 

 (3) A Microsoft Windows emulator is available for FreeBSD 

 (4) It is safer to recompile OpenBSD executables under FreeBSD 


Упражнение 9:
Номер 1
The software package configuration doesn't perform one of these adaptations. Which one?

Ответ:

 (1) to the system hardware 

 (2) to the operating system 

 (3) to the network resources 

 (4) to user's personal preferences 


Номер 2
What is false about ports, used to install third-party software?

Ответ:

 (1) Port is the additional files needed to adapt a package to build under FreeBSD 

 (2) Port includes the source code itself 

 (3) Before you get started with the ports, you need to install the port information on your system 

 (4) Ports is a directory tree with the port information 


Номер 3
What is false about ways to install port?

Ответ:

 (1) The Ports Collection is a part of FreeBSD system and is always installed with it. without any extra actions 

 (2) The Ports Collection can be installed using sysinstall during system installation 

 (3) The Ports Collection can be installed using tar archive from the first CD-ROM 

 (4) The Ports Collection can be installed using live file system CD-ROM 


Упражнение 10:
Номер 1
What problem can appear if you upgrade ports removing old version of the port and installing a new version?

Ответ:

 (1) Removing the old version may remove any configuration files as well 

 (2) You get two entries of one port in the package database 

 (3) You won't be able to upgrade new version automatically later 

 (4) Not all files of the old version will be removed 


Номер 2
What is false about portupgrade?

Ответ:

 (1) Portupgrade is a port 

 (2) Before performing portupgrade packages database should be backed up 

 (3) Portupgrade doesn't work automatically 

 (4) Before performing portupgrade ports database should be built with pkgdb 


Номер 3
Which of the commands is an alternative to the command pkg_delete?

Ответ:

 (1) make install 

 (2) make deinstall 

 (3) make upgrade 

 (4) make info 


Упражнение 11:
Номер 1
What is the function of the program pkg_add?

Ответ:

 (1) installs pre-compiled packages 

 (2) tells user which ports are installed 

 (3) checks whether ports are up to date 

 (4) installs any packages 


Номер 2
What is the function of the program pkg_version?

Ответ:

 (1) installs pre-compiled packages 

 (2) tells user which ports are installed 

 (3) checks whether ports are up to date 

 (4) installs any packages 


Номер 3
What is the function of the program pkg_info?

Ответ:

 (1) installs pre-compiled packages 

 (2) tells user which ports are installed 

 (3) checks whether ports are up to date 

 (4) installs any packages 


Упражнение 12:
Номер 1
What means the symbol "?" in the output of pkg_version?

Ответ:

 (1) The installed version of the package is current 

 (2) The installed package does not appear in the index. This could be due to an out of date index or a package that has not yet been committed 

 (3) There are multiple versions of a particular software package listed in the index file 

 (4) The installed package exists in the index but for some reason, pkg_version was unable to compare the version number of the installed package with the corresponding entry in the index 


Номер 2
What means the symbol "!" in the output of pkg_version?

Ответ:

 (1) The installed version of the package is current 

 (2) The installed package does not appear in the index. This could be due to an out of date index or a package that has not yet been committed 

 (3) There are multiple versions of a particular software package listed in the index file 

 (4) The installed package exists in the index but for some reason, pkg_version was unable to compare the version number of the installed package with the corresponding entry in the index 


Номер 3
What means the symbol "*" in the output of pkg_version?

Ответ:

 (1) The installed version of the package is current 

 (2) The installed package does not appear in the index. This could be due to an out of date index or a package that has not yet been committed 

 (3) There are multiple versions of a particular software package listed in the index file 

 (4) The installed package exists in the index but for some reason, pkg_version was unable to compare the version number of the installed package with the corresponding entry in the index 




Главная / Операционные системы / FreeBSD Operating System / Тест 9