Martin Covill
Quiz von , erstellt am more than 1 year ago

Sec Ops Linux Quiz

28
0
0
Martin Covill
Erstellt von Martin Covill vor mehr als 8 Jahre
Schließen

Sec Ops Linux Quiz

Frage 1 von 23

1

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

Wähle eine der folgenden:

  • 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

Erklärung

Frage 2 von 23

1

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

Wähle eine der folgenden:

  • 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

Erklärung

Frage 3 von 23

1

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

Wähle eine der folgenden:

  • A. /etc/groups

  • B. /etc/passwd

  • C. /etc/sudoers

  • D. /etc/sudo.conf

Erklärung

Frage 4 von 23

1

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

Wähle eine der folgenden:

  • A. pwconv command

  • B. pwunconv command

  • C. useradd command

  • D. passwd command

Erklärung

Frage 5 von 23

1

Fülle die Lücke, um den Text zu vervollständigen

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.)

Erklärung

Frage 6 von 23

2

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

Wähle eine oder mehr der folgenden:

  • 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.

Erklärung

Frage 7 von 23

1

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

Wähle eine der folgenden:

  • A. ifdown

  • B. ipdown

  • C. net

  • D. netdown

Erklärung

Frage 8 von 23

1

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

Wähle eine der folgenden:

  • 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

Erklärung

Frage 9 von 23

1

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

Wähle eine der folgenden:

  • A. mycompany.com

  • B. 192.168.168.4 dns-server

  • C. hosts: files,dns

  • D. domain mycompany.com

Erklärung

Frage 10 von 23

1

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

Wähle eine der folgenden:

  • A. loconfig

  • B. getlocale

  • C. locale

  • D. tzconfig

  • E. tzselect

Erklärung

Frage 11 von 23

1

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

Wähle eine der folgenden:

  • 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——–}

Erklärung

Frage 12 von 23

1

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

Wähle eine der folgenden:

  • 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

Erklärung

Frage 13 von 23

1

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

Wähle eine der folgenden:

  • 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

Erklärung

Frage 14 von 23

1

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

Wähle eine der folgenden:

  • A. sshd

  • B. ssh-agent

  • C. ssh-keygen

  • D. ssh-add

Erklärung

Frage 15 von 23

2

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

Wähle eine oder mehr der folgenden:

  • 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

Erklärung

Frage 16 von 23

1

Fülle die Lücke, um den Text zu vervollständigen

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

Erklärung

Frage 17 von 23

1

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

Wähle eine der folgenden:

  • A. ipup

  • B. net

  • C. ifup

  • D. netup

Erklärung

Frage 18 von 23

1

What are the three sets of permissions for a file?

Wähle eine der folgenden:

  • A. user, group, others

  • B. administrator, group, others

  • C. user, standard user, others

  • D. administrator, standard user, others

Erklärung

Frage 19 von 23

1

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

Wähle eine der folgenden:

  • 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

Erklärung

Frage 20 von 23

1

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

Wähle eine der folgenden:

  • A. help command

  • B. echo command

  • C. locate command

  • D. man command

  • E. get command

Erklärung

Frage 21 von 23

1

Which command will display running process information in real time?

Wähle eine der folgenden:

  • A. top

  • B. show current

  • C. ps current

  • D. process

Erklärung

Frage 22 von 23

1

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

Wähle eine der folgenden:

  • A. wpasswd

  • B. gpasswd

  • C. epasswd

  • D. passwd

  • E. password

Erklärung

Frage 23 von 23

1

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

Wähle eine der folgenden:

  • A. current reboottime

  • B. find reboot

  • C. expect –reboot

  • D. last | reboot

  • E. last reboot

Erklärung