Secreto 3 201
![]() |
![]() |
![]() |
Title of test:![]() Secreto 3 201 Description: terceira parte da prova 1 da lpi 2 |




New Comment |
---|
NO RECORDS |
What effect does the –f option to the update-rc.d command have on files in the /etc/rcX.d/ and /etc/init.d/ directories?. It will force the removal of the symlinks in /etc/rcX.d/ even when the links are read only. It will force the removal of the symlinks in /etc/rcX.d/ even when the links are read only. It will remove the init script in /etc/init.d/ and the symlinks in /etc/rcX.d/ and update the package information of installed files. It will force the removal of symlinks in /etc/rcX.d/ even if the corresponding init script still exists in /etc/init.d/. Which of the following commands erases the contents of the /dev/sdb3 partition?. rm /dev/sdb3. dd if=/dev/zero of=/dev/sdb3. dd of=/dev/zero if=/dev/sdb3. umount /dev/sdb3. Which directory contains system-specific systemd unit files? (Specify the full path to the directory.). What command ensures that the file systems are written to disk after a lot of write operations? (Specify ONLY the command without any path or parameters.). On a Linux node with multiple active networks interfaces, each having a default route to the Internet, which default route is preferred?. The default route with the highest metric value. The default route with the highest MTU value. The default route with the lowest TTL value. The default route with the highest TTL value. The default route with the lowest metric value. Which of the following configuration files are used by tcpwrapper?. /etc/tcpd.allow and etc/tcpd.deny. /etc/tcpwrapper.allow and /etc/tcpwrapper.deny. /etc/hosts.allow and /etc/hosts.deny. /etc/service.allow and /etc/service.deny. What is the purpose of an initramfs during the Linux system start?. It loads required modules and starts sub sytems like LVM to make the root file system accessible to the kernel. It moves the kernel from normal system memory to initram memory to speed up kernel access. It copies the root file system’s content to RAM to speed up the system and reduce writes to disk. It creates a ram disk to store volatile data for directories like /tmp to reduce writes to disk. Which of the following init systems comes along with an own UEFI boot loader?. systemd. SysVinit. Upstart. OpenRC. launchd. After manually compiling and installing a new kernel, what has to be done regarding the initramfs?. To initramfs is independent of the kernel and should not be modified unless the hardware configuration of the machine has changed. Since the initramfs contains kernel modules, a new initramfs must be built for the new kernel. During the compilation of the Linux kernel, a new initramfs is built automatically. The new initramfs only needs to be installed. The system should be restarted since the initramfs reconfigures itself for the new kernel during the startup of the system. Which of the following commands adds a static IPv6 address to the network interface eth0?. ip add addr 2001:db8::1337/64 dev eth0. ip -6 add addr 2001:db8::1337/64 dev eth0. ip addr add 2001:db8::1337/64 dev eth0. ip -6 addr add new 2001:db8::1337/64 dev eth0. ip addr add -6 2001:db8::1337/64 dev eth0. In the output of sar –b, what does tps stand for?. Terrabyte per second. Traffic per second. Transfers per second. Total data per second. Terrabit per second. Which is the main configuration file for the SystemV init process? (Specify the full name of the file, including path.). Which command is used to make an exact copy, at a single point in time, of a logical volume while still allowing the original logical volume to be updated?. lvcclone. lvcreate. lvm2. lvsnap. lvsnapshot. Which of the following commands shows capabilities and usable frequencies for the wireless interface wlan0?. iw phy pyh0 info. iw dev wlan0 info. iw dev wlan0 show. iw phy wlan0 show. iw phy0 show. Which of the following properties should be recorded in order to monitor the quality of a network link? (Choose two.). Bandwidth in both directions. Number of nodes using the link. Effective Latency. Number of IPv4 and IPv6 packets. Number of used TCP ports. Which of the filter keywords below could be used in the following command: tcpdump –i eth0 ____________ 203.0.113.8 (Choose three.). host. ip. src. dst. ipv6. In order to gather performance data with sar over a longer period of time, which command should be run periodically from cron?. sa1. sarmon. sarec. sadf. sarcron. Which sub command to crypsetup shows information about an encrypted LUKS partition?. luksDump. luksInfo. luksDebug. luksLS. luksShow. What command is used to send messages to all users currently logged in? (Specify ONLY the command without any path or parameters.). Which of the following commands lists IPv4 addresses and MAC addresses of network nodes that the local system has seen on its directly connected IP networks?. arp. ifconfig. ipadm. iwlist. What is the purpose of a system mount unit?. It is used by the command systemd-mount and allows users to mount partitions to mount points of their choice. It is used only to mount network file systems to local mount points. It cannot be used for local media. It is created by the command systemd-fstab-generator to integrate entries from /etc/fstab into the system boot process. It is used by the command mount when using system to mount and unmount file systems. the downloading patch-4.6.4.xz from http://kernel.org, what are the next steps to prepare the build of a version 4.6.4 Linux kernel? (Choose two.). Uncompress the file and move the resulting directory to /usr/src/linux. Apply the patch file to the kernel source directory containing kernel version 4.6.0. Apply the patch file to the kernel source directory containing kernel version 4.6.3. Uncompress the file using xz to get the uncompressed patch file. Use patch to apply the uncompressed patch file to the source directory of any previous kernel version. A web application server contains 64GB of RAM and two swap partitions on normal hard disk drives, each with a size of 64 GB. Within the last month, the average number of user sessions on this server has grown by 20 percent. At the same time, the average usage of RAM increased from 65 to 75 percent, while the swap space is almost not used at all. It is expected that the number of user sessions will continue to increase by about 15 to 20 percent each month. Which of the following reactions would be appropriate in response to these observations? (Choose two.). Delay any hardware upgrade until there is a significant consumption of swap space to ensure an efficient usage of the available hardware. Create a RAID 1 device on the two swap partitions to avoid data loss in case swap space has to be used in the future. Consider the installation of an additional application server to distribute the load if the expected growth continues over several months. Move the web application’s scripts and content a ram disk in order to ensure fast access and to avoid the need for swap space. Update the hardware to increase the amount of available RAM to avoid using swap space. In which directory tree are files modified when changing kernel parameters using the command sysctl?. /sys/kernel/. /proc/kernel/. /proc/sys/. /lib/sys/. /sys/proc/. Which of the following commands restores only those files containing lpi in their name from the archive lpifiles.tar.gz?. tar xvzf lpifiles.tar.gz --wildcards ‘*lpi*’. tar xvzwf lpifiles.tar.gz ‘*lpi*’. tar -xvfz lpifiles.tar.gz --deep ‘*lpi*’. tar -xvzf lpifiles.tar.gz --subdirs ‘*lpi*’. tar xvzf lpifiles.tar.gz --globbing ‘*lpi*’. What command discards unused blocks on a mounted file system in order to support SSD devices? (Specify ONLY the command without any path or parameters.). Which command is used to install a GRUB boot loader into the master boot record?. grub-install. grub-mkconfig. grub-install-mbr. grub-glue-mbr. grub-mbr-setup. Which of the following commands displays the physical path of the kernel module named dummy?. modprobe –i dummy. modinfo –n dummy. modpath –v dummy. depmod –n dummy. modshow –p dummy. A Linux server running systemd booted to rescue.target for maintenance. Which commands are used to restore the server to its usual target? (Choose two.). telinit 0. systemctl default. sync. systemctl emergency. systemctl reboot. Which of the following commands creates a Btrfs subvolume named volume in/mnt?. btrfs subvolume add –n volume /mnt. btrfs create subvolume /mnt volume. btrfs create subvolume /mnt volume. btrfs subvolume new volume /mnt. btrfs subvolume create /mnt/volume. What information is found in the following excerpt from the file /proc/mdstat? (Choose two.). One of the disks in /dev/md0 has failed and a spare disk is used to recreate full redundancy. The spare disk /dev/sda1 is used to restore full redundancy after the current recovery. The information [UU_] means, that the raid is missing one disk and is not fully redundant. The device is using version 1.2 metadata to allow LILO and GRUB Legacy to use /dev/md0 as the boot partition. This would not have been necessary with GRUB2. The information [3/2] means that 3 RAID disks belong to the array and 2 disks are spare. Together they equal the number of available disks. Which of the following is a userspace application used to modify EFI entries on a Linux system?. efieditor. configefi. efimanager. efiboottmgr. efibootedit. What is the device name for the first SCSI tape drive on a system when used without automatic rewinding after each write operation? (Please specify the full path to the device.). Which one of these directories should not be backed up?. /backup. /etc. /opt. /proc. /var/log. Which of the following files will be looked for and used by GNU make, if one of them exists, unless a different file is specified on the command line when trying to compile software from source code? (Choose TWO correct answers.). configure. config.h.in. makefile. Makefile. Makefile.in. Which of the following are common backup systems used in Linux? (Choose TWO correct answers.). Amanda. Bacula. DrBackup. BREWBackup. SARcheck. Which of the following commands will erase the contents of the /dev/sdb3 partition?. rm /dev/sdb3. dd if=/dev/zero of=/dev/sdb3. dd of=/dev/zero if=/dev/sdb3. umount /dev/sdb3. What does the -p3 option to the patch command do?. It will strip off path information from each file mentioned in the patch file up to and including the third / character. patch continues execution as long as there are three or fewer errors. It instructs patch to look up to three lines of context before or after the declared line in the original file for a match. patch will keep three previous versions of each file in the output to prevent loss of change history. It instructs patch to conform more strictly to the POSIX standard. Which of the following commands will securely copy the directory ./fyf/ to /var/tmp/ on the remote host deltaur using the remote user account kevin?. rsync -a -e ssh kevin@deltaur:/var/tmp/ fyf/. rsync -a -u kevin -e ssh fyf/ deltaur:/var/tmp/. rsync -a -u kevin -e ssh deltaur:/var/tmp/ fyf/. rsync -a -e ssh fyf/ kevin@deltaur:/var/tmp/. Which file contains the text message that is displayed after logging into the console? (Specify the full name of the file, including path.). A regular user, joe, has just run: ./configure && make && make install to build and install a program. However, the installation fails. What could be done to install the program? (Choose TWO correct answers.). Install the binaries manually with suinstall. Run make install with root privileges. Do not run ./configure in order to maintain the default configuration for correct installation. Rerun ./configure with a --prefix option where the user has permissions to write. Run make install_local to install into /usr/local/. |