Multiple: Group-AA Questions

Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

QUESTION 2014

Group-AA
(Multiple Choice Type Questions)
Answer all questions:

Levels stands for


un

a) reboot

/c) multitasking with networking b) shutdown


d) unused
works on which protocol?
i)Ping
a) SMTP

c ) ICMP b)TFTP
d) None of these
a The command chkconfig is used
a) to on a process at boot time
c) both (a) and (b) b) to off a process at boot time
d) none of these
AWhich RAID level is used to
stripe a file system?
a) RAID 0
b) RAID 1
c) RAID 2
d) RAID 4

v) foonfig etho down makes


a) lan card disable
b) lan card enable
c)lan card temp disable
d) none of these

vi What is the network id for the IP


192.168.74.254/28?
a) 192.168.74.0
b) 192.168.0.0
c)19.168.74.240 d) none of these
vi) TCP is a protocol of
a) Network Layer
b) Data Link Layer
c)Physical Layer d) Transport Layer
i Ihe command which helps to check and configure network adapter is
a) fconfig
b) ipconfig
c)netstat d) none of these
POPULAR PUBLICATIONS

ix) When a process makes a system call, its mode changes from

a) user to kernel b) kernel to user


c) restricted to unrestricted d) unrestricted to restricted
)What is the output of the following program?
#include<stdio. h>

#include<fcnt1.h»

main()

int fd, count; char ch;

fd=open ("abc.txt ",0_RDONLY);


do
count=read (fd, &ch, 1);

printf(**c", ch);
while (count);

a) it will print nothing b)it will print the conternt of abc.tt


c) segmentation fault d) none of these

Group-B
(Short Answer Type Questions)

2. Describe the booting process in Linux


See Topic: INTRODUCTION TO SYSTEM ADMINISTRATION, Short Answer Type Question Na.

1(a).

3. Write a shell program to add a new user in the password with the following details:

Groupname "mca
Login name "wbut
Defaultshell bash
Expiry date 12-Dec-2014

Comment "End semester Exam


See Topic: TOOL COMMAND LANGUAGE, Short Answer Type Question No. 7.

4. What is CGI? Define basic two types of CGI mechanism.


See Topie: T0OL COMMAND LANGUAGE, Long Answer Type Question No. 3(a)

MCA LINUX-110
SYSTEM ADMINISTRATION &LINUX

QUESTION
2015
Group-A
(Multiple Choice Type Questions)

Answera /questions

a command to
mAnod is
file
a) create any b) create a FIFO
clblock&characterspecial file d) both (b) and (c)

protocol of
)TCPis a
a) Network Layer
b) Data Link Layer
c) Physical Layer
d) Transpot Layer
While changing ones own password using 'passwd' command, SET-UID of the following gets
utilized

a) lett/passwd
b) /usr/bin/passwd
c) letc/shadow d) all of these

) Run level 3 isfor


a) single user mode b) full mutiuser text mode
c)full Multiuser+GUI d) unused

The following information is not stored in l-node:


a) Owner b) Group
c) File size d) None of these

vi) Auto mount devices are shown in .


a) /mnt b) /media

c) letclstab d) none of these

Umask 777 will ensure default permission of all newly created directions to be

a) drwxrwxrwx b) d
c) dr-r- d)

MCA LINUX-113
POPULAR PUBLICATIONS

vil) With useradd command, option used to specify 'Do Not Cet.
a--n
reatesthe
b)-M Morme
c)-m
d)-N
rer
x)To set 'setuid' on, we must add to the file
permission
a) 4000
b) 400
c) 2000
d) 200
x) The first stage Boot Loader is present in
a) BIOS
c) First Sector of Linux Partition
b) MBR
d) None of these

Group- B
(Short Answer Type
Questions)
2 What is the
difference between hard
mounting and soft
iee Topie: POSIX THREADS, SHARED
MEMORY &
mounting a NFS share?t
share?
OTHER
Question No. 13.
STRUCTURES, Sh Descabe sye
3 Explain why we require IPC
mechanisms
one
processes are required to communicate (and not local
program
variables) whenevr
SeeTopic: POSIX THREADS, amongst themselves. What is
enever more ta
SIHARED MEMORY & OTHER CIOR?
Question No. 14.
STRUCTURES, Short Aas
4.Explain why the file
" Part: See
Topic:
lusr/bin/passwe has been SET-UID to root.
1.0GIN & SECURITY, What is shadow
nd Part: See Short Answer password?
Topic: L.OGIN & Type Question No. 4.
SECURITY, Long Answer
5.
Type Question No. 2(a).
Describe the fate of a child process if it's parent
treated by the
system? terminates before it. How is the
See
Topie: Orphan Proes
INTRODUCTION TO SYSTEM
5Describe the steps to
ADMINISTRATION, Short Answer Type Question
Naa
gets a disable a user
message 'your account such that
See account have been whenever the user in, he
Topie: 1.OGIN & disabled atempio
SECcURITY, Short Answer
Type Question No. l.

MCA LINUX-114
POPULARPUBLICATIONS

sockets? How do sockets work?


b) What are
See Topic: LINUX DATA MANAGEMENT & TCP/AP NETWOn.

Type Question No. 9.


NETWORK MANAGEM
Short Ans
c) Explain the Message-Queue Data Structure with briefexample
See Topic: POosIN THREADs, SHARED MEMORY & OTHER STE
Question No. 6. UCTURES, ShorShortt Anvwe
11 Write short notes on any three of thefollowing
a) SAMBA

TELNET
b)
c) NFS

d) Shared Memory
e) POSIX Threads.
a)See Topic: LINUX DATA MANAGEMENT & TCP/IP NETWODL.
wORK MANAGEMEN
Answer Type Question No. 12(j).
b) See Topic: LINUX DATA MANAGEMENT & TCP/AP NETWORK MA
WORK MANAGEMEN
Answer Type Question No. 12(k). ,L
clSee Topic: LINUX DATA MANAGEMENT & TCPAP NETWORK MANAGE
Answer Type Question No. 12(g).
d) See Topic: POSIX THREADS, SHARED MEMORY & OTHER STRUCTURES
TURES, Long Ansme
Type Question No. 9(e).
e)See Topic: POSIX THREADS, SHARED MEMORY & OTHER STRUCTURES. I
TURES, Long Aawwer
Type Question No. 9(c).

QUESTION 2016
GROUP-A
(Multiple Choice Type Questions)

1. Choose the correct alternatives for the following

i) Run Level 6 stands for


b) shutdown
a) reboot
d) unused
c) multitasking with networking

MCA LINUX-116
FTP works on which protocol? SYSIEMADMINISTRATION& LINUX
a)SMTP

c) 1CMP
b) TFTP
d) None of these
he
Comm
chkcon is
used
a) to on a proce at boot time
c) both (a) and (b) b) to off a
process at boot time
d) None of these
)
ahich RAID level is used to
stripe a file system?
a) RAID
c) RAID 2 b) RAID 1
d) RAID 4
y) Ifconfig eth0 up makes
a)lan card disable
c) lan card temp disable b) lan card
enable
d) none of these
aWhat is the network id for the IP
a) 192.168.74.0 192.168.74.254/28?
c) 192.168.74.240 b) 192.168.0.0
d) none of these
vi)UDP is a protocol of
a) Network Layer
c) Data Link Layer b) Physical Layer
d) Transport Layer
vil) To simulate the command
"system" which of the system
USed? calls-fork, wait and excel is dare
to be
a) fork and wait
wait and excel b) fork and excel
d) all of these
M) When a
process makes a
system cal, its mode
a) User to kernel
changes from
b) Kernel to user
c) Restricted to unrestricted
d) Unrestricted to restricted
What is the
output of the following program?
tinclude<stdio .h>
tinclude<fcntl.h>
main

MCA LINUX-117
POPULAR PUBLICATIONSs

int fd, count; char ch;


fd = open ("abc.txt", 0_RDONLY) ;

do
count = read ( fd, &ch, 1);

printf( "Bc*, ch)

)while (count);

a) it will nothing /b) it will print the


c) segmentation fault d) none of these content of abc tt

Group-B
(Short Answer Type Questions)

2. Write the IPTABLES Rules for the following statements:

a) Deine the rule that rejects all trafficfrom the 192.168.75.0 subnet, and
unreachable" error message back to any client that tried to connect sends adestindi
b) Define the rule that stops user from the computer with an IP address of
of 197 18.
ddress 192.168.25 200
ty
pinging' your system.
See Topie: TOOL COMMAND LANGUAGE, Short Answer Type Question No. 14.

3. Write a shell program to add a new user in the password with the following details
Group name "makaut
Login name "wbut

Default shell bash

Expiry date 12-Dec-2016


Comment Odd semester Exam
See Topic: TOOL COMMAND LANGUAGE,
Short Answer Type Question No. 15.

4. Write a program to create a "Message Queue".


Answer Iye
OTHER STRUCTURES, Short
See Topie: POSIX THREADS, SHARED MEMORY &

Question No. 15.

5. Explain fle system formatting and Checking.


POSIX THREADS, SHARED MEMORY & OTHER STRUCTURES, ShortAnwer
See Topic:
Question No. 16.

MCA LINUX-118
POPULAR PUBLICATIONS

d) Message Queue

LINUX DATA MANAGEMENT & TCP/IP NET


a) See Topic: NETWORK
Answer Type Question No. 12(1).

b) Sec Topic: LINUX DATA MANAGEMENT & TCP/IP NET MASAGEME


WORK MANAGEMEN
Answer Type Question No. 12(k).

c) See Topic: LINUX DATA MANAGEMENT & TCP/AP NETWe AP NETWORK MANAGEME
Answer Type Question No. 12(a).
d) See Topic: POSIX THREADS, SHARED MEMORY & OTHER

Type Question
No. 9(d).
RUCTURES,Lon
QUESTION 2017
Group-A
(Multiple Choice Type Questions)

for any ten of the following


1.Choose the correct alternatives
i) Run level 0 stands for
a) reboot b) shutdown
c) multitasking with networking d) unused

i) wait() system call


a) awaits parent process for completion of child process
of
b) awaits child process for completion parent process

c) awaits both parent and child by the init process


d) none of these

i) Encrypted password is stored in


a) letc/passwd b) /etc/inittab

c) letc/shadow d) letc/ske1

iv) fsck is used for


a) mounting the file system b) searching the fle system
the file system
c) checking the file system d) formatting

v) Crontab files are used


create a device
mount point
a) to create a system backup b) to
c) to run a service discovery d) to run somejobs periodically

MCA LINUX-120
ADMINISTRATION &LINUX
SYSTEM

network id for the IP 192.168.74.254/30?


w r a li s
t h e ,
the
b) 192.168.0.0
192.16874.0

) 92. 168.74.240 d) none of these

UNIX / LINUX is used for


ht in
SUCky b i t i n
for files
a)
ction of user rights is multiple groups
protectonof b) protection of user permission
for other users
folders
c rotection of device sharing d) protection of shared

is used for
Shmget( )
shared memory entry b) allocate a shared memory segment
dee

a)
access
retum id ofsshared memory d) suspend shared memory
c)

a P e ri sa

a) interpreted language b) compiled language


(a) and (b) d) none of these
c)both

Thefunction
that creates a POSIX thread is

a) fork() b) pthread_create()
c)
pth_create() d) execvp( )

management implies of
Quota
of disk space b) managing of swap space
a) managing
c) managing of user space d) none of these

Group-B
(Short Answer Type Questions)

2Define bootstrao loader. Differentiate between LILO and GRUB.


e Topic: INTRODUCTION TO SYSTEM ADMINISTRATION, Short Answer Type Question No. 5.

What is Packet Fitering? Discuss the reasons for fltering a packet?


e lopic: POSIX THREADS, SHARED MEMORY & OTHER STRUCTURES, Short Answer Type
Queston No. 5.

What is CGI? Define basic two types of CGI mechanism.


Lopic: TO0LcOMMAND LANGUAGE, Long Answer Type Question No. 3(a).

MCA LINUX-121
POPULARPUBLICATIONS

See Topic: LINUX DATA MANAGEMENT& TCP/tP N.


d) WORK
Answer Type Question No. 12(j).

e)See Topic: TOOL COMMAND LANGUAGE, Long Answer Tyne f MANNGEY


Question No.
QUESTION 2018
Group-A
(Multiple Choice Type Questions)

1. Choose the correct alternative for each of the following:


stand for
i) Run leve! 5
a) reboot b) shutdown
c) multitasking with networking d) unused

i) Ping works on which protocol?


a) SMTP b) TFTP
c) ICMP d) None of these

is used
i) The command chkconfig
process at boot time b) to off a process at boot time
a) to on a
c) Both (a) and (b) d) None of these

RAID level is used to stripe a file system?


iv) Which
a) RAID O b) RAID 1

c) RAID 2 d) RAID 4

makes
v) ifconfig eth0 down
lan card disable
b) lan card enable
a)
d) None of these
c) lan card temp disable

vi) what is the network id for the IP 192.168.74.254/28?


b) 192.168.0.0
a) 192.168.74.0

c) 192.168.74.240 d) None of these

MCA LINUX-124
SYSTEM ADMINISTRATION& LINUX
TCP IS protocol of
vi)
a) Network Layer
c) Physical Layer b) Data Link Layer
d) Transport Layer
Vi) The -ommand which
command
which he
helps to check and
a) ifconfig configure network adapteris
c) netstat b) ipconfig
d) None of these
an a
a) Whe Drocess makes a system cal, its
User to kernel
mode changes from
a)
Restricted to unrestricted b) Kernel to user
d) Unrestricted to
restricted
What is the output of the followin
#include<stdio.h> program?
#include<fcnt.h
main()

int fd, count;


char ch;
fd=open("abc.
do(
txt", 0_RDONLY) ;

count=read (fd, &ch, 1);


print(c",ch);
while (count);
a) It wil print nothing

c Segmentation
b) It will print the content of
abc.bxt
d) None of these

Group-B
(Short Answer Type Questions)
2 Describe the
booting process in Linux.
Se Topic:
INTRODUCTION TO SYSTEM
ADMINISTRATION, Short Answer Type Question No.

MCA LINUX-125

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy