Martin Covill
Quiz por , criado more than 1 year ago

Sec Ops Linux Quiz

28
0
0
Martin Covill
Criado por Martin Covill mais de 8 anos atrás
Fechar

Sec Ops Linux Quiz

Questão 1 de 23

1

Which of the following statements would create a default route using a gateway of
192.168.1.1?

Selecione uma das seguintes:

  • A. netstat -add default gw

  • B. route default 192.168.1.1

  • C. ip route default 192.168.1.1

  • D. route add default gw 192.168.1.1

  • E. ifconfig default gw 192.168.1.1 eth0

Explicação

Questão 2 de 23

1

Which of the following is the purpose of the dig command?

Selecione uma das seguintes:

  • A. To adjust a directory’s hidden permissions

  • B. To search for files on the filesystem

  • C. To adjust a file’s hidden permissions

  • D. To perform hostname lookups

  • E. To ping all known hosts on the current subnet

Explicação

Questão 3 de 23

1

Which of the following configuration files does sudo read when determining if a user is
permitted to run applications with root privileges?

Selecione uma das seguintes:

  • A. /etc/groups

  • B. /etc/passwd

  • C. /etc/sudoers

  • D. /etc/sudo.conf

Explicação

Questão 4 de 23

1

The files in the /etc/skel directory are used by the:

Selecione uma das seguintes:

  • A. pwconv command

  • B. pwunconv command

  • C. useradd command

  • D. passwd command

Explicação

Questão 5 de 23

1

Preencha o espaço em branco para completar o texto.

The protocol uses two (2) TCP/IP ports one of them being port 20 for data transfer?
(Please do not enter duplicate answers in this field.)

Explicação

Questão 6 de 23

2

Which of the following statements about crontab are true? (Select TWO).

Selecione uma ou mais das seguintes:

  • A. Every user may have their owncrontab.

  • B. Changing a crontab requires a reload/restart of the cron daemon.

  • C. The cron daemon reloads crontab files automatically when necessary.

  • D. hourly is the same as “0 * * * *”.

  • E. A cron daemon must run for each existing crontab.

Explicação

Questão 7 de 23

1

Which of the following commands is used to deactivate a network interface?

Selecione uma das seguintes:

  • A. ifdown

  • B. ipdown

  • C. net

  • D. netdown

Explicação

Questão 8 de 23

1

Which of the following looks like a correct entry in the /etc/hosts file?

Selecione uma das seguintes:

  • A. localhost 127.0.0.1 localhost.localdomain

  • B. localhost.localdomainlocalhost 127.0.0.1

  • C. localhostlocalhost.localdomain 127.0.0.1

  • D. 127.0.0.1 localhost.localdomainlocalhost

  • E. localhost.localdomain 127.0.0.1 localhost

Explicação

Questão 9 de 23

1

Which of the following lines would an administrator find in the file /etc/resolv.conf?

Selecione uma das seguintes:

  • A. mycompany.com

  • B. 192.168.168.4 dns-server

  • C. hosts: files,dns

  • D. domain mycompany.com

Explicação

Questão 10 de 23

1

Which of the following commands will provide locale-specific information about a system and its environment?

Selecione uma das seguintes:

  • A. loconfig

  • B. getlocale

  • C. locale

  • D. tzconfig

  • E. tzselect

Explicação

Questão 11 de 23

1

Which of the following should the permission settings be for /etc/passwd and /etc/shadow?

Selecione uma das seguintes:

  • A. /etc/passwd: -rw-r–r– /etc/shadow: -r——–

  • B. /etc/passwd: -r——– /etc/shadow: -rw-r–r–

  • C. /etc/passwd: -rw-r–r– /etc/shadow: -rw-r–r–

  • D. /etc/passwd: -r——– /etc/shadow: -r——–}

Explicação

Questão 12 de 23

1

Suppose that the command netstat -a hangs for a long time without producing output. An
administrator might suspect:

Selecione uma das seguintes:

  • A. a problem with NFS

  • B. a problem with DNS

  • C. a problem with NIS

  • D. a problem with routing

  • E. that the netstat daemon has crashed

Explicação

Questão 13 de 23

1

Which of the following describes the Linux ping packet or datagram?

Selecione uma das seguintes:

  • A. IP packet with a packet type

  • B. ICMP packet with a message type

  • C. ICMP packet with a payload

  • D. UDP datagram with a protocol type

  • E. UDP datagram with a payload

Explicação

Questão 14 de 23

1

Which of the following commands would an administrator use to create an OpenSSH
authentication key?

Selecione uma das seguintes:

  • A. sshd

  • B. ssh-agent

  • C. ssh-keygen

  • D. ssh-add

Explicação

Questão 15 de 23

2

Which of the following Class B IPv4 networks are reserved by IANA for private address
assignment and private routing? (Select TWO).

Selecione uma ou mais das seguintes:

  • A. 128.0.0.0

  • B. 169.16.0.0

  • C. 169.254.0.0

  • D. 172.16.0.0

  • E. 172.20.0.0

Explicação

Questão 16 de 23

1

Preencha o espaço em branco para completar o texto.

The IP protocol is connectionless and unreliable? (Please enter only a single answer and
do not enter duplicate answers in this field.)

Explicação

Questão 17 de 23

1

Which of the following commands can be used to activate a specific network interface?

Selecione uma das seguintes:

  • A. ipup

  • B. net

  • C. ifup

  • D. netup

Explicação

Questão 18 de 23

1

What are the three sets of permissions for a file?

Selecione uma das seguintes:

  • A. user, group, others

  • B. administrator, group, others

  • C. user, standard user, others

  • D. administrator, standard user, others

Explicação

Questão 19 de 23

1

Which of the following commands will create an archive file, named backup.tar, containing all the files from the directory /home?

Selecione uma das seguintes:

  • A. tar /home backup.tar

  • B. tar -cf /home backup.tar

  • C. tar -xf /home backup.tar

  • D. tar -xf backup.tar /home

  • E. tar -cf backup.tar /home

Explicação

Questão 20 de 23

1

What command would you use to get comprehensive documentation about any command in Linux?

Selecione uma das seguintes:

  • A. help command

  • B. echo command

  • C. locate command

  • D. man command

  • E. get command

Explicação

Questão 21 de 23

1

Which command will display running process information in real time?

Selecione uma das seguintes:

  • A. top

  • B. show current

  • C. ps current

  • D. process

Explicação

Questão 22 de 23

1

What is the command to change the password of a user?

Selecione uma das seguintes:

  • A. wpasswd

  • B. gpasswd

  • C. epasswd

  • D. passwd

  • E. password

Explicação

Questão 23 de 23

1

With which command can you determine the time of the last restart of a system?

Selecione uma das seguintes:

  • A. current reboottime

  • B. find reboot

  • C. expect –reboot

  • D. last | reboot

  • E. last reboot

Explicação