Академический Документы
Профессиональный Документы
Культура Документы
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
Page 3 of 7
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
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
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