LPI 101 - Arquitetura De SiSTEMa 1- Marcus Vinicius Braga Alcantara

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Viniciusalcantar
V
Viniciusalcantar
Community Contributor
Quizzes Created: 11 | Total Attempts: 7,531
| Attempts: 2,513 | Quest�es: 100
Please wait...

Question 1 / 100
0 %
0/100
Score 0/100
1. O comando cat /proc/cpuinfo lista Informações sobre:

Explanation

The command "cat /proc/cpuinfo" lists information about the processor(s) found by the system.

Submit
Please wait...
About This Quiz
LPI 101 - Arquitetura De Sistema 1- Marcus Vinicius Braga Alcantara - Quiz

2. Dispositivos hotplug são dispositivos:

Explanation

Dispositivos hotplug são dispositivos que podem ser conectados com a máquina em funcionamento. Isso significa que esses dispositivos podem ser conectados ou desconectados enquanto a máquina está ligada, sem a necessidade de reiniciar o sistema. Isso é possível devido à capacidade do sistema operacional de reconhecer e configurar automaticamente esses dispositivos sem interromper o funcionamento da máquina.

Submit
3. Qual comando é utilizado para verificar dispositivos usb conectados ao computador ?

Explanation

The correct answer is "lsusb." This command is used to list all the USB devices connected to the computer. It provides information about the vendor ID, product ID, and other details of the USB devices. By using this command, users can easily identify and troubleshoot any USB device connectivity issues.

Submit
4. O MBR - Master Boot Record é a região do disco (Hard Disk) que compreende os seus  primeiros 512 bytes que é usado pelo GRUB ou LILO para carregar o sistema operacional.

Explanation

The Master Boot Record (MBR) is a region on the hard disk that contains the first 512 bytes. This region is used by bootloaders like GRUB or LILO to load the operating system. Therefore, the statement "O MBR - Master Boot Record é a região do disco (Hard Disk) que compreende os seus primeiros 512 bytes que é usado pelo GRUB ou LILO para carregar o sistema operacional" is true.

Submit
5. Onde o GRUB irá armazenar suas informações de boot?

Explanation

The GRUB will store its boot information in the Master Boot Record (MBR). The MBR is a special type of boot sector located at the beginning of a storage device, such as a hard drive. It contains the necessary instructions and data to start the boot process and load the operating system. GRUB, or the GRand Unified Bootloader, is a commonly used bootloader in Linux systems that allows the user to choose which operating system to boot into. By storing its information in the MBR, GRUB can be accessed during the boot process and provide the necessary options for booting the system.

Submit
6. Para realizar o start do servidor web apache em sistemas que utilizam o sysvinit utilizamos o comando; service httpd start. Como seria realizado este procedimento em um sistema que utiliza o systemd ?

Explanation

In systems that use systemd, the command to start the Apache web server is "systemctl start httpd.service". This command is used to start the httpd service using the systemd init system. The other options mentioned in the question are incorrect. "/etc/init.d/httpd start" is the command used in systems that use sysvinit, not systemd. "httpdctl start" and "service apache2 init" are not valid commands for starting the Apache web server.

Submit
7. Qual dos comandos abaixo é utilizado para mostrar as unidades e suas dependências (systemd)?

Explanation

The correct answer is "systemctl list-dependencies". This command is used to display the units and their dependencies in systemd. It provides a list of all the units and the units they depend on, helping to understand the interdependencies between different services and targets in the system.

Submit
8. Qual opção poderá ser usada com o comando shutdown para cancelar um desligamento do sistema?

Explanation

The option "shutdown -c" can be used to cancel a system shutdown. This command sends a request to the system to cancel the shutdown process.

Submit
9. O LUN (Número Lógico da Unidade) é usado para determinar diferentes dispositivos dentro de um mesmo canal SCSI.

Explanation

O LUN (Número Lógico da Unidade) é um identificador usado para determinar diferentes dispositivos dentro de um mesmo canal SCSI. Cada dispositivo SCSI tem um LUN único atribuído a ele, permitindo que o controlador SCSI identifique e acesse corretamente cada dispositivo conectado ao canal. Portanto, a afirmação de que o LUN é usado para determinar diferentes dispositivos dentro de um mesmo canal SCSI é verdadeira.

Submit
10. O principal comando usado para desligar ou reiniciar o sistema é o comando shutdown, pois agrega algumas funcionalidades importantes. Ele automaticamente notifica todos os usuários no sistema com uma mensagem exibida no terminal, e novos logins são bloqueados.Após invocar o shutdown, todos os processos recebem dois sinais de forma consecutiva. Quais são eles?

Explanation

The correct answer is SIGTERM e SIGKILL. The shutdown command sends a SIGTERM signal to all processes, allowing them to gracefully terminate and clean up. If the processes do not terminate within a certain time frame, the shutdown command sends a SIGKILL signal, which forcefully terminates the processes.

Submit
11. Qual o arquivo diz em qual frequencia o processador está funcionando?

Explanation

The correct answer is /proc/cpuinfo. This file provides detailed information about the processor, including its current frequency. By accessing this file, one can determine the operating frequency of the processor.

Submit
12. Qual comando pode ser utilizado para inspecionar o hardware geral do sistema ?

Explanation

O comando "lspci" pode ser utilizado para inspecionar o hardware geral do sistema. Ele lista todas as informações sobre os dispositivos PCI (Peripheral Component Interconnect) presentes no sistema, como placas de vídeo, placas de som, placas de rede, entre outros. Isso permite ao usuário verificar quais dispositivos estão conectados ao sistema e obter informações detalhadas sobre eles, como fabricante, modelo e versão do dispositivo.

Submit
13. Qual comando linux pode ser utilizado para enviar uma mensagem/notificação via terminal para todos os usuários logados no sistema? (Especifique somente o comando).

Explanation

The correct answer is "wall". The "wall" command in Linux can be used to send a message or notification to all the users who are currently logged in to the system. It allows the sender to broadcast a message that will be displayed on the terminals of all the logged-in users. This can be useful for sending important announcements or alerts to all the users at once.

Submit
14. Dentro do diretório /proc existe o diretório de nome "1", esse diretório pertence ao init que é o pai de todos os processos em um sistema Linux.

Explanation

No explanation is available.

Submit
15. Qual o comando que exibe o nível de execução (runlevel) atual ?

Explanation

The correct answer is "runlevel". Runlevel is a command that displays the current runlevel, which represents the state of the system and the services running on it. It is commonly used in Unix-like operating systems to determine the operational mode of the system, such as single-user mode or multi-user mode.

Submit
16. Qual das opções abaixo realiza o reboot do sistema através de um systemd target?

Explanation

A opção correta para realizar o reboot do sistema através de um systemd target é "runlevel6.target ou reboot.target". O target "runlevel6.target" é usado para reiniciar o sistema, enquanto o target "reboot.target" também realiza o reboot do sistema. Esses targets são parte do sistema de inicialização do systemd e são responsáveis por definir o comportamento do sistema durante o boot.

Submit
17. Qual o arquivo no /proc informa os parâmetros passados ao Kernel durante o processo de boot?

Explanation

The correct answer is /proc/cmdline. The /proc/cmdline file contains the parameters that were passed to the kernel during the boot process. This file can be accessed to view and modify the boot parameters of the kernel.

Submit
18. Qual target dá suporte a login gráfico ?

Explanation

The correct answer is runlevel5.target or graphical.target. These targets provide support for graphical login. The runlevel5.target is used in systems that follow the traditional runlevel model, where runlevel 5 is the graphical mode. On the other hand, graphical.target is used in systems that follow the newer systemd model, where it represents the graphical environment. Both targets ensure that the necessary services and processes are started to enable a graphical login interface.

Submit
19. Qual nível de execução (runlevel) indica uma reinicialização do Sistema ?

Explanation

The correct answer is 6. In Linux, runlevel 6 is used to indicate a system restart. Runlevels are different operating states that a Linux system can be in, with each runlevel having a specific set of services and processes running. Runlevel 6 is specifically designated for system reboot, where all services are stopped, and the system is restarted.

Submit
20. A primeira porta de comunicação no seu PC é representada por:

Explanation

The correct answer is /dev/ttyS0. This is because /dev/ttyS0 represents the first serial port on a PC. The "/dev" directory in Linux represents device files, and "ttyS0" specifically refers to the first serial port.

Submit
21. Qual é o valor PID do processo init ?

Explanation

The PID (Process ID) is a unique identifier assigned to each process in a computer system. In this case, the question is asking for the PID of the "init" process. The correct answer is "1" because traditionally, the "init" process is the first process to be executed by the kernel during the booting process. It has a PID of 1 as it is the parent process of all other processes in the system.

Submit
22. Em qual arquivo de configuração do Sistema é possível especificar opções aos módulos do Kernel que serão carregados ?

Explanation

The correct answer is /etc/modprobe.conf. This file is used to specify options for kernel modules that will be loaded. It allows users to configure various parameters for individual modules, such as setting module options, blacklisting modules, and specifying module aliases.

Submit
23. Qual o tamanho reservado no disco para a MBR?

Explanation

The Master Boot Record (MBR) is a small section of the disk that contains important information about the disk's partitions and the boot loader. It is located in the first sector of the disk. The MBR has a fixed size of 512 bytes, which is reserved for storing this crucial information.

Submit
24. Qual dos comandos abaixo podem ser usados para efetuar um desligamento do Sistema ? (Selecione 3 respostas)

Explanation

The commands "telinit," "halt," and "shutdown" can be used to initiate a system shutdown. "Telinit" is used to change the system's runlevel, and can be used to shut down the system by specifying the runlevel for shutdown. "Halt" is used to halt the system and bring it to a complete stop. "Shutdown" is used to bring the system down in a safe and controlled manner, allowing users to specify a time delay before shutdown or specify a message to be displayed to all logged-in users.

Submit
25. Você quer fazer um desligamento do sistema, mas você não quer que o desligamento ocorra imediatamente. Você deseja que o sistema aguarde 60 segundos antes de fazer o desligamento. Qual das alternativas abaixo é a correta?

Explanation

The correct answer is "shutdown -t 60". This command is used to initiate a system shutdown, with the "-t" option indicating the time delay before the shutdown occurs. In this case, the delay is set to 60 seconds, meaning the system will wait for 60 seconds before shutting down.

Submit
26. Qual é o comando usado para inspecionar mensagens do processo de inicialização do Sistema ? (Digite somente o comando).

Explanation

The command "dmesg" is used to inspect the messages of the System initialization process. It displays the kernel ring buffer, which contains information about the hardware, drivers, and processes during the system startup. By running this command, users can view the log messages generated by the kernel and diagnose any issues or errors that occurred during the boot process.

Submit
27. Qual é o principal arquivo de log de um Sistema GNU/Linux ?

Explanation

The correct answer is /var/log/messages. This is the main log file in a GNU/Linux system where various system messages, including kernel messages, are stored. It contains important information about system events, errors, and warnings, making it a crucial file for troubleshooting and monitoring system activities. Other log files listed, such as /var/log/secure, /var/log/kern.log, and /var/log/syslog, are also important but serve specific purposes and may contain different types of logs.

Submit
28. Qual dos seguintes comandos pode ser usado ​​para exibir os dispositivos PCI ? 

Explanation

The correct answer is "lspci | less". This command is used to display information about the devices connected to the PCI bus. The "lspci" command lists all the PCI devices, and the "|" (pipe) symbol is used to redirect the output of "lspci" to the "less" command, which allows the user to scroll through the output page by page.

Submit
29. Quais targets podem ser utilizados para definir o runlevel multi-usuário?

Explanation

The targets that can be used to define the multi-user runlevel are runlevel2.target, runlevel3.target, runlevel4.target, or multi-user.target. These targets represent different runlevels in a Linux system. Runlevel 2, 3, and 4 are commonly used for multi-user mode, while multi-user.target is a generic target that represents the multi-user runlevel. These targets define the services and processes that should be started or stopped when the system is in the multi-user runlevel.

Submit
30. Especifique qual o diretório onde é possível encontrar arquivos de dispositivos do Sistema.

Explanation

The correct answer is /dev and /dev/. These directories are where device files are located in the system. Device files represent physical or virtual devices and allow programs to interact with them as if they were regular files. The /dev directory is the main directory for device files, while /dev/ is a subdirectory within /dev.

Submit
31. Você está instalando um novo sistema Linux em um sigle disco rígido. Qual o número máximo de partições primárias você poderá criar?

Explanation

Ao instalar um novo sistema Linux em um único disco rígido, o número máximo de partições primárias que você poderá criar é 4. As partições primárias são utilizadas para armazenar o sistema operacional e outros arquivos essenciais para o funcionamento do computador. Portanto, é possível criar até 4 partições primárias nesse cenário.

Submit
32. Quais dos dispositivos abaixo são considerados HOTPLUG ? (Selecione 2 respostas)

Explanation

The correct answers are USB and SCSI hard drives. These devices are considered hotplug because they can be connected or disconnected from a system while it is running without the need for a system restart. This allows for easy and convenient addition or removal of these devices without causing any disruption to the system's operation.

Submit
33. Qual parâmetro de inicialização do Kernel define a quantidade de memória disponível para o Sistema ?

Explanation

The parameter "mem" is used to define the amount of memory available for the system during kernel initialization. This parameter specifies the memory size in kilobytes and is typically used to optimize the memory usage and performance of the system. By setting the "mem" parameter, the kernel can allocate the appropriate amount of memory for various system processes and ensure efficient memory management.

Submit
34. Qual diretório é usado para obter informações sobre processos?

Explanation

The directory used to obtain information about processes is /proc. The /proc directory is a virtual file system that provides detailed information about running processes and system resources. It contains files and directories that represent various aspects of the system, including information about processes, such as their status, memory usage, and file descriptors. By accessing the files and directories within /proc, users and system administrators can gather valuable information about the processes running on the system.

Submit
35. Quais dos seguintes níveis de execução não se pode, por lógica, atribuir processos(daemons) do sistema? (Selecione 2 respostas)

Explanation

Os níveis de execução 0 e 6 não podem ter processos do sistema atribuídos a eles por lógica. O nível de execução 0 é o nível de desligamento do sistema, onde nenhum processo pode ser executado. O nível de execução 6 é o nível de reinicialização do sistema, onde novamente, nenhum processo pode ser executado. Portanto, por lógica, esses dois níveis não podem ter processos do sistema atribuídos a eles.

Submit
36. Quais os níveis de execução (runlevel) que indicam o modo de manutenção do Sistema ? (Selecione 3 respostas)

Explanation

The correct answers for the question are "s", "1", and "S". These runlevels indicate the maintenance mode of the system. The "s" runlevel is also known as the single-user mode, where the system starts with minimal services and allows for troubleshooting and maintenance tasks. The "1" runlevel is the system's administrative mode, where only the root user has access and can perform system maintenance. The "S" runlevel is similar to runlevel "1" and is used by some Unix-like systems to indicate single-user mode or system maintenance.

Submit
37. Qual arquivo do diretório /proc é possível visualizar informações sobre IRQ ?

Explanation

The correct answer is /proc/interrupts. This is because the /proc/interrupts file in the /proc directory provides information about the interrupts being used by various devices in the system, including IRQ (Interrupt Request) information. It displays the number of interrupts received by each CPU and the corresponding interrupt handlers. This file is commonly used for monitoring and troubleshooting interrupt-related issues in the Linux operating system.

Submit
38. Qual o programa responsável por listar os módulos atualmente carregados pelo Kernel Linux ? (Especifique somente o comando).

Explanation

The correct answer is "lsmod". This command is responsible for listing the currently loaded modules in the Linux Kernel. It provides information about the modules such as their names, sizes, and dependencies. By using lsmod, users can have an overview of the modules that are currently being used by the kernel, which can be helpful for troubleshooting and managing the system.

Submit
39. Supondo que você acabou de instalar o serviço ssh, e agora deseja configurar este serviço para ser inicializado durante o boot do sistema. Qual das alternativas abaixo está correta para a realização deste procedimento?

Explanation

The correct answer is "chkconfig sshd on (sysvinit) e systemctl enable sshd.service (systemd)". This answer is correct because it provides the correct commands for enabling the sshd service during system boot for both sysvinit and systemd init systems. The "chkconfig sshd on" command is used for sysvinit and the "systemctl enable sshd.service" command is used for systemd.

Submit
40. Quais os comandos relativos do systemd em relação aos comandos halt, poweroff e reboot no sysvinit.

Explanation

The correct answer is "systemctl halt, systemctl poweroff e systemctl reboot." The systemd commands "systemctl halt," "systemctl poweroff," and "systemctl reboot" are the equivalent commands to the sysvinit commands "halt," "poweroff," and "reboot" respectively. These commands are used for shutting down or restarting the system in a controlled manner.

Submit
41. Qual dos seguintes modems não pode ser usado em sistemas Linux ?

Explanation

Win modems cannot be used in Linux systems. Win modems are designed to work with Windows operating systems and rely on Windows-specific drivers and software. Linux does not have built-in support for Win modems, and there may not be compatible drivers available. Therefore, users with Linux systems would need to use a different type of modem, such as analogue modems, cable modems, ISDN TA, or PCI modems.

Submit
42. Qual comando em um sistema que utiliza o Systemd pode ser utilizado para reiniciar o sistema ?

Explanation

The correct answer is "systemctl reboot." This command is used in a system that utilizes Systemd to restart the system. Systemctl is a command-line tool used to control the systemd system and service manager. The "reboot" option is used to initiate a system restart. By running the "systemctl reboot" command, the system will be gracefully shut down and then rebooted.

Submit
43. Em uma nova instalação do Sistema Operacional GNU/Linux qual é número mínimo de partições exigidas ?

Explanation

Raiz (/) e Swap.

Submit
44. Quais as faixas de IDs para controladoras SCSI de 8 e 16 bits, respectivamente?

Explanation

The correct answer is 0-7 e 0-15. This is because SCSI controllers can have IDs ranging from 0 to 7 for 8-bit controllers and from 0 to 15 for 16-bit controllers.

Submit
45. O comando lspci pode exibir informações sobre dispositivos, exceto:

Explanation

The lspci command is used to display information about devices connected to the PCI bus on a computer. It can provide details such as the device ID, vendor ID, and device class. However, it does not provide information about the MAC address of the Ethernet device. The MAC address is a unique identifier assigned to network interfaces, and it can be obtained using other commands such as ifconfig or ipconfig.

Submit
46. Com qual dos comandos abaixo podemos obter Informações sobre os canais de acesso direto à memória?

Explanation

The correct answer is "cat /proc/dma". The /proc/dma directory in the Linux file system contains information about the direct memory access (DMA) channels. By using the "cat" command to read the contents of the /proc/dma file, we can obtain information about the DMA channels and their status. The other options provided in the question (/sys/dma, /dev/direct_access_memory, and /proc/ioports) are not valid paths or directories for obtaining information about DMA channels.

Submit
47. Em um sistema que utiliza o systemd, o que o comando; systemctl list-unit-files --type=service irá retornar ?

Explanation

The command "systemctl list-unit-files --type=service" in a system that uses systemd will return a list of all services that can be started or stopped, indicating whether each service is on or off.

Submit
48. Qual das alternativas abaixo irá mostrar de forma detalhada informações sobre o dispositivo 01:02.0 ?

Explanation

The correct answer is "lspci -s 01:02.0 -v" because the "-s" option is used to specify the device by its slot number and function number, and the "-v" option is used to display detailed information about the device.

Submit
49. Qual arquivo controla o processo de inicialização do sistema?

Explanation

The correct answer is /etc/inittab. This file controls the initialization process of the system. It is responsible for defining the default runlevel, as well as the actions to be performed when the system enters a specific runlevel. It also specifies the processes and services that should be started or stopped during the boot process.

Submit
50. Como habilitamos o modo restrito do bash?

Explanation

To enable the restricted mode of bash, the correct command is "bash -r". This mode restricts certain functionalities and commands, providing a more secure environment. It limits the user's ability to access certain files and directories, execute certain commands, and modify environment variables. By using the "bash -r" command, the bash shell is launched in restricted mode, ensuring that these restrictions are enforced.

Submit
51. O que o comando systemctl is-enabled httd.service irá retornar ?

Explanation

The command "systemctl is-enabled httpd.service" will return whether the httpd service is enabled or not.

Submit
52. Qual é o parâmentro de configuração do gerenciador de boot GRUB LEAGACY que indica um determinado kernel a ser carregado ?

Explanation

O parâmetro de configuração do gerenciador de boot GRUB LEGACY que indica um determinado kernel a ser carregado é "kernel".

Submit
53. Qual dos comandos abaixo pode ser utilizado para listar informações sobre dispositivos SCSI?

Explanation

The correct answer is "cat /proc/scsi/scsi". This command can be used to list information about SCSI devices. The "/proc/scsi/scsi" file contains information about all SCSI devices connected to the system, including their vendor, model, and serial number. By using the "cat" command, the contents of this file can be displayed on the terminal, providing a list of SCSI devices and their details.

Submit
54. Nos computadores que possuem o programa BIOS antigo, qual deve ser a primeira partição do disco a ser criada para o correto carregamento do GNU/Linux ?

Explanation

The correct answer is /boot. In computers with older BIOS programs, the /boot partition should be created first for the proper loading of GNU/Linux. This partition contains the necessary files for the operating system's initial boot process. It stores the kernel, bootloader, and other essential files needed to start the system. By creating the /boot partition as the first partition on the disk, the BIOS can locate and load the necessary files to initiate the GNU/Linux operating system successfully.

Submit
55. Qual é o valor de prioridade para qualquer processo iniciado no Sistema ?

Explanation

The value of priority for any process initiated in the system is 0.

Submit
56. Dentro do diretório /proc, qual arquivo mostra informações das áreas dedicadas a swap?

Explanation

The correct answer is /proc/swaps. The /proc/swaps file displays information about the swap areas on the system. It provides details such as the filename of the swap device, type of swap space, size, used and priority. This file is useful for monitoring and managing swap space utilization on a Linux system.

Submit
57. Qual diretório utiliza o novo sysfs com suporte a hotswap de hardware?

Explanation

The correct answer is /sys. The sysfs directory is a virtual file system in Linux that provides a structured view of the kernel's device tree. It allows access to various hardware and device information, including support for hot-swapping hardware. The /sys directory is commonly used by system administrators and developers to interact with and manage hardware components dynamically.

Submit
58. Normalmente qual é o ID SCSI atribuído a uma controladora SCSI ? (Especifique somente o valor) 

Explanation

The ID SCSI assigned to a SCSI controller is typically 7.

Submit
59. Qual a opção do comando shutdown que programa um fsck no próximo boot do Sistema ?

Explanation

The correct answer is "shutdown -r +0 -F". The "-r +0" option tells the system to reboot immediately, and the "-F" option forces a file system check (fsck) on the next boot.

Submit
60. Qual comando deve ser executado para que qualquer alteração feita no arquivo de configuração do init entre em vigor de forma mais rápida ?

Explanation

The command "init q" should be executed to make any changes made to the init configuration file take effect more quickly.

Submit
61. Se o Linux detecta um ACPI BIOS na inicialização, o que é desativado automaticamente?

Explanation

When Linux detects an ACPI BIOS during startup, the Advanced Power Management (APM) is automatically disabled. ACPI is a more advanced power management system compared to APM, so when it is detected, Linux prefers to use ACPI instead of APM. APM is an older power management system that is not as efficient or capable as ACPI. Therefore, Linux disables APM to ensure optimal power management and functionality.

Submit
62. Ao particionar um disco com mais de 1024 cilindros, qual das seguintes podem afetar a capacidade do sistema para arrancar ?

Explanation

A localização do /boot no disco pode afetar a capacidade do sistema para arrancar, pois o /boot é onde são armazenados os arquivos necessários para o processo de inicialização do sistema operacional. Se o /boot estiver localizado em um disco com mais de 1024 cilindros, pode haver problemas de compatibilidade com o BIOS, o que pode impedir o sistema de inicializar corretamente.

Submit
63. O utilitário sndconfig foi escrito originalmente para qual distribuição Linux?

Explanation

The utility sndconfig was originally written for the RedHat distribution of Linux.

Submit
64. Você acabou de atualizar seu PC para uma unidade IDE de 60 gigabyte. Enquanto particiona o disco, você nota que apenas 32 gigabytes estão disponíveis. Qual das seguintes afirmações irá permitir que você use toda a unidade?

Explanation

Atualizar a BIOS do PC para a versão mais recente disponível irá permitir que você use toda a unidade. A BIOS é responsável por reconhecer e configurar corretamente os dispositivos de hardware do computador, incluindo o disco rígido. Ao atualizar a BIOS, você estará obtendo a versão mais atualizada do software que controla o funcionamento do computador, o que pode resolver problemas de compatibilidade e permitir que a unidade IDE de 60 gigabytes seja totalmente utilizada.

Submit
65. Suponha que eu queira remover o módulo "fat" utilizando o modprobe em meu sitema linux. Qual o comando completo que irá remover tal módulo?

Explanation

The given command "modprobe -r fat" is used to remove the "fat" module from the Linux system. The "modprobe" command is used to add or remove modules from the Linux kernel, and the "-r" option specifically indicates the removal of the module. By specifying "fat" after the "-r" option, the command will remove the "fat" module from the system.

Submit
66. Em qual diretório ficam localizados os scripts de inicialização utilizados pelo upstart ? (Passe o caminho completo).

Explanation

The correct answer is /etc/init, /etc/init/. This is the directory where the initialization scripts used by the upstart system are located. These scripts are responsible for starting and stopping various processes and services during the system boot process.

Submit
67. Você quer saber as informações sobre as partições do sistema. Qual arquivo informa isto?

Explanation

The correct answer is /proc/partitions. The /proc/partitions file provides information about the system's partitions. It lists the number of partitions, their sizes, and other details such as the number of blocks and their names. This file is dynamically generated by the kernel and can be accessed to retrieve information about the partitions on the system.

Submit
68. Qual arquivo no sistema de arquivos /proc lista os parâmetros passados pelo bootloader para o kernel? 

Explanation

The correct answer is "cmdline". The /proc/cmdline file in the file system lists the parameters that were passed by the bootloader to the kernel. This file contains the command line arguments that were used when booting the system, including options such as kernel version, root device, and other parameters. By accessing this file, one can view and modify the parameters that were passed to the kernel during boot.

Submit
69. Quantos periféricos SCSI ids pode suportar SCSI-1?

Explanation

SCSI-1 can support up to 7 SCSI ids. This means that a SCSI-1 interface can connect up to 7 peripheral devices, such as hard drives, tape drives, or scanners, using unique SCSI ids for each device. Each SCSI id allows the host computer to communicate with a specific peripheral device on the SCSI bus. Therefore, the correct answer is 7.

Submit
70. Quais os comandos relativos do systemd em relação aos comandos pm-suspend, pm-hibernate pm-suspend-hybrid no sysvinit. 

Explanation

The correct answer is "systemctl suspend, systemctl hibernate, and systemctl hybrid-sleep" because these are the systemd commands that are equivalent to the pm-suspend, pm-hibernate, and pm-suspend-hybrid commands in sysvinit. These commands are used to suspend, hibernate, and perform a hybrid sleep on the system, respectively.

Submit
71. Para reiniciar o servidor web apache se somente o mesmo já estiver em execução, qual dos comandos abaixo seria utilizado? Obs. (O sistema está utilizando o systemd)

Explanation

The correct answer is "systemctl condrestart httpd.service". This command is used to restart the Apache web server if it is already running. The "systemctl" command is used to control systemd services, and "condrestart" is a specific option that restarts a service only if it is already running. The "httpd.service" parameter specifies the Apache service that needs to be restarted.

Submit
72. Qual comando systemctl poder ser utilizado para finalizar o processo do daemon httpd ?

Explanation

The correct answer is "systemctl kill httpd.service". This command is used to send a signal to the httpd service to terminate it. By using the "kill" option, we can specify the signal to be sent, such as SIGTERM or SIGKILL, which are commonly used to gracefully or forcefully terminate a process.

Submit
73. Qual é o arquivo de configuração do daemon init ? (Especifique o caminho completo)

Explanation

The correct answer is "/etc/inittab". This is because the file "/etc/inittab" is the configuration file for the daemon init. It specifies the actions that the init process should take at various run levels.

Submit
74. Em um sistema que utiliza o systemd, qual dos comandos abaixo é utilizado para saber qual o runlevel corrente do sistema?

Explanation

The correct answer is "systemctl get-default". In a system that uses systemd, this command is used to determine the current runlevel of the system.

Submit
75. Qual das linhas abaixo, retiradas do arquivo de configuração do init, define o nível de execução (runlevel) padrão do Sistema ?

Explanation

The line "id:3:initdefault:" defines the default runlevel of the system.

Submit
76. Você acrescentou um oitavo disco para seu sistema SCSI-1. Quando você tenta iniciar , o sistema não mais inicializa. O que é mais provável causa deste problema?

Explanation

The most likely cause of this problem is that SCSI-1 supports only 8 devices, including the adapter/controller. Since you added an eighth disk to your SCSI-1 system, it has exceeded the maximum number of supported devices. This is why the system no longer boots up.

Submit
77. Na BIOS, qual ajuste deve ser desactivado para que seus dispositivos tenham uma melhor chance de ser reconhecido na inicialização ?

Explanation

ACPI (Advanced Configuration and Power Interface) is a standard that allows the operating system to control power management and hardware configuration settings. Disabling ACPI support in the BIOS may improve the chances of devices being recognized during startup as it removes the operating system's control over power management. This can sometimes help in cases where certain devices are not being detected properly during the boot process.

Submit
78. Você está executando o Linux 2.0.36 e você precisa adicionar um mouse USB ao seu sistema. Qual das seguintes afirmações é verdadeira ?

Explanation

not-available-via-ai

Submit
79. Qual dos comandos abaixo pode retornar Informações sobre endereços de memória usados pelos dispositivos?

Explanation

The correct answer is "cat /proc/ioports". This command can be used to retrieve information about the memory addresses used by devices. The "/proc/ioports" file contains a list of the input and output ports used by various devices on the system. By using the "cat" command, the contents of this file can be displayed, providing information about the memory addresses used by the devices.

Submit
80. Qual é o nome típico para a primeira porta serial,(com1)?

Explanation

The typical name for the first serial port (com1) is /dev/ttyS0.

Submit
81. Qual IRQ é normalmente dedicado à segunda porta de uma impressora ?

Explanation

IRQ5 is typically dedicated to the second port of a printer.

Submit
82. Você tem um sistema SCSI com cinco discos rígidos SCSI. Você pode adicionar outro disco SCSI ao seu sistema, porém o sistema não inicializa, nem o bootloader é carregado. Qual é a causa mais provável desse problema?

Explanation

The most likely cause of the problem is that the new SCSI unit needs a different SCSI ID. This is because SCSI devices are assigned unique IDs to differentiate them from each other. If the new unit has the same SCSI ID as another device in the system, it can cause conflicts and prevent the system from booting up properly. To resolve this issue, the new unit should be assigned a different SCSI ID.

Submit
83. Você quer que o processo /etc/myprocess seja executado quando o sistema entrar no runlevel 2. Você quer que o sistema aguarde até que o processo seja completado. Qual das opções abaixo mostra uma estrada correta para o inittab?

Explanation

The correct answer is "7:2:wait:/etc/myprocess" because it specifies the correct order of runlevel (2) and process (myprocess), and includes the "wait" keyword, which tells the system to wait until the process is completed.

Submit
84. Qual comando em um sistema que utiliza o Systemd pode ser utilizado para desligar o sistema ?

Explanation

The correct answer is "systemctl poweroff." This command is used in a system that utilizes Systemd to shut down the system. Systemctl is a command-line tool used to control the Systemd system and service manager, and "poweroff" is the specific command used to initiate a system shutdown.

Submit
85. Qual o target similar (Equivalente) ao runlevel1.target ?

Explanation

The target similar to runlevel1.target is rescue.target or simply rescue.

Submit
86. Qual arquivo é usado para identificação da porta LPT1?

Explanation

The correct answer is /dev/lp0. This is because the /dev/lp0 file is used for identifying the LPT1 port. The LPT1 port is a parallel port commonly used for connecting printers to a computer. Therefore, when a program or device needs to communicate with the LPT1 port, it will use the /dev/lp0 file as the identifier for that port.

Submit
87. COM2 normalmente usa a porta I/O e combinação de IRQ ?

Explanation

The answer 02F8 3 is correct because COM2 typically uses the I/O port 02F8 and IRQ 3. The I/O port is used for communication between the computer and the serial device, and the IRQ is the interrupt request line that allows the device to interrupt the CPU when it needs attention. Therefore, for COM2, the correct combination of I/O port and IRQ is 02F8 3.

Submit
88. Em qual diretório os scripts de inicialização utilizados pelo Upstart ficam localizados?

Explanation

The correct answer is /etc/init. This is the directory where the initialization scripts used by Upstart are located.

Submit
89. Qual das alternativas abaixo irá mostrar de forma detalhada informações sobre o seguinte dispositivo  2d1:1003 ?

Explanation

The correct answer is "lsusb -v -d 2d1:1003". This command will provide detailed information about the device with the specified vendor ID (2d1) and product ID (1003) using the lsusb command. The -v option is used to display verbose output, providing detailed information about the device, and the -d option is used to specify the vendor and product ID of the device.

Submit
90. Qual comando systemctl pode ser utilizado para listar os jobs inicializados pelo usuário?

Explanation

The command "systemctl list-jobs" can be used to list the jobs initialized by the user. This command provides a list of all the jobs that are currently running or waiting to be executed. It helps the user to monitor and manage the jobs and their status in the system.

Submit
91. Sobre as ações que podem ser definidas no arquivo /etc/inittab . Associe.
Submit
92. Qual comando com parâmetro (Em um sistema que utiliza o systemd) pode ser utilizado para listar as mensagens de inicialização do sistema durante o boot?

Explanation

The command "journalctl -b" can be used to list the system initialization messages during boot in a system that uses systemd. The "journalctl" command is used to query and display the contents of the systemd journal, which stores logging information. The "-b" parameter is used to specify that only the messages from the current boot should be displayed.

Submit
93. Quais informações o comando; chkconfig httpd --list irá retornar ?

Explanation

O comando "chkconfig httpd --list" irá retornar se o serviço httpd está ligado (on) ou desligado (off).

Submit
94. Em um sistema que utiliza o systemd, qual dos comandos abaixo pode ser utilizado para definir o runlevel/target padrão com suporte multi-usuário? (Selecione todas que se aplicam)

Explanation

The correct answer is "systemctl set-default multi-user.target" because this command sets the default runlevel/target to multi-user.target, which allows for multi-user support. The command "systemctl isolate multi-user" is also correct because it isolates the system to the multi-user target. The other options are incorrect. "systemctl get-default runlevel3.target" is not a valid command and "telinit 2" and "init 0" are commands used in traditional SysVinit systems, not systemd.

Submit
95. Para utilizar um modem externo, tudo que precisa ser considerado é a porta serial a qual ele está conectado. Se o modem for PCI interno, precisar-se-á saber qual é a porta I/O e a interrupção utilizadas pelo mesmo. Isso pode ser conseguido com o comando lspci -v. Com isso, qual comando é utilizado para configurar a porta serial de um modem interno?

Explanation

The command "setserial" is used to configure the serial port of an internal modem.

Submit
96. No upstart, qual comando é utilizado para listar todos os serviços e seus respectivos processos, caso estejam em execução ?

Explanation

The command "initctl list" is used to list all services and their respective processes if they are running.

Submit
97. COM1 normalmente usa a porta I/O e combinação de IRQ ?

Explanation

COM1 normalmente usa a porta de I/O 03F8 e a combinação de IRQ 4.

Submit
98. No Upstart, qual comando pode ser utilizado para iniciar o terceiro (tty3) terminal virtual? (digite o comando completo).

Explanation

The command "initctl start tty3" can be used to start the third (tty3) virtual terminal in Upstart. This command initializes the specified terminal and starts it, allowing the user to interact with it.

Submit
99. Utilizando o comando update-rc.d , qual seria o comando completo para habilitar a inicialização do serviço apache2 durante a carga do sistema com as configurações padrão ?

Explanation

The correct answer is "update-rc.d apache2 default" because the "update-rc.d" command is used to update the System V style init script links. In this case, the command is being used to enable the initialization of the apache2 service during system boot with the default configurations.

Submit
100. Para listar o status de todos os serviços em um sistema que utiliza o sysvinit utilizamos o comando; service --status-all. Qual seria o comando equivalente em um sistema que utiliza o systemd ?

Explanation

The correct answer is "systemctl list-units --type service." This command is used in a system that utilizes systemd to list the status of all services. The "systemctl" command is used to control the systemd system and the "list-units" option is used to list all units. By specifying "--type service," we are specifically requesting the list of service units.

Submit
View My Results

Quiz Review Timeline (Updated): Mar 21, 2023 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 21, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Jan 08, 2015
    Quiz Created by
    Viniciusalcantar
Cancel
  • All
    All (100)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
O comando cat /proc/cpuinfo lista Informações sobre:
Dispositivos hotplug são dispositivos:
Qual comando é utilizado para verificar dispositivos usb...
O MBR - Master Boot Record é a região do disco (Hard...
Onde o GRUB irá armazenar suas informações de boot?
Para realizar o start do servidor web apache em sistemas que utilizam...
Qual dos comandos abaixo é utilizado para mostrar as unidades e...
Qual opção poderá ser usada com o comando shutdown para...
O LUN (Número Lógico da Unidade) é usado para...
O principal comando usado para desligar ou reiniciar o sistema...
Qual o arquivo diz em qual frequencia o processador está...
Qual comando pode ser utilizado para inspecionar o hardware geral do...
Qual comando linux pode ser utilizado para enviar uma...
Dentro do diretório /proc existe o diretório de nome...
Qual o comando que exibe o nível de execução (runlevel)...
Qual das opções abaixo realiza o reboot do sistema...
Qual o arquivo no /proc informa os parâmetros passados ao Kernel...
Qual target dá suporte a login gráfico ?
Qual nível de execução (runlevel) indica uma...
A primeira porta de comunicação no seu PC é...
Qual é o valor PID do processo init ?
Em qual arquivo de configuração do Sistema é...
Qual o tamanho reservado no disco para a MBR?
Qual dos comandos abaixo podem ser usados para efetuar um desligamento...
Você quer fazer um desligamento do sistema, mas você...
Qual é o comando usado para inspecionar mensagens do processo...
Qual é o principal arquivo de log de um Sistema GNU/Linux ?
Qual dos seguintes comandos pode ser usado ​​para exibir os...
Quais targets podem ser utilizados para definir o runlevel...
Especifique qual o diretório onde é possível...
Você está instalando um novo sistema Linux em um sigle...
Quais dos dispositivos abaixo são considerados HOTPLUG ?...
Qual parâmetro de inicialização do Kernel define a...
Qual diretório é usado para obter informações...
Quais dos seguintes níveis de execução não se...
Quais os níveis de execução (runlevel) que indicam o...
Qual arquivo do diretório /proc é possível...
Qual o programa responsável por listar os módulos...
Supondo que você acabou de instalar o serviço ssh, e agora...
Quais os comandos relativos do systemd em relação aos comandos...
Qual dos seguintes modems não pode ser usado em sistemas Linux...
Qual comando em um sistema que utiliza o Systemd pode ser utilizado...
Em uma nova instalação do Sistema Operacional GNU/Linux qual...
Quais as faixas de IDs para controladoras SCSI de 8 e 16 bits,...
O comando lspci pode exibir informações sobre dispositivos,...
Com qual dos comandos abaixo podemos obter Informações sobre...
Em um sistema que utiliza o systemd, o que o comando; systemctl...
Qual das alternativas abaixo irá mostrar de forma detalhada...
Qual arquivo controla o processo de inicialização do sistema?
Como habilitamos o modo restrito do bash?
O que o comando systemctl is-enabled httd.service irá retornar...
Qual é o parâmentro de configuração do...
Qual dos comandos abaixo pode ser utilizado para listar...
Nos computadores que possuem o programa BIOS antigo, qual deve ser a...
Qual é o valor de prioridade para qualquer processo iniciado no...
Dentro do diretório /proc, qual arquivo mostra...
Qual diretório utiliza o novo sysfs com suporte a hotswap de...
Normalmente qual é o ID SCSI atribuído a uma...
Qual a opção do comando shutdown que programa um fsck no...
Qual comando deve ser executado para que qualquer alteração...
Se o Linux detecta um ACPI BIOS na inicialização, o que...
Ao particionar um disco com mais de 1024 cilindros, qual das seguintes...
O utilitário sndconfig foi escrito originalmente para qual...
Você acabou de atualizar seu PC para uma unidade IDE de 60...
Suponha que eu queira remover o módulo "fat"...
Em qual diretório ficam localizados os scripts de...
Você quer saber as informações sobre as...
Qual arquivo no sistema de arquivos /proc lista os parâmetros...
Quantos periféricos SCSI ids pode suportar SCSI-1?
Quais os comandos relativos do systemd em relação aos comandos...
Para reiniciar o servidor web apache se somente o mesmo já...
Qual comando systemctl poder ser utilizado para finalizar o processo...
Qual é o arquivo de configuração do daemon init ?...
Em um sistema que utiliza o systemd, qual dos comandos abaixo é...
Qual das linhas abaixo, retiradas do arquivo de configuração...
Você acrescentou um oitavo disco para seu sistema SCSI-1. Quando...
Na BIOS, qual ajuste deve ser desactivado para que seus dispositivos...
Você está executando o Linux 2.0.36 e você precisa...
Qual dos comandos abaixo pode retornar Informações sobre...
Qual é o nome típico para a primeira porta...
Qual IRQ é normalmente dedicado à segunda porta de uma...
Você tem um sistema SCSI com cinco discos rígidos SCSI....
Você quer que o processo /etc/myprocess seja executado quando o...
Qual comando em um sistema que utiliza o Systemd pode ser utilizado...
Qual o target similar (Equivalente) ao runlevel1.target ?
Qual arquivo é usado para identificação da porta LPT1?
COM2 normalmente usa a porta I/O e combinação de IRQ ?
Em qual diretório os scripts de inicialização...
Qual das alternativas abaixo irá mostrar de forma detalhada...
Qual comando systemctl pode ser utilizado para listar os jobs...
Sobre as ações que podem ser definidas no arquivo /etc/inittab...
Qual comando com parâmetro (Em um sistema que utiliza o systemd)...
Quais informações o comando; chkconfig httpd --list irá...
Em um sistema que utiliza o systemd, qual dos comandos abaixo pode ser...
Para utilizar um modem externo, tudo que precisa ser considerado...
No upstart, qual comando é utilizado para listar todos os...
COM1 normalmente usa a porta I/O e combinação de IRQ ?
No Upstart, qual comando pode ser utilizado para iniciar o terceiro...
Utilizando o comando update-rc.d , qual seria o comando completo para...
Para listar o status de todos os serviços em um sistema que utiliza o...
Alert!

Advertisement