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

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Viniciusalcantar
V
Viniciusalcantar
Community Contributor
Quizzes Created: 5 | Total Attempts: 4,664
Questions: 100 | Attempts: 2,116

SettingsSettingsSettings
LPI 101 - Arquitetura De Sistema 1- Marcus Vinicius Braga Alcantara - Quiz


Questions and Answers
  • 1. 

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

    • A.

      shutdown -r now -f

    • B.

      shutdown -r -F

    • C.

      shutdown -f

    • D.

      shutdown -r +0 -F

    Correct Answer
    D. shutdown -r +0 -F
    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.

    Rate this question:

  • 2. 

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

    Correct Answer
    dmesg
    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.

    Rate this question:

  • 3. 

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

    • A.

      /var/log/messages

    • B.

      /var/log/secure

    • C.

      /var/log/kern.log

    • D.

      /var/log/syslog

    Correct Answer
    A. /var/log/messages
    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.

    Rate this question:

  • 4. 

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

    • A.

      default

    • B.

      initrd

    • C.

      kernel

    • D.

      root

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

    Rate this question:

  • 5. 

    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 ?

    • A.

      init s

    • B.

      init q

    • C.

      ps

    • D.

      reboot

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

    Rate this question:

  • 6. 

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

    • A.

      /proc/irqinfo

    • B.

      /proc/ioports

    • C.

      /proc/irq

    • D.

      /proc/interrupts

    Correct Answer
    D. /proc/interrupts
    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.

    Rate this question:

  • 7. 

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

    • A.

      1

    • B.

      2

    • C.

      3

    • D.

      4

    Correct Answer
    B. 2
    Explanation
    Raiz (/) e Swap.

    Rate this question:

  • 8. 

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

    • A.

      s

    • B.

      0

    • C.

      1

    • D.

      S

    Correct Answer(s)
    A. s
    C. 1
    D. S
    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.

    Rate this question:

  • 9. 

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

    • A.

      mem

    • B.

      maxmem

    • C.

      ram

    • D.

      init

    Correct Answer
    A. mem
    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.

    Rate this question:

  • 10. 

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

    • A.

      20

    • B.

      5

    • C.

      10

    • D.

      0

    Correct Answer
    D. 0
    Explanation
    The value of priority for any process initiated in the system is 0.

    Rate this question:

  • 11. 

    Qual é o valor PID do processo init ?

    • A.

      O processo init não possui valor PID por ser um processo interno do Kernel.

    • B.

      0

    • C.

      1

    • D.

      2

    Correct Answer
    C. 1
    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.

    Rate this question:

  • 12. 

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

    • A.

      1

    • B.

      6

    • C.

      0

    • D.

      5

    Correct Answer
    B. 6
    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.

    Rate this question:

  • 13. 

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

    • A.

      telinit

    • B.

      halt

    • C.

      kill

    • D.

      shutdown

    Correct Answer(s)
    A. telinit
    B. halt
    D. shutdown
    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.

    Rate this question:

  • 14. 

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

    Correct Answer(s)
    lsmod
    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.

    Rate this question:

  • 15. 

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

    Correct Answer(s)
    /dev
    /dev/
    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.

    Rate this question:

  • 16. 

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

    • A.

      cat /dev/usb

    • B.

      lsusb

    • C.

      cat /proc/devices

    • D.

      lspci

    Correct Answer
    B. lsusb
    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.

    Rate this question:

  • 17. 

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

    Correct Answer
    7
    Explanation
    The ID SCSI assigned to a SCSI controller is typically 7.

    Rate this question:

  • 18. 

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

    • A.

      hwlook

    • B.

      ls

    • C.

      find

    • D.

      lspci

    Correct Answer
    D. lspci
    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.

    Rate this question:

  • 19. 

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

    Correct Answer
    /etc/inittab
    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.

    Rate this question:

  • 20. 

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

    • A.

      Placas PCI

    • B.

      USB

    • C.

      Dispositivos IDE

    • D.

      Disco Rígido do tipo SCSI

    Correct Answer(s)
    B. USB
    D. Disco Rígido do tipo SCSI
    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.

    Rate this question:

  • 21. 

    Dispositivos hotplug são dispositivos:

    • A.

      Mais caros, de melhor desempenho.

    • B.

      Que aquecem, prejudicando o funcionamento da máquina.

    • C.

      Que devem ser conectados com a máquina desligada.

    • D.

      Que podem ser conectados com a máquina em funcionamento.

    Correct Answer
    D. Que podem ser conectados com a máquina em funcionamento.
    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.

    Rate this question:

  • 22. 

    O comando cat /proc/cpuinfo lista Informações sobre:

    • A.

      Portas IRQ

    • B.

      Consumo de memória

    • C.

      Processador(es) encontrado(s) pelo sistema;

    • D.

      Endereços de I/O

    Correct Answer
    C. Processador(es) encontrado(s) pelo sistema;
    Explanation
    The command "cat /proc/cpuinfo" lists information about the processor(s) found by the system.

    Rate this question:

  • 23. 

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

    • A.

      cat /sys/dma

    • B.

      cat /dev/direct_access_memory

    • C.

      cat /proc/dma

    • D.

      cat /proc/ioports

    Correct Answer
    C. cat /proc/dma
    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.

    Rate this question:

  • 24. 

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

    • A.

      cat /proc/meminfo

    • B.

      free

    • C.

      top

    • D.

      cat /proc/ioports

    Correct Answer
    D. cat /proc/ioports
    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.

    Rate this question:

  • 25. 

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

    • A.

      scsi

    • B.

      cat /sys/scsi

    • C.

      cat /proc/scsi

    • D.

      cat /proc/scsi/scsi

    Correct Answer
    D. cat /proc/scsi/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.

    Rate this question:

  • 26. 

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

    • A.

      1-7 e 1-15

    • B.

      1-8 e 1-16

    • C.

      0-7 e 0-15

    • D.

      0-8 e 0-16

    Correct Answer
    C. 0-7 e 0-15
    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.

    Rate this question:

  • 27. 

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

    • A.

      Verdadeiro

    • B.

      Falso

    Correct Answer
    A. Verdadeiro
    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.

    Rate this question:

  • 28. 

    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?

    • A.

      SIGSYS e SIGQUIT

    • B.

      SIGTERM e SIGKILL

    • C.

      SIGSTOP e SIGSYS

    • D.

      SIGHUP e SIGQUIT

    Correct Answer
    B. SIGTERM e SIGKILL
    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.

    Rate this question:

  • 29. 

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

    • A.

      inittab

    • B.

      run_init

    • C.

      runlevel

    • D.

      telinit

    Correct Answer
    C. runlevel
    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.

    Rate this question:

  • 30. 

    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 ?

    • A.

      /

    • B.

      /boot

    • C.

      /sys

    • D.

      /var

    Correct Answer
    B. /boot
    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.

    Rate this question:

  • 31. 

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

    • A.

      /etc/modprobe.conf

    • B.

      /etc/sysctl.conf

    • C.

      /etc/services

    • D.

      /etc/modules.dep

    Correct Answer
    A. /etc/modprobe.conf
    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.

    Rate this question:

  • 32. 

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

    • A.

      APM

    • B.

      PCI

    • C.

      PnP

    • D.

      ATA

    Correct Answer
    A. APM
    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.

    Rate this question:

  • 33. 

    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?

    • A.

      Crie duas partições menores de 30 gigabytes cada.

    • B.

      Defina na BIOS do PC para usar o modo LBA .

    • C.

      Criar uma partição que reside inteiramente abaixo dos primeiros 1024 cilindros .

    • D.

      Use o GRUB ou a última versão do LILO como um bootloader.

    • E.

      Atualizar a BIOS do PC para a versão mais recente disponível.

    Correct Answer
    E. Atualizar a BIOS do PC para a versão mais recente disponível.
    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.

    Rate this question:

  • 34. 

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

    • A.

      Taxa AGP (e.g. 1x, 2x, 4x)

    • B.

      Endereço MAC Ethernet

    • C.

      Velocidade do Barramento (e.g. 66Mhz)

    • D.

      Configuraçōes IRQ

    • E.

      Identificação do fabricante

    Correct Answer
    B. Endereço MAC Ethernet
    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.

    Rate this question:

  • 35. 

    Quantos periféricos SCSI ids pode suportar SCSI-1?

    • A.

      8

    • B.

      6

    • C.

      5

    • D.

      7

    Correct Answer
    D. 7
    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.

    Rate this question:

  • 36. 

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

    • A.

      É preciso atualizar o kernel.

    • B.

      USB não é suportado pelo Linux.

    • C.

      É preciso carregar o módulo USB para o kernel.

    • D.

      É preciso reconstruir o kernel.

    Correct Answer
    A. É preciso atualizar o kernel.
  • 37. 

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

    • A.

      Inicialização da ROM

    • B.

      Inicialização da RAM

    • C.

      Master Boot Record (MBR)

    • D.

      Partição /root

    Correct Answer
    C. Master Boot Record (MBR)
    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.

    Rate this question:

  • 38. 

    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?

    • A.

      1

    • B.

      3

    • C.

      4

    • D.

      7

    Correct Answer
    C. 4
    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.

    Rate this question:

  • 39. 

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

    • A.

      /etc/init

    • B.

      /etc/inittab

    • C.

      /etc/proc

    • D.

      /etc/initproc

    Correct Answer
    B. /etc/inittab
    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.

    Rate this question:

  • 40. 

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

    • A.

      shutdown -x

    • B.

      shutdown -n

    • C.

      shutdown -u

    • D.

      shutdown -c

    Correct Answer
    D. shutdown -c
    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.

    Rate this question:

  • 41. 

    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?

    • A.

      7:2:wait:/etc/myprocess

    • B.

      2:7:wait:/etc/myprocess

    • C.

      wait:2:7:/etc/myprocess

    • D.

      wait:7:2:/etc/myprocess

    Correct Answer
    A. 7:2:wait:/etc/myprocess
    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.

    Rate this question:

  • 42. 

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

    Correct Answer
    cmdline
    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.

    Rate this question:

  • 43. 

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

    • A.

      /proc/apm

    • B.

      /proc/stat

    • C.

      /proc/kmsg

    • D.

      /froc/sys/kernel/sysrq

    • E.

      /proc/cmdline

    Correct Answer
    E. /proc/cmdline
    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.

    Rate this question:

  • 44. 

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

    • A.

      /proc/partitions

    • B.

      /proc/cpuinfo

    • C.

      /proc/fstab

    • D.

      /etc/partitions

    • E.

      /etc/fstab

    Correct Answer
    A. /proc/partitions
    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.

    Rate this question:

  • 45. 

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

    • A.

      /proc/cpuinfo

    • B.

      /proc/frequency

    • C.

      /proc/speed

    • D.

      /proc/mhz

    • E.

      /proc/bogomips

    Correct Answer
    A. /proc/cpuinfo
    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.

    Rate this question:

  • 46. 

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

    • A.

      runlevel0.target ou poweroff.target

    • B.

      runlevel1.target ou rescue.target

    • C.

      runlevel3.target ou multi-user.target

    • D.

      runlevel6.target ou reboot.target

    Correct Answer
    D. runlevel6.target ou reboot.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.

    Rate this question:

  • 47. 

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

    • A.

      runlevel0.target e runlevel6.target

    • B.

      runlevel1.target e multi-user.target

    • C.

      runlevel2.target, runlevel6.target e rescue.target

    • D.

      runlevel2.target, runlevel3.target, runlevel4.target ou multi-user.target

    Correct Answer
    D. runlevel2.target, runlevel3.target, runlevel4.target ou multi-user.target
    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.

    Rate this question:

  • 48. 

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

    Correct Answer
    systemctl poweroff
    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.

    Rate this question:

  • 49. 

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

    Correct Answer
    systemctl reboot
    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.

    Rate this question:

  • 50. 

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

    Correct Answer
    rescue.target
    rescue
    Explanation
    The target similar to runlevel1.target is rescue.target or simply rescue.

    Rate this question:

Quiz Review Timeline +

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
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.