You are on page 1of 5

RHCSA Blogs & Aptitudes http://sanketpadawe.blogspot.in/2012/07/login-without-password-using-ssh.html http://b.joaoubaldo.com/linux/rhce-my-study-guide/ Question Code : Basic-C-apti-10 What will be output of the following c program?

void main() { printf("\nab"); printf("\bsi"); printf("\rha"); } a. hai Correct b. ahai Incorrect c. asiha Incorrect d. absiha Incorrect Explanation: \n - newline \b - backspace \r - linefeed Question 2 Question Code : Verbal-Analogy-Reasoning-176 Find the alternative which will replace the question mark. Farmer-Farming; Barrister a. Seed Incorrect b. Sail Incorrect c. Law; Confectioner-?

Clean Incorrect d. Sweet Correct Explanation: As the profession of a farmer is farming and that of a barrister is to use law i n the same way the profession of a confectioner is to make sweets. Question 3 Question Code : Coding Decoding-VR-145

In a certain code language, pit nae tom means apple is green , nae to tap means green a d white and ho tom ka means shirt is white. Which of the following represents apple in that language? a. nae Incorrect b. Pit Correct c. Ho Incorrect d. tem Incorrect Question 4 Question Code : Networking-Linux-105 What command is used to view the IP address of Linux Machine? a. ifcfg Incorrect b. uname -r Incorrect c. ls -ld Incorrect d. ifconfig Correct Explanation: In the above options ifconfig command is used in a Linux Machine to view the IP address. Question 5 Question Code : Men-NGA-MA-74

Two cones of equal volumes have their radii in the ratio 2: 3. Find the ratio of their heights a. 3: 2 Incorrect b. 2:3 Incorrect c. 4:9 Correct d. 9:3 Incorrect Explanation: Let, and be radii and height of the two cones? ,? ? ? Question 6 Question Code : Authentication-Linux-48 Who gave tickets for authentication at the time of Kerberos authentication? a. login program Incorrect b. Authenticator Incorrect c. None of these Incorrect d. KDC Correct Explanation: KDC - Key distribution center provide ticket for authentication Question 7 Question Code : Packagemgt-Linux-29 Which RPM query lists the configuration files installed by a package? a. rpm -a scripts package_name Incorrect b. rpm -qd package_name Incorrect c.

none of these Incorrect d. rpm -qc package_name Correct Explanation: Configuration files are stored in /etc/ directory Question 8 Question Code : TW-DS-MA-20 A alone can do a piece of work in 6 days and B alone in 8 days. A and B undertoo k to do it for Rs. 3200. With the help of C, they completed the work in 3 days. How much is to be paid to C? a. Rs. 375 Incorrect b. Rs. 800 Incorrect c. Rs. 400 Correct d. Rs. 600 Incorrect Explanation: Question 9 Question Code : File system Mgmt-Linux-30 Which of the following commands will show a list of the files in your home direc tory including hidden files and the contents of all subdirectories? Choose one: a. ls -aR /home/username Correct b. ls -l /home/username Incorrect c. ls -c home Incorrect d. ls -aF /home/username Incorrect Explanation: The ls command is used to display a listing of files. The -a option will cause h idden files to be displayed as well. The -R option causes ls to recurse down the directory tree. All of this starts at your home directory

Question 10 Question Code : Basic-Linux-apti-198 Which of the following command is used Displays a list of all clients that have remotely mounted file systems? a. shownetwork -e ip Incorrect b. none of these Incorrect c. showmount -e ip Correct d. show -e ip Incorrect Explanation: The showmount command displays a list of all clients that have remotely mounted a file system from a specified machine in the Host parameter.

You might also like