Group Administration, File Permissions and Raid Levels in Linux online Test

While Modifying a User if you want to use the following command [root@comp1 ~]#usermod Options : -l – -L - -U - What -l option shows?
Change login name
Lock the account
Unlock the account
None of the above
While Deleting a User if you use the following command to delete a user [root@comp1 ~]#userdel Options : -r –
recursively
repeatedly
reverse
None of the above
While Creating a Group if you use the following command [root@comp1 ~]#groupadd Options : -g - -o - What –g shows?
SID
GID
override
PID
While Creating a Group if you use the following command [root@comp1 ~]#groupadd Options : -g - -o - What –O shows?
SID
GID
override
PID
While Modifying a Group [root@comp1 ~]#groupmod Options : -g – -o - -n - What the option -n represents?
GID
Override
To change the group name
None of the above
Which command to be use to deleting a Group? [root@comp1 ~]#groupdel
[root@comp1 ~]#groupdel
[root@comp1 ~]#del
[root@comp1 ~]#groupadd
[root@comp1 ~]#delete
Which of the following command will be used to Changing User setting?
[root@comp1 ~]#changeuser
[root@comp1 ~]#chage
[root@comp1 ~]#change
[root@comp1 ~]#ch user
While using Group setting we have the following options [root@comp1 ~]#gpasswd Options : -a -d -M What –M option shows?
add a user
Delete a user from group
Creating multiple members
delete a user
While using Group setting we have the following options [root@comp1 ~]#gpasswd Options : -a -d -M What –d option shows?
add a user
Delete a user from group
Creating multiple members
delete a user
The Unix/Linux file has 8 attributes which are listed with ls -l - rw-r--r-- 1 root root 1229 Jan 29 17:44 anacondaks.cfg What -rw-r--r-- shows?
Access permissions
Links
Modification date & time
Size in bytes
rwx rwx rwx Type - files d directories l links p process file s socket files b block devices c character device In the access permissions first rwx indicates which access permissions? Owner Group Others
Owner
Group
Others
users
rwx rwx rwx Type - files d directories l links p process file s socket files b block devices c character device In the above access permissions second rwx indicates which access permissions?
Owner
Group
Others
users
rwx rwx rwx Type - files d directories l links p process file s socket files b block devices c character device In the above access permissions third rwx indicates which access permissions?
Owner
Group
Others
users
When a file created with the help of cat, touch, vi will get the permissions as 644. - rw- r-- r-- i.e. what it indicates ? Default File Permission
read-write for the owner.
read-only for the owner’s group
read-only for the others
All of the above
Actually in the basic UNIX system when a file is created it gets the permission as 666.But these lapses in security, so when ever a file is created in UNIX system it masks some bits, with a mask value what is the U mask value?
022
033
011
044
Which command is used to find the UMASK value?
[root@comp1 ~]#umask
[root@comp1 ~]#mask
[root@comp1 ~]#amask
[root@comp1 ~]#bmask
When a directory is created with the help of mkdir What will be the default file permissions the permissions ? d rwx r-x r-x Default Directory Permission
755
644
877
988
Actually in the basic UNIX system when a directory is created it gets the permission as 777. But this lapses in security, so when ever a directory is created in UNIX system it masks some bits, with a mask value? What is the mask value?
022
033
044
055
Which command is used to change the permissions of a file/directory?
chmod
modify
Change
Change modify
# chmod 456 file1 In the above command what permissions will have by the user, group and others on file1?
User read, group read & execute, others read and write.
Group read, User read & execute, others read and write.
Others read, group read & execute, User read and write.
User others read, read & execute, group read and write.
Which of the following statement is true about soft link?
If original file is deleted then also the link file will be accessible
Original and link file will have same inode no.
It cannot be created across the partitions
I node no. of the link file will be different
Which of the following statement is true about Hard link?
It can be created across the partitions
If original file is deleted the link file will not be accessible
Editing of original file will replicate in the linked file
Original and link file will have same inode no.
In Linux which is the partitioning pre installed tool?
Disk druid
fdisk
parted
cfdisk
Which command Updates the partition table to kernel without restarting?
[root@comp1 ~]#part probe
[root@comp1 ~]#part
[root@comp1 ~]#probe
[root@comp1 ~]#update part
Which command will be used to mount file system permanently [root@comp1 ~]#vi /etc/fstab
[root@comp1 ~]#vi /etc/fstab
[root@comp1 ~]#vi /etc/config
[root@comp1 ~]#vi /etc/tab
[root@comp1 ~]#vi /etc/media
What are the RAID levels available in LINUX?
RAID 0 , RAID 1, RAID 4 & RAID 5
RAID 1 , RAID 2, RAID 3 & RAID 4
RAID 1 , RAID 2, RAID 4 & RAID 5
RAID 2, RAID 1, RAID 4 & RAID 3
To club all the RAID partitions in to a single array Which command will be used?
[root@comp1 ~]# mdadm -C /dev/md0 -n3 /dev/hda8 /dev/hda9 /dev/hda10 -l5
[root@comp1 ~]# club -C /dev/md0 -n3 /dev/hda8 /dev/hda9 /dev/hda10 -l5
[root@comp1 ~]# merge -C /dev/md0 -n3 /dev/hda8 /dev/hda9 /dev/hda10 -l5
[root@comp1 ~]# add -C /dev/md0 -n3 /dev/hda8 /dev/hda9 /dev/hda10 -l5
What are all the steps will be used to assign a GRUB password?
[root@comp1~]# grub-md5-crypt >> /boot/grub/grub.con
password --md5
[root@comp1~]# vi /boot/grub/grub.conf
All of the above
Description:

This Test contains 20 questions and tests your knowledge on Group Administration, File Permissions and Raid levels in Linux
Disclaimer: Content, such as images used in the questions (if any), have been picked up from various places for the sole purpose of Instruction.

Comments
ramanujam
By: ramanujam
361 days 11 hours 4 minutes ago

PLEASE ADD SOME MORE..

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no:


Area code Number
Subjects you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy

Your Facebook Friends on WizIQ

More Tests By Author

ASP Server Controls
10 Questions | 278 Attempts

ASP.NET, Namespaces ASP.NET
10 Questions | 1001 Attempts

An ASP.NET Application
10 Questions | 200 Attempts

Test your basic knowledge on DATASTRUCTURES, STACK
10 Questions | 527 Attempts

Give live classes, create & sell online courses

Try it free Plans & Pricing

Connect