LPI 101 - Devices, Linux FileSystems, Fhs 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,124
| Attempts: 518
SettingsSettings
Please wait...
  • 1/100 Questions

    Qual comando desabilita a área de paginação swap?

Please wait...
LPI 101 - Devices, Linux Filesystems, Fhs 1- Marcus Vinicius Braga Alcantara - Quiz
About This Quiz

.


Quiz Preview

  • 2. 

    Qual comando exibe o número de inodes utilizados de um determinado Sistema de Arquivo ?

    • df -i

    • fdisk -l

    • tune2fs

    • du -a

    Correct Answer
    A. df -i
    Explanation
    The command "df -i" is used to display the number of inodes used in a specific File System.

    Rate this question:

  • 3. 

    Qual o correto uso do comando mount quando o objetivo é montar todos os sistemas de arquivos listados em /etc/fstab ?

    • mount -a

    • mount -l

    • mount -r

    • mount

    Correct Answer
    A. mount -a
    Explanation
    The correct usage of the mount command when the objective is to mount all the file systems listed in /etc/fstab is "mount -a". This command will mount all the file systems specified in the /etc/fstab file, allowing them to be accessed and used.

    Rate this question:

  • 4. 

    Qual comando é usado para desmontar um dispositivo do sistema ? (Especifique somente o comando).

    Correct Answer
    umount
    Explanation
    O comando "umount" é usado para desmontar um dispositivo do sistema.

    Rate this question:

  • 5. 

    Qual comando interno do programa fdisk é usado para criar uma nova partição ?

    • a

    • w

    • p

    • n

    Correct Answer
    A. n
    Explanation
    The correct answer is "n". The command "n" is used in the fdisk program to create a new partition.

    Rate this question:

  • 6. 

    Quais são os passos necessários para disponibilizar um novo disco para usuários? (Selecione 3 respostas).

    • fdisk

    • mkfs

    • mount

    • stat

    • quotaon

    Correct Answer(s)
    A. fdisk
    A. mkfs
    A. mount
    Explanation
    To make a new disk available to users, three steps need to be followed. First, the disk needs to be partitioned using the "fdisk" command. Then, the partition needs to be formatted using the "mkfs" command. Finally, the formatted partition can be mounted using the "mount" command, making it accessible for users to use.

    Rate this question:

  • 7. 

    Como você pode definir o SGID em um arquivo chamado testkingexaminator ?

    • chmod u+s testkingexaminator

    • chmod g+s testkingexaminator

    • chmod o+s testkingexaminator

    • chmod u+t testkingexaminator

    Correct Answer
    A. chmod g+s testkingexaminator
    Explanation
    The correct answer is "chmod g+s testkingexaminator". The "g+s" option sets the setgid permission on the file. When the setgid permission is set on a directory, any new files or directories created within that directory inherit the group ownership of the parent directory. In this case, setting the setgid permission on the "testkingexaminator" file would ensure that any new files or directories created within it would have the same group ownership as the "testkingexaminator" file.

    Rate this question:

  • 8. 

    Qual o valor de umask deve ser definido para que as permissões de um novo arquivo criado seja; -rw-r–r– (644)?

    • 0022

    • 0002

    • 0224

    • 0246

    Correct Answer
    A. 0022
    Explanation
    The correct answer is 0022. The umask value determines the default permissions for newly created files. It is subtracted from the maximum permissions (666 for files) to determine the actual permissions. In this case, 0022 is subtracted from 666, resulting in 644, which matches the desired permissions -rw-r--r--.

    Rate this question:

  • 9. 

    Quando o sistema é inicializado, todos os sistemas de arquivos no /etc/fstab são montados, excepto aqueles que na coluna de opções contém _____?

    • nomount

    • noauto

    • noatime

    • nohup

    Correct Answer
    A. noauto
    Explanation
    When the system is initialized, all file systems in the /etc/fstab are mounted except for those that have "noauto" specified in the options column.

    Rate this question:

  • 10. 

    Se você definir o umask para 022, por padrão, as permissões de seus arquivos serão?

    • 0220

    • 0557

    • 0644

    • 0755

    Correct Answer
    A. 0644
    Explanation
    If you set the umask to 022, the default permissions for your files will be 0644. Umask is a permission mask that is subtracted from the default permissions to determine the final permissions of newly created files. In this case, the umask of 022 means that the write permissions for group and others are removed from the default permissions of 0666, resulting in 0644. This means that the owner has read and write permissions, while the group and others have only read permissions.

    Rate this question:

  • 11. 

    Quando você cria um novo arquivo, as permissões são mostradas com 664. O valor umask provavelmente fixado é ?

    • 002

    • 012

    • 123

    • 022

    Correct Answer
    A. 002
    Explanation
    The given answer, 002, suggests that the umask value is set to 002. In Unix-like operating systems, umask is a command that determines the default permissions for newly created files and directories. The umask value is subtracted from the default permissions of 666 for files and 777 for directories. In this case, a umask value of 002 would result in the default permissions being reduced by 2 for the group and others, resulting in the permissions of 664 for newly created files.

    Rate this question:

  • 12. 

    Qual é o arquivo de configuração que é consultado após a montagem da partição raiz que possui informações sobre os demais sistemas de arquivos a serem montados ? (Especifique o caminho completo).

    Correct Answer
    /etc/fstab
    Explanation
    The correct answer is /etc/fstab. After the root partition is mounted, the system consults the /etc/fstab file for information about the other file systems to be mounted. This file contains entries that define the file systems, their mount points, and their options. By reading this file, the system knows which file systems to mount and how to mount them, ensuring that all necessary file systems are available and properly configured during the boot process.

    Rate this question:

  • 13. 

    Qual das abaixo é uma entrada /etc/fstab válida ?

    • /mnt/delta /dev/sda3 ext3 defaults,owner 0 2

    • /mnt/delta ext3 /dev/sda3 defaults,owner 0 2

    • /dev/sda3 /mnt/delta ext3 defaults,owner 0 2

    • /dev/sda3 ext3 /mnt/delta defaults,owner 0 2

    Correct Answer
    A. /dev/sda3 /mnt/delta ext3 defaults,owner 0 2
    Explanation
    The correct answer is "/dev/sda3 /mnt/delta ext3 defaults,owner 0 2". This is a valid entry in the /etc/fstab file because it follows the correct format. The first field specifies the device or partition to be mounted, the second field specifies the mount point directory, the third field specifies the filesystem type, and the remaining fields specify the mount options, dump frequency, and filesystem check order respectively.

    Rate this question:

  • 14. 

    Qual comando chown irá alterar a propriedade para foo e o grupo para bar em um arquivo chamado biglist ?

    • chown foo/bar biglist

    • chown -u foo -g bar biglist

    • chown foo:bar biglist

    • chown --user foo --group bar biglist

    Correct Answer
    A. chown foo:bar biglist
    Explanation
    The command "chown foo:bar biglist" will change the ownership of the file "biglist" to the user "foo" and the group "bar". The format "user:group" is used to specify both the user and group at the same time.

    Rate this question:

  • 15. 

    Você precisa criar um link simbólico no diretório home do usuário atual com o nome testking para o arquivo /data/foobar. Escolha o comando que vai realizar tal tarefa.

    • link .testking /data/foobar

    • ln /data/foobar $HOME/testking

    • ln -s /data/foobar ~/testking

    • file --link ./testking /data/foobar

    • N.D.A

    Correct Answer
    A. ln -s /data/foobar ~/testking
    Explanation
    The correct answer is "ln -s /data/foobar ~/testking". This command will create a symbolic link named "testking" in the home directory of the current user, pointing to the file "/data/foobar". The "-s" option is used to create a symbolic link instead of a hard link. The "~" represents the home directory of the current user.

    Rate this question:

  • 16. 

    Ao executar o comando; chmod 4750 em um arquivo, estamos atribuindo:

    • Permissão especial Stick, -wx para dono, rwx para grupo e nada para os outros.

    • Permissão especial SUID, rw- para dono, r-- para grupo e nada para os outros.

    • Permissão especial SGID, r-x para dono, rwx para grupo e execução para os outros.

    • Permissão especial SUID, rwx para dono, r-x para grupo e nada para os outros.

    • Permissão especial SUID, r-x para dono, rwx para grupo e execução para os outros.

    Correct Answer
    A. Permissão especial SUID, rwx para dono, r-x para grupo e nada para os outros.
    Explanation
    The correct answer is "Permissão especial SUID, rwx para dono, r-x para grupo e nada para os outros." This is because the command "chmod 4750" sets the file permissions to give the owner read, write, and execute permissions (rwx), the group read and execute permissions (r-x), and no permissions for others. Additionally, the "SUID" permission is set, which allows the file to be executed with the permissions of the file owner.

    Rate this question:

  • 17. 

    Qual comando formata uma partição como sendo do tipo Swap ?

    • mkswap /dev/sda3

    • mkfs.swap /dev/sda3

    • swapon /dev/sda3

    • mkfs -t swap /dev/sda3

    Correct Answer
    A. mkswap /dev/sda3
    Explanation
    The command "mkswap /dev/sda3" is used to format a partition as a swap type.

    Rate this question:

  • 18. 

    Voce está preparando-se para um novo sistema de arquivos ext3, que é a segunda partição no primeiro disco IDE. Como você pode checar a integridade do sistema de arquivos sem ter que responder "y" para qualquer questão?

    • e3fsck -y /dev/hda2

    • e2fsck -y /dev/hda2

    • e3fsck -r /dev/hda2

    • e2fscl -r /dev/hda2

    Correct Answer
    A. e2fsck -y /dev/hda2
    Explanation
    The correct answer is "e2fsck -y /dev/hda2". This command is used to check the integrity of the ext3 file system on the second partition of the first IDE disk. The "-y" option is used to automatically answer "yes" to all questions, allowing the check to proceed without any user interaction.

    Rate this question:

  • 19. 

    Qual dos sistemas de arquivo abaixo não possui journaling?

    • reiserfs

    • xfs

    • ext3

    • ext4

    • ext2

    Correct Answer
    A. ext2
    Explanation
    Ext2 is the correct answer because it is the only file system listed that does not have journaling. Journaling is a feature in file systems that helps to ensure data consistency and integrity by keeping a log of changes before they are actually written to the file system. Ext3, Ext4, ReiserFS, and XFS all have journaling capabilities, making them more reliable and less prone to data corruption in the event of system crashes or power failures.

    Rate this question:

  • 20. 

    Qual entrada no /etc/fstab irá permitir qualquer usuário montar e desmontar /dev/cdrom ?

    • /dev/cdrom /cd ro,noauto,unhide,all iso9660 0 0

    • /dev/cdrom /cd iso9660 ro,noauto,nonroot 0 0

    • /dev/cdrom /cd iso9660 ro,users,noauto 0 0

    • /dev/cdrom /cd iso9660 ro,noauto,defaults 0 0

    Correct Answer
    A. /dev/cdrom /cd iso9660 ro,users,noauto 0 0
    Explanation
    The correct answer is "/dev/cdrom /cd iso9660 ro,users,noauto 0 0". This entry in the /etc/fstab file allows any user to mount and unmount the /dev/cdrom device. It specifies the file system type as iso9660, the mount options as read-only (ro), allowing users to mount it (users), and not automatically mounting it at boot (noauto). The last two fields are for dump and file system check options, which are not relevant in this context.

    Rate this question:

  • 21. 

    Especifique somente o comando que pode ser usado para converter um sistema de arquivo do tipo Ext2 para Ext3 sem causar perda de dados.

    Correct Answer
    tune2fs
    Explanation
    The correct answer is "tune2fs." This command is used to adjust various parameters of the ext2, ext3, and ext4 file systems. In this case, it can be used to convert a file system from ext2 to ext3 without causing any data loss.

    Rate this question:

  • 22. 

    Qual comando interno do programa fdisk é usado para alterar o código de identificação de uma partição ?

    • a

    • t

    • n

    • p

    Correct Answer
    A. t
    Explanation
    The correct answer is "t". The "t" command is used to change the partition type code in the fdisk program. This command allows the user to modify the identification code of a partition, which can be useful for various purposes such as changing the file system type or specifying the partition as active.

    Rate this question:

  • 23. 

    Você trabalha como administrador de rede da TestKing.com. Supondo que um usuário foi movido para outro departamento dentro de TestKing.com. Qual comando você usaria para alterar o grupo na propriedade de seus arquivos e diretórios ?

    Correct Answer
    chown
    chgrp
    Explanation
    The correct answer for this question is "chown" and "chgrp". These are both commands that can be used to change the ownership and group of files and directories in a Linux system. The "chown" command is used to change the ownership of a file or directory, while the "chgrp" command is used to change the group ownership. By using these commands, the administrator can easily update the ownership and group of the user's files and directories after they have been moved to another department within TestKing.com.

    Rate this question:

  • 24. 

    Quais dos comandos abaixo podem ser usados para criar um sistema de arquivos do tipo Ext3 ? (Selecione 3 respostas).

    • mke2fs -j /dev/hdd2

    • mkfs.ext3 /dev/sda1

    • mkfs -t ext3 /dev/hdb2

    • mkfs /dev/hda3

    Correct Answer(s)
    A. mke2fs -j /dev/hdd2
    A. mkfs.ext3 /dev/sda1
    A. mkfs -t ext3 /dev/hdb2
    Explanation
    The given answer is correct because mke2fs -j /dev/hdd2, mkfs.ext3 /dev/sda1, and mkfs -t ext3 /dev/hdb2 are all valid commands that can be used to create an Ext3 file system.

    Rate this question:

  • 25. 

    Qual utilitário você usaria para alterar a forma como muitas vezes uma verificação do sistema de arquivos é realizada ao longo de um sistema de arquivos ext2 (Sem perder os dados armazenados no sistema de arquivos) ?

    • mke2fs

    • fixe2fs

    • tune2fs

    • fsck

    • mod2fs

    Correct Answer
    A. tune2fs
    Explanation
    Tune2fs is the utility that is used to alter the frequency of file system checks on an ext2 file system without losing any data stored on the file system. It allows the user to change various parameters and settings of the file system, including the interval at which file system checks are performed. This utility is specifically designed for ext2 file systems and provides a way to customize and optimize the file system's performance without compromising data integrity.

    Rate this question:

  • 26. 

    Sua máscara está configurada com o valor 002. Se você criar um novo arquivo, quais serão as permissões deste arquivo?

    • -rw-rw-r--

    • rwxrwx-w-

    • ------w-

    • rwxrwxr-x

    Correct Answer
    A. -rw-rw-r--
    Explanation
    The permissions of the new file will be -rw-rw-r--. In the given mask value 002, the first digit represents the owner's permissions, the second digit represents the group's permissions, and the third digit represents the permissions for others. In this case, the owner and group have read and write permissions (rw-), while others have only read permission (r--).

    Rate this question:

  • 27. 

    Links simbólicos deixarão de funcionar quando:

    • O destino estiver num sistema de arquivos diferente.

    • O destino for um diretório.

    • O destino for movido.

    • O conteúdo do destino for alterado.

    Correct Answer
    A. O destino for movido.
    Explanation
    When the destination of a symbolic link is moved, the symbolic link will no longer function correctly. This is because the symbolic link points to a specific location in the file system, and if that location is changed, the link will no longer be able to find the intended destination.

    Rate this question:

  • 28. 

    Qual opção do comando fdisk irá listar o menu de opções desta ferramenta?

    • p

    • t

    • m

    • d

    Correct Answer
    A. m
    Explanation
    The command "m" in fdisk will list the menu of options for this tool.

    Rate this question:

  • 29. 

    Qual comando irá criar um sistema de arquivos ext3 em /dev/hda2 ?

    • /sbin/mke2fs -d /dev/hda2

    • /sbin/mke2fs -j /dev/hda2

    • /sbin/mke2fs -m /dev/hda2

    • /sbin/mke2fs -c /dev/hda2

    Correct Answer
    A. /sbin/mke2fs -j /dev/hda2
    Explanation
    The correct answer is /sbin/mke2fs -j /dev/hda2. This command will create an ext3 file system on the /dev/hda2 device. The -j option is used to create a journaling file system, which is a feature of ext3.

    Rate this question:

  • 30. 

    Como você pode gerar um relatório sobre o uso dos discos e quotas para todos os sistemas de arquivos que possuem quotas configuradas definidos em /etc/mtabto ?

    • quotarep -a

    • repquota /dev/hd*

    • repquota -a

    • quotarep /dev/hd*

    Correct Answer
    A. repquota -a
    Explanation
    The correct answer is "repquota -a". The command "repquota -a" is used to generate a report on the usage of disks and quotas for all file systems that have quotas configured. It provides detailed information about the disk usage and quota limits for each file system, allowing for easy monitoring and management of quotas.

    Rate this question:

  • 31. 

    O terceiro campo do arquivo /etc/fstab determina:

    • O ponto de montagem.

    • O sistema de arquivos da partição.

    • As opções de montagem.

    • O número hexadecimal de identificação. da partição

    Correct Answer
    A. O sistema de arquivos da partição.
    Explanation
    The third field in the /etc/fstab file determines the filesystem type of the partition. This field specifies the type of filesystem that is being used on the partition, such as ext4, NTFS, or FAT32. It is important to specify the correct filesystem type in order for the operating system to properly mount and access the partition.

    Rate this question:

  • 32. 

    Quais comandos abaixo podem ser usados para checar possíveis problemas em um sistema de arquivos do tipo Ext2 ? (Selecione 3 respostas).

    • e2fsck

    • fsck.ext2

    • ext2.fsck

    • fsck

    Correct Answer(s)
    A. e2fsck
    A. fsck.ext2
    A. fsck
    Explanation
    The commands "e2fsck", "fsck.ext2", and "fsck" can be used to check for possible problems in an Ext2 file system. These commands are specifically designed to scan and repair any errors or inconsistencies in the Ext2 file system, ensuring its integrity and optimal performance.

    Rate this question:

  • 33. 

    Qual dos seguintes comandos é equivalente ao seguinte comando "chmod 754 ~/file1" para o usuário, cujo diretório inicial é /home/jdoe?

    • chmod u=rwx,g=rx,o=r /home/jdoe/file1

    • chmod ugo=rwx ~/file1

    • chmod u=7,g=5,o=4 ~/file1

    • chmod 754 \home\jdoe\file1

    • chmod 754 /usr/jdoe/file1

    Correct Answer
    A. chmod u=rwx,g=rx,o=r /home/jdoe/file1
    Explanation
    The correct answer is "chmod u=rwx,g=rx,o=r /home/jdoe/file1". This command sets the permissions for the file "file1" in the directory "/home/jdoe" to rwx (read, write, execute) for the user, rx (read, execute) for the group, and r (read) for others.

    Rate this question:

  • 34. 

    Qual das seguintes informações o comando "df" não irá retornar?

    • A quanto tempo o sistema de arquivos foi montado

    • O número de inodes usado em uma partição ext3

    • O tipo de sistema de arquivos de uma partição

    • A porcentagem de espaço disponível em disco usado em uma partição

    Correct Answer
    A. A quanto tempo o sistema de arquivos foi montado
    Explanation
    The "df" command does not provide information about how long the file system has been mounted. It primarily displays information about disk space usage, such as the amount of space used and available on each partition, the file system type, and the number of inodes used in a partition.

    Rate this question:

  • 35. 

    Qual comando abaixo altera de forma recursiva o dono e grupo (para root) dos arquivos e diretórios abaixo de /home/diretoria ?

    • chgrp -R root.root /home/diretoria

    • chgrp -r root:root /home/diretoria

    • chown -R root:root /home/diretoria

    • chown -r root.root /home/diretoria

    Correct Answer
    A. chown -R root:root /home/diretoria
    Explanation
    The correct answer is "chown -R root:root /home/diretoria". This command will recursively change the owner and group of all files and directories under /home/diretoria to root:root. The "-R" option ensures that the change is applied to all subdirectories and files within /home/diretoria. The "root:root" argument specifies that both the owner and group should be changed to root.

    Rate this question:

  • 36. 

    Qual comando que deve ser executado após a criação de uma área de Swap ?

    Correct Answer
    swapon
    Explanation
    After creating a swap area, the "swapon" command should be executed. This command is used to activate the swap space and make it available for use by the system. It enables the system to use the swap area as virtual memory, allowing for efficient memory management and improved performance.

    Rate this question:

  • 37. 

    Qual dos seguintes resultados é gerado pelo seguinte comando "chmod g+s /home/software" ?

    • O bit SUID será definido para /home/software

    • O bit SGID será definido para /home/software, impedindo o acesso dos usuários que não sejam membros do grupo software.

    • O bit SGID será definido para /home/software, para manter consistente o pertencimento ao grupo do diretório para todos os arquivos criados.

    • O sticky bit será definido para /home/software.

    • O sticky será aplicado a todos os arquivos de /home/software.

    Correct Answer
    A. O bit SGID será definido para /home/software, para manter consistente o pertencimento ao grupo do diretório para todos os arquivos criados.
    Explanation
    The command "chmod g+s /home/software" sets the SGID (Set Group ID) bit for the directory /home/software. This means that any new files or directories created within /home/software will inherit the group ownership of the parent directory, ensuring consistent group ownership for all files created. This allows for easier collaboration and management within a group environment.

    Rate this question:

  • 38. 

    Qual comando nos permite visualizar o percentual de utilização de disco de uma determinada partição do Sistema ?

    • fdisk

    • du

    • free

    • df

    Correct Answer
    A. df
    Explanation
    O comando "df" nos permite visualizar o percentual de utilização de disco de uma determinada partição do sistema. Este comando exibe informações sobre o espaço em disco utilizado e disponível em todas as partições montadas no sistema. Ele também mostra o tamanho total do disco, o uso atual e o espaço livre em cada partição. Portanto, o comando "df" é a opção correta para verificar o percentual de utilização de disco de uma partição específica.

    Rate this question:

  • 39. 

    Em uma partição ext2, qual porção é reservada para o usuário root?

    • 100 cilindros

    • Não mais que 500 bloclos

    • Nada

    • 5%

    • 1/32 do espaço disponível

    Correct Answer
    A. 5%
    Explanation
    In an ext2 partition, 5% of the space is reserved for the user root.

    Rate this question:

  • 40. 

    Quantos inodes são atribuídos a um arquivo quando ele é criado ?

    • 1

    • 2

    • 4

    • 8

    Correct Answer
    A. 1
    Explanation
    When a file is created, it is initially assigned 1 inode. An inode is a data structure in a Unix-style file system that stores metadata about a file, such as its size, permissions, and location. Each file in the file system has a unique inode number associated with it. Therefore, when a file is created, it is assigned a single inode to track and manage its properties.

    Rate this question:

  • 41. 

    Qual é o comando usado para editar novas quotas de disco para um determinado usuário ou grupo do sistema ? (Especifique somente o comando).

    Correct Answer
    edquota
    Explanation
    The command "edquota" is used to edit new disk quotas for a specific user or group in the system.

    Rate this question:

  • 42. 

    Qual deve ser o valor de umask quando desejamos criar novos diretórios com a permissão inicial 0700 ? (Especifique somente o valor de quatro posições).

    Correct Answer
    0077
    Explanation
    The umask is a command that sets the default permissions for newly created files and directories. In this case, the desired permission for the new directories is 0700, which means that the owner should have read, write, and execute permissions, and no other users should have any permissions. The umask value is the inverse of the desired permission, so the correct umask value would be 0077. This means that the owner will have all permissions (7), and all other users will have no permissions (0).

    Rate this question:

  • 43. 

    Qual comando devemos usar quando nosso objetivo é alterar o grupo de um arquivo ? (Especifique somente o comando).

    Correct Answer
    chgrp
    Explanation
    The command "chgrp" is used to change the group of a file.

    Rate this question:

  • 44. 

    Qual o tipo de sistema de arquivo é utilizado pelo mkfs quando não é especificado nenhum durante a formatação de uma partição? Ex: mkfs /dev/sdb1

    • ext2

    • ext3

    • vfat

    • N.D.A

    Correct Answer
    A. ext2
    Explanation
    When no file system type is specified during the formatting of a partition using mkfs, the default file system type used is ext2.

    Rate this question:

  • 45. 

    Você é o usuário root de um sistema, e precisa recolher informações de quotas sobre todos os usuários do sistema. Digite o comando, juntamente com quaisquer opções e argumentos para alcançar este objetivo.

    Correct Answer
    repquota -a
    Explanation
    The correct answer is "repquota -a" because the command "repquota" is used to display quotas for a specified file system. The "-a" option is used to display quotas for all users on the system. By using this command with the "-a" option, the root user will be able to gather information about the quotas of all users on the system.

    Rate this question:

  • 46. 

    Depois de criar um novo arquivo, você percebe que as permissões do novo arquivo é; "-rw-rw-rw-". A partir disso, você sabe que o valor do umask é _____? 

    • 023

    • 000

    • 112

    • 111

    • 223

    Correct Answer
    A. 000
    Explanation
    Based on the given permissions of the new file ("-rw-rw-rw-"), which indicates that the file has read and write permissions for all users, it can be concluded that the umask value is 000. Umask is a value that is used to determine the default permissions for newly created files and directories. A umask value of 000 means that no permissions are masked or removed, resulting in the maximum permissions being granted to the new file.

    Rate this question:

  • 47. 

    O sistema de arquivos FAT32 é reconhecido pelo linux como _______.

    Correct Answer
    vfat
    Explanation
    The FAT32 file system is recognized by Linux as "vfat".

    Rate this question:

  • 48. 

    O que o “sticky bit” faz?

    • Impede que qualquer um possa apagar os arquivos.

    • Marca arquivos para exclusão.

    • Impede que arquivos sejam apagados por não- proprietários, exceto o root.

    • Impede que arquivos sejam apagados por não- proprietários, incluindo o root.

    • Marca arquivos para arquivamento.

    Correct Answer
    A. Impede que arquivos sejam apagados por não- proprietários, exceto o root.
    Explanation
    O "sticky bit" impede que arquivos sejam apagados por não-proprietários, exceto o root. Isso significa que apenas o proprietário do arquivo ou o root têm permissão para excluí-lo, mesmo que outros usuários tenham permissões de escrita no diretório onde o arquivo está localizado. Isso é útil em diretórios compartilhados, como /tmp, onde vários usuários podem ter permissão para gravar arquivos, mas apenas o proprietário deve ter permissão para excluir ou modificar os arquivos.

    Rate this question:

  • 49. 

    Qual dos comandos abaixo é usado para exibir informações de uma partição do tipo xfs ?

    • xfs_info

    • xfs.info

    • xfs_metadump

    • xfs_details

    Correct Answer
    A. xfs_info
    Explanation
    The correct answer is xfs_info. This command is used to display information about an XFS file system. It provides details such as the size, block size, inode size, mount options, and other information related to the XFS file system.

    Rate this question:

Quiz Review Timeline (Updated): Jul 22, 2024 +

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

  • Current Version
  • Jul 22, 2024
    Quiz Edited by
    ProProfs Editorial Team
  • May 10, 2016
    Quiz Created by
    Viniciusalcantar
Back to Top Back to top
Advertisement