Вы находитесь на странице: 1из 7

Linux/Oracle Multiple Choice Name: Date:

Unix Operating Systems - Shell

1) How would you give the following access rights to a file called file1: read and write for the
owner, read and write for the group, no rights for others ? a) b) c) d) e) f) chmod 770 file1 chmod 664 file1 chmod 660 file1 chown 770 file1 chown 664 file1 chown 660 file1

2) What is an i-node ? a) b) c) d) A description of a Unix file and its properties A special kind of Unix server in a peer-to-peer architecture A Unix file server A database of Unix users

3) What was the name of the Unix OS implemented by Tanenbaum for teaching purposes? a) b) c) d) e) f) g) Minix BSD Linux HP-UX AIX Solaris Red Hat

4) In Shell, how do you retrieve the number of arguments ? a) b) c) d) e) f) g) h) with $0 with $1 with $9 with $# with $! with $? with $@ with $*

5) What adjective best describes the Linux kernel? a) b) c) d) micro-kernel monolithic hybrid modular

Page 1 of 7

Linux/Oracle Multiple Choice Name: Date:


6) What is IPC ? a) An Unix implementation of Internet Protocol b) A physical bus in a motherboard c) A set of processes that manage memory attribution between processes d) A set of techniques to exchange data between processes 7) Which of the below file system types has specifically been designed for sharing and network access ? a) ext2 b) ext3 c) NFS d) vxfs e) FAT32 8) Which of the following SW is used to share files between Unix and Windows machines ? a) salsa b) merengue c) forro d) tango e) bossanova f) samba 9) In which circumstances would you need a cluster (list all) ? a) if you have a disk array b) in a test environment c) in a production environment d) if you need fault tolerance e) if several customers use the same service f) if you need load balancing g) with HP-UX 10) From a terminal, how would you open the Linux Kernel configuration menu ? a) /usr/bin # ./openKernelconfig b) /usr/bin $ ./openKernelconfig c) /usr/src/linux # make menuconfig d) /usr/src/linux $ make menuconfig 11) Which command would you use to show all the processes of gemcast user? a) pr fu gemcast b) ps ef |grep gemcast c) ps fu gemcast d) showpr gemcast e) b and c 12) How could you find the file named external.jar inside product directory? a) find external.jar /product b) find /product/*.jar c) find /product name external.jar d) whereis external.jar e) search /product external.jar Page 2 of 7

Linux/Oracle Multiple Choice Name: Date:


13) Which command is equivalent to egrep Writing|Incoming file.txt? a) show Writing|Incoming file.txt b) grep Writing file.txt |grep Incoming c) cat file.txt |grep Writing |grep Incoming d) a and b e) b and c f) none 14) Where are located the scripts that start all the services in a Linux server? a) /etc/services b) /usr/local/services c) /var/services d) /etc/init.d e) /usr/local/init.d f) /var/init.d 15) Which is the command used to concatenate two files? a) cat file1 > file2 b) conc file1 file2 c) cat file1 >> file2 d) join file1 file2 e) trans file1 file2 16) The command diff is used a) As an arithmetic operator to subtract inside a shell script b) To get the difference between two files c) As an arithmetic operator to subtract inside a perl script d) To get the difference between two directories e) The command doesnt exist 17) Which of the next lines is a set of commands in vi??? a) :1 :$ :%s/text/line b) :read :search :save c) :open :write :find d) >1 >$ >%s/text/line e) none Networks 18) If the network type is class C for TCP/IP, which is the correct subnet mask? a) b) c) d) 255.0.0.0 255.255.0.0 255.255.255.0 255.255.255.255

Page 3 of 7

Linux/Oracle Multiple Choice Name: Date:


19) In TCP, what is out-of-band data ? a) Another term for any kind of data exchanged via the TCP protocol b) Data used for end-to-end error recovery and flow control c) A data value or type that was not expected in the data stream d) Another stream of data, separated from the main data stream, which delivery is not controlled 20) How many layers does a TCP/IP network has ? a) 1 b) 4 c) 7 d) 9 21) If you are doing a ping which of the above protocols are you using ? a) TCP b) IP c) ICMP d) ARP e) HTTP f) SNMP 22) Which protocol has a mechanism called address resolution a) DNS b) HTTP c) FTP d) telnet e) ssh f) SNMP 23) Which of the following protocols is always ciphered ? a) DNS b) HTTP c) FTP d) telnet e) ssh f) SNMP 24) Which is the standard port used for telnet? a) 21 b) 22 c) 23 d) 121 e) None 25) Which is the standard port used for ftp? a) 21 b) 22 c) 23 d) 121 e) None Page 4 of 7

Linux/Oracle Multiple Choice Name: Date:

26) Which is the standard port used for ssh? B=22


a) 21 b) 22 c) 23 d) 121 e) None

27) Which is the command used to get the IP address on Linux? B= ifconfig
a) ip addr b) ifconfig c) show ip d) a and b e) none

Page 5 of 7

Linux/Oracle Multiple Choice Name: Date:


ORACLE

28) Which of the following tablespaces is mandatory in an Oracle database ? d=undo


a) b) c) d) SYSTEM TEMP USERS UNDO

29) Where does the SGA physically stand ? d=In RAM


a) In the same HD as the Oracle binary b) In the same HD as the Oracle data c) In the same HD as the Oracle indexes d) In RAM

30) Which user is the owner of the database ? a= can be different each time
a) A user specified by the person that created the DB (can be different each time) b) SYSTEM c) SYS d) DBA

31) Which is the right statement to know the details of a table? C= Which is the right statement
to know the details of a table a) Show table_name b) Desc table_name c) Detail table_name d) a and b e) none

32) Which of the next statements is not correct? D= Select column, count(*) order by
a) b) c) d) e) Select * from tab; Select count(*) from table_name; Select name, count(*) from table_name group by name; Select column, count(*) order by column from table_name; Select distinct name from table_name;

33) Knowing that: SQL> Desc job_tab Name ----------name job Type ---------CHAR(20) CHAR(20)

In, SELECT name, job FROM job_tab WHERE job=ceo ORDER BY name DESC; Where is the mistake ? a) in the SELECT statement b) in the FROM statement c) in the WHERE statement d) in the ORDER BY statement Page 6 of 7

Linux/Oracle Multiple Choice Name: Date:

34) In which kind of backup do you use archivelogs ? a) Cold backup b) Warm backup c) Hot backup d) All of the above e) None of the above 35) To migrate an Oracle DB from a HP-UX machine to a Linux machine, which tools would you use ? a) Copy the data, archivelogs, redo logs, control, init files directly b) RMAN c) SQL Loader d) SQL Plus e) Export/Import 36) When a tablespace is full, you should a) Resize a datafile within the tablespace b) Delete the tablespace and recreate it c) Copy the data to a bigger tablespace d) Add a datafile to the tablespace e) a and d f) none 37) Which is the standard port for an oracle connection? a) 1321 b) 1521 c) 1522 d) 1322 e) None 38) What is an Oracle SID??? a) The oracle system identifier that refers to an instance b) The amount of memory used by an instance c) The number of processes used by an instance d) The version of an instance inside the database e) None

Page 7 of 7

Вам также может понравиться