Friday, March 16, 2018

SYSTEM ADMINISTRATOR TASK - INTERVIEW QUESATIONS

.................     TASKS  .........
01. Try different types of editor (pico, nano, vi, vim, mc, emac)
02. Set e2fsck 0 and e2fsck 2 and reboot the system
03. Reinstall “/” format but do not format other partitions
04. Extend swap 2 way (1 partition way, 2 file way using dd command)
05. Convert script to binary format
06. ps 15 examples
07. netstat 15 examples
08. tcpdump tool 5 examples
09. rsync command 15 examples
10. Find command 15 examples
11. Create 1 ubuntu 1 vm and try to use
12. CentOs 7 1 Vm and try to use
13. grep 15 examples
14. Try to view initrd.img
15. 2 partition 1 mount point and 1 partition 2 mount point
16. Install rdesktop via (source code download from internet)
17. Create LVM snapshot + (techmint website)
18. Go to rescue mode and reduce ‘/’ Partition
19. Try yum priority plugin
20. Configure local repo for yum
21. tune2fs 10 flags
22. Run job in sec in crond
23. kernel compilation and (ntfs enable & sound disable)
24. Implement sftp Server
25. vi sudo configure use sudoers
26. dd cmd 15 examples
27. top 5 flags examples
28. vmstat 10 examples
29. mpstat 10 examples
30. sar 10 examples
31. iostat 10 examples
32. Try capture network packages using tcpdump & wireshark
33. Set a path and umask for specific user
34. Where history and cd command located
35. rm –rf /bin/bash
36. To view MBR use ‘od’ command
37. Change MAC ID and try access
38. Persist IP aliasing
39. Create any user without using useradd command
40. Hiren boot cd
41. Try skip and reboot in rescue mode
42. How to make SSH password less
43. Try samba 4
44. How to clone HDD to HDD
45. Make your system in readonly mode
46. Give 5 interview ( Fail )
47. Try to install all partition ( 5 times )
48. Installation “ / “ in single partition ( 5 times )
49. Try to do installation in minimal / text based way ( 5 times )
50. Create ISO file from DVD using magic ISO
51. Copy the history in Pen drive
52. How to do data pre append in beginning
53. Use the multiple zip command on single file ( gzip & bzip2 )
54. Try rm –rf /*
55. Try to switch different run level
56. Try schedule shutdown & use all flags of shutdown
57. How to switch safe mode in windows boot ( press fn8 )
58. Go to single user mode and change root password
59. Change the default run level to 3
60. Go to inittab file and change the default run level to 6 and solve the reboot issue
61. How to secure the single user mode
62. Try logout from root and login new user using switch user command
63. Try to change permission of file by using chmod command ( u , g , o )
64. Create a file test in /usr/local
Condition
1. Joe user should be able to rwx
2. Rahul , Sachin and Ramu users should be able to r-x
3. Harry user able to rwx
4. Shamu and other users should be able to read only
65. Install VMware tools
66. Create 4 partition 100MB, 50MB, 200MB, 150MB
1. Second partition should be extended
2. Mount first 2 partition on / part1, /part2 respectively
3. 3rd and 4th partition on /usr/local/part3 and /usr/local/part4
67. Create 3 partitions using parted tool
68. Convert msdos/mbr to gpt and vice versa
69. Make the 4 partition and delete it
70. Take a snapshot and delete the fstab file and check the error
71. Move all commands to opt directory and test all the commands
72. Try rm –rf /lib/libc.so.6 and check the error
73. Format only “ / “ partition and reinstall it
74. Find the 5 flags of dmidecode & biosdecode
75. Rename the inittab file and check the error
76. Go to /etc/rc.sysinit and change the hostname
77. Change OK to HOI and FAILED to NAPASS in boot process
78. Change OK color green to yellow in boot process
79. Video recording of boot process
80. NFS service start in run level 3 and should not start in run level 5
81. Go to /etc/redhat-release file and change welcome screen name
82. How to exclude in rm –rf
83. Write power off /etc/rc.local and see what happened
84. Go to /etc/rc0.d file and change halt to reboot and
In /etc/rc6.d file change reboot to halt
85. With the help of nc command we can chat peer to peer chatting
86. Run winamp with win tool in Linux
87. How lvm migration
88. Try lvm stripping
89. Add additional repository under yum
90. Write all in /etc/hosts.allow and /etc/hosts.deny and check the what happened
91. Delete all the partition and see the error and resolve it by using testdisk tool
92. How to remove first stage of boot process
93. How to set suid , sgid , sticky bit and setfacl do practice
94. Change splash screen image
95. Try awk sort grep trap exit, gawk cut egrep break sed
96. Change directory color to yellow and file color to white
97. How to fast boot using splash screen
98. Make Linux non case sensitive
99. When a user logout you should receive a mail