Sec Ops Linux Quiz

Martin Covill
Quiz by Martin Covill, updated more than 1 year ago
Martin Covill
Created by Martin Covill over 5 years ago
19
0

Description

Sec Ops Linux Quiz

Resource summary

Question 1

Question
Which of the following statements would create a default route using a gateway of 192.168.1.1?
Answer
  • 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

Question 2

Question
Which of the following is the purpose of the dig command?
Answer
  • 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

Question 3

Question
Which of the following configuration files does sudo read when determining if a user is permitted to run applications with root privileges?
Answer
  • A. /etc/groups
  • B. /etc/passwd
  • C. /etc/sudoers
  • D. /etc/sudo.conf

Question 4

Question
The files in the /etc/skel directory are used by the:
Answer
  • A. pwconv command
  • B. pwunconv command
  • C. useradd command
  • D. passwd command

Question 5

Question
The [blank_start]FTP[blank_end] 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.)
Answer
  • FTP

Question 6

Question
Which of the following statements about crontab are true? (Select TWO).
Answer
  • 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.

Question 7

Question
Which of the following commands is used to deactivate a network interface?
Answer
  • A. ifdown
  • B. ipdown
  • C. net
  • D. netdown

Question 8

Question
Which of the following looks like a correct entry in the /etc/hosts file?
Answer
  • 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

Question 9

Question
Which of the following lines would an administrator find in the file /etc/resolv.conf?
Answer
  • A. mycompany.com
  • B. 192.168.168.4 dns-server
  • C. hosts: files,dns
  • D. domain mycompany.com

Question 10

Question
Which of the following commands will provide locale-specific information about a system and its environment?
Answer
  • A. loconfig
  • B. getlocale
  • C. locale
  • D. tzconfig
  • E. tzselect

Question 11

Question
Which of the following should the permission settings be for /etc/passwd and /etc/shadow?
Answer
  • 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——–}

Question 12

Question
Suppose that the command netstat -a hangs for a long time without producing output. An administrator might suspect:
Answer
  • 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

Question 13

Question
Which of the following describes the Linux ping packet or datagram?
Answer
  • 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

Question 14

Question
Which of the following commands would an administrator use to create an OpenSSH authentication key?
Answer
  • A. sshd
  • B. ssh-agent
  • C. ssh-keygen
  • D. ssh-add

Question 15

Question
Which of the following Class B IPv4 networks are reserved by IANA for private address assignment and private routing? (Select TWO).
Answer
  • 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

Question 16

Question
The [blank_start]UDP[blank_end] IP protocol is connectionless and unreliable? (Please enter only a single answer and do not enter duplicate answers in this field.)
Answer
  • UDP

Question 17

Question
Which of the following commands can be used to activate a specific network interface?
Answer
  • A. ipup
  • B. net
  • C. ifup
  • D. netup

Question 18

Question
What are the three sets of permissions for a file?
Answer
  • A. user, group, others
  • B. administrator, group, others
  • C. user, standard user, others
  • D. administrator, standard user, others

Question 19

Question
Which of the following commands will create an archive file, named backup.tar, containing all the files from the directory /home?
Answer
  • 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

Question 20

Question
What command would you use to get comprehensive documentation about any command in Linux?
Answer
  • A. help command
  • B. echo command
  • C. locate command
  • D. man command
  • E. get command

Question 21

Question
Which command will display running process information in real time?
Answer
  • A. top
  • B. show current
  • C. ps current
  • D. process

Question 22

Question
What is the command to change the password of a user?
Answer
  • A. wpasswd
  • B. gpasswd
  • C. epasswd
  • D. passwd
  • E. password

Question 23

Question
With which command can you determine the time of the last restart of a system?
Answer
  • A. current reboottime
  • B. find reboot
  • C. expect –reboot
  • D. last | reboot
  • E. last reboot
Show full summary Hide full summary

Similar

CCNA Security Final Exam
Maikel Degrande
ISACA CISM Exam Glossary
Fred Jones
Security Guard Training
Summit College
Security
annelieserainey
Securities Regulation
harpratap_singh
2W151 Volume 1: Safety and Security - Quiz 7
Joseph Whilden J
Security Quiz Review
Rylan Blah
Security Policies
indysingh7285
2W151 Volume 1: Safety and Security - Quiz 6
Joseph Whilden J
Security (2)
Daniel Freedman
Certified Security Compliance Specialist
jnkdmls