BÀI TẬP TRẮC NGIỆM TIẾNG ANH MÔN HỆ ĐIỀU HÀNH LINUX_1 - Pdf 19

BÀI TẬP TRẮC NGIỆM TIẾNG ANH MÔN HỆ ĐIỀU
HÀNH LINUX- TRƯỜNG CD CÔNG NGỆ THÔNG TIN
Chuyên ngành: Công nghệ phần mềm
Năm học: 2010-2011

1.What is the most popular file system choice?
A. ext2
B. bsdf
C. jfs
D. ext3
Answer: A
2.What steps need to be performed, to make a new disk accessible to
users? Select three.
A. fdisk
B. mkfs
C. mount
D. stat
E. quotaon
Answer: A, B, C
3.Which THREE of the following commands are used when setting up
and accessing a new filesystem on the hard drive?
A. fsck
B. mkfs
C. mount
D. fdisk
E. format
Answer: B, C D
4.The command mkfs -t ext3 /dev/hdb1 -T largefile creates what size of
inode?
A. 4 kilobyte
B. 1 megabyte

A. df -k
B. df -h
C. du -k
D. du -h
E. du -s
Answer: A
9.Which of the following commands will print the inode usage on each
mounted filesystem?
A. du -i
B. df -i
C. lsfs -i
D. printfs -i
Answer: B
10.You need to create a symbolic link in the current user's home
directory named
Certkiller to the file /data/foobar. Choose the command that will
accomplish this.
A. link . Certkiller /data/foobar
B. ln /data/foobar $HOME/ Certkiller
C. ln -s /data/foobar ~/ Certkiller
D. file link ./ Certkiller /data/foobar
E. None of the above
Answer: C
11.Which chown command will change the ownership to foo and the
group to bar on a file named biglist?
A. chown foo/bar biglist
B. chown -u foo -g bar biglist
C. chown foo:bar biglist
D. chown user foo group bar biglist
Answer: C

D. 0246
Answer: B
16.You want the default permissions for your files to be -rw-r .HOW
must you set umask?
A. 037
B. 640
C. 038
D. 027
Answer: A
17.After creating a new file, you notice that the permissions of the new
file are -rw-rw-rw From this, you know that the value of the umask is
what?
A. 023
B. 000
C. 112
D. d111
E. 223
Answer: B
18.What are the default permissions for the Red Hat /etc/passwd file?
A. 644
B. 640
C. 400
D. 641
E. 440 Answer: A
19.Which of the following are required in the /etc/passwd file when
creating a user account? (Choose all that apply)
A. login name
B. userid
C. default group
D. password age

A. eth0 B. etho0 C. eth1 D. hme0
Answer: A
25. You can find all of the services managed by xinetd by looking at
which of the following file or directory?
A. /etc/xinetd.d B. /etc/inetd.conf C. /etc/rc.d/init.d D.
/etc/xinetd.conf
Answer: A
26.What partition number always refers to the first logical partition?
A. 0 B. 4 C. 1 D. 5
Answer: D
27.Which of the following files specifies information on what is NFS
shared on your system?
A. /etc/exports B. /etc/dfs/dfstab C. /etc/fstab D. /etc/sharetab
Answer: A
28. What command could be used to find out which package owns the
file /etc/aliases?
A. rpm -qf /etc/aliases B. rpm -qp /etc/aliases C. rpm -e
/etc/aliases D. rpm -qil /etc/aliases
Answer: A
29. Which of these commands will list PCI devices?
A. lsdevices B. lspci C. lsdev D. pcidev
Answer: B
30. What command could be used to find all packages with the string
'mail' within the package name?
A. find / -name '*mail*' B. rpm -qf /usr/bin/mail
C. rpm -qa | grep mail D. locate mail
Answer: C
31. On a system with 16MB RAM, the minimum size of your swap
partition should be equal to how many MBs?
A. 16 B. 32 C. 64 D. 100

Answer: A
38. All of the following commands can be used to determine open TCP
ports an localhost EXCEPT: A. lsof B. netstat C. nmap D.
fuser E. ifconfig
Answer: E
39. How would you display your system’s current ARP cache?
A. arp –a B. netstat –a C. netstat –arp D. cat /ect/arp
Answer: A
40. Your organization has opened a new office on a different floor, and
the computers that
will be installed there will be on a new network, 192.168.1.0/24. A
Linux gateway having
the address 192.168.0.2 on your local network will route traffic
between the two subnets.
Which invocation of the ‘route’ command will properly reconfigure
your firewall
(address 192.168.0.1) so that it can communicate with the new subnet?
A. route add 192.168.1.0/24 192.168.0.2
B. route add .net 192.168.1.0 netmask 255.255.255.0 gw 192.168.0.2
C. route add 192.168.1.0 netmask 24 gw 192.168.0.2
D. route add –net 192.168.1.0/24 192.168.0.2/32
E. route add 192.168.1.0/255.255.255.0 gw 192.168.0.2
Answer: E
41. You have created special configuration files that you want copied to
each user’s home directories when creating a new user accounts. You
copy the files to /etc/skel. Which of the following commands will make
this happen?
A. useradd –m username B. useradd –mk username
C. useradd –k username D. useradd –Dk username
Answer: B

C. mount –o nolock srv1:/data /mnt/data D. mount –o
nolock/data@srv1 /mn/data
Answer: C
45. You want to check what shares are offered by a Windows system.
Which of the following commands could you use to perform this task?
A. mmblookup B. showshares C. smbclient D. smbstatus
E. listshares
Answer: C
46. How can you determine who has scheduled at jobs?
A. at –l B. at –q C. at –d D. atwho
Answer: A
47. Using command substitution, how would you display the value of
the present working directory?
A. echo $(pwd) B. echo pwd C. $pwd D. pwd | echo
Answer: A
48. Which of the following environment variables determines your
working directory at the completion of a successful login?
A. HOME B. BASH_ENV C. PWD D. BLENDERDIR
Answer: A
49. Which of the following daemons must be running on an NFS server?
A. portmap B. nfsiod C. nfsd D. xinetd E. mountd
Answer: AC
50. Which process had the Process ID number 1?
A. bash B. kernel C. init D. none
Answer: C
51. You issue the command jobs and receive the following output:
[1]- Stopped (tty output) pine
[2]+ Stopped (tty output) MyScript
How would you bring the MyScript process to the foreground?
A. fg %2 B. ctrl-c C. fg MyScript D. ctrl-z

B. -h
C. -u
D. -a
Answer: A
58.What switch is used with the usermod command to change a user's
secondary groups?
A. -G
B. -group
C. -d
D. -U
Answer: A
59.Which of the following are required in the /etc/passwd file when
creating a user account? (Choose all
that apply)
A. login name
B. userid
C. default group
D. password age
E. minimum password length
Answer: A, B, C
60.What run level represents basic multi-user?
A. 2
B. 0
C. 1
D. 5
Answer: A
61.What run level represents multi-user?
A. 3
B. 0
C. 1

Answer: D

67.What option is used with the useradd command to specify the user's
user id?
A. -u
B. -s
C. -ui
D. -id
Answer: A


Nhờ tải bản gốc

Tài liệu, ebook tham khảo khác

Music ♫

Copyright: Tài liệu đại học © DMCA.com Protection Status