Pinguin Teste 101
|
|
Title of test:
![]() Pinguin Teste 101 Description: O Feitiço de Desbloqueio, também conhecido como Amigo do Ladrão (Alohomora) |



| New Comment |
|---|
NO RECORDS |
|
What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?. /lib/init.so. /sbin/init. /etc/rc.d/rcinit. /proc/sys/kernel/init. /boot/init. Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.). 0. 1. 3. 5. 6. Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.). Which command will display messages from the kernel that were output during the normal boot sequence?. Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.). shutdown -r now. shutdown -r "rebooting". telinit 6. telinit 0. shutdown -k now "rebooting". Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?. /etc/keys. /proc/keys. /etc/inittab. /proc/inittab. /etc/reboot. Which of the following information is stored within the BIOS? (Choose TWO correct answers.). Boot device order. Linux kernel version. Timezone. Hardware configuration. The system's hostname. You are having some trouble with a disk partition and you need to do maintenance on this partition but your users home directories are on it and several are logged in. Which command would disconnect the users and allow you to safely execute maintenance tasks?. telinit 1. shutdown -r now. killall -9 inetd. /bin/netstop --maint. /etc/rc.d/init.d/network stop. The USB device filesystem can be found under /proc/______/usb/. (Please fill in the blank with the single word only). The message "Hard Disk Error" is displayed on the screen during Stage 1 of the GRUB boot process. What does this indicate?. The kernel was unable to execute /bin/init. The next Stage cannot be read from the hard disk because GRUB was unable to determine the size and geometry of the disk. One or more of the filesystems on the hard disk has errors and a filesystem check should be run. The BIOS was unable to read the necessary data from the Master Boot Record to begin the boot process. What information can the lspci command display about the system hardware? (Choose THREE correct answers.). Device IRQ settings. PCI bus speed. System battery type. Device vendor identification. Ethernet MAC address. Which of the following commands will write a message to the terminals of all logged in users?. bcast. mesg. print. wall. yell. Which of the following kernel parameters instructs the kernel to suppress most boot messages?. silent. verbose=0. nomesg. quiet. During a system boot cycle, what program is executed after the BIOS completes its tasks?. The bootloader. The inetd program. The init program. The kernel. Which of the following are init systems used within Linux systems? (Choose THREE correct answers.). startd. systemd. Upstart. SysInit. SysV init. You suspect that a new ethernet card might be conflicting with another device. Which file should you check within the /proc tree to learn which IRQs are being used by which kernel drivers?. Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?. systemd.target=rescue.target. systemd.runlevel=rescue.target. systemd.service=rescue.target. systemd.default=rescue.target. systemd.unit=rescue.target. The system is having trouble and the engineer wants to bypass the usual /sbin/init start up and run /bin/sh. What is the usual way to pass this change to the kernel from your boot loader?. Start in runlevel 1. Pass init=/bin/sh on the kernel parameter line. Pass /bin/sh on the kernel parameter line. Pass start=/bin/sh on the kernel parameter line. What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.). Entries for all possible devices get created on boot even if those devices are not connected. Additional rules for udev can be created by adding them to /etc/udev/rules.d/. When using udev, it is not possible to create block orcharacter devices in /dev/ using mknod. The /dev/ directory is a filesystem of type tmpfs and is mounted by udev during system startup. The content of /dev/ is stored in /etc/udev/dev and is restored during system startup. Which of the following statements is correct when talking about /proc/?. All changes to files in /proc/ are stored in /etc/proc.d/ and restored on reboot. All files within /proc/ are read-only and their contents cannot be changed. All changes to files in /proc/ are immediately recognized by the kernel. All files within /proc/ are only readable by the root user. Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.). shutdown -R 1 now. shutdown -single now. init 1. telinit 1. runlevel 1. Which command displays the contents of the Kernel Ring Buffer on the command line? (Provide only the command name without any options or path information). Which of the following commands can be used to download the RPM package kernel without installing it?. yum download --no-install kernel. yumdownloader kernel. rpm --download --package kernel. rpmdownload kernel. When using rpm --verify to check files created during the installation of RPM packages, which of the following information is taken into consideration? (Choose THREE correct answers.). Timestamps. MD5 checksums. Inodes. File sizes. GnuPG signatures. After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?. kill -HUP $(pidof grub). grub-install. grub. No action is required. Which world-writable directory should be placed on a separate partition in order to prevent users from being able to fill up the / filesystem? (Specify the full path to the directory.). /tmp. tmp. /var/tmp/. /var/tmp/. An administrator has issued the following command: grub-install --root-directory=/custom-grub /dev/sda In which directory will new configuration files be found? (Provide the full directory path only without the filename. /custom-grub/boot/grub/. /custom-grub/boot/grub. Which of the following commands can be used to perform a full text search on all available packages on a Debian system?. apt. apt-cache. apt-get. apt-search. dpkg. Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.). Which of the following is correct when talking about mount points?. Every existing directory can be used as a mount point. Only empty directories can be used as a mount point. Directories need to have the SetUID flag set to be used as a mount point. Files within a directory are deleted when the directory is used as a mount point. Files within a directory are deleted when the directory is used as a mount point. update. upgrade. update/upgrade. Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?. dd if=/dev/zero of=/dev/sda bs=512. dd if=/dev/zero of=/dev/sda bs=512 count=1. dd if=/dev/zero of=/dev/sda bs=440 count=1. dd if=/dev/zero of=/dev/sda bs=440. Which of the following commands updates the linker cache of shared libraries?. mkcache. soconfig. mkldconfig. lddconfig. ldconfig. The dpkg-____ command will ask configuration questions for a specified package, just as if the package were being installed for the first time. Which of the following environment variables overrides or extends the list of directories holding shared libraries?. LD_LOAD_PATH. LD_LIB_PATH. LD_LIBRARY_PATH. LD_SHARE_PATH. LD_RUN_PATH. When removing a package, which of the following dpkg options will completely remove the files including configuration files?. --clean. --delete. --purge. –remove. What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.). To create RAID 9 arrays. To dynamically change the size of logical volumes. To encrypt logical volumes. To create snapshots. To dynamically create or delete logical volumes. To prevent users from being able to fill up the / partition, the ____________ directory should be on a separate partition if possible because it is world writeable. /tmp. tmp. Which file should be edited to select the network locations from which Debian installation package files are loaded?. /etc/dpkg/dpkg.cfg. /etc/apt/apt.conf. /etc/apt/apt.conf.d. /etc/apt/sources.list. /etc/dpkg/dselect.cfg. What is the difference between the --remove and the --purge action with the dpkg command?. --remove removes the program, --purge also removes the config files. --remove only removes the program, --purge only removes the config files. --remove removes a package, --purge also removes all packages dependent on it. --remove removes only the package file itself, --purge removes all files related to the package. What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.). menu.lst. grub.conf. grub.cfg. To what environment variable will you assign or append a value if you need to tell the dynamic linker to look in a build directory for some of a program's shared libraries?. LD_LOAD_PATH. LD_LIB_PATH. LD_LIBRARY_PATH. LD_SHARE_PATH. LD_RUN_PATH. Which RPM command will output the name of the package which supplied the file /etc/exports?. rpm -F /etc/exports. rpm -qf /etc/exports. rpm -Kl /etc/exports. rpm -qp /etc/exports. rpm -qi/etc/exports. You want to preview where the package file, apache-xml.i386.rpm, will install its files before installing it. What command do you issue?. rpm -qp apache-xml.i386.rpm. rpm -qv apache-xml.i386.rpm. rpm -ql apache-xml.i386.rpm. rpm -qpl apache-xml.i386.rpm. Which of the following commands is used to update the list of available packages when using dpkg based package management?. apt-get update. apt-get upgrade. apt-cache update. apt-get refresh. apt-cache upgrade. Which of the following commands lists all currently installed packages when using RPM package management?. yum --query --all. yum --list --installed. rpm --query --all. rpm --list –installed. Typically, which top level system directory is used for files and data that change regularly while the system is running and are to be kept between reboots? (Specify only the top level directory). /var. /var/. Var. var/. Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?. hidemenu. splash. timeout. showmenu. Which of the following apt-get commands will install the newest versions of all currently installed packages without removing any packages or installing new packages that are not already installed?. auto-update. upgrade. dist-upgrade. install. update. In which directory must definition files be placed to add additional repositories to yum?. /etc/yum.repos.d. /etc/yum.repos.d/. yum.repos.d. yum.repos.d/. Which of the following commands lists the dependencies of a given dpkg package?. apt-cache depends-onpackage. apt-cache dependencies package. apt-cache depends package. apt-cache requires package. Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.). What does the + symbol mean in the following grep regular expression: grep '^d[aei]\+d$' /usr/share/dict/words. Match the preceding character set ([aei]) one or more times. Match the preceding character set ([aei]) zero or more times. Match the preceding character set ([aei]) zero or one times. Match a literal + symbol. In Bash, inserting 1>&2 after a command redirects. standard error to standard input. standard input to standard error. standard output to standard error. standard error to standard output. standard output to standard input. Which variable defines the directories in which a Bash shell searches for executable commands?. BASHEXEC. BASHRC. PATH. EXECPATH. PATHRC. In compliance with the FHS, in which of the directories are man pages found?. /usr/share/man. /opt/man. /usr/doc/. /var/pkg/man. /var/man. You are trying to make a hard link to an ordinary file but ln returns an error. Which of the following could cause this?. The source file is hidden. The source file is read-only. The source file is a shell script. You do not own the source file. The source and the target are on different filesystems. Which command is used in a Linux environment to create a new directory? (Specify ONLY the command without any path or parameters.). From a Bash shell, which of the following commands directly executes the instruction from the file /usr/local/bin/runme.sh without starting a subshell? (Please select TWO answers.). source /usr/local/bin/runme.sh. . /usr/local/bin/runme.sh. /bin/bash /usr/local/bin/runme.sh. /usr/local/bin/runme.sh. run /usr/local/bin/runme.sh. Which of the following statements is correct regarding the command foo 1> bar?. The stdout from the command foo is appended to the file bar. The stdout from the command foo overwrites the file bar. The command foo receives its stdin from the file bar. The command foo receives its stdin from the stdout of the command bar. The stderr from the command foo is saved to the file bar. Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?. cat < myapp | cat > file1.log. myapp 0>&1 | cat > file1.log. myapp | cat > file1.log. myapp | tee file1.log. tee myapp file1.log. Which of the following commands prints all files and directories within the /tmp directory or its subdirectories which are also owned by the user root? (Choose TWO correct answers.). find /tmp -uid root -print. find -path /tmp -uid root. find /tmp -user root -print. find /tmp -user root. find -path /tmp -user root –print. What command will generate a list of user names from /etc/passwd along with their login shell?. column -s : 1,7 /etc/passwd. chop -c 1,7 /etc/passwd. colrm 1,7 /etc/passwd. cut -d: -f1,7 /etc/passwd. What happens after issuing the command vi without any additional parameters?. vi starts and loads the last file used andmoves the cursor to the position where vi was when it last exited. vi starts and requires the user to explicitly either create a new or load an existing file. vi exits with an error message as it cannot be invoked without a file name to operate on. vi starts in command mode and opens a new empty file. vi starts and opens a new file which is filled with the content of the vi buffer if the buffer contains text. What is the purpose of the Bash built-in export command?. It allows disks to be mounted remotely. It runs a command as a process in a subshell. It makes the command history available to subshells. It sets up environment variables for applications. It shares NFS partitions for use by other systems on the network. Which character, added to the end of a command, runs that command in the background as a child process of the current shell?. !. +. &. %. #. What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?. 9. 19. 49. 99. What is the output of the following command? echo "Hello World" | tr -d aieou. Hello World. eoo. Hll Wrld. eoo Hll Wrld. Which of the following commands determines the type of a file by using a definition database file which contains information about all common file types?. magic. type. file. pmagic. hash. Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard?. SIGTERM. SIGINT. SIGSTOP. SIGKILL. : 6 The /etc/_______ file lists currently mounted devices. What does the "?" symbol within regular expressions represent?. Match the preceding qualifier one or more times. Match the preceding qualifier zero or more times. Match the preceding qualifier zero or one times. Match a literal? character. Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?. i (lowercase). P (uppercase). p (lowercase). U (uppercase). u (lowercase). Which of the following explanations are valid reasons to run a command in the background of your shell?. The command does not need to execute immediately. The command has to run immediately but the user needs to log out. The system is being shut down and the command needs to restart execution immediately after the reboot. The command can run at a lower priority than normal commands run on the command line. |




